Choose style:

Author Topic: Ice custom icon does not work  (Read 5428 times)

0 Members and 1 Guest are viewing this topic.

Offline paulus

  • Member
  • ***
  • Posts: 194
  • Karma: 4
  • New Forum User
    • View Profile
  • Peppermint version(s): Peppermint 10
Ice custom icon does not work
« on: July 31, 2015, 12:58:32 pm »
Hi all!

I really love Peppermint OS, not in the last place for its ability of adding site specific browsers (SSB's) by using Ice! ;)

I tried to add a SSB for Google Drive, and choose in the Ice setup for "Use site favicon", and this worked out: it showed the well known triangle in three colors, the icon of Google Drive. After making I doubted if this SSB was already there, installed during the installation of Peppermint OS 6, but anyway: it works very well.

After adding Google Inbox as a SSB and choosing "Use site favicon", it didn't show the envelop of Google Inbox, but in stead it showed the icon of Ice itself! :(

I then tried to choose the option for "Select an icon", after having downloaded the appropriate icon of Google Inbox (the envelop icon in .png format), but it showed still the Ice icon. I tried to put the icon into the folder of Ice: "user/share/pixmaps" as root (not possible as user), but again: no custom Google Inbox icon. I then put the icon into the home folder "Pictures", of whatever this name is in English, but again: no icon. Finally I put it into the home folder itself, but again: no icon! >:(

I looked in the folder of the pictures of Ice, and discovered that icons of apps I installed, e.g. "Opera Beta", do show up.

How could I make use of the option of adding custom icons to SSB's composed by Ice?

Thank you for looking to this thread and trying to give a solution!

paulus

Offline AndyInMokum

  • Global Moderator
  • Hero
  • *****
  • Posts: 4893
  • Karma: 1053
  • "Keep on Rockin' in the Free World"
    • View Profile
  • Peppermint version(s): PM 9 & PM 10 (64-bit)
Re: Ice custom icon does not work
« Reply #1 on: July 31, 2015, 01:52:24 pm »
Hi paulus, make sure the icons you're using are either in .png or .xpm format.  I use GIMP export in the correct format.  I also like to have my icons available globally, so I save them as root in:
Code: [Select]
/usr/share/pixmaps
I've never had a problem selecting my own icons in ICE using this method.  I hope this helps  ;).
Backup! Backup! Backup! If you're missing any of these -  you ain't Backed Up!
For my system info please L/click HERE.

Offline paulus

  • Member
  • ***
  • Posts: 194
  • Karma: 4
  • New Forum User
    • View Profile
  • Peppermint version(s): Peppermint 10
Re: Ice custom icon does not work
« Reply #2 on: July 31, 2015, 02:10:38 pm »
Hi paulus, make sure the icons you're using are either in .png or .xpm format.  I use GIMP export in the correct format.  I also like to have my icons available globally, so I save them as root in:
Code: [Select]
/usr/share/pixmaps
I've never had a problem selecting my own icons in ICE using this method.  I hope this helps  ;).

That's what I did, as I mentioned in my start post:
1) I used .png format;
2) I copied the icon as root into the "/usr/share/pixmaps" folder.

So everything you suggested I already did. Nevertheless: thanks for your contribution! ;)

BTW: I noticed that the size of my custom .png was >10 kB (about 16 kB, I think), and almost any icon in the pixmaps folder is <10 kB. Has this any influence on the usability in Ice?

Is there anything else I could try?

Offline AndyInMokum

  • Global Moderator
  • Hero
  • *****
  • Posts: 4893
  • Karma: 1053
  • "Keep on Rockin' in the Free World"
    • View Profile
  • Peppermint version(s): PM 9 & PM 10 (64-bit)
Re: Ice custom icon does not work
« Reply #3 on: July 31, 2015, 04:18:48 pm »
Hi paulus, make sure the icons you're using are either in .png or .xpm format.  I use GIMP export in the correct format.  I also like to have my icons available globally, so I save them as root in:
Code: [Select]
/usr/share/pixmaps
I've never had a problem selecting my own icons in ICE using this method.  I hope this helps  ;).

That's what I did, as I mentioned in my start post:
1) I used .png format;
2) I copied the icon as root into the "/usr/share/pixmaps" folder.

So everything you suggested I already did. Nevertheless: thanks for your contribution! ;)

BTW: I noticed that the size of my custom .png was >10 kB (about 16 kB, I think), and almost any icon in the pixmaps folder is <10 kB. Has this any influence on the usability in Ice?

Is there anything else I could try?
Try this.  If you haven't already done this, Install GIMP
Code: [Select]
apt install gimp
Open your custom .png in GIMP.  Select: File > Export As....  In the new window, select from: Places in the left hand column your target.  Click on: Select File Type (By Extension).  Select from the dropdown list: X PixMap Image and click on: Export.  Move this image as root to: /usr/share/pixmaps.  Does the image now work in ICE  :-\?
Backup! Backup! Backup! If you're missing any of these -  you ain't Backed Up!
For my system info please L/click HERE.

Offline paulus

  • Member
  • ***
  • Posts: 194
  • Karma: 4
  • New Forum User
    • View Profile
  • Peppermint version(s): Peppermint 10
Re: Ice custom icon does not work
« Reply #4 on: July 31, 2015, 05:11:15 pm »
Hi paulus, make sure the icons you're using are either in .png or .xpm format.  I use GIMP export in the correct format.  I also like to have my icons available globally, so I save them as root in:
Code: [Select]
/usr/share/pixmaps
I've never had a problem selecting my own icons in ICE using this method.  I hope this helps  ;).

That's what I did, as I mentioned in my start post:
1) I used .png format;
2) I copied the icon as root into the "/usr/share/pixmaps" folder.

So everything you suggested I already did. Nevertheless: thanks for your contribution! ;)

BTW: I noticed that the size of my custom .png was >10 kB (about 16 kB, I think), and almost any icon in the pixmaps folder is <10 kB. Has this any influence on the usability in Ice?

Is there anything else I could try?
Try this.  If you haven't already done this, Install GIMP
Code: [Select]
apt install gimp
Open your custom .png in GIMP.  Select: File > Export As....  In the new window, select from: Places in the left hand column your target.  Click on: Select File Type (By Extension).  Select from the dropdown list: X PixMap Image and click on: Export.  Move this image as root to: /usr/share/pixmaps.  Does the image now work in ICE  :-\?

Hi, AndyInMokum,

I did just as you wrote, but still the same result! :o

Any idea what could be the cause of this problem?

Offline AndyInMokum

  • Global Moderator
  • Hero
  • *****
  • Posts: 4893
  • Karma: 1053
  • "Keep on Rockin' in the Free World"
    • View Profile
  • Peppermint version(s): PM 9 & PM 10 (64-bit)
Re: Ice custom icon does not work
« Reply #5 on: July 31, 2015, 05:30:58 pm »
Hi paulus, sorry I've run out of suggestions  :(.  I have no idea why it's not working.  Maybe someone else will have an inspired thought  ;D.  I hope you get it resolved - good luck  ;)!
Backup! Backup! Backup! If you're missing any of these -  you ain't Backed Up!
For my system info please L/click HERE.

Offline AndyInMokum

  • Global Moderator
  • Hero
  • *****
  • Posts: 4893
  • Karma: 1053
  • "Keep on Rockin' in the Free World"
    • View Profile
  • Peppermint version(s): PM 9 & PM 10 (64-bit)
Re: Ice custom icon does not work
« Reply #6 on: July 31, 2015, 05:48:40 pm »
Hi paulus, sorry I've run out of suggestions  :(.  I have no idea why it's not working.  Maybe someone else will have an inspired thought  ;D.  I hope you get it resolved - good luck  ;)!
Just a final thought.  Have you run a full system update and upgrade?  If not, run the following commands in sequence:
Code: [Select]
apt update && apt upgrade
Followed by
Code: [Select]
apt dist-upgrade
Now reboot your system.  Has this made a difference  :-\?
Backup! Backup! Backup! If you're missing any of these -  you ain't Backed Up!
For my system info please L/click HERE.

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26466
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Ice custom icon does not work
« Reply #7 on: July 31, 2015, 06:34:16 pm »
whats the name of your SSB, and what's the output from:
Code: [Select]
ls ~/.local/share/applications

and can you host the image file you're using for the SSB and provide a link so we can test  it ?
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline paulus

  • Member
  • ***
  • Posts: 194
  • Karma: 4
  • New Forum User
    • View Profile
  • Peppermint version(s): Peppermint 10
Re: Ice custom icon does not work
« Reply #8 on: July 31, 2015, 06:54:31 pm »
Hi AndyInMokum,

Thanks again for trying to think along with the problem!

Unfortunately it did not lead to a solution. I followed your instructions, which removed an old and obsolete image, so that was not for nothing. ;D

But it did not bring the expected solution.

Maybe I should just let go to look for a solution: it is not the end of the world, of course! :'(

It's just a matter of cosmetics; in fact Ice is working and showing the right site, though not showing the right icon. ::)

Offline paulus

  • Member
  • ***
  • Posts: 194
  • Karma: 4
  • New Forum User
    • View Profile
  • Peppermint version(s): Peppermint 10
Re: Ice custom icon does not work
« Reply #9 on: July 31, 2015, 07:01:59 pm »
whats the name of your SSB, and what's the output from:
Code: [Select]
ls ~/.local/share/applications

and can you host the image file you're using for the SSB and provide a link so we can test  it ?
Sorry, I just saw your post after sending my last posting!

Here it is 1 o'clock in the morning, but tomorrow I will post back with the answers on your questions!

paulus

Offline paulus

  • Member
  • ***
  • Posts: 194
  • Karma: 4
  • New Forum User
    • View Profile
  • Peppermint version(s): Peppermint 10
Re: Ice custom icon does not work
« Reply #10 on: August 01, 2015, 05:37:42 am »
whats the name of your SSB, and what's the output from:
Code: [Select]
ls ~/.local/share/applications

and can you host the image file you're using for the SSB and provide a link so we can test  it ?
Sorry, I just saw your post after sending my last posting!

Here it is 1 o'clock in the morning, but tomorrow I will post back with the answers on your questions!

paulus

Hi PCNetSpec,

Thanks for helping!

The name of the SBB is Google Inbox.

The output of the terminal:
Code: [Select]
paul@paul-MS-7795 ~ $ ls ~/.local/share/applications
ddchess.desktop            gmail.desktop           mimeapps.list
editorbypixlr.desktop      googlecalendar.desktop  onlineuserguide.desktop
entanglement.desktop       googledrive.desktop     peppermintforum.desktop
expressbypixlr.desktop     googleinbox.desktop     solitr.desktop
firstpersontetris.desktop  mahjong.desktop         weerhoofddorp.desktop
paul@paul-MS-7795 ~ $

Link address for the hosted image file: http://www.mupload.nl/img/5kgnbafasnb.png.

Thanks for testing.

paulus

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26466
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Ice custom icon does not work
« Reply #11 on: August 01, 2015, 05:47:18 am »
can you post the contents of:
Code: [Select]
gedit ~/.local/share/applications/googleinbox.desktop
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline paulus

  • Member
  • ***
  • Posts: 194
  • Karma: 4
  • New Forum User
    • View Profile
  • Peppermint version(s): Peppermint 10
Re: Ice custom icon does not work
« Reply #12 on: August 01, 2015, 05:53:03 am »
The output of the terminal:
Code: [Select]
paul@paul-MS-7795 ~ $ gedit ~/.local/share/applications/googleinbox.desktop

(gedit:4515): Gtk-WARNING **: Theme parsing error: gtk-main.css:27:32: Missing semicolon at end of color definition

(gedit:4515): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:7:19: Theming engine 'adwaita' not found

The output of the gedit file:
Code: [Select]
[Desktop Entry]
Version=1.0
Name=Google Inbox
Exec=chromium-browser --app=https://inbox.google.com/
Terminal=false
X-MultipleArgs=false
Type=Application
Icon=/home/paul/.local/share/ice/googleinbox.png
Categories=GTK;Network;
MimeType=text/html;text/xml;application/xhtml_xml;
StartupWMClass=Chromium
StartupNotify=true

paulus

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26466
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Ice custom icon does not work
« Reply #13 on: August 01, 2015, 06:02:23 am »
OK, why is the icon you posted a link to called 5kgnbafasnb.png

yet the path to the icon in the the .desktop ifle is

Icon=/home/paul/.local/share/ice/googleinbox.png

?
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline paulus

  • Member
  • ***
  • Posts: 194
  • Karma: 4
  • New Forum User
    • View Profile
  • Peppermint version(s): Peppermint 10
Re: Ice custom icon does not work
« Reply #14 on: August 01, 2015, 06:12:10 am »
5kgnbafasnb.png is the name www.mupload.nl attributed to it, I guess randomly. Of course I uploaded the image with its original name, and then www.mupload.nl gave me that output/link.