wok-current diff karmen/stuff/karmen-session @ rev 7795

busybox: add ncurses-common in depends
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Dec 24 12:04:47 2010 +0100 (2010-12-24)
parents
children cb76ed027bff
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/karmen/stuff/karmen-session	Fri Dec 24 12:04:47 2010 +0100
     1.3 @@ -0,0 +1,22 @@
     1.4 +#!/bin/sh
     1.5 +#
     1.6 +# Start Karmen X session on SliTaz
     1.7 +#
     1.8 +
     1.9 +CONFIG_DIR="$HOME/.config/karmen"
    1.10 +AUTOSTART_SCRIPT="${CONFIG_DIR}/autostart.sh"
    1.11 +
    1.12 +# These file are provided by SliTaz to provide a better experience
    1.13 +# with Karmen. Autostart script for applications and Wbar with a logout
    1.14 +# icon.
    1.15 +if [ ! -d "$CONFIG_DIR" ]; then
    1.16 +	cp -a /etc/xdg/karmen $CONFIG_DIR
    1.17 +fi
    1.18 +
    1.19 +# Source autostarted applications.
    1.20 +. $AUTOSTART_SCRIPT
    1.21 +
    1.22 +# Execute the Window manager.
    1.23 +exec karmen
    1.24 +
    1.25 +exit 0