diff --git a/xinitrc b/xinitrc index b505e65..cd24894 100644 --- a/xinitrc +++ b/xinitrc @@ -12,10 +12,6 @@ type synclient >/dev/null 2>&1 && { synclient MinSpeed=0.2 } -test -f "$HOME/.fehbg" && -type feh >/dev/null 2>&1 && -sh "$HOME/.fehbg" - -#export LC_MESSAGES=C +unset LC_MESSAGES export LANG=ja_JP.utf8 diff --git a/xprograms b/xprograms new file mode 100755 index 0000000..8559952 --- /dev/null +++ b/xprograms @@ -0,0 +1,22 @@ +#!/bin/sh +# Programs run in background when starting x. +# These programs are basically for Openbox Window Manager. +# Japanese IM settings are not included in this list. + +test -f "$HOME/.fehbg" && +type feh >/dev/null 2>&1 && +sh "$HOME/.fehbg" + +tint2 & + +#dropboxd & # done by ~/.config/autostart/dropbox.desktop + +volumeicon & +#wicd-client --tray & # done by /etc/xdg/autostart/wicd-client.desktop +# Detection of insertion of an optical disk +if ! pgrep -lf "udisks-daemon: polling /dev/sr0"; then + udisks --poll-for-media /dev/sr0 +fi + +udisksvm >/dev/null & +