[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    .desktop Exec= line and quote removal (fwd)
From:       Bernhard Rosenkraenzer <bero () redhat ! de>
Date:       2000-02-28 13:22:31
[Download RAW message or body]

Interesting point... I guess we should do this to be compatible with
gnome (or get the gnome guys to stop doing it).

---------- Forwarded message ----------
Date: Mon, 28 Feb 2000 13:10:01 +0000 (GMT)
From: Tim Waugh <twaugh@redhat.com>
To: bero@redhat.de
Subject: .desktop Exec= line and quote removal

Hi Bero,

I noticed a few weeks ago that KDE doesn't do quote removal on Exec= lines
in .desktop files.  For example:

[Desktop Entry]
Name=Production
Comment=Oracle Applications production instance (rhoaprod)
Exec=appletviewer 'http://lyman.corp.redhat.com:8001/OA_HTML/US/rhoaprod_s.htm'
Terminal=0
Type=Application

The single quotes don't do what they would do in the shell -- appletviewer
is actually given "'http://....'" as a parameter, and it complains that it
doesn't know what scheme 'http: is supposed to be.

Do you think it would be a good idea to pass this string to wordexp(3) and
tell it to just do quote removal (WRDE_NOCMD) on it?

Probably not for 6.2 though..

Tim.
*/

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic