alternative way for calling xmodmap
authorAmin Bandali <me@aminb.org>
Sun, 3 May 2015 23:28:10 +0000 (19:28 -0400)
committerAmin Bandali <me@aminb.org>
Sun, 3 May 2015 23:28:10 +0000 (19:28 -0400)
for some reason, calling xmodmap from xprofile wasn't working,
thus it's now being called from .config/autostart

x/.config/autostart/xmodmap.desktop [new file with mode: 0644]
x/.xprofile

diff --git a/x/.config/autostart/xmodmap.desktop b/x/.config/autostart/xmodmap.desktop
new file mode 100644 (file)
index 0000000..61f92ac
--- /dev/null
@@ -0,0 +1,12 @@
+[Desktop Entry]
+Encoding=UTF-8
+Version=0.9.4
+Type=Application
+Name=xmodmap
+Comment=
+Exec=xmodmap ~/.Xmodmap
+OnlyShowIn=XFCE;
+StartupNotify=false
+Terminal=false
+Hidden=false
+
index 6898ab1..0e71da9 100755 (executable)
@@ -46,9 +46,6 @@ synclient HorizScrollDelta=-237
 # swap caps lock and esc
 setxkbmap -option caps:swapescape
 
-# fix the tilde key on MacBook Air
-xmodmap ~/.Xmodmap
-
 # MPD daemon start (if no other instance exists)
 [ -z $(pidof mpd) ] && mpd &