bugGNU Octave - Bugs: bug #47577, Non-standard icon path in launcher...

 
 

bug #47577: Non-standard icon path in launcher for GNU/Linux systems

Submitter:  None
Submitted:  Wed 30 Mar 2016 09:16:47 PM UTC
   
 
Category:  Configuration and Build System Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Other
Status:  Fixed Assigned to:  None
Originator Name:  Vincent Bermel Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * 4.0.1
Operating System:  * GNU/Linux Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 02 Apr 2016 03:19:41 PM UTC, comment #2: 

Thank you for the quick fix.

Vincent Bermel <willov>
Wed 30 Mar 2016 11:59:48 PM UTC, comment #1: 

Thanks for the report. The install rules were actually updated a little while ago so we already do install the application icon in different sizes and into the correct themed directories.

The desktop file is now updated to refer to the correct icon basename so this should work.

http://hg.savannah.gnu.org/hgweb/octave/rev/87fc55416513

Mike Miller <mtmiller>
Group Member
Wed 30 Mar 2016 09:16:47 PM UTC, original submission:  

Hi,
I'm referring to the following file:
http://hg.savannah.gnu.org/hgweb/octave/file/d42aa6780175/etc/icons/octave.desktop.in

currently the icon path specified in the .desktop.in file is hardcoded to:
Icon=%OCTAVE_IMAGEDIR%/octave-logo.svg

In the created .desktop launcher file this evaluates to the following absolute path:
Icon=/usr/share/octave/4.0.1/imagelib/octave-logo.svg

This prevents icon theming without editing the launcher file.

According to the resources linked below freedesktop.org standard application launcher icon locations are:
/usr/share/icons/hicolor/[size]/apps/[icon name]
~/.local/share/icons/hicolor/[size]/apps/[icon name]
/usr/share/pixmaps/[icon name]


Please find more info regarding the freedesktop standard here:
http://standards.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html

According to the standard and w.r.t. the icon lookup mechanisms of GNU/Linux DEs for an icon installed to a standard location you can change the icon path line to simply:
Icon=octave

Just the icon name, no file extension needed.

Could you please move the icon to one of those standard locations and adjust the Icon=... line in the .desktop file accordingly?

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by willov (Posted a comment)
  • -email is unavailable- added by mtmiller (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-03-30 mtmiller StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code