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

 
 

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

Submitted by:  None
Submitted on:  Wed 30 Mar 2016 09:16:47 PM UTC  
 
Category: Configuration and Build SystemSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Other
Status: FixedAssigned to: None
Originator Name: Vincent BermelOriginator Email: -unavailable-
Open/Closed: ClosedRelease: 4.0.1
Operating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project Administrator
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 File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 30 Mar 2016 11:59:48 PM UTCmtmillerStatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1