-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathautostart
executable file
·125 lines (94 loc) · 2.92 KB
/
autostart
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
## Openbox autostart.sh
## ====================
## When you login to your CrunchBang Openbox session, this autostart script
## will be executed to set-up your environment and launch any applications
## you want to run at startup.
##
## Note*: some programs, such as 'nm-applet' are run via XDG autostart.
## Run '/usr/lib/openbox/openbox-xdg-autostart --list' to list any
## XDG autostarted programs.
##
## More information about this can be found at:
## http://openbox.org/wiki/Help:Autostart
##
## If you do something cool with your autostart script and you think others
## could benefit from your hack, please consider sharing it at:
## http://crunchbang.org/forums/
##
## Have fun & happy CrunchBangin'! :)
## GNOME PolicyKit and Keyring
eval $(gnome-keyring-daemon -s --components=pkcs11,secrets,ssh,gpg) &
## for authentication
/usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1 &
## Set root window colour
#hsetroot -solid "#2E3436" &
## Group start:
## 1. nitrogen - restores wallpaper
## 2. compositor - start
## 3. sleep - give compositor time to start
## 4. tint2 panel
#(\
#nitrogen --restore && \
#cb-compositor --start && \
#sleep 2s && \
#tint2 \
#) &
(\
nitrogen --restore && \
cb-compositor --start && \
sleep 2s && \
xfce4-panel \
) &
## Volume control for systray
#(sleep 2s && volumeicon) &
## Enable power management
mate-power-manager &
## Start Thunar Daemon
thunar --daemon &
## Detect and configure touchpad. See 'man synclient' for more info.
if egrep -iq 'touchpad' /proc/bus/input/devices; then
synclient VertEdgeScroll=1 &
synclient HorizEdgeScroll=1 &
synclient TapButton1=1 &
fi
## Run Dunst Notification
(sleep 20s && dunst) &
## Start xscreensaver
#xscreensaver -no-splash &
## Start Clipboard manager
(sleep 3s && clipit) &
##Hotcorners
(sleep 6s && xdotool behave_screen_edge bottom-left exec skippy-xd) &
## Set keyboard settings - 250 ms delay and 25 cps (characters per second) repeat rate.
## Adjust the values according to your preferances.
xset r rate 250 25 &
## Turn on/off system beep
xset b off &
## cb-welcome - post-installation script, will not run in a live session and
## only runs once. Safe to remove.
#(sleep 10s && cb-welcome --firstrun) &
## cb-fortune - have Waldorf say a little adage
(sleep 90s && cb-fortune) &
## Run the conky
conky -q &
## Run Pidgin
(sleep 15s && pidgin) &
## Run Terminator
(sleep 15s && terminator) &
## Run Weechat
#(sleep 25s && terminator --new-tab --command="weechat-curses") &
## Run Hexchat
(sleep 15s && hexchat) &
## Run RedShift
(sleep 20s && redshift-gtk) &
## Run Iceweasel
(sleep 20s && iceweasel) &
## Run xfce4-panel fix
(sleep 7s && /home/wert/dotfiles/xfce4-panelfix.sh) &
## Run Kupfer
(sleep 30s && kupfer --no-splash) &
## Run Synergy
(sleep 20s && synergyc -f 192.168.1.175) &
(sleep 12s && /opt/extras.ubuntu.com/calendar-indicator/bin/calendar-indicator) &
# Autostart the Dropbox deamon
(sleep 60s && ~/.dropbox-dist/dropboxd) &