This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Relative path in .desktop file url

Tags: None
(comma "," separated)
User avatar
TheBlackCat
Registered Member
Posts
2945
Karma
8
OS

Relative path in .desktop file url

Sat May 01, 2010 10:37 pm
In KDE you can make a "link" type .desktop file that points to a particular directory or file. However, by default this uses absolute pathnames. I am trying to set up a link on a fat32 removable device, so I want to set it up using a relative path so it will work on an KDE computer it is plugged into no matter where the device is mounted. I really just want the folder to point to a folder of the same name one directory higher in the file structure. However, the normal ".." notation does not work. Does anyone know how I can set up a .desktop file whose url uses relative paths instead of absolute paths?


Man is the lowest-cost, 150-pound, nonlinear, all-purpose computer system which can be mass-produced by unskilled labor.
-NASA in 1965
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
As far as I am aware this isn't possible, you may wish to ask in #kde-devel though. The freedesktop.org Desktop File specification doesn't seem to mention any special replacement characters which may make this possible either.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]


Bookmarks



Who is online

Registered users: Bing [Bot], Evergrowing, Google [Bot]