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.
Keyboard shortcuts not working
Re: Keyboard shortcuts not working
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
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.
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
All the following Directories include the rc.xml file:
- /etc/xdg/openbox /usr/share/lxde/openbox ~/.config/openbox .
-
- Posts: 1
- Joined: Tue Apr 30, 2013 11:15 pm
Re: Keyboard shortcuts not working
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.
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
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 in ~/.config/openbox/lubuntu-rc.xml to . See http://ubuntuforums.org/showthread.php?t=2217758
Code: Select all
<command>...</command>
Code: Select all
lxpanelctl run
-
- Posts: 1109
- Joined: Sat Aug 27, 2011 5:44 pm
- Location: Sierra Vista, Arizona USA
- Contact:
Re: Keyboard shortcuts not working
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.
Rex