You are not logged in.

#1 2021-12-30 09:48:38

Zdrobot
Member
Registered: 2021-12-30
Posts: 2

LXQt - no keyboard shortcuts: Global Keyboard Shortcuts fails to start

I had a fresh install of Arch in a VM (VirtualBox) w/o X11 where I installed LXQt with

sudo pacman -S xorg-server lxqt sddm xscreensaver faenza-icon-theme mate-icon-theme-faenza
sudo systemctl enable sddm

then

sudo pacman --needed -S virtualbox-guest-utils

and it now works fine, except one thing - I can't register any keyboard shortcuts. When I go to Preferences > LXQt settings > Shortcut Keys, I get a Global Action Manager window with an empty list, but all the buttons (Add, Remove, Modify, Swap) are disabled.

So I started looking around and I found that my Global Keyboard Shortcuts LXQt Module in LXQt Session Settings fails to start. All the other modules (daemons?) are "Running", but when I try starting GKS, it starts (its status changes to "Running"), then fails immediately and I get this notification "lxqt-panel: Show Desktop: Global shortcut 'Control+Alt+D' cannot be registered".

~/.config/openbox/rc.xml does not contain C-A-d shortcut, so it probably is not the reason.

I have found this page summarizing LXQt debugging options: https://phab.lubuntu.me/w/debugging/ and added

export QT_LOGGING_RULES="*.debug=false;lxqt-session.debug=true"

to /usr/bin/startlxqt before exec lxqt-session , as suggested there. The log file in $HOME/.config/lxqt/ did not appear after reboot, but the Global Keyboard Shortcuts module in LXQt Session Settings was "Running", and keyboard shortcuts were working.

After another reboot the situation returned to the way it was before - Global Keyboard Shortcuts starting, then failing immediately.

Since I could not find any debugging output I was looking for, I modified the export line in startlxqt to

export QT_LOGGING_RULES="*.debug=true"

hoping to get some logging going on.

Still can't find any logging output from LXQt, but Global Keybord Shortcuts can now be started manually after reboot. It still does not start on its own though.

Offline

#2 2021-12-30 13:32:45

whompus
Member
From: Durham. UK
Registered: 2005-08-09
Posts: 258

Re: LXQt - no keyboard shortcuts: Global Keyboard Shortcuts fails to start

It is a known problem where the lxqt-globalkeysd is not starting properly, see this thread below.

https://github.com/lxqt/lxqt-globalkeys/issues/247

Offline

#3 2021-12-30 13:37:14

Zdrobot
Member
Registered: 2021-12-30
Posts: 2

Re: LXQt - no keyboard shortcuts: Global Keyboard Shortcuts fails to start

Thank you! Will continue posting on LXQt Github.

I have since discovered that Global Keyboard Shortcuts is now either launched normally, can be launched manually, or can't be launched at all, after reboot.
Looks like some sort of race condition exists.

Offline

Board footer

Powered by FluxBB