summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmin Bandali <me@aminb.org>2015-05-03 19:28:10 -0400
committerAmin Bandali <me@aminb.org>2015-05-03 19:28:10 -0400
commit3d0f635383c6f01c63e93f149cf63f9682d62d6e (patch)
tree27d005984d55d99bf053d6fab668d96536a4d292
parent7a226debb210656a9659db47f8b28c9c60cd61ef (diff)
downloadconfigs-3d0f635383c6f01c63e93f149cf63f9682d62d6e.tar.gz
configs-3d0f635383c6f01c63e93f149cf63f9682d62d6e.tar.xz
configs-3d0f635383c6f01c63e93f149cf63f9682d62d6e.zip
alternative way for calling xmodmap
for some reason, calling xmodmap from xprofile wasn't working, thus it's now being called from .config/autostart
-rw-r--r--x/.config/autostart/xmodmap.desktop12
-rwxr-xr-xx/.xprofile3
2 files changed, 12 insertions, 3 deletions
diff --git a/x/.config/autostart/xmodmap.desktop b/x/.config/autostart/xmodmap.desktop
new file mode 100644
index 0000000..61f92ac
--- /dev/null
+++ b/x/.config/autostart/xmodmap.desktop
@@ -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
+
diff --git a/x/.xprofile b/x/.xprofile
index 6898ab1..0e71da9 100755
--- a/x/.xprofile
+++ b/x/.xprofile
@@ -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 &