-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path_xsession
45 lines (35 loc) · 1013 Bytes
/
_xsession
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
43
44
45
#!/bin/bash
# Load resources
xrdb -merge .Xresources
# Set the background color
xsetroot -solid \#3f3f3f
xsetroot -cursor_name left_ptr
setxkbmap -layout ro
# Set up an icon tray
trayer --edge top --align right --SetDockType true --SetPartialStrut true \
--expand true --width 10 --transparent true --alpha 0 --height 24 \
--tint 0x3f3f3f &
eval `ssh-agent -s`
# Fire up apps
pidgin &
if [ -x /usr/bin/nm-applet ]; then
nm-applet --sm-disable &
fi
if [ -x /usr/bin/gnome-power-manager ]; then
sleep 3
gnome-power-manager &
fi
if [ -x /usr/bin/gnome-settings-daemon ]; then
gnome-settings-daemon &
fi
if [ -x /usr/bin/bluetooth-applet ]; then
bluetooth-applet &
fi
xscreensaver -no-splash &
notification-daemon &
gnome-sound-applet &
dropbox start &
xinput set-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation" 1
xinput set-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation Button" 2
xinput set-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation Timeout" 200
exec ck-launch-session xmonad