-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy path.xinitrc
42 lines (35 loc) · 881 Bytes
/
.xinitrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)
if [ -d /etc/X11/xinit/xinitrc.d ]; then
for f in /etc/X11/xinit/xinitrc.d/*; do
[ -x "$f" ] && . "$f"
done
unset f
fi
# Touch Padデフォルト無効
xinput --set-prop "SynPS/2 Synaptics TouchPad" "Device Enabled" 0 &
##########
# xmonad
##########
# set the cursor 矢印にする
xsetroot -cursor_name left_ptr
# set Japanese keyboard layout
setxkbmap -layout jp
# xmodmap
# 起動時には、すぐにxmodmapが反映されない。そのため、5秒のdelayを入れる。
if [ -s ~/.Xmodmap ]; then
/bin/bash -c "sleep 5;/usr/bin/xmodmap /home/$USER/.Xmodmap"
fi
# Emacs Speedup
xset r rate 200 25
#export GTK_IM_MODULE=fcitx
#export QT_IM_MODULE=fcitx
#XCexport GTK_IM_MODULE=xim
#export QT_IM_MODULE=xim
#export XMODIFIERS="@im=fcitx"
#fcitx -d
# xmonad
exec xmonad