Magellan Linux

Contents of /trunk/xinit/xinitrc.skel

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1588 - (show annotations) (download)
Tue Nov 29 22:25:06 2011 UTC (12 years, 5 months ago) by niro
File size: 648 byte(s)
-added xinitrc skeleton
1 #!/bin/sh
2 #
3 # ~/.xinitrc, a copy of /etc/skel/.xinitrc
4 #
5
6 if [ -f ~/.Xresources ]; then
7 xrdb -merge ~/.Xresources
8 fi
9
10 if [ -f ~/.Xmodmap ]; then
11 xmodmap ~/.Xmodmap
12 fi
13
14 if [ -d /etc/X11/xinit/xinitrc.d ] ; then
15 for f in /etc/X11/xinit/xinitrc.d/*.sh ; do
16 [ -x "$f" ] && . "$f"
17 done
18 unset f
19 fi
20
21 CK_LAUNCH_SESSION=
22 if [ -z "$XDG_SESSION_COOKIE" ] && [ -x /usr/bin/ck-launch-session ]; then
23 CK_LAUNCH_SESSION="/usr/bin/ck-launch-session"
24 fi
25
26 # start the Window Manger session of your choice
27 #exec $CK_LAUNCH_SESSION gnome-session
28 #exec $CK_LAUNCH_SESSION startkde
29 #exec $CK_LAUNCH_SESSION startxfce4
30 #exec $CK_LAUNCH_SESSION startfluxbox