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!
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!
FS#44294 - [cuda] 6.5.19-1 Hardcoded icons in .desktop files
Attached to Project:
Community Packages
Opened by Henrique Lechner (hlechner) - Sunday, 22 March 2015, 00:15 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Sunday, 22 March 2015, 05:46 GMT
Opened by Henrique Lechner (hlechner) - Sunday, 22 March 2015, 00:15 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Sunday, 22 March 2015, 05:46 GMT
|
DetailsDescription:
The two files inside /usr/share/applications: nsight.desktop and nvvp.desktop uses hardcoded icons (explicit uses the full path instead just the icon name): nsight.desktop: Icon=/opt/cuda/libnsight/icon.xpm nvvp.desktop: Icon=/opt/cuda/libnvvp/icon.xpm There is no desktop file inside the upstream package or also in ubuntu package for example. The problem is because the icon theme developers can't change the icon for this application, in other words: these icons will be inconsistent in design theme. Additional info: * package version(s): cuda 6.5.19-1 x86_64 Steps to reproduce: - Create an icon named "nsight.png" and "nvvp.png" inside your icon theme folder. - You will check that this icon will not replace the default one. You can check the desktop files by the following commands: $ cat /usr/share/applications/nsight.desktop | grep "Icon=" $ cat /usr/share/applications/nvvp.desktop | grep "Icon=" Steps to solve it: - Create a symbolic link for these two files: /usr/share/pixmaps/nsight.xpm -> /opt/cuda/libnsight/icon.xpm /usr/share/pixmaps/nvvp.desktop -> /opt/cuda/libnvvp/icon.xpm - Modify /usr/share/applications/nsight.desktop file: from: Icon=/opt/cuda/libnsight/icon.xpm to: Icon=nsight - Modify /usr/share/applications/nvvp.desktop file: from: Icon=/opt/cuda/libnvvp/icon.xpm to: Icon=nvvp Steps to solve - description: Creating the symlink and changing the desktop files will allow the icon be loaded normally by .desktop files as before, however it will give the possibility to icon theme developers use their own icons for this app, making the desktop design consistent. |
This task depends upon
Closed by Sven-Hendrik Haase (Svenstaro)
Sunday, 22 March 2015, 05:46 GMT
Reason for closing: Upstream
Sunday, 22 March 2015, 05:46 GMT
Reason for closing: Upstream
I'll try to contact them.