Launching TCL/Tk - Wish scripts - from a CD

Kevin Krammer kevin.krammer at gmx.at
Tue Jun 14 19:04:24 BST 2005


On Tuesday 14 June 2005 19:49, Simon Blackham wrote:
> KDE 3.4.0 on SuSE 9.3 (and to be compatible with clients existing
> implementations - Caldera, Suse, Redhat etc)
>
> Unfortunately if you launch from a CD - the mounted CD is now on
> /media/<cdlabel> 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.

That sounds like a system setup issue, not sure why you post this to a KDE 
list.

> 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 - not very
> elegant!

Hmm.
As a workaround for the broken system setup you could check the first script 
argument (in bash this would be $0) as it usually contains the command, 
including the path

Cheers,
Kevin

-- 
Kevin Krammer <kevin.krammer at gmx.at>
Qt/KDE Developer, Debian User
Moderator: www.mrunix.de (German), www.qtforum.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde/attachments/20050614/3559d425/attachment.sig>
-------------- next part --------------
___________________________________________________
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.


More information about the kde mailing list