FS#48307 - [nvidia-settings] needs proper category in .desktop file

Attached to Project: Arch Linux
Opened by Jens Adam (byte) - Tuesday, 23 February 2016, 11:28 GMT
Last edited by Felix Yan (felixonmars) - Saturday, 23 January 2021, 12:28 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Felix Yan (felixonmars)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 8
Private No

Details

Since the split from nvidia-utils (maybe even before, I didn't search where/how the macro gets replaced) the desktop file contains an invalid category:

$ desktop-file-validate nvidia-settings.desktop
nvidia-settings.desktop: warning: key "Encoding" in group "Desktop Entry" is deprecated
nvidia-settings.desktop: error: value "__NVIDIA_SETTINGS_DESKTOP_CATEGORIES__" for string list key "Categories" in group "Desktop Entry" does not have a semicolon (';') as trailing character

The old one had:
"Categories=Application;Settings;"
This task depends upon

Closed by  Felix Yan (felixonmars)
Saturday, 23 January 2021, 12:28 GMT
Reason for closing:  Fixed
Additional comments about closing:  460.27.04-2
Comment by Alexandre Bouvier (doskoi) - Thursday, 28 April 2016, 17:10 GMT
"Application" is valid for the "Type" key only. "Settings;HardwareSettings;" would be better.
Comment by Darek (blablo) - Wednesday, 24 August 2016, 16:56 GMT Comment by Eli Schwartz (eschwartz) - Sunday, 21 January 2018, 02:43 GMT
Hmm, have you considered filing an upstream issue about this? Currently their desktop file seems kind of useless.
Comment by Guilherme (GUiHKX) - Friday, 03 January 2020, 16:03 GMT
A fix for this can be so easily made using `sed` in the PKGBUILD (like it already does). I don't get it why it hasn't been done already. It's not likely that NVIDIA will fix this upstream anyway. Plus, the Icon section in the desktop file could also use a simple sed'ing, as I've reported here: https://bugs.archlinux.org/task/54495

Loading...