Launching TCL/Tk - Wish script - from a CD - by clicking in Konqueror

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



KDE 3.4 on SuSE 9.3 (and other existing implementations - Caldera, Suse, Redhat etc)

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 icon correctly.

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 horrible!
--
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

___________________________________________________
.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.

[Index of Archives]     [Trinity (TDE) Desktop Users]     [Fedora KDE]     [Fedora Desktop]     [Linux Kernel]     [Gimp]     [GIMP for Windows]     [Gnome]     [Yosemite Hiking]
  Powered by Linux