Add '.xmodmaprc'.
--- a/.fvwm/config Tue Apr 24 13:30:21 2012 +0300
+++ b/.fvwm/config Wed Apr 25 19:08:11 2012 +0300
@@ -183,8 +183,8 @@
# Prevent show long title.
SetEnv fvwm_winlist_width 60
# Define switch between aps.
-Key Tab A M WindowList Root c c NoDeskSort, MaxLabelWidth $[fvwm_winlist_width], SelectOnRelease Meta_L
-Key Super_L A N WindowList Root c c NoDeskSort, MaxLabelWidth $[fvwm_winlist_width]
+Key Tab A M WindowList Root c c NoDeskSort, MaxLabelWidth $[fvwm_winlist_width], SelectOnRelease Meta_L
+Key Tab A 3 WindowList Root c c NoDeskSort, MaxLabelWidth $[fvwm_winlist_width]
# Close window on Alt+F4 (send SIGHUP).
Key F4 A M Delete
--- a/.xinitrc Tue Apr 24 13:30:21 2012 +0300
+++ b/.xinitrc Wed Apr 25 19:08:11 2012 +0300
@@ -19,6 +19,7 @@
# Under Cygwin I prefer '-multiwindow' option, so it needn't to setup WM.
if [[ -z $COMSPEC ]]; then
+ xmodmap ~/.xmodmaprc
fvwm &
fi
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/.xmodmaprc Wed Apr 25 19:08:11 2012 +0300
@@ -0,0 +1,14 @@
+! To load this config run:
+! $ xmodmap .xmodmaprc
+
+! Win key.
+clear mod3
+clear mod4
+
+keycode 133 = Super_L
+! keycode 134 = Multi_key
+! keycode 134 = Super_R
+keycode 134 = Hyper_R
+add mod3 = Super_L
+add mod4 = Hyper_R
+
--- a/Makefile Tue Apr 24 13:30:21 2012 +0300
+++ b/Makefile Wed Apr 25 19:08:11 2012 +0300
@@ -34,7 +34,7 @@
# Project dirs/files.
OVERRIDDEN_ITEMS := \
- .fvwm .xxkbrc \
+ .fvwm .xxkbrc .xmodmaprc \
.inputrc .minttyrc .Xdefaults .xinitrc .xserverrc .screenrc .dircolors \
.bashrc .bash_path .bash_completion .zshrc .vimrc .ssh .pystartup \
.pylintrc \