Re: Request for clarification on menu/file spec

2006-02-07 Thread Thiago Macieira
Jeremy White wrote: So my need is to figure out where to stick a .desktop file so that it will show up in her menu and will correctly launch my app. If you choose an /opt prefix, the .desktop file should be in /opt/app-name/share/applications That means the user has to set it up to see it and to

Re: Request for clarification on menu/file spec

2006-02-07 Thread Jeremy White
If you choose an /opt prefix, the .desktop file should be in /opt/app-name/share/applications Gah You are not understanding. I am giving the *user* the choice of where to install the software to. They can pick /blamblam if they feel like it. And if they do pick /blamblam, it is

Re: Proposal for better handling of mimetype icon themeing

2006-02-07 Thread Alexander Larsson
On Mon, 2006-02-06 at 15:42 -0500, Rodney Dawes wrote: On Mon, 2006-02-06 at 15:02 +0100, Alexander Larsson wrote: We're in violent agreement then. Lets start by getting the actual spec additions in, and then we can start using it in steps. Yes we are. Indeed. Getting all this in and

Re: update-desktop-database location

2006-02-07 Thread Christian Westgaard
On Mon, 06 Feb 2006 16:25:15 +0100, Stanislav Brabec [EMAIL PROTECTED] wrote: Matthias Clasen wrote: On Mon, 2006-02-06 at 15:46 +0100, Christian Westgaard wrote: http://standards.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html Does not specify the location of the

Re: update-desktop-database location

2006-02-07 Thread Matthias Clasen
On Tue, 2006-02-07 at 15:34 +0100, Christian Westgaard wrote: On Mon, 06 Feb 2006 16:14:03 +0100, Matthias Clasen [EMAIL PROTECTED] wrote: On Mon, 2006-02-06 at 15:46 +0100, Christian Westgaard wrote: http://standards.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html

Re: update-desktop-database location

2006-02-07 Thread Christian Westgaard
On Tue, 07 Feb 2006 15:51:25 +0100, Matthias Clasen [EMAIL PROTECTED] wrote: On Tue, 2006-02-07 at 15:34 +0100, Christian Westgaard wrote: On Mon, 06 Feb 2006 16:14:03 +0100, Matthias Clasen [EMAIL PROTECTED] wrote: On Mon, 2006-02-06 at 15:46 +0100, Christian Westgaard wrote:

Re: Request for clarification on menu/file spec

2006-02-07 Thread Jeremy White
Linux (or Unixes afaict) does not work that way. For better or worse, you are not meant to be able to do that. With all due respect, I find that hard to believe. You are saying that you are not meant to be able to create a menu entry programatically? That you can only do it with ./configure

Re: update-desktop-database location

2006-02-07 Thread Stanislav Brabec
Christian Westgaard píše v Út 07. 02. 2006 v 15:45 +0100: But you can use: update-desktop-database 2/dev/null || true Or specifically in current version of SuSE: SuSEconfig --module desktop-file-utils It is started after installation of any package. I thought the idea was, not to

Re: update-desktop-database location

2006-02-07 Thread Daniel Stone
On Tue, Feb 07, 2006 at 04:52:39PM +0100, Stanislav Brabec wrote: Daniel Stone wrote: On Tue, Feb 07, 2006 at 04:40:56PM +0100, Stanislav Brabec wrote: And what about adding pkg-config file desktop-file-utils.pc, as other packages do. It can provide correct value of prefix, bindir etc.

Re: update-desktop-database location

2006-02-07 Thread Stanislav Brabec
Daniel Stone píše v Út 07. 02. 2006 v 15:55 +: On Tue, Feb 07, 2006 at 04:52:39PM +0100, Stanislav Brabec wrote: In difference to PATH (and which binary), pkg-config is intended to answer questions like: - Is package desktop-file-utils installed? if which desktop-file-utils

Re: update-desktop-database location

2006-02-07 Thread Daniel Stone
On Tue, Feb 07, 2006 at 04:40:56PM +0100, Stanislav Brabec wrote: Christian Westgaard p??e v ?t 07. 02. 2006 v 15:45 +0100: But you can use: update-desktop-database 2/dev/null || true Or specifically in current version of SuSE: SuSEconfig --module desktop-file-utils It is

Re: update-desktop-database location

2006-02-07 Thread Stanislav Brabec
Aaron J. Seigo writes: For historical reasons, binary compatibility and lack of features in RPM it is not easy to move. symlinks? If you replace directory by symlink during version update, RPM will delete your new files. Once RPM will be able to do this correctly, it would be easy to

Re: Request for clarification on menu/file spec

2006-02-07 Thread Ludwig Nussel
On Tuesday 07 February 2006 14:39, Jeremy White wrote: If you choose an /opt prefix, the .desktop file should be in /opt/app-name/share/applications Gah You are not understanding. I am giving the *user* the choice of where to install the software to. They can pick /blamblam if

Re: Request for clarification on menu/file spec

2006-02-07 Thread Jeremy White
loki-setup has special handling for desktop files. It will by itself try to automatically determine what kind of files are required and where to install them. So you as packager do not have to care. It doesn't support xdg desktop files yet though. loki-setup follows a Right; and part of what

Re: Request for clarification on menu/file spec

2006-02-07 Thread Thiago Macieira
Jeremy White wrote:  The whole problem is when you say 'try $XDG_DATA_DIRS', what exactly does that mean?  I'm trying to write a single .desktop file; do I write it to every directory listed in $XDG_DATA_DIRS?  Do I write it just to the first directory, or do I (my personal favorite) write it to

Re: Request for clarification on menu/file spec

2006-02-07 Thread Kevin Krammer
On Tuesday 07 February 2006 18:31, Thiago Macieira wrote: Jeremy White wrote:  The whole problem is when you say 'try $XDG_DATA_DIRS', what exactly does that mean?  I'm trying to write a single .desktop file; do I write it to every directory listed in $XDG_DATA_DIRS?  Do I write it just to

Re: Request for clarification on menu/file spec

2006-02-07 Thread Aaron J. Seigo
On Tuesday 07 February 2006 11:17, Kevin Krammer wrote: Maybe freedeskop.org should specify a file where the variables have to be defined, something like /etc/xdg.conf Something like if environment variable XDG_DATA_DIRS is set, use the directories listed there to look for file. If not set

Re: Request for clarification on menu/file spec

2006-02-07 Thread Waldo Bastian
On Tuesday 07 February 2006 10:59, Aaron J. Seigo wrote: On Tuesday 07 February 2006 11:17, Kevin Krammer wrote: Maybe freedeskop.org should specify a file where the variables have to be defined, something like /etc/xdg.conf Something like if environment variable XDG_DATA_DIRS is set,

Re: systray specification...

2006-02-07 Thread The Rasterman
On Fri, 3 Feb 2006 07:19:31 -0700 Aaron J. Seigo [EMAIL PROTECTED] babbled: On Friday 03 February 2006 03:32, Carsten Haitzler wrote: OK - for now i've dropped the menu stuff. i've attached a much mroe detailed description of spec additions in the new_systray.txt. please read it over and