Skip to content

How to bind to "Super" key only? #922

Answered by friday
mdhenriksen asked this question in Q&A
Discussion options

You must be logged in to vote

I just learned you can do this in Gnome too if you unset Mutter's overlay-key and then bind to Super_L. You have to use dconf or gsettings since the GUI keyboard settings is restricted by the same reason as already mentioned.

This should work:

CKBPATH=org.gnome.settings-daemon.plugins.media-keys.custom-keybinding:/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings
# Disable default mapping for Super 
gsettings set org.gnome.mutter overlay-key ''
# Add custom keybinding for Ulauncher
gsettings set $CKBPATH/ulauncher/ name 'ulauncher'
gsettings set $CKBPATH/ulauncher/ command 'ulauncher-toggle'
gsettings set $CKBPATH/ulauncher/ binding 'Super_L'

While it doesn't break Super L …

Replies: 8 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@luispablo
Comment options

@friday
Comment options

Answer selected by friday
Comment options

You must be logged in to vote
1 reply
@friday
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
9 participants
Converted from issue

This discussion was converted from issue #341 on December 09, 2021 16:28.