Re: [desktop entry spec] new FullName key

2009-08-12 Thread Francois Gouget
it should contain the name of the application. For example Mozilla Browser. One more note: as far as I can see Gnome makes no use of GenericName. -- Francois Gouget fgou...@codeweavers.com ___ xdg mailing list xdg@lists.freedesktop.org http

Re: [desktop entry spec] new FullName key

2009-08-09 Thread Francois Gouget
traffic analyzer So even in English I'm not sure it's always possible to choose a Name and GenericName pair that can both make sense when looked at individually, and when concatenated. -- Francois Gouget fgou...@codeweavers.com ___ xdg mailing list

Re: [desktop entry spec] new FullName key

2009-08-04 Thread Francois Gouget
: with tooltips showing two fields is easy; but showing three fields is harder. -- Francois Gouget fgou...@codeweavers.com ___ xdg mailing list xdg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xdg

Re: Have a way to dynamically change software associations at distribution level

2009-08-04 Thread Francois Gouget
that problem either... except by being a mechanism that is not used by KDE. But specifying that each desktop environment should use a different mechanism does not sound like a good ideag. -- Francois Gouget fgou...@codeweavers.com ___ xdg mailing list

Re: Have a way to dynamically change software associations at distribution level

2009-08-04 Thread Francois Gouget
to second guess the multiplier that's going to be applied to them -- Francois Gouget fgou...@codeweavers.com ___ xdg mailing list xdg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xdg

Re: Identifying applications from windows to .desktop files

2009-02-25 Thread Francois Gouget
Milan Bouchet-Valat a écrit : Le mardi 24 février 2009 à 23:38 +0100, Francois Gouget a écrit : On Sun, 22 Feb 2009, Milan Bouchet-Valat wrote: [...] We are now tracking applications usage to build stats and present the user with the most used apps. For this, we identify windows

Re: Identifying applications from windows to .desktop files

2009-02-25 Thread Francois Gouget
the window name/class? Why not enumerate running processes to identify which binary is running? From that binary it seems like you could get back to the package name if needed. -- Francois Gouget fgou...@free.fr http://fgouget.free.fr/ Research is the transformation

Re: Menu-spec test suite changes

2007-01-30 Thread Francois Gouget
dan sinclair wrote: Francois Gouget wrote: [...] Where can I find this test suite? All that I found is the xdg-utils test suite but that seems to be something else entirely. http://portland.freedesktop.org/wiki/TestSuite It's in CVS. Not sure if it exists outside of there: http

Re: Menu-spec test suite changes

2007-01-29 Thread Francois Gouget
but that seems to be something else entirely. http://portland.freedesktop.org/wiki/TestSuite -- Francois Gouget [EMAIL PROTECTED] ___ xdg mailing list xdg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xdg

Re: PATCH: Desktop entry spec - Exec key

2006-08-08 Thread Francois Gouget
if a filename contains a space and the parameter is %f, that is it already has enclosing double-quotes? (or enclosing single-quotes for that matter) I believe that the current practice is to do what's expected, that is still make sure the filename is correctly quoted. -- Francois Gouget [EMAIL PROTECTED

Re: Security issue with .desktop files revisited

2006-04-12 Thread Francois Gouget
that it must be flexible enough to allow stuff like Exec=/opt/cxoffice/bin/wine --workdir C:Program FilesQuickTime --check --cx-app C:Program FilesQuickTimeQuickTimePlayer.exe (all on one line of course) while not allowing Exec=rm -rf / -- Francois Gouget [EMAIL PROTECTED

Re: Security issue with .desktop files revisited

2006-04-12 Thread Francois Gouget
without a +x bit set; those too can be executed by doing 'sh script.sh', same as .desktop files with a different parser. A .sh file that does not have the +x bit set cannot be run by clicking on it in a file browser or on the desktop. A .desktop file does run in that case. -- Francois Gouget [EMAIL

Re: Exec in .desktop (was Re: Security issue with .desktop files revisited)

2006-03-29 Thread Francois Gouget
Vincent Untz wrote: On Tue, March 28, 2006 11:32, Francois Gouget wrote: Not even. First KDE, at least, lets you specify multiple commands separated by semi-colon so you could drop the 'sh -c': Exec=/usr/X11R6/bin/xeyes;/usr/X11R6/bin/xeyes Wow. Does the spec allow this? I believe

Re: Security issue with .desktop files revisited

2006-03-28 Thread Francois Gouget
on a .desktop file in the users home dir is then treated as a don't trust marker. Which is kind of the opposite of its normal meaning which can be taken to be 'I trust this file enough that I am willing to execute it'. -- Francois Gouget [EMAIL PROTECTED

Re: Security issue with .desktop files revisited

2006-03-28 Thread Francois Gouget
solution is really needed, then requiring .desktop files to have the execute bit set in order to run seems to be the only meaningful and sane solution. But even putting that in place will take some time... -- Francois Gouget [EMAIL PROTECTED] ___ xdg

Re: Security issue with .desktop files revisited

2006-03-28 Thread Francois Gouget
to mandate that bash, zsh, dash and all other shells must also make an exception for .desktop files! As they say 'this way lies insanity'. -- Francois Gouget [EMAIL PROTECTED] ___ xdg mailing list xdg@lists.freedesktop.org http://lists.freedesktop.org

Re: Security issue with .desktop files revisited

2006-03-28 Thread Francois Gouget
in graphics programs. Now if desktop files were to start with '#!/usr/bin/whatever', then making the trusted ones executable could make sense. -- Francois Gouget [EMAIL PROTECTED] ___ xdg mailing list xdg@lists.freedesktop.org http

Re: Security issue with .desktop files revisited

2006-03-28 Thread Francois Gouget
Mike Hearn wrote: Francois Gouget wrote: Right. So now tools like wget (and shells, see below) have to know about KDE/Gnome internal concepts like desktop files! And you criticize Windows design? Not really, anything is better than nothing - does Firefox set the unsafe EA on Windows

Re: Security issue with .desktop files revisited

2006-03-28 Thread Francois Gouget
. -- Francois Gouget [EMAIL PROTECTED] ___ xdg mailing list xdg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xdg

Re: Security issue with .desktop files revisited

2006-03-28 Thread Francois Gouget
? Permission bits are not there just for anyone to redefine on a whim! -- Francois Gouget [EMAIL PROTECTED] ___ xdg mailing list xdg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xdg

Re: Menu-spec update (Was: [Patch] Update 'How to' to clarify computation of datadir)

2006-03-22 Thread Francois Gouget
by the desktop environment. So locations like /opt/isv_package/share don't qualify. -- Francois Gouget [EMAIL PROTECTED] ___ xdg mailing list xdg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xdg

Re: Menu-spec update

2006-03-22 Thread Francois Gouget
Kevin Krammer wrote: On Wednesday 22 March 2006 11:25, Francois Gouget wrote: [...] Well, at least Debian seems to have /usr/local owned root.staff and group writeable. I checked with a couple of friends to be sure that this isn't a local modification of mine. Strange. I am using Debian too

Re: Menu-spec update (Was: [Patch] Update 'How to' to clarify computation of datadir)

2006-03-22 Thread Francois Gouget
cobaco (aka Bart Cornelis) wrote: On Wednesday 22 March 2006 11:25, Francois Gouget wrote: [...] Looking at XDG_*_DIRS and checking which directories are writable is easy enough and essentially what Jeremy proposed. But that's not what the specification says an ISV should do. The new

Re: Menu-spec update (Was: [Patch] Update 'How to' to clarify computation of datadir)

2006-03-22 Thread Francois Gouget
was to, as its name implies, make things standard, not just across Gnome / KDE / ROX, but also across Linux distributions: we have the FHS and LSB for basic system packages and FreeDesktop for all desktop oriented things. -- Francois Gouget [EMAIL PROTECTED

Re: Menu-spec update (Was: [Patch] Update 'How to' to clarify computation of datadir)

2006-03-22 Thread Francois Gouget
? Maybe I need to reread it (it's been a long time). If so, then I agree that FD.o should either follow the FHS or have a good reason not to. If you want to make the standards standard, they all need to work together, not disagree with each other all over the place. Agreed. -- Francois Gouget

KDE/Gnome inconsistency in associations

2006-01-06 Thread Francois Gouget
. To avoid that, one must double the ampersand. But then one gets '' in Gnome. The Desktop Entry Specification says nothing on the subject. Hence the question: Which of KDE or Gnome is right? -- Francois Gouget [EMAIL PROTECTED] [Desktop Entry] Encoding=UTF-8 Type=Application NoDisplay=true Icon