Tiny Core Linux
Tiny Core Extensions => TCE Q&A Forum => Topic started by: ananix on September 02, 2012, 06:54:41 PM
-
Seems many programs adds %U to execute per default in tce.openbox.xml
What is its intentions?
-
Edited the title, it wasn't really descriptive without the wm.
-
thx maybe ill get more replies then :)
-
It's actually not (or at least only partially) related to the wm (Any wm that makes up it's own field codes is ignoring the freedesktop standards).
The %U is intended to be expanded by file managers / etc with a list of files. Useful if your application needs the list of files (technically URLs) to open to come before or after specific flags, to make sure escaping of spaces in filenames happen right, that sort of thing.
If your program can only open one file at a time, it's .desktop file should be using a lower case u (%u), or %f if it specifcally needs a filename, not a url, etc. More can be seen in the freedesktop standard:
http://standards.freedesktop.org/desktop-entry-spec/latest/ar01s06.html (http://standards.freedesktop.org/desktop-entry-spec/latest/ar01s06.html)
-
yes just wondering what its doing as default from the tcz packages in the wbar sorry for formulating this post so bad, think it was just pis...ing me off so i was short from the head. I understand its not a way of doing things for tiny core so ill direct it at the tcz maintainer