Launching TCL/Tk - Wish script - from a CD - by clicking in Konqueror
sdb at rfa-ltd.co.uk
Tue Jun 14 18:40:03 BST 2005
KDE 3.4 on SuSE 9.3 (and other existing implementations - Caldera, Suse,
Unfortunately if you launch from a CD the mounted CD is now on
/media/<cdname> and not on /media/cdrecorder or /media/cdrom as in the
past. We just used to put a link: /cdrom -> /media/<whatever> on each
machine when first loading.
Another alternative was there were various links with different paths to
their icon (on the CD) and the user clicked on the link that showed the
If you (insert a CD and) click a TCL file through Konqueror then the 'pwd'
is set automatically to the users home directory - so the application
fails as it cannot find its way around the CD. If a terminal window is
started (within konqueror) and 'wish Update.tcl' is typed in - everything
works OK as 'pwd' is on the CD - wherever it was mounted.
The application linker does not allow you to set '$PWD' as the starting
directory - only ones found by browsing when the application link is
created - but of course this is on the development machine - not on the
users - and not on the CD anyway.
Currently - the script looks in /media for existing mount points and looks
for itself in each one - and sets the CD path when it succeeds - pretty
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.6.6 - Release Date: 08/06/2005
This message is from the kde mailing list.
Account management: https://mail.kde.org/mailman/listinfo/kde.
More info: http://www.kde.org/faq.html.
More information about the kde