Re: Launching TCL/Tk - Wish scripts - from a CD

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

 



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@xxxxxx>
Qt/KDE Developer, Debian User
Moderator: www.mrunix.de (German), www.qtforum.org

Attachment: pgpNGlchHtZmF.pgp
Description: PGP signature

___________________________________________________
.
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