Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 612058

Summary: games-emulation/dosbox - desktop file uses absolute icon path
Product: Gentoo Linux Reporter: Anders Blebstrup-Pedersen <abp>
Component: Current packagesAssignee: Gentoo Games <games>
Status: RESOLVED CANTFIX    
Severity: normal CC: wine
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Anders Blebstrup-Pedersen 2017-03-08 14:59:44 UTC
Hi

I'm in the middle of going over my gentoo system unifying the entire system as much as possible.
I noticed that dosbox is using and absolute path for its .desktop
This means it breaks the consistency for users who wants to use icon packs on their gentoo system.

At this time the .desktop file is 

[Desktop Entry]
Name=DOSBox
Type=Application
Comment=DOS emulator
Exec=dosbox
TryExec=dosbox
Icon=/usr/share/pixmaps/dosbox.ico
Categories=Game;Emulator;

I suggest changing it to:

[Desktop Entry]
Name=DOSBox
Type=Application
Comment=DOS emulator
Exec=dosbox
TryExec=dosbox
Icon=dosbox
Categories=Game;Emulator;

if it does not break anything else.
Comment 1 James Le Cuirot gentoo-dev 2018-09-09 19:01:56 UTC
ICO files don't seem to work unless an absolute path is given, at least under Xfce. It's annoying that they don't provide another format.