Web lists-archives.com

Re: Setting up power-off icon




On 01/06/17 11:48, Lisi Reisz wrote:
On Thursday 01 June 2017 00:17:29 Lisi Reisz wrote:
[Desktop Entry]
[...]
Icon=/usr/share/pixmaps/power-button-off_318-42222.jpg
[...]
I have one that is working via the desktop shortcut - but am now faced with
being unable to change the icon.  (Which is just a gear.)

Lisi, have you tried using a PNG, with a ".png" extension?

https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-1.0.html
https://specifications.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html
"The image files must be one of the types: PNG, XPM, or SVG, and the extension must be ".png", ".xpm", or ".svg" (lower case). The support for SVG files is optional. Implementations that do not support SVGs should just ignore any ".svg" files."

Kind regards,

--
Ben Caradoc-Davies <ben@xxxxxxxxxxxx>
Director
Transient Software Limited <http://transient.nz/>
New Zealand