Shrunk Expand

linux managers

Ubuntu windows managers

There are two basic flavors of Ubuntu, desktop and server.
The server edition will just give a command prompt and nothing else.
The desktop then comes in two other flavors, gnome and kde, they are full blown desktop and windows environments.
All very nice, but rather top heavy for small low power machines. Its worth exploring other desktop environments that will still get the job done without causing a hit on CPU or machine speed.

Openbox gets some good press. Here is a nice guide on setting it up;  http://urukrama.wordpress.com/openbox-guide/
Here is a list of 21 different windows managers (thanks Dan);  http://www.linuxlinks.com/article/20081209153125602/WindowManagers.html
LXDE is one that I want to try at some stage;  http://www.ubuntugeek.com/lxde-lightweight-x11-desktop-environment-for-ubuntu.html

Preparing for Graphical Environment

The absolute minimum for any graphical environment is X.org

Installing X.org

On Ubuntu Dapper (6.06), use the command:

sudo apt-get install x-window-system-core

On Ubuntu Hardy (8.04) and later releases, use the command:

sudo apt-get install xorg

Starting X.org

This package gives you the framework for an X session, complete with a variety of drivers and configuration files. Installing xorg (or x-window-system-core) also triggers the self-configuration sequence, so when it finishes, your hardware should be ready to use, barring any errors or incompatibilities.

It’s important to note that installing xorg or x-window-system-core really doesn’t leave you with much. You can start X at this point with this command:

startx

but without a window manager and some software, you probably won’t get much done.

Adding a Window Manager

A window manager controls the placement and appearance of windows within a graphical user interface.

There are many lightweight window managers that will give you better access to your system through the X layer. Each one has its own way of managing the desktop, and its own way of configuring themes and menus.

Openbox

Openbox is one of the lightest, fastest window managers available, but can take some time to configure and set up. It has its origins in Blackbox, but newer versions are complete rewrites of the Blackbox code.

Install Openbox with this command:

sudo apt-get install openbox obconf openbox-themes

These packages and their dependencies will allow you to build and configure an Openbox system, along with a choice of themes and some configuration options.

Entering obconf in an X terminal window should now trigger the obconf dialogue.

IceWM

IceWM has a very strong following as a good, clean, fast window manager that resembles a conventional “desktop” in many ways. Among many of its perks are themes that resemble the Windows XP desktop theme — which may be appealing to you.

Install IceWM with this command:

sudo apt-get install icewm iceconf icepref iceme icewm-themes

When finished, you will have a number of configuration and menu options. You can start IceWM with the startx command.

Fluxbox

Fluxbox is a beautiful, highly configurable desktop system that is easy on system resources without compromising on graphical appeal. Fluxbox is the default window manager for a number of Linux distributions, probably most notable among them being Damn Small Linux.

Install Fluxbox with this command:

sudo apt-get install fluxbox fluxconf

Once installed, you can start Fluxbox with the startx command. Remember, if you enjoy working with Fluxbox, you should consider Fluxbuntu as an option.

FVWM-Crystal

FVWM-Crystal is a complete set of configuration scripts which sit atop of FVWM. FVWM-Crystal has support for integrated access to music players, terminal emulators and system monitors. It boasts some of the finest eye candy available to low-end machines, and is a snap to install.

For more information about building an FVWM-Crystal desktop, check out the FVWM-Crystal page.

XFCE

XFCE is heavier than any of the systems mentioned so far, but has some added functions as a result. You can try XFCE alone if you like, but if you’re keen on an XFCE installation, look into Xubuntu as an option.

Install XFCE alone, without Xubuntu, with this command:

sudo apt-get install xfce4

If you want the entire Xubuntu package, which includes a full suite of software and a lot of improvements, try this command:

sudo apt-get install xubuntu-desktop

That will download quite a large amount of packages; you may want to consider installing Xubuntu fresh, from the installation ISO.

Note: Xubuntu will use more system resources and may not be optimal for a low memory system with limited disk space, but it is lighter than a standard Ubuntu system.

LXDE

LXDE (Lightweight X11 Desktop Environment) which as the name suggests, is a lightweight, low power desktop environment which relies on X11. It is a nice balance between good performance and beauty. More info can be found on the LXDE Ubuntu Wiki page. See also Lubuntu Ubuntu Wiki page. LXDE is available in the standard repos for Intrepid (8.10) through to Lucid (11.04).

To install the base LXDE system (which includes the basics – ideal for customisation):

sudo apt-get install lxde

The LXDE package includes everything you need for a basic desktop setup (but you need to also install x11). It includes the basic LXDE desktop, PCManFM (file manager), LXTerm (terminal),LeafPad? (text editor) and some other suitable packages. Noticable omissions are a Web Browser, network manager and Login manager (note LXDM is included in Lucid repo – see below).

Adding Functionality

Now that the graphical window manager is set up, it’s time to add some necessary and recommended packages. These will add additional functionality and make using the system easier. Additionally, adding a graphical package manager will provide an easy method to manage installed applications and packages.

Login managers

Login managers will assist in choosing a graphical environment and will not require the user to start x.org to get into the window manager.

It’s important to note that it’s not necessary to use a login manager. If you’re willing to log in at the command line and start X manually, you can save yourself a lot of system resources — and the time it takes to load them. That can be a more appealing option on older machines.

GDM

GDM is the Ubuntu default for a login manager. However, GDM has a reputation of being a heavyweight, and on a system that needs as little bulk as possible, you might find it to be a burden. If you’ve got a decent system, install it using:

sudo apt-get install gdm

KDM

KDM is another manager, but has the same heavy reputation as GDM.

sudo apt-get install kdm

XDM

XDM is the login manager for straight X, and while less beautiful than GDM or KDM, it can perform in the same role without fuss.

sudo apt-get install xdm

SLiM

SLiM is a simple login manager. It just works as expected.

sudo apt-get install slim

If the LANG environment variable is not correctly set, see bug #234474.

LXDM

LXDM is a light simple login manager designed to fit with LXDE, available in repos from Lucid (10.04) onwards.

sudo apt-get install lxdm

Browsers

Now that your system is up and running, it would be a good idea to add an internet browser to surf the web and get some use out of the machine!

Firefox

Web browsers come in many flavors, and the most prevalent — Firefox — can be laggy on low-memory or slow systems. Even the GNU version of Firefox, Iceweasel can be a bit heavy on older machines. If you’ve got at least 128 MB of memory, Firefox should work just fine.

sudo apt-get install firefox

Dillo

While not nearly as full-featured as Firefox, Dillo has the advantages of a very small footprint and few resource requirements.

sudo apt-get install dillo

Epiphany Webkit

Little bit of a middle ground. Webkit is very fast and highly supported as it is center to Safari and Chromium. Javascript is quick and Flash and other plugins are supported. (although Flash is probably way too much for a low-performance system)

sudo apt-get install epiphany-webkit

iDesk

Many lightweight desktop systems use iDesk as a way of including customized, clickable icons directly on the desktop. iDesk is maintained in the Ubuntu repositories, and is installable from the command line with:

sudo apt-get install idesk

Consult the iDesk wiki for instructions on how to configure and use iDesk. For icon sets, you may wish to search the repositories, or download them from third-party customization sites, such as Gnome-Look.org and similar locations.

File managers

Lightweight systems have a number of options available for graphical file management. Thunar is the default file manager in Xubuntu and many XFCE-based systems; it is installable alone with this command:

sudo apt-get install thunar

XFE is an even lighter file manager, intended to mimic the Windows Explorer interface. It has very few dependencies and is very fast.

sudo apt-get install xfe

ROX-Filer is another file management program, which makes extensive use of drag-and-drop principles. It does appear to have a large number of dependencies however, which means installing it may entail more external packages than you wish. Install ROX-Filer with this command:

sudo apt-get install rox-filer

Nautilus is the default file manager for Ubuntu. It requires some more resources, but it has a lot of useful features. It can manage your desktop, show a wallpaper and desktop icons, which are automatically created for new devices (e.g. USB flash drives). Install Nautilus using this command:

sudo apt-get install nautilus

To use it together with a window manager, execute the following command or add it to your autostart script. For example, use $HOME/.icewm/startup for IceWM.

nautilus –no-default-window &

PCManFM is a fast and efficient file manager. Its the default file manager installed with LXDE and is available from the repos for all currently supported Ubuntu versions (except for Dapper/6.06). Install it with this command:

sudo apt-get install pcmanfm

Some other popular file managers include

Midnight Commander, Tux Commander and Gnome Commander (which all resemble the old Norton Commander interface);

xffm4-filemanager;

XVFilemgr;

and Dolphin, which is a file manager aimed at KDE and Kubuntu.

There are many others. Some are available through the repositories; others will require you to download and install them through another source. Experiment with different file managers to see which ones appeal to you.

Package manager

Add a graphical package manager to install, remove and upgrade software packages and to add repositories without using the command line. Synaptic package manager is the standard and can be installed with this command:

sudo apt-get install synaptic

Another good package manager, which uses ncurses, is Aptitude. It is light and fast, with lots of features:

sudo apt-get install aptitude

You can use the package manager to add a word processor, such as Abiword, and other productivity software.

restarting windows managers – without rebooting the pc

Depending on what display manager, you can use one of the following commands:

Default Ubuntu (with LightDM)
sudo restart lightdm

Gnome (with GDM)
sudo restart gdm

KDE (with KDM)
sudo restart kdm
Note: From 12.10, Kubuntu also uses LightDM.