[Eisfair] capi2text-kde-udp.listen.pl (E-1 & Kubuntu)

Holger Bruenjes holgerbruenjes at gmx.net
Fr Jan 25 20:44:57 CET 2013


Hallo Kay

Am 2013-01-25 20:01, schrieb Kay Martinen:


Ich starte das Skript ueber ein init Skript


/etc/init.d/capi2txt


### BEGIN INIT INFO
# Provides:             capi2txt
# Required-Start:       $network $netdaemons
# Required-Stop:        $network $netdaemons
# Default-Start:        3 5
# Default-Stop:         0 1 2 6
# Description:          Start capi2txt
### END INIT INFO


case $1 in
     start)
         /usr/sbin/capi2text-kde-udp-listen.pl &
     ;;
     stop)
         killall capi2text-kde-udp-listen.pl
     ;;
esac


> Der Wert von Display ist doch korrekt oder:
>
> DISPLAY=:0

my $output_user    = '$user';      # su-user to switch to
my $output_display = ':0';        # unix display
my $output_desktop = 'kde';       # desktop to use: kde or gnome

my $port        = '5555';         # port number
my $proto       = 'udp';          # protocol


Holger


Mehr Informationen über die Mailingliste Eisfair