Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#48452 - [lxmenu-data] overwrites existing lxde-applications.menu

Attached to Project: Community Packages
Opened by Kevin Knerr (barthel) - Friday, 04 March 2016, 16:42 GMT
Last edited by Balló György (City-busz) - Friday, 08 April 2016, 14:17 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Balló György (City-busz)
Alexandre Filgueira (faidoc)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: Package doesn't check for user modifications and overwrites existing files instead of saving the new version with a ".pacnew" extension or saving the user's version with a ".pacsave" extension


Additional info:
* package version(s) lxmenu-data 0.1.5-1
* config and/or log files etc.


Steps to reproduce: Upgrade. Customized menus are gone.

I have heavily modified my xdg menus to eliminate items I don't want to see, to group items like games into submenus, to deal with issues arising from poorly crafted .desktop files, and to correct issues where the freedesktop.org spec wasn't followed.

Fortunately, I've kept prior copies archived, so I can recover all of my work except the most recent change. However, I would prefer to have the package recognize modified configuration files. (I got caught because it's been nearly 18 months since the last change to this package.)
This task depends upon

Closed by  Balló György (City-busz)
Friday, 08 April 2016, 14:17 GMT
Reason for closing:  Won't implement
Additional comments about closing:  I want to follow how other packages in [extra] do this.
Comment by Balló György (City-busz) - Friday, 04 March 2016, 20:17 GMT
I don't think that this file is supposed to be modified by the user. You could create a copy of this file into your user's directory, and customize it for your needs:

cp /etc/xdg/menus/lxde-applications.menu ~/.config/menus/lxde-applications.menu
Comment by Kevin Knerr (barthel) - Tuesday, 08 March 2016, 21:56 GMT
  • Field changed: Percent Complete (100% → 0%)
With respect, system-wide changes should go under /etc.

My reading of the freedesktop.org spec doesn't suggest that this file should not be edited, only that it is the system lxde-applications.menu which should be merged into the user's lxde-applications.menu.
Comment by Balló György (City-busz) - Monday, 14 March 2016, 21:49 GMT
Jan, what do you think as the maintainer of gnome-menus? Should be add /etc/xdg/menus/*.menu files to backup array or not?
Comment by Balló György (City-busz) - Friday, 08 April 2016, 14:16 GMT
No response from Jan.

I want to follow how other packages in the [extra] repository implement it, so if you want to see this change, then you have to ask it for e.g. the gnome-menus package first.

Loading...