slitaz-configs rev 76 4.1
Add: ~/.xinitrc and ~/.xsession for root and /etc/skel
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Jan 11 13:26:02 2011 +0100 (2011-01-11) |
parents | 79325586e507 |
children | f2792988a8db |
files | README rootfs/etc/skel/.profile rootfs/etc/skel/.xinitrc rootfs/etc/skel/.xsession rootfs/root/.xinitrc rootfs/root/.xsession |
line diff
1.1 --- a/README Sat Jan 08 14:51:17 2011 +0100 1.2 +++ b/README Tue Jan 11 13:26:02 2011 +0100 1.3 @@ -3,7 +3,7 @@ 1.4 1.5 1.6 English 1.7 -------- 1.8 +======= 1.9 SliTaz configs provide the files and images used by default on the core 1.10 LiveCD. A SliTaz package is generated from the wok and Tazwok. It contains 1.11 Openbox themes, an autostart script, a menu and RC file. /usr/share contains 1.12 @@ -11,9 +11,18 @@ 1.13 1.14 All artwork is done on SliTaz with mtPaint, The Gimp or Inkscape. 1.15 1.16 +File: ~/.xinitrc ~/.xsession 1.17 +---------------------------- 1.18 +These 2 files are used for X session login and startup. In live mode root 1.19 +and the default user (id 1000) need theme. For a new user when SliTaz is 1.20 +installed the files are copied from /etc/skel. Historicaly these files 1.21 +where created by tazx at boot time because we was using tiny Xvesa server 1.22 +wich couldn't autoconfigure screen resolution and we needed to generate 1.23 +.xsession with something like: Xvesa -screen 1024x768x24 & 1.24 + 1.25 1.26 Français 1.27 --------- 1.28 +======== 1.29 Ce paquet fournit les fichiers, images et sons utilisés par défaut sur le coeur 1.30 du LiveCD. Le paquets SliTaz est généré depuis le wok avec Tazwok. Il contient 1.31 les thèmes, le menu, script de démarrage (autostart.sh) et le fichier RC utilisé
2.1 --- a/rootfs/etc/skel/.profile Sat Jan 08 14:51:17 2011 +0100 2.2 +++ b/rootfs/etc/skel/.profile Tue Jan 11 13:26:02 2011 +0100 2.3 @@ -8,14 +8,6 @@ 2.4 export PATH 2.5 fi 2.6 2.7 -# Java JRE (paths). 2.8 -# 2.9 -#JAVA_HOME=$HOME/.local/lib/jre1.6.0_03 2.10 -#JAVA_BINDIR=$JAVA_HOME/bin 2.11 -#if [ -d "$JAVA_BINDIR" ] ; then 2.12 -# export PATH=$JAVA_BINDIR:$PATH 2.13 -#fi 2.14 - 2.15 # Environnement variables and prompt for Ash SHell 2.16 # or Bash. Default is a classic prompt. 2.17 #
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/rootfs/etc/skel/.xinitrc Tue Jan 11 13:26:02 2011 +0100 3.3 @@ -0,0 +1,29 @@ 3.4 +# ~/.xinitrc: Executed by slim login manager to startx X session. 3.5 +# You can use F1 with Slim to chage your window manager or configure 3.6 +# it permanently with your personnal applications.conf file. 3.7 +# 3.8 +. $HOME/.config/slitaz/applications.conf 3.9 + 3.10 +case $1 in 3.11 + e17|enlightenment*) 3.12 + exec enlightenment_start ;; 3.13 + openbox|openbox-session|ob) 3.14 + exec openbox-session ;; 3.15 + dwm|dwm-session) 3.16 + exec dwm-session ;; 3.17 + fluxbox|startfluxbox) 3.18 + exec startfluxbox ;; 3.19 + awesome) 3.20 + exec awesome ;; 3.21 + pekwm) 3.22 + exec pekwm ;; 3.23 + karmen|karmen-session) 3.24 + exec karmen-session ;; 3.25 + jwm) 3.26 + lxpanel & 3.27 + exec jwm ;; 3.28 + xfce|xfce4|xfce4-session) 3.29 + xfce4-session ;; 3.30 + *) 3.31 + exec $WINDOW_MANAGER ;; 3.32 +esac
4.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 4.2 +++ b/rootfs/etc/skel/.xsession Tue Jan 11 13:26:02 2011 +0100 4.3 @@ -0,0 +1,7 @@ 4.4 +# ~/.xsession: Start X window session manually on your system (startx). 4.5 +# 4.6 +. $HOME/.config/slitaz/applications.conf 4.7 +Xorg & 4.8 +#xterm & 4.9 +#xpad & 4.10 +exec $WINDOW_MANAGER
5.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 5.2 +++ b/rootfs/root/.xinitrc Tue Jan 11 13:26:02 2011 +0100 5.3 @@ -0,0 +1,29 @@ 5.4 +# ~/.xinitrc: Executed by slim login manager to startx X session. 5.5 +# You can use F1 with Slim to chage your window manager or configure 5.6 +# it permanently with your personnal applications.conf file. 5.7 +# 5.8 +. $HOME/.config/slitaz/applications.conf 5.9 + 5.10 +case $1 in 5.11 + e17|enlightenment*) 5.12 + exec enlightenment_start ;; 5.13 + openbox|openbox-session|ob) 5.14 + exec openbox-session ;; 5.15 + dwm|dwm-session) 5.16 + exec dwm-session ;; 5.17 + fluxbox|startfluxbox) 5.18 + exec startfluxbox ;; 5.19 + awesome) 5.20 + exec awesome ;; 5.21 + pekwm) 5.22 + exec pekwm ;; 5.23 + karmen|karmen-session) 5.24 + exec karmen-session ;; 5.25 + jwm) 5.26 + lxpanel & 5.27 + exec jwm ;; 5.28 + xfce|xfce4|xfce4-session) 5.29 + xfce4-session ;; 5.30 + *) 5.31 + exec $WINDOW_MANAGER ;; 5.32 +esac
6.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 6.2 +++ b/rootfs/root/.xsession Tue Jan 11 13:26:02 2011 +0100 6.3 @@ -0,0 +1,7 @@ 6.4 +# ~/.xsession: Start X window session manually on your system (startx). 6.5 +# 6.6 +. $HOME/.config/slitaz/applications.conf 6.7 +Xorg & 6.8 +#xterm & 6.9 +#xpad & 6.10 +exec $WINDOW_MANAGER