[Gpe-list] gpe-irc .desktop file
D Marlin
damarlin at gmail.com
Tue Sep 9 07:28:22 CEST 2008
On Tue, Sep 2, 2008 at 6:34 AM, Florian Boor
<florian.boor at kernelconcepts.de> wrote:
> Hi,
>
> D Marlin schrieb:
>> Back in April I mentioned that I found some non-standard entries in
>> some of the GPE application .desktop files, one of which was the
>> Category "GPE" itself. I submitted a request to freedesktop.org to
>> add GPE as a category, but AFAICT that is not happening. I did
>> receive a suggestion that we could use X-GPE. That is being used by
>> some other desktops, and is acceptable for Categories that are not yet
>> part of the spec.
>
> that's a good idea. I guess we need to change the folder entries then as well.
>
>> -Categories=Application;IRC;GPE;
>> +Categories=Network;IRCClient;GTK;X-GPE;
>
> This looks good so far.
>
>> I do not know how the GPE category is being used, so I don't know if
>> changing it to X-GPE will have any impact on the desktop display for
>> functionality of this or other applications, but the changes seem to
>> work for me.
>
> It depends on the folder files shipped in the file system. I guess the best
> solution would be to spend some time in updating the whole desktop.
> There is matchbox-desktop-2 by now we should be able to use. I assume that we
> have to change some session related stuff and fix minor issues, but the major
> share of the effort should be to try it and identify the issues.
At the moment I'm just trying to get the original bits to build and
install cleanly on my system. ;-)
>> If the above change is acceptable, I can submit a patch, or I could
>> submit a patches to update the .desktop files for all GPE applications
>> to bring them up to spec (at least up to the spec being used on my
>> system).
>
> Yes, please do so.
Attached is a patch to clean up the .desktop[.in[.in]] files in GPE
base. Once I get this in an acceptable form I'll move on to the files
in GPE extra.
Validation was performed using desktop-file-utils-0.12. I attempted
to correct both errors and warnings indicated by
desktop-file-validate. In some cases, I had to make assumptions as to
the original intent.
Please review this patch and provide feedback as to any changes required.
Below is a summary of the changes made.
- Type PanelApp does not exist - replace with Application.
(valid values are Application, Link, and Directory)
- Add Encoding=UTF-8 where no Encoding was specified.
(Note: Encoding is deprecated in newer versions of desktop-file-utils.)
- Change SingleInstance to X-SingleInstance.
- Change boolean values from 0|1 to false|true.
- Enabled StartupNotify and X-SingleInstance for all "Panel Apps".
- Category changes:
-- Category Application is obsolete - removed.
-- Category PIM does not exist - replace with X-PIM.
-- Category GPE does not exist - replace with X-GPE.
-- Category Panel does not exist - replace with X-Panel and add Applet.
-- Category SystemSettings does not exist - replace with System;Settings
-- Category Action does not exist - replace with X-Action.
Questions:
1) Are the categories GPE, PIM, Panel, or Action currently being used
anywhere in GPE (or Matchbox)?
(will these changes break anything?)
The only place I find any of these used is in gpe-appmgr (PIM,
Action, and SystemSettings).
2) Should SystemSettings be replaced by System, Settings, or
System;Settings; (or other) ?
(note: matchbox desktop and panel use System and Setings differently.)
Thank you,
d.marlin
========
>
> Greetings
>
> Florian
>
> --
> The dream of yesterday Florian Boor
> is the hope of today Tel: +49 271-771091-15
> and the reality of tomorrow. Fax: +49 271-771091-19
> [Robert Hutchings Goddard, 1904] florian.boor at kernelconcepts.de
> http://www.kernelconcepts.de/en
>
More information about the Gpe-list
mailing list