Help:Using Openbox in GNOME

From Openbox

(Difference between revisions)
Jump to: navigation, search
m (Fix broken link)
 
(15 intermediate revisions by 11 users not shown)
Line 1: Line 1:
[http://oxa-nuda.burblers.info/ oxa nuda] [http://bob-dylan-com.wrawler.info/ bob dylan com] [http://samsung-37-s-4.wrawler.info/ samsung 37 s 4] [http://indulger.info/index0_250.html index] [http://only-hope.indulger.info/ only hope] [http://batswing.info/index8_250.html homepage] [http://safri-duo-rise-mp3.batswing.info/ safri duo rise mp3] [http://as-veglie.batswing.info/ as veglie] [http://uomo-nudo-sexy.burblers.info/ Uomo nudo sexy] [http://tourism.wrawler.info/ tourism] [http://led-zeppelin-3.burblers.info/ led zeppelin 3] [http://club-prive.misserve.info/ club prive] [http://porno-tra.batswing.info/ porno tra] [http://hard-drive-extreme-250.downslip.info/ hard drive extreme 250] [http://athlon-xp-3200.downslip.info/ athlon xp 3200] [http://su-daglarda.burblers.info/ su daglarda] [http://f-renga.unfeeble.info/ f renga] [http://noral.misserve.info/ noral] [http://ram-333-mhz-ddr.wrawler.info/ ram 333 mhz ddr] [http://oxigen.wrawler.info/ oxigen] [http://lowell.downslip.info/ lowell] [http://reinhart.indulger.info/ reinhart] [http://misserve.info/index2_666.html url] [http://stroam.info/index0_666.html map] [http://neon-auto.indulger.info/ neon auto] [http://air-max-keyeh.indulger.info/ air max keyeh] [http://babbles.batswing.info/ babbles] [http://unile.misserve.info/ unile] [http://rolf.wrawler.info/ rolf] [http://pazi-skime-spavas.batswing.info/ pazi skime spavas] [http://ray-ban-4027.wrawler.info/ ray ban 4027] [http://forni-smeg-90-cm.indulger.info/ forni smeg 90 cm] [http://ongbuom-net.burblers.info/ ongbuom net] [http://handy.indulger.info/ handy] [http://vcdeasy.indulger.info/ vcdeasy] [http://flight-of-the-bumblebee.misserve.info/ flight of the bumblebee] [http://www-santafe-gob-ar.batswing.info/ www santafe gob ar] [http://acer-1673-notebook.stroam.info/ acer 1673 notebook] [http://lily.stroam.info/ lily] [http://flick-flok.wrawler.info/ flick flok] [http://turn-me-up.misserve.info/ turn me up] [http://missnude.unfeeble.info/ missnude] [http://maui-shopping.burblers.info/ maui shopping] [http://misserve.info/index7_666.html homepage] [http://tobin.downslip.info/ tobin] [http://www-sexy-hard-com.misserve.info/ www sexy hard com] [http://maddnes.burblers.info/ maddnes] [http://taormina-ecm.indulger.info/ taormina ecm] [http://jolly-ruote.burblers.info/ jolly ruote] [http://kya-soorat-hai.misserve.info/ kya soorat hai] [http://chat-en-mexico.indulger.info/ chat en mexico] [http://gme-boy.stroam.info/ gme boy] [http://tvumdb.wrawler.info/ tvumdb] [http://www-kinder-com.burblers.info/ www kinder com] [http://raduga.stroam.info/ raduga] [http://baise.unfeeble.info/ baise] [http://dubliners.wrawler.info/ dubliners] [http://batswing.info/index0_666.html site] [http://linker.wrawler.info/ linker] [http://fifa-football-2005-pc.burblers.info/ fifa football 2005 pc] [http://hd-lacie.unfeeble.info/ hd lacie] [http://xiao-xiao-1.burblers.info/ xiao xiao 1] [http://batswing.info/index1_666.html url] [http://philips-lcd-23pf9945.indulger.info/ philips lcd 23pf9945] [http://b.wrawler.info/ b] [http://gs.downslip.info/ gs] [http://batswing.info/index0_666.html site] [http://nike-air-pegasus-running.indulger.info/ nike air pegasus running] [http://download-real-player.indulger.info/ download real player] [http://fm-mp3.downslip.info/ fm mp3] [http://edwige-fenech.batswing.info/ edwige fenech] [http://cta.stroam.info/ cta] [http://codec-mp3.indulger.info/ codec mp3] [http://hamlet-pen-drive-4gb.batswing.info/ hamlet pen drive 4gb] [http://barbecure-academy.wrawler.info/ barbecure academy] [http://wagner-moldava.wrawler.info/ wagner moldava] [http://downslip.info/index2_666.html link] [http://ultra-low-voltage.burblers.info/ ultra low voltage] [http://get-out-of-debt.downslip.info/ get out of debt] [http://misserve.info/index6_666.html homepage] [http://ds.batswing.info/ ds] [http://dwl-904.unfeeble.info/ dwl 904] [http://treville.misserve.info/ treville] [http://mp3-winamp.wrawler.info/ mp3 winamp] [http://death-foto.stroam.info/ death foto] [http://www-playboytv-com.indulger.info/ www playboytv com] [http://quilmes.misserve.info/ quilmes] [http://ricoh-fax-1900.unfeeble.info/ ricoh fax 1900] [http://giacinto.wrawler.info/ giacinto] [http://figuig.unfeeble.info/ figuig] [http://randy-mandy.indulger.info/ randy mandy] [http://immaginary.burblers.info/ immaginary] [http://batswing.info/index9_666.html link] [http://robot-mixer.indulger.info/ robot mixer] [http://celik.burblers.info/ celik] [http://misserve.info/index7_666.html homepage] [http://lomax.misserve.info/ lomax] [http://live-in-volvo.burblers.info/ live in volvo] [http://km0-sw.indulger.info/ km0 sw] [http://mokia-6600.misserve.info/ mokia 6600]
 
 
== Starting Openbox with GNOME ==
 
== Starting Openbox with GNOME ==
  
 
[[Image:LoginOptions.png|right|thumb|Figure 1: The GNOME/Openbox option when logging in]]
 
[[Image:LoginOptions.png|right|thumb|Figure 1: The GNOME/Openbox option when logging in]]
 +
The instructions below don't work with current versions of GNOME and Openbox versions before 3.4.8.  As a workaround, you can run the command <code>openbox --replace</code> after logging into a standard GNOME session, and cross your fingers.
 +
 
To log into the GNOME desktop environment with Openbox as your window manager, select the "GNOME/Openbox"  
 
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.
 
option when logging in through GDM, which you can see in Figure 1.
Line 11: Line 12:
  
 
<div style="clear: right;">
 
<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]]
 
[[Image:GnomeMenuInOpenbox.png|left|thumb|Figure 2: The gnome-panel main menu]]
Line 26: Line 28:
 
</pre></code></div>
 
</pre></code></div>
  
Just add that to the &lt;keyboard&gt; section of your <code>rc.xml</code> [[Help:Config| 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:Configuration| 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>
 
</div>
  
Line 44: Line 46:
  
 
You can also use the same command in a key binding to log out by pressing a key combination.
 
You can also use the same command in a key binding to log out by pressing a key combination.
 +
 +
The session state may not be preserved when you log out with Openbox running.  You can fix this by restarting Metacity first, for example with the following shell script.
 +
 +
<code><pre>
 +
killall openbox
 +
coproc metacity
 +
gnome-session-save --logout-dialog
 +
</pre></code>
 +
 +
And to shut down
 +
 +
<code><pre>
 +
killall openbox
 +
coproc metacity
 +
gnome-session-save --shutdown-dialog
 +
</pre></code>
  
 
== Nautilus and Openbox ==
 
== Nautilus and Openbox ==

Latest revision as of 13:37, 10 July 2017

Contents

[edit] Starting Openbox with GNOME

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

The instructions below don't work with current versions of GNOME and Openbox versions before 3.4.8. As a workaround, you can run the command openbox --replace after logging into a standard GNOME session, and cross your fingers.

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.

See the getting started guide for more details.

[edit] 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.

[edit] Logging out

(thumbnail)
Figure 3: The GNOME logout screen, shown with gnome-session-save

In order to log out of GNOME without going through the gnome-panel, you can use the command gnome-session-save --kill --gui.

Here is an example of a "Log out" option for a menu:

<menu id="root-menu">
  ...
  <item label="Log out">
    <action name="Execute"><execute>gnome-session-save --kill --gui</execute></action>
  </item>
</menu>

You can also use the same command in a key binding to log out by pressing a key combination.

The session state may not be preserved when you log out with Openbox running. You can fix this by restarting Metacity first, for example with the following shell script.

killall openbox
coproc metacity
gnome-session-save --logout-dialog

And to shut down

killall openbox
coproc metacity
gnome-session-save --shutdown-dialog

[edit] Nautilus and Openbox

If you don't want Nautilus to draw icons on your desktop, you can disable it with the gconf-editor program. Run gconf-editor and browse to "/apps/nautilus/preferences" and turn off the show desktop option. Another simpler way to get that is to call nautilus with the --no-desktop switch.

If you do want icons from Nautilus on your desktop, you should disable the menu Openbox shows when you right-click on the desktop. Other desktop programs don't have this problem, but with Nautilus you won't be able to access its right-click menu unless you disable Openbox's (or use Shift-Right Click to access the Nautilus menu). In the default configuration rc.xml file, remove the following section (in the "Root" mouse-binding context):

    <mousebind button="Right" action="Press">
      <action name="ShowMenu"><menu>root-menu</menu></action>
    </mousebind>

Also, file a bug report for Nautilus so you won't have to do this in the future.

Personal tools