[Slackbuilds-users] Proper Method to Categorize Desktop Apps

Konrad J Hambrick kjhambrick at gmail.com
Mon May 2 10:09:11 UTC 2022


On Sun, May 1, 2022 at 12:09 PM B. Watson <urchlay at slackware.uk> wrote:

>
>
> On Sun, 1 May 2022, Konrad J Hambrick wrote:
>
> > Question:  is there a better way ( or a recommended way ) to enter long,
> > formatted
> > lists of text like NEW_CAT in the code snippet below ?
>
> There's an easier-to-read way to do the same thing: include your own
> .desktop file(s) with your SlackBuild, and overwrite the one(s) from
> 'make install' with your own:
>
> cat $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop
>
> I do this if the sed or whatever code that changes the .desktop gets
> to be too long or complex.
>
> <<snip>>

Thanks for the feedback B.Watson.

I like your idea a lot !

One thing I've noticed is that .desktop internationalization among the SBo
Packages is spotty at best.

This would be one way to start addressing  that 'need' -- all we need is an
army of volunteer translators :)

-- kjh(<G> I am a 'merkin and I don't need no steenkin' UTF8 <G>)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20220502/0783daad/attachment.htm>


More information about the SlackBuilds-users mailing list