I’m not sure if it’s really a Qubes OS matter, but following various tips from the Quick Quality-of-Life Improvements thread led me to this problem: I have a Xfce shortcut to open the Qubes appmenu that stopped working after enabling autologin in LightDM.
I have this open-qubes-appmenu.sh
script:
eval $(xdotool getmouselocation --shell)
xdotool mousemove 5 5
gdbus call --session --dest org.qubesos.appmenu --object-path "/org/qubesos/appmenu" --method org.freedesktop.Application.Activate "{}"
xdotool mousemove 100 125 mousemove 130 130 mousemove restore
sleep 0.1
if [ $X -lt 720 ]; then
X=720
fi
xdotool mousemove $X $Y
And this shortcut:
$ xfconf-query -c xfce4-keyboard-shortcuts -lv | grep "<Super>q"
/commands/custom/<Super>q open-qubes-appmenu
This configuration is working, except when I set the line autologin-user=parulin
in /etc/lightdm/lightdm.conf
. I tried this:
- Typing the shortcut while a terminal is opened results in a
q
showing up in the terminal (I suppose that it means that the shortcut doesn’t start anything ?) - Changing the shortcut keys doesn’t change anything.
- My other custom shortcuts using a script are working. They use
xdotool
but notgdbus
. - Running the script from a terminal works.
- After
xfsettings --replace
, the shortcut works again.
I don’t know where to look for a solution.