Keyboard shortcuts and keybindings

Technical issues/questions of an intermediate or advanced nature.
rych
Warlord
Warlord
Posts: 622
Joined: 04 Jan 2014, 04:27
Distribution: Porteus 5.0 x64 OpenBox
Location: NZ
Contact:

Keyboard shortcuts and keybindings

Post#1 by rych » 29 Sep 2021, 12:26

I occasionally need to investigate which app has registered a global keyboard shortcut. For example, on the rc3 Openbox DE, the Ctrl+` now displays a popup log message about my network connection. Very nice, I guess, but how do I change or unregister it? A broader question for future: what is the complete list of locations where to look for keybindings? I already know about ~/.config/openbox/rc.xml but that Ctrl+` is not there. Where else to search?

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 3932
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

Keyboard shortcuts and keybindings

Post#2 by ncmprhnsbl » 29 Sep 2021, 14:04

rych wrote:
29 Sep 2021, 12:26
the Ctrl+` now displays a popup log message about my network connection.
this the notification app: dunst , ctrl+grave being it's notification history shortcut (keep pressing and more, if there are any, will show)
these are defined in /etc/xdg/dunst/dunstrc ; section [shortcuts]

Code: Select all

[shortcuts]

    # Shortcuts are specified as [modifier+][modifier+]...key
    # Available modifiers are "ctrl", "mod1" (the alt-key), "mod2",
    # "mod3" and "mod4" (windows-key).
    # Xev might be helpful to find names for keys.

    # Close notification.
    close = ctrl+space

    # Close all notifications.
    close_all = ctrl+shift+space

    # Redisplay last message(s).
    # On the US keyboard layout "grave" is normally above TAB and left
    # of "1". Make sure this key actually exists on your keyboard layout,
    # e.g. check output of 'xmodmap -pke'
    history = ctrl+grave

    # Context menu.
    context = ctrl+shift+period
and can be changed however you want..
i'll make a note of these in ~/.config/openbox/keyref in future..
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

Post Reply