3 PATH="$PATH":/usr/games
5 # Set initial background
6 xsetroot -solid DarkCyan
7 xli -border darkcyan -center -onroot -quiet -zoom auto "`$HOME/current/projects/xsetbg/print-filename.py`"
9 # load .Xdefaults/.Xresources
10 if [ -f "$HOME"/lib/X11/.Xdefaults ]; then
11 xrdb -merge -I"$HOME" "$HOME"/lib/X11/.Xdefaults
13 if [ -f "$HOME"/lib/X11/.Xresources ]; then
14 xrdb -merge -I"$HOME" "$HOME"/lib/X11/.Xresources
18 #if [ -f "$HOME"/lib/X11/.OWdefaults ]; then
19 # xrdb -merge -nocpp "$HOME"/lib/X11/.OWdefaults # Load Users OW resource database
21 #if [ -f "$OPENWINHOME"/lib/Xdefaults ]; then
22 # xrdb -merge "$OPENWINHOME"/lib/Xdefaults # Load Default X11 resource database
25 #if [ -x "$HOME"/lib/X11/.openwin-init ]; then
26 # "$HOME"/lib/X11/.openwin-init # Custom OpenWindows tools
27 #elif [ -x "$OPENWINHOME"/lib/openwin-init ]; then
28 # "$OPENWINHOME"/lib/openwin-init # Default OpenWindows tools
31 # EN/RU, switch on RightAlt, Compose: RightControl, Level3:RightMenu
32 setxkbmap -layout '' -variant '' -option ''
33 setxkbmap -layout 'us,ru' -variant ',common' -option 'grp:toggle,compose:rctrl,lv3:menu_switch'
35 # adjust key bindings (if any)
36 #[ -f "$HOME"/lib/X11/.Xmodmap ] && xmodmap "$HOME"/lib/X11/.Xmodmap
38 # X settings: shorter beep
42 # screen saver 5 minutes
44 # DPMS on desktop: standby - 1 hour, suspend - 2 hours, off - 4 hours
45 #xset dpms 3600 7200 14400
46 # DPMS on notebook: standby - 10 minutes, suspend - 15 minutes, off - 20 minutes
47 xset dpms 600 900 1200
53 synclient AccelFactor=0.1 MaxDoubleTapTime=80 MaxSpeed=1 RightEdge=5000 \
54 TapButton1=1 TapButton2=2 TapButton3=3 HorizEdgeScroll=1 VertEdgeScroll=1
56 # Turn mouse off on keyboard activity; turn it back on after 1 second
59 # start a small console shell
60 #xterm -C -geometry 80x8-0+0 -n Console -T Consle -ls +ut -fn 6x10 &
62 #WIDTH=1024: 85x85+400+1
63 #WIDTH=1600: 100x100+600+1
64 #WIDTH=1920: 150x150+880+1
65 xclock -geometry 100x100+600+1 -bg white -update 1 &
68 #xbuffy -fn '-*-helvetica-bold-r-*-*-*-100-*-*-*-*-koi8-r' -geometry +0+125 -boxfile mail/misc/.xbuffyrc &
70 if [ -z "$WINDOW_MANAGER" ]; then
75 gpg-agent --daemon --write-env-file "$HOME"/.gnupg/agent-info \
76 dbus-launch --exit-with-session \
79 # Stop pulseaudio, xscreensaver and xsetbg.py
81 xscreensaver-command -exit &
82 "$HOME"/current/projects/xsetbg/xsetbg-http-stop &