-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.xsession
More file actions
executable file
·42 lines (34 loc) · 853 Bytes
/
.xsession
File metadata and controls
executable file
·42 lines (34 loc) · 853 Bytes
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/bash
#set -x
echo
echo "`date` $0: start"
cd $HOME
. ./.bashrc
XVENDOR=$(xdpyinfo | grep '^vendor string' | sed -e 's/.*: *//')
# set up X server
$HOME/bin/xset.sh
[ -f ~/.xsession-local ] && . ~/.xsession-local
if [[ "$XVENDOR" != *VNC* ]] ; then
xsetroot -solid navy &
xscreensaver -nosplash &
diodon &
nm-applet &
udiskie --smart-tray &
pasystray &
command -v gpg-agent >/dev/null && [ -z "$GPG_AGENT_INFO" ] && \
eval `gpg-agent --daemon`
command -v gnome-keyring-daemon >/dev/null && [ -z "$GNOME_KEYRING_CONTROL" ] && \
eval `gnome-keyring-daemon`
workrave &
#type -p xplanet > /dev/null && xplanet -lat 51.191253 -lon 6.422786 &
SHLVL=0 x-terminal-emulator &
SHLVL=0 x-terminal-emulator &
x-www-browser &
else
xsetroot -solid limegreen
fi
if command -v awesome >/dev/null ; then
exec awesome
else
exec xterm
fi