Help:Using Openbox in GNOME

From Openbox

(Difference between revisions)
Jump to: navigation, search
Line 7: Line 7:
 
If you don't use a graphical log in, you can use the <code>openbox-gnome-session</code> command to start a GNOME session with Openbox as your window manager.
 
If you don't use a graphical log in, you can use the <code>openbox-gnome-session</code> command to start a GNOME session with Openbox as your window manager.
  
 +
<div style="clear: right;">
 
== Accessing gnome-panel with key bindings ==
 
== Accessing gnome-panel with key bindings ==
 +
[[Image:GnomeMenuInOpenbox.png|left|thumb|Figure 2: The gnome-panel main menu]]
 
If you are using gnome-panel in Openbox and want to access it with key bindings, you can use the <code>gnome-panel-control</code> program (which is a part of Openbox) to do so.
 
If you are using gnome-panel in Openbox and want to access it with key bindings, you can use the <code>gnome-panel-control</code> program (which is a part of Openbox) to do so.
  
 
Here is an example of two bindings to pop up the gnome-panel's main menu, and to pop up the "Run" dialog:
 
Here is an example of two bindings to pop up the gnome-panel's main menu, and to pop up the "Run" dialog:
  
<code><pre>
+
<div style="clear: both;"><code><pre>
 
<keybind key="A-F1">
 
<keybind key="A-F1">
 
     <action name="execute"><execute>gnome-panel-control --main-menu</execute></action>
 
     <action name="execute"><execute>gnome-panel-control --main-menu</execute></action>
Line 19: Line 21:
 
     <action name="execute"><execute>gnome-panel-control --run-dialog</execute></action>
 
     <action name="execute"><execute>gnome-panel-control --run-dialog</execute></action>
 
</keybind>
 
</keybind>
</pre></code>
+
</pre></code></div>
  
[[Image:GnomeMenuInOpenbox.png|left|thumb|Figure 2: The gnome-panel main menu]]
 
 
Just add that to the &lt;keyboard&gt; section of your <code>rc.xml</code> [[Help:Config file| configuration file]], and change the keys to match your preferences. The keys shown are the defaults used by Metacity, the default window manager for GNOME.
 
Just add that to the &lt;keyboard&gt; section of your <code>rc.xml</code> [[Help:Config file| configuration file]], and change the keys to match your preferences. The keys shown are the defaults used by Metacity, the default window manager for GNOME.
 +
</div>

Revision as of 20:25, 18 May 2007

Starting Openbox with GNOME

(thumbnail)
Figure 1: The GNOME/Openbox option when logging in

To log into the GNOME desktop environment with Openbox as your window manager, select the "GNOME/Openbox" option when logging in through GDM, which you can see in Figure 1.

If you don't use a graphical log in, you can use the openbox-gnome-session command to start a GNOME session with Openbox as your window manager.

Accessing gnome-panel with key bindings

(thumbnail)
Figure 2: The gnome-panel main menu

If you are using gnome-panel in Openbox and want to access it with key bindings, you can use the gnome-panel-control program (which is a part of Openbox) to do so.

Here is an example of two bindings to pop up the gnome-panel's main menu, and to pop up the "Run" dialog:

<keybind key="A-F1">
    <action name="execute"><execute>gnome-panel-control --main-menu</execute></action>
</keybind>
<keybind key="A-F2">
    <action name="execute"><execute>gnome-panel-control --run-dialog</execute></action>
</keybind>

Just add that to the <keyboard> section of your rc.xml configuration file, and change the keys to match your preferences. The keys shown are the defaults used by Metacity, the default window manager for GNOME.

Personal tools