#994099 twclock: improve .desktop file

Package:
twclock
Source:
twclock
Description:
World clock for ham radio operators
Submitter:
Daniele Forsi
Date:
2021-09-16 21:30:03 UTC
Severity:
normal
Tags:
#994099#5
Date:
2021-09-11 18:37:20 UTC
From:
To:
Dear maintainer,

I'm attaching a patch tested under KDE that adds to twclok.desktop:
* an Exec line otherwise there is no  entry visible in the menu of the desktop environment
* an Italian translation for Comment
* two more categories (Clock and Motif)

thanks,
Daniele

#994099#8
Date:
2021-09-11 19:54:52 UTC
From:
To:
Re: Daniele Forsi

Hi Daniele,

it looks like you forgot the attachment.

Christoph

#994099#13
Date:
2021-09-11 20:03:10 UTC
From:
To:
you are right, here it is
(reportbug doesn't complain if you type the wrong filename: it just
prompts again for a filename!)

#994099#16
Date:
2021-09-11 20:54:44 UTC
From:
To:
Re: Daniele Forsi

Thanks!

Exec was actually removed in the last upload.

Ervin, do you remember why that was done? Afaict without "Exec", the
program won't be launched. (But I'm not a .desktop user)

Christoph

#994099#21
Date:
2021-09-12 12:16:59 UTC
From:
To:
Hi folks,


thanks for all - I will take a look it soon.

as I remember, that was some policy issue. I'm sure the lintian
reported that. But I have to check that too.


73, Ervin

#994099#26
Date:
2021-09-12 19:03:25 UTC
From:
To:
Hi Christoph,

this was the lintian tag why I removed the Exec:

https://lintian.debian.org/tags/command-in-menu-file-and-desktop-file

Now I remember when I prepared this package, I had a Debian SID
desktop (in a VM), and I played with that. First I tryed to
remove the d/menu as the lintian page proposes, but then the
installer didn't create any menu entry.

In next days, I'l install a Debian SID and a testing desktop
systems, and will try to play on them again.


73, Ervin

#994099#31
Date:
2021-09-12 20:02:47 UTC
From:
To:
Ervin Hegedüs wrote:

that lintian pages tells to remove the menu file
/usr/share/menu/twclock not the Exec line

#994099#36
Date:
2021-09-13 04:32:02 UTC
From:
To:
Hi Daniele,

thanks - that's what I also wrote here:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=994099#26

but first I have to check the behavior without menu file.

73, Ervin

#994099#41
Date:
2021-09-16 21:27:24 UTC
From:
To:
Hi there,
environments.

For now I checked the .desktop file (with and without d/menu
file) that .desktop contained the 'Exec'.

I installed both versions, without any difference.

When I start to type in the search field of Start menu, then I
can find the twclock, and is starts when I click it.

But the installer does not put it under any existing menu.

I've made a counter-test: downloaded the grig package, created
d/menu file, built the package and installed it. The installer
put the package under the "Other" menu item.

Actually, no conclusion. I think I have to make more researches.


73, Ervin