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
http://www.unleashpc.com/exposelxde.png
*****
I will be providing a series of easy solutions and linking to them below
lxde simple weather
lxde wallpaper changer
aero snap for lubuntu
Re: Simple Expose for lxde lubuntu no compositing required
Why use 'gksu leafpad ...', when just 'leafpad ...' would do?
Re: Simple Expose for lxde lubuntu no compositing required
Getting the following error after running 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"
Re: Simple Expose for lxde lubuntu no compositing required
Quote:
Originally Posted by
Yorvik
Getting the following error after running
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 -->
Re: Simple Expose for lxde lubuntu no compositing required
Quote:
Originally Posted by
Yorvik
Getting the following error after running
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.
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.
Re: Simple Expose for lxde lubuntu no compositing required
Quote:
Originally Posted by
Yorvik
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.
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.
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 :)
Re: Simple Expose for lxde lubuntu no compositing required
Quote:
Two dashes not three solved the syntax error problems.
and
Quote:
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. :)