Tuesday, 29 September 2015

Alt tab all windows in Lubuntu

Using alt tab on Lubuntu can be a pain if you are used to all the desktops to be shown. But this is a simple solution, all we need to do is edit the following file (use whichever text editor you prefer)

nano .config/openbox/lubuntu-rc.xml

Firstly, find section <keybind key="A-Tab">
Edit to look like this (added line in red):

   <keybind key="A-Tab">
      <action name="NextWindow">
        <allDesktops>yes</allDesktops>
        <dialog>icons</dialog>
        <finalactions>
          <action name="Focus"/>
          <action name="Raise"/>
          <action name="Unshade"/>
        </finalactions>
      </action>
    </keybind>




Seconly,  find section <keybind key="A-S-Tab">
Edit to look like this (added line in red):

    <keybind key="A-S-Tab">
      <action name="PreviousWindow">
        <allDesktops>yes</allDesktops> 
        <finalactions>
          <action name="Focus"/>
          <action name="Raise"/>
          <action name="Unshade"/>
        </finalactions>
      </action>
    </keybind>




Save, log out, log in. Alt+Tab will now cycle through all windows on all desktops. Shift+Alt+Tab will cycle in reverse.