[pkg-fso-maint] Bug#486317: xterm: missing .desktop files

Luca Capello luca at pca.it
Fri Jun 5 05:35:54 UTC 2009


reopen 486317 !
found 486317 243-1
tags 486317 + patch
user pkg-fso-maint at lists.alioth.debian.org
usertags 486317 + xdg-menu
thanks

Hi there!

I re-openend this bug and changed the submitter to myself.  I have cc:ed
both the original submitter for his information and the pkg-fso-maint@
mailing list since this is important for Debian on the Openmoko Neo
FreeRunner.

On Sat, 21 Jun 2008 11:18:49 +0200, Julien Cristau wrote:
> On Sun, Jun 15, 2008 at 11:34:12 +0200, Josef Spillner wrote:
>> The xterm package contains various graphical applications. They should
>> be accessible through the xdg menu system in addition to the Debian menu
>> entries. I would like to see at least a .desktop file for uxterm.
>> 
> There was one at some point, but the desktop environment people didn't
> seem to like that, so I removed it.  I won't add it unless it's
> requested by gnome/xfce/kde people.

E17 menu considers .desktop files in /u/s/applications, which means that
if xterm does not provide such a file, it is not possible to start it
From the menu.  This is even more important when using the Illume
profile on the Openmoko Neo FreeRunner.

A simple .desktop file based on the one I found on the Ubuntu BTS:

  https://bugs.launchpad.net/ubuntu/+source/xterm/+bug/93151

--8<---------------cut here---------------start------------->8---
[Desktop Entry]
Encoding=UTF-8
Name=XTerm
Comment=X terminal emulator
Icon=xterm-color_32x32
TryExec=xterm
Exec=xterm
Type=Application
Categories=Utility;TerminalEmulator;
StartupNotify=false
--8<---------------cut here---------------end--------------->8---

There are three open questions...

1) The file above is for the xterm binary only, while the xterm package
   provide 4 terminal emulators: I am not sure we need a .desktop file
   for all of them, but I consider lxterm the necessary one, since it
   consider the user locale.

2) According to the latest freedesktop.org menu specification v1.1

     http://standards.freedesktop.org/menu-spec/menu-spec-1.1.html

   TerminalEmulator applications should be part of the System main
   category, thus I quickly checked other main terminal emulators:

   - gnome-terminal is in Utility
   - konsole is in System
   - xfce4-terminal is in both System and Utility

3) I am not sure if the value of StartupNotify is correct, according to
   the latest freedesktop.org desktop entry specification v1.1

     http://standards.freedesktop.org/desktop-entry-spec/desktop-entry-spec-1.1.html

Thx, bye,
Gismo / Luca
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 314 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-fso-maint/attachments/20090605/5b8f0867/attachment.pgp>


More information about the pkg-fso-maint mailing list