[Konsole-devel] [Bug 59820] New: Offer $DESKTOP as a variable which contains the path to the desktop dir

McHristoph Eckert mchristoph.eckert at t-online.de
Sun Jun 15 17:23:09 UTC 2003


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
     
http://bugs.kde.org/show_bug.cgi?id=59820     
           Summary: Offer $DESKTOP as a variable which contains the path to
                    the desktop dir
           Product: konsole
           Version: unspecified
          Platform: SuSE RPMs
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: wishlist
          Priority: NOR
         Component: general
        AssignedTo: konsole-devel at kde.org
        ReportedBy: mchristoph.eckert at t-online.de


Version:            (using KDE KDE 3.1.1)
Installed from:    SuSE RPMs
OS:          Linux

For distributable Scripts, it would be very nice to always have the path to the users desktop in a variable like $DESKTOP; I use some scripts here for me which do useful things like mounting ISO-images on the desktop for browsing etc. But in my scripts, I always know where my desktop is, but this disables me from spreading them via the web to unexperienced users.
OK, I could try to grep for the desktopdir through $KDEHOME/share/ etc., but this is more difficult as when KDE could set $DESKTOP while KDE starts

Other usage: I wrote a script called by hotplug which creates *.desktop-files for my cam, stick etc., but everyone who will use it has to change the path to the desktop, and I cannot one script for many users of the same machine without setting the absolute path for each user.


More information about the konsole-devel mailing list