Image 01
profile-image

simmerz

Tom Tom Simnett
MountISO

Dolphin Service Menus by prjanique 305 comments

Please see patch below and apply it first. - Jul 03 2006
MountISO

Dolphin Service Menus by prjanique 305 comments

The following diff output will fix the mounting and allow 0.9.1 to work. I found that my ISO images had a type of 000000 so added this to the Check ISO and Mount sections of the script. now works fine.

--- ../../../root/mountiso.sh 2006-03-25 20:33:13.000000000 +0000
+++ ../../../usr/kde/3.5/share/apps/mountiso/mountiso.sh 2006-03-25 20:33:50.000000000 +0000
@@ -109,6 +109,10 @@
function check_iso {
TYPE=`head "$1" | od -Ax -s | head -n 1 | cut -f 1 -d " " `
case "$TYPE" in
+ 000000)
+ # ISO image
+ CHECK="Standard ISO9660 image"
+ ;;
008008)
# ISO image
CHECK="Standard ISO9660 image"
@@ -146,6 +150,10 @@
then
TYPE=`head "$1" | od -Ax -s | head -n 1 | cut -f 1 -d " " `
case "$TYPE" in
+ 000000)
+ # ISO image
+ MODE=",defaults"
+ ;;
008008)
# ISO image
MODE=",defaults" - Mar 25 2006
MountISO

Dolphin Service Menus by prjanique 305 comments

I am getting the same error here. Can this be fixed please? - Mar 25 2006
TDE - T Desktop Enhancements

Karamba & Superkaramba by chip2003 61 comments

I've just found a small issue with tcal - not a major one as it wont always happen, but take May 2004 as a good example.

There are 31 days in the month, which start on a saturday. This given, means that day 31 will fall in week 6, in terms of lines, and so underneath the graphic border. I'm not sure of a good solution to this, as adding an extra line for the few times this would happen seems to be a bit too much.

Unless it can generate itself based on the current month?

Cheers

Tom - May 02 2004
TDE - T Desktop Enhancements

Karamba & Superkaramba by chip2003 61 comments

I've just installed tcal, but it didn't show days 1-4 of the month, and started on 5.

This was because the grep only searches for several spaces.

I changed the days section to:
#Days:
#1
text x=0 y=0 sensor=program program="cal -m| egrep -v ' [0-9]{4}' | cut -b -2"
#2
text x=25 y=0 sensor=program program="cal -m| egrep -v ' [0-9]{4}' | cut -b 4-5"
#3
text x=50 y=0 sensor=program program="cal -m| egrep -v ' [0-9]{4}' | cut -b 7-8"
#4
text x=75 y=0 sensor=program program="cal -m| egrep -v ' [0-9]{4}' | cut -b 10-11"
#5
text x=100 y=0 sensor=program program="cal -m| egrep -v ' [0-9]{4}' | cut -b 13-14"
#6
text x=128 y=0 sensor=program program="cal -m| egrep -v ' [0-9]{4}' | cut -b 16-17" color=255,0,0
#7
text x=155 y=0 sensor=program program="cal -m| egrep -v ' [0-9]{4}' | cut -b 18-20" color=255,0,0

which instead searches for a space and a 4-char number, which only the year can contain.

Cheers,

Tom - Apr 19 2004