From 15cb70b7c2a21e7effec8632881b69a6d7023a11 Mon Sep 17 00:00:00 2001 From: Christian Koptein Date: Tue, 22 Dec 2020 11:00:57 +0100 Subject: [PATCH] xmodmap --- README.md | 2 ++ Xmodmap | 8 ++++++++ xmodmap.desktop | 6 ++++++ 3 files changed, 16 insertions(+) create mode 100644 Xmodmap create mode 100644 xmodmap.desktop diff --git a/README.md b/README.md index c8e4388..7932f5f 100644 --- a/README.md +++ b/README.md @@ -4,9 +4,11 @@ Enable: ``` rm ~/.config/conky/conky.conf && mkdir -p $HOME/.config/conky && ln -s $(pwd)/conky.conf $HOME/.config/conky.conf ln -s $(pwd)/conky.desktop $HOME/.config/autostart/conky.desktop +ln -s $(pwd)/xmodmap.desktop $HOME/.config/autostart/xmodmap.desktop ln -s $(pwd)/screenrc $HOME/.screenrc ln -s $(pwd)/Xresources $HOME/.Xresources ln -s $(pwd)/Xdefaults $HOME/.Xdefaults +ln -s $(pwd)/Xmodmap $HOME/.Xmodmap ln -s $(pwd)/themes $HOME/.themes ln -s $(pwd)/aliases $HOME/.aliases ln -s $(pwd)/sshconfig $HOME/.ssh/config diff --git a/Xmodmap b/Xmodmap new file mode 100644 index 0000000..c8c2465 --- /dev/null +++ b/Xmodmap @@ -0,0 +1,8 @@ +! Map umlauts to RIGHT ALT + +keycode 108 = Mode_switch +keysym e = e E EuroSign +keysym c = c C cent +keysym a = a A adiaeresis Adiaeresis +keysym o = o O odiaeresis Odiaeresis +keysym u = u U udiaeresis Udiaeresis +keysym s = s S ssharp diff --git a/xmodmap.desktop b/xmodmap.desktop new file mode 100644 index 0000000..4857e80 --- /dev/null +++ b/xmodmap.desktop @@ -0,0 +1,6 @@ +[Desktop Entry] +Type=Application +Name=xmodmap +Exec=xmodmap /home/zul/workspace/.Xmodmap +StartupNotify=false +Terminal=false