Difference between revisions of "OpenBox"

From Pandora Wiki
Jump to: navigation, search
(CountOrlock Config)
Line 24: Line 24:
 
= CountOrlock Config =
 
= CountOrlock Config =
 
== menu.xml ==
 
== menu.xml ==
 +
Menu changed t get easy access to config files as I spend a lot of time tuning them. So nothing new, items are just at different place.
 
  <?xml version="1.0" encoding="UTF-8"?>
 
  <?xml version="1.0" encoding="UTF-8"?>
 
   
 
   

Revision as of 12:32, 10 December 2012

Default Config

Default Keybindings

  • Root Menu: "Pandora Key" or "Ctrl-M" "Right-Nub-Right-Click"
  • Go To Desktop 1: Alt DPAD-left
  • Go To Desktop 2: Alt DPAD-right
  • Send To Desktop 1: Ctrl DPAD-left
  • Send To Desktop 2: Ctrol DPAD-right
  • Client Menu: Alt DPAD-up
  • Switch Applications: Alt DPAD-down
  • Toggle Maximize: Ctrl DPAD-up
  • Toggle Shade: Ctrl DPAD-down
  • Quit Application: Ctrl-q

Customize your environment

  • start-up file: /usr/bin/openbox-session
  • pnd menu: /etc/xdg/menus/openbox-pnd.menu
  • root menu: /home/<yourname>/Applications/Settings/openbox/menu.xml
  • openbox settings: /home/<yourname>/Applications/Settings/openbox/rc.xml
  • execute before openbox starts: /home/<yourname>/Applications/Settings/openbox/environment
  • execute after openbox starts: /home/<yourname>/Applications/Settings/openbox/autostart
  • manually add stuff to warlock bar: /home/<yourname>/Applications/Settings/openbox/wbar_custom.cfg

CountOrlock Config

menu.xml

Menu changed t get easy access to config files as I spend a lot of time tuning them. So nothing new, items are just at different place.

<?xml version="1.0" encoding="UTF-8"?>

<openbox_menu xmlns="http://openbox.org/3.4/menu">

<menu id="PNDs-menu"
	label="PNDs"
	execute="openbox-menu /etc/xdg/menus/openbox-pnd.menu" />

<menu id="Config-menu"
	label="Config"
	execute="openbox-functions configmenu" />

<menu id="Status-menu"
	label="Status"
	execute="openbox-functions showstatus" />


<menu id="root-menu" label="Openbox 3">
	<menu id="PNDs-menu" />
	<separator />

	<menu id="Config-menu" />
	<separator />	

	<menu id="Status-menu" />
	<separator />

	<item label="Toggle Bluetooth" icon="/usr/share/icons/hicolor/32x32/apps/bluetooth.png">
    	<action name="Execute">
    		<command>/usr/pandora/scripts/op_bluetooth.sh</command>
    	</action>
 	</item>    

	<item label="Toggle WiFi" icon="/usr/share/icons/openbox/wifi.png">
   	<action name="Execute">
   		<command>sudo /usr/pandora/scripts/op_wifi.sh</command>
   	</action>
 	</item>

	<item label="Edit Connections" icon="/usr/share/icons/gnome/32x32/status/network-idle.png">
   	<action name="Execute">
   		<command>nm-connection-editor</command>
   	</action>
 	</item>

 	<item label="Auto Connect" icon="/usr/share/icons/gnome/32x32/status/network-transmit.png">
   	<action name="Execute">
   		<command>openbox-functions autoconnect</command>
   	</action>
 	</item>    
  	<item label="Toggle USB Host" icon="/usr/share/icons/openbox/op_usbhost.png">
   	<action name="Execute">
     		<command>/usr/pandora/scripts/op_usbhost.sh</command>
   	</action>
	</item>

	<item label="Toggle System Tray  " icon="/usr/share/icons/gnome/32x32/actions/remove.png">
   	<action name="Execute">
     		<command>openbox-functions togglesystray</command>
   	</action>
	</item>
	<item label="Toggle Warlock Bar  " icon="/usr/share/pixmaps/wbar/wbar.png">
    	<action name="Execute">
     		<command>openbox-functions togglewbar</command>
   	</action>
	</item>      	

	<separator />
	<item label="PND Installer" icon="/usr/share/icons/gnome/32x32/status/software-update-available.png">
	    <action name="Execute">
			<command>openbox-functions pndinstaller</command>
		</action>
  	</item>    

  	<item label="File Manager" icon="/usr/share/icons/gnome/32x32/apps/system-file-manager.png">
   	<action name="Execute">
     		<command>Thunar</command>
   	</action>
 	</item>    

 	<item label="Terminal" icon="/usr/share/icons/gnome/32x32/apps/utilities-terminal.png">
   	<action name="Execute">
               <command>urxvt -title "Pandora Term"</command>
   	</action>
 	</item>    
  
 	<separator />
 
 	<item label="Switch GUI" icon="/usr/share/icons/openbox/switchgui.png">
   	<action name="Execute">
     		<command>/usr/pandora/scripts/op_switchgui.sh</command>
   	</action>
 	</item>

 	<item label="Shutdown">
   	<action name="Execute">
     		<command>openbox-functions shutdown</command>
   	</action>
 	</item>

</menu>

</openbox_menu>