Page 1 of 1

Keyboard shortcuts not working

Posted: Fri Jul 13, 2012 1:53 am
by paul1149
Hi,

New to LXDE here, and really enjoying it on ubuntu 12.04. I like the configurability, style and lightness -a refreshing change from the backward trend.

I've found the file .config/openbox/lxde-rc.xml, where keybindings are stored. I have two problems:

First, there are several ways to open the system menu via keyboard, and none of them are working. Here is a mess of code from the file, none of which is working:

<!--keybindings for LXPanel --><keybind key="W-r"><action name="Execute"><command>lxpanelctl run</command></action></keybind><keybind key="A-F2"><action name="Execute"><command>lxpanelctl run</command></action></keybind><keybind key="C-Escape"><action name="Execute"><command>lxpanelctl menu</command></action></keybind>

Second, I would like to map some keys to perform basic window functions such as minimize, maximize, but I'm not sure of the syntax. One attempt that didn't work is <keybind key="A-F5"><action name="MinimizeWindow"/></keybind>. My method is to make the change, save the file, but not reboot.

I'd like to get this working, so I could use the keyboard for the "start" menu, and attach gesture to the window actions.

Thanks,
p.

Re: Keyboard shortcuts not working

Posted: Fri Jul 13, 2012 3:39 am
by seppalta
You said you were new to Linux, so I'll point out that A=alternate, W=windows key, C=control, which you probably knew. I've done many LXDE installs, never had a problem with key bindings not working as set-up in lxde-rc.xml.

Re: Keyboard shortcuts not working

Posted: Sat Jul 14, 2012 10:48 am
by paul1149
Thank you. Yes, I had picked that up from the xml file.

Oddly, C-Escape did work fleetingly during one boot-up, but then stopped, and hasn't worked again.

Also, I reinstalled lxde, thinking that maybe uninstalling lubuntu had broken something. Still not working.

I have added some window commands to the xml file, such as togglemaximize, and launch Opera, that are working. So the problem seems to be confined to the main menu.

Re: Keyboard shortcuts not working

Posted: Sat Jul 14, 2012 5:49 pm
by seppalta
All the following Directories include the rc.xml file:
  • /etc/xdg/openbox /usr/share/lxde/openbox ~/.config/openbox .
. Check them to see if they are the same with regard to the items bothering you.

Re: Keyboard shortcuts not working

Posted: Tue Apr 30, 2013 11:22 pm
by saadfarooq
I have the same problem for a while now.

However, I think it's somehow related to switching desktops. I use the Alt+F2 shortcut a lot and it seems like it only stops working if I switch around between desktops.

Re: Keyboard shortcuts not working

Posted: Wed May 21, 2014 11:47 am
by defaye
I'm having a similar issue on Lubuntu 14.04. Most commands are working but some are not. Alt+F2 for run menu doesn't work. Ctrl+Alt+l for lock window doesn't work. I found a solution for the run menu by editing the

Code: Select all

<command>...</command>
in ~/.config/openbox/lubuntu-rc.xml to

Code: Select all

lxpanelctl run
. See http://ubuntuforums.org/showthread.php?t=2217758

Re: Keyboard shortcuts not working

Posted: Wed May 21, 2014 3:57 pm
by Rex Bouwense
Welcome to the LXDE forum. We are small forum and appreciate all information provided. For ease of those coming after us it might have been simplier to start your own thread because the versions talked about are old and no longer supported. Once again welcome. Stick around and helpsome more.