Parole and Mandriva script

patrick.2 patrick.2 at laposte.net
Tue Nov 24 21:47:59 CET 2009


Hello,

Mandriva have a script to lauch some programme when media is inserted.


#!/bin/sh
#---------------------------------------------------------------
# Project         : Mandriva Linux
# Module          : user-scripts
# File            : audio_cd.script
# Version         : $Id: audio_cd.script 244625 2008-09-02 12:54:44Z blino $
# Author          : Frederic Lepied
# Created On      : Fri Jan 30 17:01:34 2004
# Purpose         : launch an audio CD reader when an audio CD is inserted
#---------------------------------------------------------------

. /usr/share/dynamic/functions.script

if under_gnome; then
    launch sound-juicer --play --device="$DEV"
    launch gnome-cd --unique --play --device "$DEV"
    launch totem "$DEV"
fi

if under_xfce; then
    launch exaile --play /dev/sr0 --start-minimized
fi

launch kscd --start "$DEV"
launch gnome-cd --unique --play --device "$DEV"

echo "No application to play an audio CD"

# audio_cd.script ends here


what is the command to start Parole, in place of exaile?

Thanks.




-- 
Patrick.
envoye depuis le monde libre ...
par un Pc sous Mandriva 2010.1 ( cooker ) !
Claws-Mail 3.7.3 - xfce 4.6.1



More information about the Xfce mailing list