[gnome-shell-ext] How can I find which command is bound to a given keyboard shortcut in gnome?
- From: Ahmad Ismail <ismail783 gmail com>
- To: gnome-shell-extensions-list gnome org
- Subject: [gnome-shell-ext] How can I find which command is bound to a given keyboard shortcut in gnome?
- Date: Thu, 25 Aug 2022 13:39:32 +0600
For example:
/org/gnome/settings-daemon/plugins/media-keys/screensaver ['<Super>l']
Here, Super+L is bound to:
xdg-screensaver lock
or,
dbus-send --type=method_call --dest=org.gnome.ScreenSaver /org/gnome/ScreenSaver org.gnome.ScreenSaver.Lock
I want to find out which command is run when i press a keybinding used with my window manager.
To be specific I want to know which commands are invoked by my window manager (I am using Zorin OS 16 which use Gnome Shell) for the given keybindings.
For example, what happen when I invoke the keys for the following
/org/gnome/desktop/wm/keybindings/activate-window-menu
/org/gnome/desktop/wm/keybindings/maximize
/org/gnome/desktop/wm/keybindings/toggle-maximized
/org/gnome/desktop/wm/keybindings/minimize
/org/gnome/desktop/wm/keybindings/toggle-fullscreen
/org/gnome/desktop/wm/keybindings/toggle-tiled-left
/org/gnome/desktop/wm/keybindings/toggle-tiled-right
/org/gnome/desktop/wm/keybindings/show-desktop
I am fine with both CLI or dbus.
To be more specific, neither xdotool nor wmctrl is working for me. More details in
https://github.com/jordansissel/xdotool/issues/398So, i need the specific commands which i want to use in a script.
[Date Prev][
Date Next] [Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]