Message: previous - next
Month: February 2014

Howto best Patch kmenu at Packaging Time?

From: "David C. Rankin" <drankinatty@...>
Date: Sun, 23 Feb 2014 04:12:48 -0600

  Given the minimization of applications in kmenu, what is the proper way to
patch kmenu during packaging to move/add certain applications back to the menu?
Currently there is no konqueror-filemanager in the menu except for the
super-user apps and I will need to add that and a few others back to the menu in
some manner. The Arch crowd is no mom & pop group and I can hear the howls:
"Where is the file manager in the menu?"

  I think we should come up with some common approach for TDE that allows
packagers to easily add/move apps around in the menu at package time. This would
allow packagers to meet the needs of the users that TDE is being packaged for.
If for mom & pop, package the basic menu, if for advanced users give them a
full-featured menu. I do not want to give Arch the impression that TDE is a
stripped-down version of kde.

  How best to do it? Is it best to do it at the XDG level supplying a short menu
for merging, or is it better to just copy the .desktop files out of
/opt/trinity/share/applnk/.hidden to /opt/trinity/share/applications/tde? That
could be done with a few simple lines in a build script and sed can easily alter
the categories of others.

  Developing a consistent way to easily customize the menu at packaging time
seems like a simple way for packagers to better tailor TDE to their target users
while providing a standard way to do it in TDE.

  I welcome your thoughts on that.

David C. Rankin, J.D.,P.E.