Page 1 of 2 12 LastLast
Results 1 to 10 of 20

Thread: Simple Expose for lxde lubuntu no compositing required

  1. #1
    Join Date
    Aug 2005
    Beans
    183

    Wink Simple Expose for lxde lubuntu no compositing required

    Expose on the mac and I forget what its called in Unity but its pretty cool for checking out running programs and switching between them easily.

    On Lubuntu there is no compositing which makes this feature basically impossible... Luckily Skippy XD does the trick. How? It throws up a quick compositor when you activate it to get the job done, then closes it when your finished selecting what you want. So no resources wasted.

    Pretty easy to do..

    Download and install SkippyXD depending on your platform from here

    Once installed open up run or a terminal and enter

    leafpad ~/.config/openbox/lubuntu-rc.xml

    find the line

    <chainQuitKey>C-g</chainQuitKey>

    below it copy and paste the following

    Code:
    <!-- Start Expose for LXDE-->
    <keybind key="A-grave">
          <action name="Execute">
            <command>skippy-xd</command>
          </action>
        </keybind>
    <!-- End Expose for LXDE-->
    *****Updated code to correct syntax error, code above is updated*****

    save and close

    open run or a terminal and run following command

    openbox --restart

    now when you hold the alt key and hit ` you expose feature will activate



    *****
    I will be providing a series of easy solutions and linking to them below

    lxde simple weather

    lxde wallpaper changer
    aero snap for lubuntu
    Last edited by ronniew; October 26th, 2012 at 09:34 PM.

  2. #2
    Join Date
    Aug 2005
    Location
    Kingdom of Northumbria
    Beans
    10
    Distro
    Ubuntu Development Release

    Re: Simple Expose for lxde lubuntu no compositing required

    Why use 'gksu leafpad ...', when just 'leafpad ...' would do?

  3. #3
    Join Date
    Aug 2005
    Location
    Kingdom of Northumbria
    Beans
    10
    Distro
    Ubuntu Development Release

    Re: Simple Expose for lxde lubuntu no compositing required

    Getting the following error after running
    Code:
    openbox --restart
    One or more XML syntax errors were found while parsing the Openbox configuration files. See stdout for more information. The last error seen was in file "/home/******/.config/openbox/lubuntu-rc.xml" line 188, with message: Comment not terminated
    <!--- Start Expose for LXDE --->
    <keybind key="A-grave"
    Last edited by Yorvik; October 26th, 2012 at 06:08 PM. Reason: Typos in error message

  4. #4
    Join Date
    Dec 2007
    Beans
    12,521

    Re: Simple Expose for lxde lubuntu no compositing required

    Quote Originally Posted by Yorvik View Post
    Getting the following error after running
    Code:
    openbox --restart
    One or more XML syntax errors were found while parsing the Openbox configuration files. See stdout for more information. The last error seen was in file "/home/******/.config/openbox/lubuntu-rc.xml line 188, with message: Comment not terminated
    <!--- Start Expose for LXDE ---?
    <keybind key="A-grave"
    Maybe it should be
    Code:
    <!--- Start Expose for LXDE --->
    Replace the ? with >

    Lines in .xml files are commented out like this:
    Code:
        <!-- comments are flanked with <!-- on the LHS and --> on the RHS  -->
    Last edited by vasa1; October 26th, 2012 at 05:52 PM.

  5. #5
    Join Date
    Dec 2007
    Beans
    12,521

    Re: Simple Expose for lxde lubuntu no compositing required

    Quote Originally Posted by Yorvik View Post
    Getting the following error after running
    Code:
    openbox --restart
    One or more XML syntax errors were found while parsing the Openbox configuration files. See stdout for more information. The last error seen was in file "/home/******/.config/openbox/lubuntu-rc.xml line 188, with message: Comment not terminated
    <!--- Start Expose for LXDE ---?
    <keybind key="A-grave"
    If you're still having trouble, it maybe because of the parts in bold. I've been lucky in making just one mistake at a time.
    As I mentioned elsewhere, I prefer openbox --reconfigure because all that is needed is just to refresh the rc.xml file rather than restart openbox.

  6. #6
    Join Date
    Aug 2005
    Location
    Kingdom of Northumbria
    Beans
    10
    Distro
    Ubuntu Development Release

    Re: Simple Expose for lxde lubuntu no compositing required

    The question mark is a typo when copying (I couldn't do a copy/paste from the error box) the error massage. The message only occurs when the code from the first post is pasted into the file.

  7. #7
    Join Date
    Dec 2007
    Beans
    12,521

    Re: Simple Expose for lxde lubuntu no compositing required

    Quote Originally Posted by Yorvik View Post
    The question mark is a typo when copying (I couldn't do a copy/paste from the error box) the error massage. The message only occurs when the code from the first post is pasted into the file.
    Oh! Can you try some keybinding other than A+grave? I'm not sure whether the grave key works. I vaguely remember being unsuccessful with it.

  8. #8
    Join Date
    Aug 2005
    Location
    Kingdom of Northumbria
    Beans
    10
    Distro
    Ubuntu Development Release

    Re: Simple Expose for lxde lubuntu no compositing required

    That's it. Two dashes not three solved the syntax error problems. Now to find a key combination that works and isn't already in use.

  9. #9
    Join Date
    Aug 2005
    Location
    Kingdom of Northumbria
    Beans
    10
    Distro
    Ubuntu Development Release

    Re: Simple Expose for lxde lubuntu no compositing required

    So what I have now is:
    Code:
    <!-- Start Expose for LXDE -->
    <keybind key="A-dead_grave">
          <action name="Execute">
            <command>skippy-xd</command>
          </action>
        </keybind>
    <!-- End Expose for LXDE -->
    and all is well

  10. #10
    Join Date
    Dec 2007
    Beans
    12,521

    Re: Simple Expose for lxde lubuntu no compositing required

    Two dashes not three solved the syntax error problems.
    and
    So what I have now is:
    ...<keybind key="A-dead_grave">
    ...
    and all is well
    1. It's the little things that matter!
    2. Re. "dead_grave" ... I had to Google to find out what that meant but now I have this:
    Code:
        <!-- Launch Customize Look and Feel-->
        <keybind key="A-grave">
          <action name="Execute">
            <command>lxappearance</command>
          </action>
        </keybind>
    Note that it's a simple grave for me. Trying dead_grave didn't work (but didn't throw up an error either). Maybe it's locale-dependent? In any case, thank you for the grave tip.
    Last edited by vasa1; October 27th, 2012 at 03:30 AM.

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •