Difference between revisions of "OpenBox"
From Pandora Wiki
CountOrlock (talk | contribs) |
CountOrlock (talk | contribs) |
||
Line 14: | Line 14: | ||
= Customize your environment = | = 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 == |
− | + | <?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> |
Revision as of 12:29, 10 December 2012
Contents
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
<?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>