wok-next diff karmen/stuff/karmen-session @ rev 14009

Add: opencore-amr - Adaptive Multi Rate speech codec
author Dominique Corbex <domcox@slitaz.org>
date Sun Feb 17 19:47:21 2013 +0100 (2013-02-17)
parents 08943259e85e
children
line diff
     1.1 --- a/karmen/stuff/karmen-session	Tue May 05 02:12:07 2009 +0200
     1.2 +++ b/karmen/stuff/karmen-session	Sun Feb 17 19:47:21 2013 +0100
     1.3 @@ -3,14 +3,15 @@
     1.4  # Start Karmen X session on SliTaz
     1.5  #
     1.6  
     1.7 -CONFIG_DIR="$HOME/.config/karmen"
     1.8 -AUTOSTART_SCRIPT="${CONFIG_DIR}/autostart.sh"
     1.9 +export XDG_CONFIG_HOME="$HOME/.config"
    1.10 +export XDG_CURRENT_DESKTOP=karmen
    1.11 +AUTOSTART_SCRIPT="${XDG_CONFIG_HOME}/karmen/autostart.sh"
    1.12  
    1.13  # These file are provided by SliTaz to provide a better experience
    1.14  # with Karmen. Autostart script for applications and Wbar with a logout
    1.15  # icon.
    1.16 -if [ ! -d "$CONFIG_DIR" ]; then
    1.17 -	cp -a /etc/xdg/karmen $CONFIG_DIR
    1.18 +if [ ! -d "$XDG_CONFIG_HOME/karmen" ]; then
    1.19 +	cp -r /etc/xdg/karmen $XDG_CONFIG_HOME
    1.20  fi
    1.21  
    1.22  # Source autostarted applications.