Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lxqt-globalkeys and Super key problems #1605

Closed
wxl opened this issue Nov 1, 2018 · 4 comments

Comments

Projects
5 participants
@wxl
Copy link

commented Nov 1, 2018

If one sets the Super key in lxqt-globalkeys to some action, then Openbox shortcuts using the Super key fail to work. Interestingly, shortcuts in lxqt-globalkeys using the Super key DO work. It just doesn't pass through to Openbox.

Expected Behavior
  • Super key set to some action works
  • Super key in combination with some other key(s) in lxqt-globalkeys set to some action works
  • Super key in combination with some other key(s) set to some obviously Openbox-specific action (read: window manager action) works
  • If the Super key is set to some action, toggling it off will cause it to stop working
  • If the Super key is set to some action, and toggled off, then toggling it back on will cause it to start working
  • Language should be consistent (either Super or Meta is used)
Current Behavior
  • Super key set to some action works
  • Super key in combination with some other key(s) in lxqt-globalkeys set to some action works
  • Super key in combination with some other key(s) set to some obviously Openbox-specific action (read: window manager action) dos not work
  • Toggling the Super key shortcut off allows the Super key combos defined in lxqt-globalkeys and Openbox to work
  • After toggling the Super key shortcut back on, the previous behavior is not restored until the shortcut is deleted and added again
  • Language is inconsistent (Super and Meta are used in different contexts)
Steps to Reproduce (for bugs)
  1. Set Super key (shows as Super_L for US keyboards where two Super keys are rare) in lxqt-globalkeys to open the command pcmanfm-qt
  2. Set Super key + c (shows as Meta+C) in lxqt-globalkeys to open the command lxqt-config
  3. Ensure Openbox has a binding for Super key + d that shows the desktop <keybind key="W-d"><action name="ToggleShowDesktop"/></keybind>
  4. Try all of the shortcuts above
  5. Toggle the Super key shortcut off in lxqt-globalkeys
  6. Try the Super key combos above
  7. Toggle it back on
  8. Try all the shortcuts above
Context

It has been mentioned here many times that folks like setting the Super key to open the menu. That works great. Using Super key combos in lxqt-globalkeys works great. Unfortunately, lxqt-globalkeys can't handle window manager-specific actions unless exposed by a command or via dbus, which, unfortunately, Openbox does not. It could be considered an Openbox bug, but at least as far as I can tell, Openbox is the canonical window manager of LXQt.

System Information
  • Distribution & Version: Lubuntu 18.10
  • Kernel: 4.18.0-10-generic
  • Qt Version: libqt5core5a 5.11.1+dfsg-7ubuntu1
  • liblxqt Version: liblxqt0 0.13.0-0ubuntu1
  • Package version: lxqt-globalkeys 0.13.0-0ubuntu2

@agaida agaida added this to Needs triage in Issues Nov 3, 2018

@jory18

This comment has been minimized.

Copy link

commented Nov 18, 2018

Same prolem here.

Version:Lubuntu 18.10

@Steedalion

This comment has been minimized.

Copy link

commented Nov 20, 2018

Same prolem here.

Version:Lubuntu 18.10

Hi @jory18 ,
We (Lubuntu 18.10) are looking into the matter. A short term solution is disabling the menu shortcut (Super key) in lxqt shortcuts. You can follow the Lubuntu discussion here.

@agaida

This comment has been minimized.

Copy link
Member

commented Nov 20, 2018

I guess we can close this here - The super key is handled like a normal key - one could test it with xev - and i don't think that we re-invent the wheel and keyboard handling. So i would suggest to leave super key combinations to the window manager and not to handle the super key in lxqt-globalkeys.

Hint: Run xev from a terminal and keep the keys in charge pressed - compare the behaviour of 'shift' 'alt' 'ctrl' and 'super key' - have fun.

@tsujan @palinek @yan12125 @luis-pereira - what do you think

@tsujan

This comment has been minimized.

Copy link
Member

commented Nov 21, 2018

I think it can be closed.

Openbox is the canonical window manager of LXQt.

Even if that's said in some LXQt doc (is it?), it's wrong (and should be removed from that doc). LXQt doesn't have a special relationship with Openbox.

@tsujan tsujan closed this Nov 21, 2018

Issues automation moved this from Needs triage to Closed Nov 21, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.