* usr/share/lubuntu/openbox/menu.xml & rc.xml

- Re-synchronize with upstream.
 - Workaround loose of focus of lxpanel run window (LP: #889414)
 - Add a rule to maximize all new windows with type normal.
ubuntu/bionic
Julien Lavergne 13 years ago
parent 4debbda64d
commit 0771099f0f

9
debian/changelog vendored

@ -1,3 +1,12 @@
lubuntu-default-settings (0.23) UNRELEASED; urgency=low
* usr/share/lubuntu/openbox/menu.xml & rc.xml
- Re-synchronize with upstream.
- Workaround loose of focus of lxpanel run window (LP: #889414)
- Add a rule to maximize all new windows with type normal.
-- Julien Lavergne <gilir@ubuntu.com> Tue, 15 Nov 2011 13:47:32 +0700
lubuntu-default-settings (0.22) precise; urgency=low lubuntu-default-settings (0.22) precise; urgency=low
* Add a theme for lightdm (taking from Xubuntu, thanks Lionel Le Folgoc). * Add a theme for lightdm (taking from Xubuntu, thanks Lionel Le Folgoc).

@ -1,8 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<openbox_menu xmlns="http://openbox.org/3.4/menu"> <openbox_menu xmlns="http://openbox.org/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://openbox.org/
file:///usr/share/openbox/menu.xsd">
<menu id="apps-menu" label="Applications"> <menu id="root-menu" label="Lubuntu">
<item label="PCManFM"> <item label="PCManFM">
<action name="Execute"> <action name="Execute">
<startupnotify><enabled>yes</enabled><icon>pcmanfm</icon></startupnotify> <startupnotify><enabled>yes</enabled><icon>pcmanfm</icon></startupnotify>
@ -15,9 +18,8 @@
<action name="Execute"><command>chromium-browser</command></action> <action name="Execute"><command>chromium-browser</command></action>
</item> </item>
</menu> </menu>
<menu id="root-menu" label="Settings">
<menu id="root-menu" label="Lubuntu"> <separator label="Settings" />
<separator label="Lubuntu" />
<menu id="apps-menu" /> <menu id="apps-menu" />
<separator /> <separator />
<menu id="client-list-menu" /> <menu id="client-list-menu" />

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!-- Do not edit this file, it will be overwritten on install. <!-- Do not edit this file, it will be overwritten on install.
Copy the file to $HOME/.config/openbox/ instead. --> Copy the file to $HOME/.config/openbox/ instead. -->
<openbox_config xmlns="http://openbox.org/3.4/rc"> <openbox_config xmlns="http://openbox.org/3.4/rc" xmlns:xi="http://www.w3.org/2001/XInclude">
<resistance> <resistance>
<strength>10</strength> <strength>10</strength>
<screen_edge_strength>20</screen_edge_strength> <screen_edge_strength>20</screen_edge_strength>
@ -30,10 +30,16 @@
<center>yes</center> <center>yes</center>
<!-- whether to place windows in the center of the free area found or <!-- whether to place windows in the center of the free area found or
the top left corner --> the top left corner -->
<monitor>Any</monitor> <monitor>Mouse</monitor>
<!-- with Smart placement on a multi-monitor system, try to place new windows <!-- with Smart placement on a multi-monitor system, try to place new windows
on: 'Any' - any monitor, 'Mouse' - where the mouse is, 'Active' - where on: 'Any' - any monitor, 'Mouse' - where the mouse is, 'Active' - where
the active window is --> the active window is, 'Primary' - only on the primary monitor -->
<primaryMonitor>Mouse</primaryMonitor>
<!-- The monitor where Openbox should place popup dialogs such as the
focus cycling popup, or the desktop switch popup. It can be an index
from 1, specifying a particular monitor. Or it can be one of the
following: 'Mouse' - where the mouse is, or
'Active' - where the active window is -->
</placement> </placement>
<theme> <theme>
<name>Lubuntu-default</name> <name>Lubuntu-default</name>
@ -86,7 +92,16 @@
<slant>normal</slant> <slant>normal</slant>
<!-- 'italic' or 'normal' --> <!-- 'italic' or 'normal' -->
</font> </font>
<font place="OnScreenDisplay"> <font place="ActiveOnScreenDisplay">
<name>Ubuntu Medium</name>
<size>11</size>
<!-- font size in points -->
<weight>bold</weight>
<!-- 'bold' or 'normal' -->
<slant>normal</slant>
<!-- 'italic' or 'normal' -->
</font>
<font place="InactiveOnScreenDisplay">
<name>Ubuntu Medium</name> <name>Ubuntu Medium</name>
<size>11</size> <size>11</size>
<!-- font size in points --> <!-- font size in points -->
@ -165,71 +180,71 @@
<chainQuitKey>C-g</chainQuitKey> <chainQuitKey>C-g</chainQuitKey>
<!-- Keybindings for desktop switching --> <!-- Keybindings for desktop switching -->
<keybind key="C-A-Left"> <keybind key="C-A-Left">
<action name="DesktopLeft"> <action name="GoToDesktop">
<dialog>no</dialog> <to>left</to>
<wrap>no</wrap> <wrap>no</wrap>
</action> </action>
</keybind> </keybind>
<keybind key="C-A-Right"> <keybind key="C-A-Right">
<action name="DesktopRight"> <action name="GoToDesktop">
<dialog>no</dialog> <to>right</to>
<wrap>no</wrap> <wrap>no</wrap>
</action> </action>
</keybind> </keybind>
<keybind key="C-A-Up"> <keybind key="C-A-Up">
<action name="DesktopUp"> <action name="GoToDesktop">
<dialog>no</dialog> <to>up</to>
<wrap>no</wrap> <wrap>no</wrap>
</action> </action>
</keybind> </keybind>
<keybind key="C-A-Down"> <keybind key="C-A-Down">
<action name="DesktopDown"> <action name="GoToDesktop">
<dialog>no</dialog> <to>down</to>
<wrap>no</wrap> <wrap>no</wrap>
</action> </action>
</keybind> </keybind>
<keybind key="S-A-Left"> <keybind key="S-A-Left">
<action name="SendToDesktopLeft"> <action name="SendToDesktop">
<dialog>no</dialog> <to>left</to>
<wrap>no</wrap> <wrap>no</wrap>
</action> </action>
</keybind> </keybind>
<keybind key="S-A-Right"> <keybind key="S-A-Right">
<action name="SendToDesktopRight"> <action name="SendToDesktop">
<dialog>no</dialog> <to>right</to>
<wrap>no</wrap> <wrap>no</wrap>
</action> </action>
</keybind> </keybind>
<keybind key="S-A-Up"> <keybind key="S-A-Up">
<action name="SendToDesktopUp"> <action name="SendToDesktop">
<dialog>no</dialog> <to>up</to>
<wrap>no</wrap> <wrap>no</wrap>
</action> </action>
</keybind> </keybind>
<keybind key="S-A-Down"> <keybind key="S-A-Down">
<action name="SendToDesktopDown"> <action name="SendToDesktop">
<dialog>no</dialog> <to>down</to>
<wrap>no</wrap> <wrap>no</wrap>
</action> </action>
</keybind> </keybind>
<keybind key="W-F1"> <keybind key="W-F1">
<action name="Desktop"> <action name="GoToDesktop">
<desktop>1</desktop> <to>1</to>
</action> </action>
</keybind> </keybind>
<keybind key="W-F2"> <keybind key="W-F2">
<action name="Desktop"> <action name="GoToDesktop">
<desktop>2</desktop> <to>2</to>
</action> </action>
</keybind> </keybind>
<keybind key="W-F3"> <keybind key="W-F3">
<action name="Desktop"> <action name="GoToDesktop">
<desktop>3</desktop> <to>3</to>
</action> </action>
</keybind> </keybind>
<keybind key="W-F4"> <keybind key="W-F4">
<action name="Desktop"> <action name="GoToDesktop">
<desktop>4</desktop> <to>4</to>
</action> </action>
</keybind> </keybind>
<keybind key="W-d"> <keybind key="W-d">
@ -249,20 +264,64 @@
<menu>client-menu</menu> <menu>client-menu</menu>
</action> </action>
</keybind> </keybind>
<!-- Take a screenshot of the current window with scrot when Alt+Print are pressed -->
<keybind key="A-Print">
<action name="Execute">
<command>scrot -u -b</command>
</action>
</keybind>
<!-- Keybindings for window switching --> <!-- Keybindings for window switching -->
<keybind key="A-Tab"> <keybind key="A-Tab">
<action name="NextWindow"/> <action name="NextWindow">
<finalactions>
<action name="Focus"/>
<action name="Raise"/>
<action name="Unshade"/>
</finalactions>
</action>
</keybind> </keybind>
<keybind key="A-S-Tab"> <keybind key="A-S-Tab">
<action name="PreviousWindow"/> <action name="PreviousWindow">
<finalactions>
<action name="Focus"/>
<action name="Raise"/>
<action name="Unshade"/>
</finalactions>
</action>
</keybind> </keybind>
<keybind key="C-A-Tab"> <keybind key="C-A-Tab">
<action name="NextWindow"> <action name="NextWindow">
<panels>yes</panels> <panels>yes</panels>
<desktop>yes</desktop> <desktop>yes</desktop>
<finalactions>
<action name="Focus"/>
<action name="Raise"/>
<action name="Unshade"/>
</finalactions>
</action>
</keybind>
<!-- Keybindings for window switching with the arrow keys -->
<keybind key="W-S-Right">
<action name="DirectionalCycleWindows">
<direction>right</direction>
</action>
</keybind>
<keybind key="W-S-Left">
<action name="DirectionalCycleWindows">
<direction>left</direction>
</action>
</keybind>
<keybind key="W-S-Up">
<action name="DirectionalCycleWindows">
<direction>up</direction>
</action>
</keybind>
<keybind key="W-S-Down">
<action name="DirectionalCycleWindows">
<direction>down</direction>
</action> </action>
</keybind> </keybind>
<!-- Keybindings for running applications --> <!-- Keybindings for running applications on Home + E -->
<keybind key="W-e"> <keybind key="W-e">
<action name="Execute"> <action name="Execute">
<startupnotify> <startupnotify>
@ -272,20 +331,21 @@
<command>pcmanfm</command> <command>pcmanfm</command>
</action> </action>
</keybind> </keybind>
<!--keybindings for LXPanel --> <!-- Keybindings for running Run menu from Lxpanel on Home + R-->
<keybind key="W-r"> <keybind key="W-r">
<action name="Execute"> <action name="Execute">
<command>lxpanelctl run</command> <command>lxpanelctl run</command>
</action> </action>
</keybind> </keybind>
<keybind key="A-F1"> <keybind key="A-F2">
<action name="Execute"> <action name="Execute">
<command>lxpanelctl menu</command> <command>lxpanelctl run</command>
</action> </action>
</keybind> </keybind>
<keybind key="A-F2"> <!-- Keybindings for running Menu from Lxpanel -->
<keybind key="A-F1">
<action name="Execute"> <action name="Execute">
<command>lxpanelctl run</command> <command>lxpanelctl menu</command>
</action> </action>
</keybind> </keybind>
<keybind key="C-Escape"> <keybind key="C-Escape">
@ -303,24 +363,23 @@
<command>lxpanelctl menu</command> <command>lxpanelctl menu</command>
</action> </action>
</keybind> </keybind>
<!-- Keybindings to toggle fullscreen -->
<keybind key="F11"> <keybind key="F11">
<action name="ToggleFullscreen"/> <action name="ToggleFullscreen"/>
</keybind> </keybind>
<!-- Launch Task Manager with Ctrl+Alt+Del --> <!-- Launch task manager on Ctrl + Alt + Del-->
<keybind key="A-C-Delete"> <keybind key="C-A-Delete">
<action name="Execute"> <action name="Execute">
<command>lxtask</command> <command>lxtask</command>
</action> </action>
</keybind> </keybind>
<!-- Launch a terminal on Ctrl + Alt + T-->
<!-- Fast access to Terminal -->
<keybind key="C-A-T"> <keybind key="C-A-T">
<action name="Execute"> <action name="Execute">
<command>lxterminal</command> <command>x-terminal-emulator</command>
</action> </action>
</keybind> </keybind>
<!-- Launch a filemanager on Ctrl + Alt + D-->
<!-- Fast access to filemanager -->
<keybind key="C-A-D"> <keybind key="C-A-D">
<action name="Execute"> <action name="Execute">
<startupnotify> <startupnotify>
@ -330,80 +389,67 @@
<command>pcmanfm</command> <command>pcmanfm</command>
</action> </action>
</keybind> </keybind>
<!-- Keybinding for Volume management -->
<!-- Keybinding for PrintScreen Key --> <keybind key="XF86AudioRaiseVolume">
<keybind key="Print">
<action name="Execute"> <action name="Execute">
<execute>scrot</execute> <command>amixer -q sset Master 3%+</command>
</action> </action>
</keybind> </keybind>
<keybind key="XF86AudioLowerVolume">
<keybind key="A-Print">
<action name="Execute"> <action name="Execute">
<execute>scrot -s</execute> <command>amixer -q sset Master 3%-</command>
</action> </action>
</keybind> </keybind>
<keybind key="XF86AudioLowerVolume">
<!-- Keybinding for Volume management --> <action name="Execute">
  <keybind key="XF86AudioRaiseVolume"> <command>amixer -q sset Master toggle</command>
     <action name="Execute"> </action>
      <command>amixer -q sset Master 3%+</command> </keybind>
    </action> <!-- Keybinding for terminal button-->
  </keybind> <keybind key="XF86WWW">
<action name="Execute">
  <keybind key="XF86AudioLowerVolume"> <command>x-terminal-emulator</command>
      <action name="Execute"> </action>
       <command>amixer -q sset Master 3%-</command> </keybind>
    </action> <keybind key="XF86Terminal">
  </keybind> <action name="Execute">
<command>x-terminal-emulator</command>
  <keybind key="XF86AudioMute"> </action>
      <action name="Execute"> </keybind>
       <command>amixer -q sset Master toggle</command> <!-- Keybinding for calculator button-->
    </action> <keybind key="XF86Calculator">
  </keybind> <action name="Execute">
<command>galculator</command>
  <keybind key="XF86WWW"> </action>
      <action name="Execute"> </keybind>
       <command>x-terminal-emulator</command> <!-- Keybinding for computer button-->
    </action> <keybind key="XF86MyComputer">
  </keybind> <action name="Execute">
<command>pcmanfm</command>
  <keybind key="XF86Calculator"> </action>
      <action name="Execute"> </keybind>
       <command>galculator</command> <!-- Keybindings for Multimedia Keys and LCD Backlight (alternative when not using gnome-power-manager or xfce4-volumed) -->
    </action>
  </keybind>
  <keybind key="XF86MyComputer">
      <action name="Execute">
       <command>pcmanfm</command>
    </action>
  </keybind>
  <keybind key="XF86Terminal">
      <action name="Execute">
       <command>x-terminal-emulator</command>
    </action>
  </keybind>
<!-- Keybindings for Multimedia Keys and LCD Backlight (alternative when not using gnome-power-manager or xfce4-volumed)
<keybind key="C-F7"> <keybind key="C-F7">
<action name="Execute"> <action name="Execute">
<execute>sleep 2;xset dpms force off</execute> <command>sleep 2;xset dpms force off</command>
</action> </action>
</keybind> </keybind>
<keybind key="C-F10"> <keybind key="C-F10">
<action name="Execute"> <action name="Execute">
<execute>xbacklight -dec 10</execute> <command>xbacklight -dec 10</command>
</action> </action>
</keybind> </keybind>
<keybind key="C-F11"> <keybind key="C-F11">
<action name="Execute"> <action name="Execute">
<execute>xbacklight -inc 10</execute> <command>xbacklight -inc 10</command>
</action> </action>
</keybind> --> </keybind>
<!-- Launch scrot when Print is pressed -->
<keybind key="Print">
<action name="Execute">
<command>scrot</command>
</action>
</keybind>
</keyboard> </keyboard>
<mouse> <mouse>
<dragThreshold>8</dragThreshold> <dragThreshold>8</dragThreshold>
@ -414,6 +460,9 @@
<!-- Time before changing desktops when the pointer touches the edge of the <!-- Time before changing desktops when the pointer touches the edge of the
screen while moving a window, in milliseconds (1000 = 1 second). screen while moving a window, in milliseconds (1000 = 1 second).
Set this to 0 to disable warping --> Set this to 0 to disable warping -->
<screenEdgeWarpMouse>false</screenEdgeWarpMouse>
<!-- Set this to TRUE to move the mouse pointer across the desktop when
switching due to hitting the edge of the screen -->
<context name="Frame"> <context name="Frame">
<mousebind button="A-Left" action="Press"> <mousebind button="A-Left" action="Press">
<action name="Focus"/> <action name="Focus"/>
@ -439,49 +488,74 @@
<action name="Unfocus"/> <action name="Unfocus"/>
</mousebind> </mousebind>
<mousebind button="A-Up" action="Click"> <mousebind button="A-Up" action="Click">
<action name="DesktopPrevious"/> <action name="GoToDesktop">
<to>previous</to>
</action>
</mousebind> </mousebind>
<mousebind button="A-Down" action="Click"> <mousebind button="A-Down" action="Click">
<action name="DesktopNext"/> <action name="GoToDesktop">
<to>next</to>
</action>
</mousebind> </mousebind>
<mousebind button="C-A-Up" action="Click"> <mousebind button="C-A-Up" action="Click">
<action name="DesktopPrevious"/> <action name="GoToDesktop">
<to>previous</to>
</action>
</mousebind> </mousebind>
<mousebind button="C-A-Down" action="Click"> <mousebind button="C-A-Down" action="Click">
<action name="DesktopNext"/> <action name="GoToDesktop">
<to>next</to>
</action>
</mousebind> </mousebind>
<mousebind button="A-S-Up" action="Click"> <mousebind button="A-S-Up" action="Click">
<action name="SendToDesktopPrevious"/> <action name="SendToDesktop">
<to>previous</to>
</action>
</mousebind> </mousebind>
<mousebind button="A-S-Down" action="Click"> <mousebind button="A-S-Down" action="Click">
<action name="SendToDesktopNext"/> <action name="SendToDesktop">
<to>next</to>
</action>
</mousebind> </mousebind>
</context> </context>
<context name="Titlebar"> <context name="Titlebar">
<mousebind button="Left" action="Press">
<action name="Focus"/>
<action name="Raise"/>
</mousebind>
<mousebind button="Left" action="Drag"> <mousebind button="Left" action="Drag">
<action name="Move"/> <action name="Move"/>
</mousebind> </mousebind>
<mousebind button="Left" action="DoubleClick"> <mousebind button="Left" action="DoubleClick">
<action name="ToggleMaximizeFull"/> <action name="ToggleMaximize"/>
</mousebind>
<mousebind button="Middle" action="Press">
<action name="Lower"/>
<action name="FocusToBottom"/>
<action name="Unfocus"/>
</mousebind> </mousebind>
<mousebind button="Up" action="Click"> <mousebind button="Up" action="Click">
<action name="if">
<shaded>no</shaded>
<then>
<action name="Shade"/> <action name="Shade"/>
<action name="FocusToBottom"/> <action name="FocusToBottom"/>
<action name="Unfocus"/> <action name="Unfocus"/>
<action name="Lower"/> <action name="Lower"/>
</then>
</action>
</mousebind> </mousebind>
<mousebind button="Down" action="Click"> <mousebind button="Down" action="Click">
<action name="if">
<shaded>yes</shaded>
<then>
<action name="Unshade"/> <action name="Unshade"/>
<action name="Raise"/> <action name="Raise"/>
</then>
</action>
</mousebind>
</context>
<context name="Titlebar Top Right Bottom Left TLCorner TRCorner BRCorner BLCorner">
<mousebind button="Left" action="Press">
<action name="Focus"/>
<action name="Raise"/>
<action name="Unshade"/>
</mousebind>
<mousebind button="Middle" action="Press">
<action name="Lower"/>
<action name="FocusToBottom"/>
<action name="Unfocus"/>
</mousebind> </mousebind>
<mousebind button="Right" action="Press"> <mousebind button="Right" action="Press">
<action name="Focus"/> <action name="Focus"/>
@ -492,11 +566,6 @@
</mousebind> </mousebind>
</context> </context>
<context name="Top"> <context name="Top">
<mousebind button="Left" action="Press">
<action name="Focus"/>
<action name="Raise"/>
<action name="Unshade"/>
</mousebind>
<mousebind button="Left" action="Drag"> <mousebind button="Left" action="Drag">
<action name="Resize"> <action name="Resize">
<edge>top</edge> <edge>top</edge>
@ -504,10 +573,6 @@
</mousebind> </mousebind>
</context> </context>
<context name="Left"> <context name="Left">
<mousebind button="Left" action="Press">
<action name="Focus"/>
<action name="Raise"/>
</mousebind>
<mousebind button="Left" action="Drag"> <mousebind button="Left" action="Drag">
<action name="Resize"> <action name="Resize">
<edge>left</edge> <edge>left</edge>
@ -515,10 +580,6 @@
</mousebind> </mousebind>
</context> </context>
<context name="Right"> <context name="Right">
<mousebind button="Left" action="Press">
<action name="Focus"/>
<action name="Raise"/>
</mousebind>
<mousebind button="Left" action="Drag"> <mousebind button="Left" action="Drag">
<action name="Resize"> <action name="Resize">
<edge>right</edge> <edge>right</edge>
@ -526,20 +587,11 @@
</mousebind> </mousebind>
</context> </context>
<context name="Bottom"> <context name="Bottom">
<mousebind button="Left" action="Press">
<action name="Focus"/>
<action name="Raise"/>
</mousebind>
<mousebind button="Left" action="Drag"> <mousebind button="Left" action="Drag">
<action name="Resize"> <action name="Resize">
<edge>bottom</edge> <edge>bottom</edge>
</action> </action>
</mousebind> </mousebind>
<mousebind button="Middle" action="Press">
<action name="Lower"/>
<action name="FocusToBottom"/>
<action name="Unfocus"/>
</mousebind>
<mousebind button="Right" action="Press"> <mousebind button="Right" action="Press">
<action name="Focus"/> <action name="Focus"/>
<action name="Raise"/> <action name="Raise"/>
@ -548,35 +600,7 @@
</action> </action>
</mousebind> </mousebind>
</context> </context>
<context name="BLCorner"> <context name="TRCorner BRCorner TLCorner BLCorner">
<mousebind button="Left" action="Press">
<action name="Focus"/>
<action name="Raise"/>
</mousebind>
<mousebind button="Left" action="Drag">
<action name="Resize"/>
</mousebind>
</context>
<context name="BRCorner">
<mousebind button="Left" action="Press">
<action name="Focus"/>
<action name="Raise"/>
</mousebind>
<mousebind button="Left" action="Drag">
<action name="Resize"/>
</mousebind>
</context>
<context name="TLCorner">
<mousebind button="Left" action="Press">
<action name="Focus"/>
<action name="Raise"/>
<action name="Unshade"/>
</mousebind>
<mousebind button="Left" action="Drag">
<action name="Resize"/>
</mousebind>
</context>
<context name="TRCorner">
<mousebind button="Left" action="Press"> <mousebind button="Left" action="Press">
<action name="Focus"/> <action name="Focus"/>
<action name="Raise"/> <action name="Raise"/>
@ -662,13 +686,17 @@
<action name="Unshade"/> <action name="Unshade"/>
</mousebind> </mousebind>
<mousebind button="Left" action="Click"> <mousebind button="Left" action="Click">
<action name="ToggleMaximizeFull"/> <action name="ToggleMaximize"/>
</mousebind> </mousebind>
<mousebind button="Middle" action="Click"> <mousebind button="Middle" action="Click">
<action name="ToggleMaximizeVert"/> <action name="ToggleMaximize">
<direction>vertical</direction>
</action>
</mousebind> </mousebind>
<mousebind button="Right" action="Click"> <mousebind button="Right" action="Click">
<action name="ToggleMaximizeHorz"/> <action name="ToggleMaximize">
<direction>horizontal</direction>
</action>
</mousebind> </mousebind>
</context> </context>
<context name="Close"> <context name="Close">
@ -683,22 +711,34 @@
</context> </context>
<context name="Desktop"> <context name="Desktop">
<mousebind button="Up" action="Click"> <mousebind button="Up" action="Click">
<action name="DesktopPrevious"/> <action name="GoToDesktop">
<to>previous</to>
</action>
</mousebind> </mousebind>
<mousebind button="Down" action="Click"> <mousebind button="Down" action="Click">
<action name="DesktopNext"/> <action name="GoToDesktop">
<to>next</to>
</action>
</mousebind> </mousebind>
<mousebind button="A-Up" action="Click"> <mousebind button="A-Up" action="Click">
<action name="DesktopPrevious"/> <action name="GoToDesktop">
<to>previous</to>
</action>
</mousebind> </mousebind>
<mousebind button="A-Down" action="Click"> <mousebind button="A-Down" action="Click">
<action name="DesktopNext"/> <action name="GoToDesktop">
<to>next</to>
</action>
</mousebind> </mousebind>
<mousebind button="C-A-Up" action="Click"> <mousebind button="C-A-Up" action="Click">
<action name="DesktopPrevious"/> <action name="GoToDesktop">
<to>previous</to>
</action>
</mousebind> </mousebind>
<mousebind button="C-A-Down" action="Click"> <mousebind button="C-A-Down" action="Click">
<action name="DesktopNext"/> <action name="GoToDesktop">
<to>next</to>
</action>
</mousebind> </mousebind>
<mousebind button="Left" action="Press"> <mousebind button="Left" action="Press">
<action name="Focus"/> <action name="Focus"/>
@ -724,16 +764,24 @@
</context> </context>
<context name="MoveResize"> <context name="MoveResize">
<mousebind button="Up" action="Click"> <mousebind button="Up" action="Click">
<action name="DesktopPrevious"/> <action name="GoToDesktop">
<to>previous</to>
</action>
</mousebind> </mousebind>
<mousebind button="Down" action="Click"> <mousebind button="Down" action="Click">
<action name="DesktopNext"/> <action name="GoToDesktop">
<to>next</to>
</action>
</mousebind> </mousebind>
<mousebind button="A-Up" action="Click"> <mousebind button="A-Up" action="Click">
<action name="DesktopPrevious"/> <action name="GoToDesktop">
<to>previous</to>
</action>
</mousebind> </mousebind>
<mousebind button="A-Down" action="Click"> <mousebind button="A-Down" action="Click">
<action name="DesktopNext"/> <action name="GoToDesktop">
<to>next</to>
</action>
</mousebind> </mousebind>
</context> </context>
</mouse> </mouse>
@ -741,15 +789,24 @@
<!-- You can specify more than one menu file in here and they are all loaded, <!-- You can specify more than one menu file in here and they are all loaded,
just don't make menu ids clash or, well, it'll be kind of pointless --> just don't make menu ids clash or, well, it'll be kind of pointless -->
<!-- default menu file (or custom one in $HOME/.config/openbox/) --> <!-- default menu file (or custom one in $HOME/.config/openbox/) -->
<!-- system menu files on Debian systems -->
<file>/usr/share/lubuntu/openbox/menu.xml</file> <file>/usr/share/lubuntu/openbox/menu.xml</file>
<file>menu.xml</file>
<hideDelay>200</hideDelay> <hideDelay>200</hideDelay>
<!-- if a press-release lasts longer than this setting (in milliseconds), the <!-- if a press-release lasts longer than this setting (in milliseconds), the
menu is hidden again --> menu is hidden again -->
<middle>no</middle> <middle>no</middle>
<!-- center submenus vertically about the parent entry --> <!-- center submenus vertically about the parent entry -->
<submenuShowDelay>100</submenuShowDelay> <submenuShowDelay>100</submenuShowDelay>
<!-- this one is easy, time to delay before showing a submenu after hovering <!-- time to delay before showing a submenu after hovering over the parent
over the parent entry --> entry.
if this is a negative value, then the delay is infinite and the
submenu will not be shown until it is clicked on -->
<submenuHideDelay>400</submenuHideDelay>
<!-- time to delay before hiding a submenu when selecting another
entry in parent menu
if this is a negative value, then the delay is infinite and the
submenu will not be hidden until a different submenu is opened -->
<applicationIcons>yes</applicationIcons> <applicationIcons>yes</applicationIcons>
<!-- controls if icons appear in the client-list-(combined-)menu --> <!-- controls if icons appear in the client-list-(combined-)menu -->
<manageDesktops>yes</manageDesktops> <manageDesktops>yes</manageDesktops>
@ -759,23 +816,30 @@
<!-- <!--
# this is an example with comments through out. use these to make your # this is an example with comments through out. use these to make your
# own rules, but without the comments of course. # own rules, but without the comments of course.
# you may use one or more of the name/class/role/title/type rules to specify
<application name="first element of window's WM_CLASS property (see xprop)" # windows to match
class="second element of window's WM_CLASS property (see xprop)"
role="the window's WM_WINDOW_ROLE property (see xprop)"> <application name="the window's _OB_APP_NAME property (see obxprop)"
# the name or the class can be set, or both. this is used to match class="the window's _OB_APP_CLASS property (see obxprop)"
# windows when they appear. role can optionally be set as well, to role="the window's _OB_APP_ROLE property (see obxprop)"
# further restrict your matches. title="the window's _OB_APP_TITLE property (see obxprop)"
type="the window's _OB_APP_TYPE property (see obxprob)..
# the name, class, and role use simple wildcard matching such as those (if unspecified, then it is 'dialog' for child windows)">
# you may set only one of name/class/role/title/type, or you may use more
# than one together to restrict your matches.
# the name, class, role, and title use simple wildcard matching such as those
# used by a shell. you can use * to match any characters and ? to match # used by a shell. you can use * to match any characters and ? to match
# any single character. # any single character.
# the type is one of: normal, dialog, splash, utility, menu, toolbar, dock,
# or desktop
# when multiple rules match a window, they will all be applied, in the # when multiple rules match a window, they will all be applied, in the
# order that they appear in this list # order that they appear in this list
# each element can be left out or set to 'default' to specify to not # each rule element can be left out or set to 'default' to specify to not
# change that attribute of the window # change that attribute of the window
<decor>yes</decor> <decor>yes</decor>
@ -784,9 +848,12 @@
<shade>no</shade> <shade>no</shade>
# make the window shaded when it appears, or not # make the window shaded when it appears, or not
<position> <position force="no">
# the position is only used if both an x and y coordinate are provided # the position is only used if both an x and y coordinate are provided
# (and not set to 'default') # (and not set to 'default')
# when force is "yes", then the window will be placed here even if it
# says you want it placed elsewhere. this is to override buggy
# applications who refuse to behave
<x>center</x> <x>center</x>
# a number like 50, or 'center' to center on screen. use a negative number # a number like 50, or 'center' to center on screen. use a negative number
# to start from the right (or bottom for <y>), ie -50 is 50 pixels from the # to start from the right (or bottom for <y>), ie -50 is 50 pixels from the
@ -827,5 +894,18 @@
# end of the example # end of the example
--> -->
<!-- Force focus on lxpanelctl, to workaround strange behavior of openbox
(see https://bugs.launchpad.net/bugs/889414)
-->
<application name="lxpanel"
type="dialog">
<focus>yes</focus>
</application>
<!-- Option to maximize all normal window when launched-->
<application type="normal">
<maximized>true</maximized>
</application>
</applications> </applications>
</openbox_config> </openbox_config>

Loading…
Cancel
Save