The officially official Devuan Forum!

You are not logged in.

#1 2020-01-29 07:26:03

Dave Null
Member
Registered: 2018-02-05
Posts: 4  

LXQT shutdown keyboard shortcut

HI,

I try to bind the windows+Z shorcut with the command lxqt-leave --shutdown but it doesn't work.


lxqt-leave --shutdown works as a regular user in a terminal
and my windows+S shortcut to lxqt-leave --suspend is working too.


Any help understanding what's wrong is welcome.

Last edited by Dave Null (2020-01-29 16:36:29)

Offline

#2 2020-01-31 18:59:20

omnio
Member
Registered: 2019-07-12
Posts: 15  

Re: LXQT shutdown keyboard shortcut

It works here (in ascii) but I can't say anything about beowulf (I haven't tested it). I use openbox. What WM do you use? Sometimes the WM may assign shortcuts to its actions and overrides this way the LXQT shortcuts. Try running the lxqt-globalkeysd daemon in foreground in a terminal window and check its output. Someting like this:

killall lxqt-globalkeysd
lxqt-globalkeysd --no-daemon --log-level=debug

When you press a key combination that was successfully assigned by LXQT you should see an output like this:

[Debug] KeyPress 00000040 00000034 Meta+Z

Last edited by omnio (2020-01-31 22:15:48)


Sometimes my English may sound strange because I'm not a native speaker.

Offline

#3 2020-02-02 16:37:35

Dave Null
Member
Registered: 2018-02-05
Posts: 4  

Re: LXQT shutdown keyboard shortcut

Ok found out:

My keyboard is french, so the Z key is at the W place (and réciproquement).

lxqt-globalkeyshortcuts is telling me I mapped meta+Z when I hit the Z key, but the real mapping is to the qwerty Z key, I don't know why.

By the way, thanks for hinting me to the matter of the WM: I realized that it was XFWM I was running. And yes, it has shortcuts which interfere with the LXQT ones.

Last edited by Dave Null (2020-02-04 14:24:00)

Offline

Board footer