I just want to have Ctrl+T as my Terminal shortcut but I dont know how with the Lubuntu distro
I just want to have Ctrl+T as my Terminal shortcut but I dont know how with the Lubuntu distro
check out xbindkeys, I don't believe LXDE comes with a default shortcut option like Gnome.
To see what keyboard shortcut bindings are currently set, and to add more without using xbindkeys, you can dig through the following file and edit it:
/home/<user>/.config/openbox/lxde-rc.xml
I imagine you can figure it out just fine, but for a quick start, at least on PC hardware,
A- means "Alt+"
C- means "Ctrl+"
S- means "Shift+"
W- means the "Windows" key
so, for example, C-A-T is ctrl+alt+"t", which runs a terminal window.
I found the meat of this information (and a bit more) here, on the lxde forums: http://forum.lxde.org/viewtopic.php?f=8&t=457
There might be even more on the openbox forums, but I'm happy with this solution.
Cheers,
~George J.
As curiousgeorgej said, you don't need xbindkeys for this. Openbox itself can manage keybindings. You might find the official documentation useful as well: http://openbox.org/wiki/Help:Bindings
Please note that if you use LXDE, you will need to edit the lxde-rc.xml file, and not the rc.xml file that Openbox normally uses and that will be referred to in most documentation.
To launch a terminal with the keybindings Ctrl T, you would add the following to your (lxde-)rc.xml in the <keyboard> section:
Replace urxvt with whatever terminal you prefer to use.Code:<keybind key="C-t"> <action name="execute"> <command>urxvt</command> </action> </keybind>
You might also be interested in this post I wrote some time ago: http://urukrama.wordpress.com/2008/0...x-keybindings/
Last edited by urukrama; July 9th, 2010 at 10:34 AM.
Hello,
I have been using Lubuntu on a P3 700.
I need to remap some shortcuts.
But nothing works:
1. commented out the keybindings in /home/<user>/.config/openbox/lubuntu-rc.xml
2. renamed above file to lxde-rc.xml
what gives?
It seems to me the keyboard shortcut support for Lubuntu/LXDE is a joke. You can't use custom commands? And that's if I could get it to actually work, I haven't been able to get anything to work, i got the GUI to display but it doesn't change any of the keys.
Perhaps I need to log in and out but or restart but I'm just not gonna bother with it.
EDIT:
In Lubuntu 10.10 they seem to be working a lot better now, it was a lil try doing the config for the keys but it works now at least.
Last edited by Gaygerbil; October 11th, 2010 at 05:40 AM.
Bookmarks