Help:Getting started

From Openbox

(Difference between revisions)
Jump to: navigation, search
Line 11: Line 11:
  
 
=== Using Openbox without a desktop environment (The lightweight approach) ===
 
=== Using Openbox without a desktop environment (The lightweight approach) ===
By default, a third "Openbox" option seen in Figure 1 is provided in the Session Type menu when logging in graphically. This option will run a more
+
By default, a third "Openbox" option is provided in the Session Type menu when logging in graphically, as can be seen in Figure 1. This option will run a more
 
lightweight Openbox session without any desktop environment or session manager.
 
lightweight Openbox session without any desktop environment or session manager.
  

Revision as of 18:04, 18 May 2007

Openbox is included in most popular linux distributions. However if the latest version is not available to you through your distribution, you can download it from the download page. Packages are available there for a few distrubutions, as well as the source code which you can compile yourself. For help compiling Openbox, please see our compiling guide.

Once Openbox is installed, running it is quite simple whether you log in through the graphical interface or through a text-based terminal. We'll first talk about the ways to run Openbox from a graphical log in (GDM/KDM), and then show how to run those same sessions from the command line.

Contents

Starting Openbox from a graphical log in

Using Openbox in a desktop environment

(thumbnail)
Figure 1: Log in options for Openbox

Openbox can run inside the GNOME and K desktop environments, giving you all the power and features of Openbox alongside everything these desktop environments have to offer. Options to run Openbox inside of these desktop environments are provided by default in the Session Type menu when logging in graphically, as seen in Figure 1. Choosing the "GNOME/Openbox" or "KDE/Openbox" option will log into the respective desktop environment with Openbox replacing the default window manager. The menu options for "GNOME/Openbox" and "KDE/Openbox" will only appear if you have the desktop environment installed.

Using Openbox without a desktop environment (The lightweight approach)

By default, a third "Openbox" option is provided in the Session Type menu when logging in graphically, as can be seen in Figure 1. This option will run a more lightweight Openbox session without any desktop environment or session manager.

When choosing this option, the autostart file is executed before launching Openbox, so that you can run any applications you want to start alongside Openbox and set up the environment as neccessary. Openbox comes with a default autostart which sets up an environment for both GNOME and KDE applications to run properly in (if you have them installed), as well as providing support for SCIM language input. See the autostart documentation for more details on setting it up.

Starting Openbox without the graphical log in

If you don't use a graphical log in, there are three programs included with Openbox for lauching Openbox sessions similar to the three menu options discussed above.

Most likely if you are not using a graphical log in, then you are using startx to begin an X session. In that case you need to run Openbox from your ~/.xinitrc file. Rather than just running openbox however, you should choose from one of the three programs listed below:

  • openbox-session

This runs an Openbox session without any desktop environment or session manager, which is like selecting "Openbox" from the graphical log in. See the autostart documentation for how to easily start applications along with Openbox.

  • openbox-gnome-session

This runs a GNOME session with Openbox as the window manager, which is like selecting "GNOME/Openbox" from the graphical log in.

  • openbox-kde-session

This runs a KDE session with Openbox as the window manager, which is like selecting "KDE/Openbox" from the graphical log in.

Personal tools