Comment 0 for bug 1299552

Revision history for this message
Nathanel Titane (nathanel.titane) wrote :

The launcher under /usr/share/applications known as hplj1020.desktop and other similar foo2zjs derived launchers use a hardcoded 'Icon=' path rather than using the freedesktop standard ( http://www.freedesktop.org/wiki/Howto_desktop_files/)

Temporary workarounds:

Manually editing string in synergy.desktop file under /usr/share/applications/ to append 'normal' icon name/path

Additional comments:

Trivial bug yet very important to prevent inexperienced user root access and modification of system files
Needed to prevent system-wide icon theme 'breakage' from non standard 'Icon=' path that should normally refer to /usr/share/icons/... when using third party or user-enabled themes (Faenza, Numix, etc.)

Before:

[Desktop Entry]
Name=Reactivate HP LaserJet 1018/1020 after reloading paper
Comment=Click the button in this program when your printer ran out of paper and you have refilled the paper
# zExec=usb_printerid /dev/usb/lp0
Exec=/usr/share/foo2zjs/hplj10xx_gui.tcl
Terminal=false
Type=Application
Icon=Icon=/usr/share/pixmaps/hplj1020_icon.
StartupNotify=true
Categories=System;
X-Desktop-File-Install-Version=0.10
NoDisplay=true

After:

[Desktop Entry]
Name=Reactivate HP LaserJet 1018/1020 after reloading paper
Comment=Click the button in this program when your printer ran out of paper and you have refilled the paper
# zExec=usb_printerid /dev/usb/lp0
Exec=/usr/share/foo2zjs/hplj10xx_gui.tcl
Terminal=false
Type=Application
Icon=printer
StartupNotify=true
Categories=System;
X-Desktop-File-Install-Version=0.10
NoDisplay=true