otter2
September 13, 2024, 11:54am
4
There is a workaround. Note that it moves your mouse for a moment. It uses the option b
you have already tried.
Trigger the QubesOS app menu via keyboard - [dom0] In dom0 create a script containing the code below (expandable), make it executable (chmod +x
) and bind to keyboard shortcut @Bearillo
qubes-menu.sh
Note that you may need to adjust the numbers if your screen is not 1080p.
#!/bin/bash
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 "{}"
if [ $X -lt 720 ] && [ $Y -lt 775 ]; then
X=720 # prevent the mouse from selecting items in the app menu when opening it with the keyboard
fi # note that these values may need adjusting if using a screen with a resolution other than 1080p
xdotool mousemove $X $Y
From this guide:
VM Management
Free up dom0 disk space - [dom0] sudo journalctl --vacuum-time=1d @renehoj
Reduce VM boot time - Debian 12 only - [TemplateVM] Enter sudo cp /lib/systemd/system/systemd-binfmt.service /etc/systemd/system, then delete After=local-fs.target from /etc/systemd/system/systemd-binfmt.service @renehoj
Shut down selected window’s VM - [dom0] Create /bin/halt-vm-by-window.sh (expandable), make it executable (chmod +x), then map to shortcut @tasket
halt-vm-by-window.sh #!/bin/bash
…
p.s.
It is off topic, but do you really need to open the app menu from keyboard, at all? Native xfce appfinder has the same options, but more versatile since it is keyboard-friendly, has search and allows running commands too.
2 Likes