Changeset 634
- Timestamp:
- 06/21/08 09:05:18 (5 months ago)
- Location:
- cdd-utils/trunk
- Files:
-
- 4 modified
-
bin/qjackctl-wrapper (modified) (1 diff)
-
debian/changelog (modified) (1 diff)
-
lib/desktop.sh (modified) (1 diff)
-
lib/menu.sh (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
cdd-utils/trunk/bin/qjackctl-wrapper
r629 r634 14 14 15 15 wait_for window-picker-applet 16 sleep 2 17 exec qjackctl 16 17 while true; do 18 qjackctl 19 done -
cdd-utils/trunk/debian/changelog
r629 r634 1 cdd-utils (0.11. 2) 64studio; urgency=low1 cdd-utils (0.11.3) UNRELEASED; urgency=low 2 2 3 3 * Added Extensions option to touchscreen (needed by eneryXt) 4 4 * Wait for window-picker-applet instead of trashapplet in the 5 5 qjackctl wrapper 6 * Restart qjackctl if it dies 6 7 7 8 -- Trinity <trinity@trinity> Wed, 18 Jun 2008 17:35:09 +0200 -
cdd-utils/trunk/lib/desktop.sh
r627 r634 194 194 EOF 195 195 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.tmp197 mv $cfg.tmp $cfg198 if [ -z "$(tail -1 $cfg)" ]; then199 sed '$d' < $cfg > $cfg.tmp200 mv $cfg.tmp $cfg201 fi202 203 cat <<EOF >> $cfg204 Section "Extensions"205 Option "MIT-SHM" "no"206 EndSection207 EOF208 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 10 10 set_key "$key" "$sep" "$val" "$cfg" 11 11 done 12 } 13 14 # Quiet mplayer 15 menu_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" 12 22 } 13 23
