Skip to content

togglekeybindings

Bakkeby edited this page Apr 19, 2024 · 1 revision
Function Expected argument Default keybinding
togglekeybindings N/A N/A

The togglekeybindings function enables or disables dusk keybindings.

This can in principle be used when running a program in full screen and one does not want any keybindings of the window manager to interfere.

This has come up in the context of playing games.

If using this then just make sure that you have a way to enable keybindings again (or at least be able to open a terminal to run the command again).

Should you still find yourself in a pickle then a workaround would be dropping to another TTY and running the command with the DISPLAY environment variable for the affected session, e.g.

$ DISPLAY=:0 duskc run_command togglekeybindings

External command:

$ duskc run_command togglekeybindings  # toggle dusk keybindings on and off

Back to Functions > Gaps.

Clone this wiki locally