Help:Getting started

From Openbox

(Difference between revisions)
Jump to: navigation, search
(在图形登录界面启动Openbox)
(在图形登录界面启动Openbox)
Line 5: Line 5:
 
== 在图形登录界面启动Openbox ==
 
== 在图形登录界面启动Openbox ==
  
[[Image:LoginOptions.png|right|thumb|Figure 1: Log in options for Openbox]]
+
[[Image:LoginOptions.png|right|thumb|Figure 1: Openbox 登录选项]]
 
Openbox 有三个菜单项可用(当可用时出现)当你登录时.  "GNOME/Openbox"菜单会出现当系统安装有Gnome时,而会出现"KDE/Openbox"菜单项当系统安装有KDE时.
 
Openbox 有三个菜单项可用(当可用时出现)当你登录时.  "GNOME/Openbox"菜单会出现当系统安装有Gnome时,而会出现"KDE/Openbox"菜单项当系统安装有KDE时.
  
 
<div style="clear: both">
 
<div style="clear: both">
=== Using Openbox in a desktop environment (GNOME and KDE) ===
+
=== (GNOME and KDE)桌面环境中使用Openbox  ===
  
 
[[Image:GNOME-Openbox.png|left|thumb|Figure 2: Openbox running in the GNOME desktop environment]]
 
[[Image:GNOME-Openbox.png|left|thumb|Figure 2: Openbox running in the GNOME desktop environment]]

Revision as of 20:59, 3 June 2008

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

在图形登录界面启动Openbox

(thumbnail)
Figure 1: Openbox 登录选项

Openbox 有三个菜单项可用(当可用时出现)当你登录时. "GNOME/Openbox"菜单会出现当系统安装有Gnome时,而会出现"KDE/Openbox"菜单项当系统安装有KDE时.

在(GNOME and KDE)桌面环境中使用Openbox

(thumbnail)
Figure 2: Openbox running in the GNOME desktop environment
(thumbnail)
Figure 3: Openbox running in the K Desktop Environment

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.

See Using Openbox in GNOME for further tips and assistance.

Using Openbox without a desktop environment (The lightweight approach)

(thumbnail)
Figure 4: Openbox running without a desktop environment

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.

To have a taskbar on screen, install and use a panel program like gnome-panel, pypanel, perlpanel or fbpanel. Our list of programs to use with Openbox lists a number of such programs.

Starting Openbox without the graphical log in

If you don't use a graphical log in, there are three programs included with Openbox for launching 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.

The default configuration

Take a look at the details of the default configuration to learn what the default keyboard bindings are.

Further reading

There's a lot of help documentation on the site, in the help section. Or see the FAQ for solutions to common problems.

Personal tools