Difference between revisions of "Ubuntu"

From LXDE.org
Jump to: navigation, search
m (Reverted edits by 10.0.0.8 (Talk) to last revision by Makilin)
(4 intermediate revisions by 3 users not shown)
Line 9: Line 9:
 
* [http://lubuntu.net Lubuntu] - Ubuntu with LXDE.
 
* [http://lubuntu.net Lubuntu] - Ubuntu with LXDE.
  
== Install from APT repository ==
+
== Install ==
=== Intrepid Ibex and future releases ===
+
LXDE has been added to Ubuntu stable repositories. Type in your terminal:
LXDE desktop has been added to Ubuntu stable repositories. No editing of sources are needed.
+
   sudo apt-get install lxde
  sudo aptitude install lxde
+
 
+
=== Hardy Heron and Gutsy Gibbon ===
+
We provide packages for LXDE in our own [https://launchpad.net/~lxde/+archive Launchpad PPA] repository maintained by [https://launchpad.net/~michael-r michael-r] and [https://launchpad.net/~paulliu paulliu].
+
Please add those lines to your /etc/apt/sources.list, or using Synaptic, and add this repository.
+
 
+
For hardy
+
<nowiki>
+
deb http://ppa.launchpad.net/lxde/ubuntu hardy main
+
deb-src http://ppa.launchpad.net/lxde/ubuntu hardy main 
+
</nowiki>
+
 
+
For Gutsy
+
<nowiki>
+
deb http://ppa.launchpad.net/lxde/ubuntu gutsy main
+
deb-src http://ppa.launchpad.net/lxde/ubuntu gutsy main 
+
</nowiki>
+
 
+
After adding our repository, execute the following commands.
+
 
+
sudo aptitude update
+
sudo aptitude install lxde
+
 
+
Done!
+
 
+
=== Karmic Ubuntu 9.10 ===
+
This can't be simpler:
+
   sudo aptitude install lxde
+
  
 
== Configuration for Login Managers ==
 
== Configuration for Login Managers ==
 
=== GDM or KDM ===
 
=== GDM or KDM ===
No manual configuration is needed. Just select LXDE from the available sessions listed by the display manager. If you don't see LXDE, restart your gdm or kdm, or reboot.
+
Just select LXDE from the available sessions listed by the display manager. If you don't see LXDE in the list, restart your gdm or kdm. You could also reboot.
  
 
=== SLIM ===
 
=== SLIM ===
Line 76: Line 48:
 
  #The LXDE screen saver app requires that this directory exist or it returns annoying error messages.
 
  #The LXDE screen saver app requires that this directory exist or it returns annoying error messages.
 
* [http://www.ubuntugeek.com/lxde-lightweight-x11-desktop-environment-for-ubuntu.html LXDE installation in ubuntu] Including screenshots
 
* [http://www.ubuntugeek.com/lxde-lightweight-x11-desktop-environment-for-ubuntu.html LXDE installation in ubuntu] Including screenshots
 
 
* [http://wiki.dennyhalim.com/ubuntu-minimal-desktop details minimal ubuntu desktop installation] with screenshot
 
* [http://wiki.dennyhalim.com/ubuntu-minimal-desktop details minimal ubuntu desktop installation] with screenshot
  
Line 83: Line 54:
 
* Ubuntu Developer Team on Launchpad https://launchpad.net/~lxde
 
* Ubuntu Developer Team on Launchpad https://launchpad.net/~lxde
 
* Distribution Lubuntu uses LXDE as Desktop (->[[wikipedia:Lubuntu|Wikipedia article]])
 
* Distribution Lubuntu uses LXDE as Desktop (->[[wikipedia:Lubuntu|Wikipedia article]])
 
  
 
[[Category:LXDE]]
 
[[Category:LXDE]]

Revision as of 19:29, 26 January 2012

Ubuntu variants with LXDE pre-installed

If you are installing Ubuntu + LXDE on a new machine, there are some existing Ubuntu-based distros using LXDE. Maybe you can try them first.

  • WattOS - Designed for older and low power computers (we make new ones screaming fast also :) ).
  • MoonOS - an operating system featuring art.
  • PUD GNU/Linux LXDE version - Lightweight and small Ubuntu-based installable live CD featuring LXDE.
  • U-lite - A member of Ubuntu Derivative Team featuring LXDE.
  • Masonux[1] - Ubuntu remix featuring LXDE that includes Firefox, Pidgin, Ubuntu's normal networking applet, and Synaptic package manager preinstalled.
  • Elemental Linux - Being Simple... Being Linux... Being Elemental!
  • Lubuntu - Ubuntu with LXDE.

Install

LXDE has been added to Ubuntu stable repositories. Type in your terminal:

 sudo apt-get install lxde

Configuration for Login Managers

GDM or KDM

Just select LXDE from the available sessions listed by the display manager. If you don't see LXDE in the list, restart your gdm or kdm. You could also reboot.

SLIM

With this display manager, some manual configuration is needed. Please refer to their official document and write your /etc/slim.conf and ~/.xinitrc. The command you should put in your ~/.xinitrc to start LXDE is:

exec startlxde

No display manager, use startx

Run following command:

sudo update-alternatives --config x-session-manager

Then choose startlxde. The next time you run startx, LXDE will be started.

Configuration for locales and input method

  • GDM or KDM: Setting locale is not needed. Input method can be specified by im-switch.
  • SLIM: put this in your ~/.xinitrc before "exec startlxde" to set locales.

zh_TW.UTF-8 (traditional Chinese, Taiwan) is my locale, please replace it with yours.

export LC_ALL=zh_TW.UTF-8
export LANGUAGE=zh_TW.UTF-8
export LANG=zh_TW.UTF-8

If you need to use input method, add those lines, too. Please refer to the document of your input method. Here I use scim for example. (FIXME: Maybe we can use some im-switch compatible way here. Anyone know how to do it please fix this)

export GTK_IM_MODULE=scim
export QT_IM_MODULE=xim
scim -d

Minimal Ubuntu + LXDE Installation

  • Install Ubuntu base system with Ubuntu Alternate installer CD, and only install a command line-based system (Server without all the internet services). Some user suggested that you can install xubuntu and remove xfce after installing LXDE. However, install from base system is recommended. Ask on Ubuntuforums if you got problems regarding to this. There are some related articles on the forum.

Only install the base system. Then, add our preceding repository, and do this:

sudo aptitude update
sudo aptitude install xorg lxde
sudo mkdir /usr/share/backgrounds 
#The LXDE screen saver app requires that this directory exist or it returns annoying error messages.

Links