Changeset 634

Show
Ignore:
Timestamp:
06/21/08 09:05:18 (5 months ago)
Author:
free
Message:

* Restart qjackctl if it dies

Location:
cdd-utils/trunk
Files:
4 modified

Legend:

Unmodified
Added
Removed
  • cdd-utils/trunk/bin/qjackctl-wrapper

    r629 r634  
    1414 
    1515wait_for window-picker-applet 
    16 sleep 2 
    17 exec qjackctl 
     16 
     17while true; do 
     18        qjackctl 
     19done 
  • cdd-utils/trunk/debian/changelog

    r629 r634  
    1 cdd-utils (0.11.2) 64studio; urgency=low 
     1cdd-utils (0.11.3) UNRELEASED; urgency=low 
    22 
    33  * Added Extensions option to touchscreen (needed by eneryXt) 
    44  * Wait for window-picker-applet instead of trashapplet in the 
    55    qjackctl wrapper 
     6  * Restart qjackctl if it dies 
    67 
    78 -- Trinity <trinity@trinity>  Wed, 18 Jun 2008 17:35:09 +0200 
  • cdd-utils/trunk/lib/desktop.sh

    r627 r634  
    194194EOF 
    195195 
    196     perl -e 'open(FILE, "/etc/X11/xorg.conf"); while ($line = <FILE>) {if ($line =~ /^Section "Extensions"/) {$buffer = $line;$flag = 0;until ($line =~ /^EndSection/) {$line = <FILE>; $buffer .= $line; if ($line =~ /^.*Option "MIT-SHM"/) {$flag = 1;};}; if ($flag == 0) {print $buffer;};} else {print "$line";};};close(FILE);'> $cfg.tmp 
    197     mv $cfg.tmp $cfg 
    198     if [ -z "$(tail -1 $cfg)" ]; then 
    199         sed '$d' < $cfg > $cfg.tmp 
    200         mv $cfg.tmp $cfg 
    201     fi 
    202  
    203     cat <<EOF >> $cfg 
    204 Section "Extensions" 
    205        Option "MIT-SHM" "no" 
    206 EndSection 
    207 EOF 
    208  
    209 } 
     196#    perl -e 'open(FILE, "/etc/X11/xorg.conf"); while ($line = <FILE>) {if ($line =~ /^Section "Extensions"/) {$buffer = $line;$flag = 0;until ($line =~ /^EndSection/) {$line = <FILE>; $buffer .= $line; if ($line =~ /^.*Option "MIT-SHM"/) {$flag = 1;};}; if ($flag == 0) {print $buffer;};} else {print "$line";};};close(FILE);'> $cfg.tmp 
     197#    mv $cfg.tmp $cfg 
     198#    if [ -z "$(tail -1 $cfg)" ]; then 
     199#       sed '$d' < $cfg > $cfg.tmp 
     200#       mv $cfg.tmp $cfg 
     201#    fi 
     202 
     203#    cat <<EOF >> $cfg 
     204#Section "Extensions" 
     205#       Option "MIT-SHM" "no" 
     206#EndSection 
     207#EOF 
     208 
     209} 
  • cdd-utils/trunk/lib/menu.sh

    r624 r634  
    1010    set_key "$key" "$sep" "$val" "$cfg" 
    1111  done 
     12} 
     13 
     14# Quiet mplayer 
     15menu_mplayer () { 
     16  cfg=/usr/share/applications/mplayer.desktop 
     17  if ! exists $cfg; then warning "$cfg not found"; return; fi 
     18  key="Exec" 
     19  sep="=" 
     20  val="gmplayer -really-quiet %F" 
     21  set_key "$key" "$sep" "$val" "$cfg" 
    1222} 
    1323