Hardcoded icon for foo2zjs HPLIP HPLJ launchers

Bug #1299552 reported by Nathanel Titane
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
foo2zjs (Ubuntu)
New
Undecided
Unassigned

Bug Description

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 the .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

description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.