Hello,
I am having trouble using key bindings with 4Dwm.
I have defined in my .4Dmwrc file the following bindings in my Keys 4DwmKeyBindings block...
Keys 4DwmKeyBindings
{
# Donath
#Desktop switching
<Key>F1 root|icon|window f.switch_desk "Desk 1"
<Key>F2 root|icon|window f.switch_desk "Desk 2"
<Key>F3 root|icon|window f.switch_desk "Desk 3"
<Key>F4 root|icon|window f.switch_desk "Desk 4"
! <Key>F5 root|icon|window f.switch_desk "Desk 5"
! <Key>F6 root|icon|window f.switch_desk "Desk 6"
! <Key>F7 root|icon|window f.switch_desk "Desk 7"
! <Key>F8 root|icon|window f.switch_desk "Desk 8"
! <Key>F9 root|icon|window f.switch_desk "Desk 9"
<Key>F10 root|icon|window f.switch_desk "Global"
# Donath
Ctrl<Key>F11 root|icon|window f.exec "/usr/local/bin/nedit"
! Ctrl<Key>Right root|icon|window f.exec "/usr/donath/winamp.pl next track"
# Same as the standard OSF Key Bindings
Shift<Key>Escape window|icon f.post_wmenu
Meta<Key>space window|icon f.post_wmenu
Meta<Key>Tab root|icon|window f.next_key
Meta Shift<Key>Tab root|icon|window f.prev_key
Meta<Key>Escape root|icon|window f.next_key
Meta Shift<Key>Escape root|icon|window f.prev_key
Meta Shift Ctrl<Key>exclam root|icon|window f.set_behavior
Meta<Key>F6 window f.next_key transient
Meta Shift<Key>F6 window f.prev_key transient
<Key>F4 icon f.post_wmenu
# SGI added key bindings
Shift<Key>Escape root f.menu 4DwmRootMenu
Meta<Key>space root f.menu 4DwmRootMenu
}
CTRL-F11 is my test case.
When CTRL-F11 is pressed, or even when I have the key bound to just F11, three instances of nedit are opened and I lose the keyboard. The system console also shows shows three processes started in the background. The only way I can get the keyboard back is to press ALT-SHIFT and ESC. I suspect this is the same behavior with all keys bound, because occassionally I'll lose focus when switching desktops.
I've searched the net for others with a similar problem, but cannot find anything.
Please, does anyone know anything about what might be happening?
Thank you, and best regards,
Clarence Donath
I am having trouble using key bindings with 4Dwm.
I have defined in my .4Dmwrc file the following bindings in my Keys 4DwmKeyBindings block...
Keys 4DwmKeyBindings
{
# Donath
#Desktop switching
<Key>F1 root|icon|window f.switch_desk "Desk 1"
<Key>F2 root|icon|window f.switch_desk "Desk 2"
<Key>F3 root|icon|window f.switch_desk "Desk 3"
<Key>F4 root|icon|window f.switch_desk "Desk 4"
! <Key>F5 root|icon|window f.switch_desk "Desk 5"
! <Key>F6 root|icon|window f.switch_desk "Desk 6"
! <Key>F7 root|icon|window f.switch_desk "Desk 7"
! <Key>F8 root|icon|window f.switch_desk "Desk 8"
! <Key>F9 root|icon|window f.switch_desk "Desk 9"
<Key>F10 root|icon|window f.switch_desk "Global"
# Donath
Ctrl<Key>F11 root|icon|window f.exec "/usr/local/bin/nedit"
! Ctrl<Key>Right root|icon|window f.exec "/usr/donath/winamp.pl next track"
# Same as the standard OSF Key Bindings
Shift<Key>Escape window|icon f.post_wmenu
Meta<Key>space window|icon f.post_wmenu
Meta<Key>Tab root|icon|window f.next_key
Meta Shift<Key>Tab root|icon|window f.prev_key
Meta<Key>Escape root|icon|window f.next_key
Meta Shift<Key>Escape root|icon|window f.prev_key
Meta Shift Ctrl<Key>exclam root|icon|window f.set_behavior
Meta<Key>F6 window f.next_key transient
Meta Shift<Key>F6 window f.prev_key transient
<Key>F4 icon f.post_wmenu
# SGI added key bindings
Shift<Key>Escape root f.menu 4DwmRootMenu
Meta<Key>space root f.menu 4DwmRootMenu
}
CTRL-F11 is my test case.
When CTRL-F11 is pressed, or even when I have the key bound to just F11, three instances of nedit are opened and I lose the keyboard. The system console also shows shows three processes started in the background. The only way I can get the keyboard back is to press ALT-SHIFT and ESC. I suspect this is the same behavior with all keys bound, because occassionally I'll lose focus when switching desktops.
I've searched the net for others with a similar problem, but cannot find anything.
Please, does anyone know anything about what might be happening?
Thank you, and best regards,
Clarence Donath