Defining Super_L instead of ALT (m)

spartrekus spartrekus <[email protected]>
Newsgroups gmane.comp.window-managers.ctwm
Message-ID <CACR1-vdruK4MM7t=kY1Lm_4DoJ0rKv7hiSj=j=+5cAJJYa6MBA@mail.gmail.com>
Hello,

I am experimenting CTWM with adapted key bindings.

xev gives 133 for the key Super_L (win key, the key just next to alt).

I would like to ask if it would be possible to bind Super_L with F1,... F4
keys to go to given workspace?

In Xorg, WM_WINDOWS_KEY is not defined.
Maybe you would have some ideas how to make so?

# Global buttons for workspace managent.
ifdef(`WM_WINDOWS_KEY',`define(`FMOD',WM_WINDOWS_KEY :
all)',`define(`FMOD',: root)')
"F1" = Super_L : f.gotoworkspace "One"
"F2" = 133 : f.gotoworkspace "Two"
"F3" = FMOD : f.gotoworkspace "Three"
"F4" = FMOD : f.gotoworkspace "Four"
#   xmodmap -e "keycode 133 = WM_WINDOWS_KEY"

Thank you and I wish you a nice day.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.