Ubuntu – Configuring Lubuntu 18.10’s – lxqt-rc.xml file

18.10lubuntu

I'm in the process of converting a couple of machines over to Lubuntu 18.10 which i'm really enjoying by the way! My only problem that I haven't been able to fix or find any information on myself is setting up keyboard shortcuts that use the "windows" key or the left "super" key. Most keyboards bind that key to W in the lxqt-rc.xml file. Only on my laptop, Acer Swift it isn't working with the W. For example I have the following to snap windows using the shift and directional keys:

<keybind key="S-Left">
<keybind key="S-Right">

The S = Shift. I'd like to be able to use the window key instead which would look like this W – Right, W – Left. Only when I set it as that nothing happens when I press those keys. If anyone knows which key I should be using or a simple method to find out it would make my day!

Best Answer

The “Windows” (W) key bindings in lxqt-rc.xml don’t work because the Windows (Super-L) key is bound to ‘Show Main Menu’ in the Global Actions Manager (i.e. the Shortcuts section of LXQt Settings). The rectify this, modify this binding so that e.g. Shift+Ctrl+M is bound to Show Main Menu.