Xfce Forum

Sub domains
 

You are not logged in.

#1 2017-10-30 15:10:47

-iak-
Member
Registered: 2017-10-30
Posts: 98

Gnome icons instead of selectet theme

Hi everybody.

This is an old problem for me, and I would like finally to fix it.

I noticed that not every icon theme is perfectly "worn" by xfce, both status icons and/or folders.

This is what I get with "Ultra-Flat-Green" icon theme:

2drc5r6.png

And here are the correct icons xfce should use:

2v9oqv5.png

Note that the caffeine and the wifi icons are in the same folder of the battery's ones.

I don't know too much, but I think that the index file is ok

[Icon Theme]
Name=Ultra-Flat-Icons-Mint-Green
Comment=An icon theme for Linux desktops, the set is inspired by the latest flat design trend.
Inherits=

Example=x-directory-normal

Directories=actions/scalable,actions/symbolic,apps/scalable,apps/small,categories/scalable,categories/small,devices/scalable,devices/small,emblems/scalable,places/scalable,places/small,status/scalable,mimetypes/scalable

[actions/scalable]
Size=96
Context=Actions
Type=Scalable
MinSize=16
MaxSize=96

[actions/symbolic]
Size=16
Context=Actions
Type=Scalable

[apps/scalable]
Size=512
Context=Applications
Type=Scalable
MinSize=22
MaxSize=512

[apps/small]
Size=16
Context=Applications
Type=Fixed

[categories/scalable]
Size=128
Context=Categories
Type=Scalable
MinSize=16
MaxSize=128

#This folder (categories/small) contains a "fix" for Dolphin's problem with this very specific icon

[categories/small]
Size=24
Context=Actions
Type=Fixed

[devices/scalable]
Size=256
Context=Devices
Type=Scalable
MinSize=16
MaxSize=256

[devices/small]
Size=16
Context=Devices
Type=Fixed

#[devices/symbolic]
#Size=16
#Context=Devices
#Type=Fixed

[emblems/scalable]
Size=24
Context=Emblems
Type=Fixed

#[emblems/symbolic]
#Size=16
#Context=Emblems
#Type=Fixed

#The different MIMEtype sizes are for Google Chrome and Chromium's Download Tab
#(when you download something it recognizes the file type and shows the
#corresponding icon, for example you download a DEB file you get a DEB MIME icon).
#Other software works fine with SVG files.
#
#--------------------------------Not yet in the theme--------------------------------
#
#[mimetypes/16]
#Size=16
#Context=MimeTypes
#Type=Fixed
#
#[mimetypes/22]
#Size=22
#Context=MimeTypes
#Type=Fixed
#
#[mimetypes/24]
#Size=24
#Context=MimeTypes
#Type=Fixed
#
#[mimetypes/32]
#Size=32
#Context=MimeTypes
#Type=Fixed
#
[mimetypes/scalable]
Size=512
Context=MimeTypes
Type=Scalable
MinSize=8
MaxSize=512

[places/scalable]
Size=256
Context=Places
Type=Scalable
MinSize=16
MaxSize=256

[places/small]
Size=16
Context=Places
Type=Fixed

#[places/symbolic]
#Size=16
#Context=Places
#Type=Fixed

[status/scalable]
Size=128
Context=Status
Type=Scalable
MinSize=16
MaxSize=128

#[status/symbolic]
#Size=16
#Context=Status
#Type=Scalable

Can someone please help me to fix this?

Last edited by -iak- (2017-10-30 15:11:18)

Offline

#2 2017-10-30 15:41:56

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,948

Re: Gnome icons instead of selectet theme

-iak- wrote:

Inherits=

This icon theme doesn't inherit (use as a backup if an icon doesn't exist) from any other theme. Therefore by default it will use gnome icons as fallback icons.

One way to fix this is to find the icon theme that has those icons and add the name of that theme in the Inherits line. Note that this will only work for missing icons. If Ultra-Flat-Green has one of those icons, it will contine to use it.

The other option is to create a new icon theme of your own, add the icons that you want to use and have that theme Inherit the Ultra-Flat-Green icon theme. This way you can add whatever icons you want to override the Ultra-Flat-Green ones. This is somewhat tough to do as you must create the icon theme properly as well as identify which icons to override (the names and locations). Here is the freedesktop Icon Theme spec.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#3 2017-10-30 16:25:17

-iak-
Member
Registered: 2017-10-30
Posts: 98

Re: Gnome icons instead of selectet theme

Thank you ToZ!

use as a backup if an icon doesn't exist

what I don't get is why since the battery icons do exist.

Moreover, they're in the same directory of the wifi ones, and those are correctly loaded.

Btw this is not the only icon theme with which I experience this, and the other themes are complete too.


Is there a way to make xfce "see" the unused icons?

Offline

#4 2017-10-30 17:20:59

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,948

Re: Gnome icons instead of selectet theme

Which distro and which version of Xfce are you using?

Depending on the above, running the command:

upower -d

...will show you the name of the icon that is being used.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#5 2017-10-30 17:33:08

-iak-
Member
Registered: 2017-10-30
Posts: 98

Re: Gnome icons instead of selectet theme

I'm on Ubuntu Studio 16.04 now, but I experience the same problem also on Debian Stretch/Buster.

Xfce is 4.12 version.

icon-name:          'battery-good-symbolic'

That icon actually is in /usr/share/icons/Ultra-Flat-Green/status/scalable/

I really don't understand

Offline

#6 2017-10-30 17:50:47

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,948

Re: Gnome icons instead of selectet theme

I downloaded this icon theme on my arch system and there is problems with it.

What happens if you run the following:

sudo gtk-update-icon-cache /usr/share/icons/Ultra-Flat-Green

...do you get any error messages?

Also, do you have a  /usr/share/icons/Ultra-Flat-Green/status/scalable white panel directory? If so, try the following:

mv /usr/share/icons/Ultra-Flat-Green/status/scalable /usr/share/icons/Ultra-Flat-Green/status/scalable.orig
mv "/usr/share/icons/Ultra-Flat-Green/status/scalable white panel" /usr/share/icons/Ultra-Flat-Green/status/scalable"

...then change the icon theme away and back again. Does it work now?


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#7 2017-10-30 18:10:04

-iak-
Member
Registered: 2017-10-30
Posts: 98

Re: Gnome icons instead of selectet theme

Sorry, I had a busy day, I misunderstood your last post lol

I did it and battery icon works, obviously with a white panel design.

Last edited by -iak- (2017-10-30 18:11:27)

Offline

#8 2017-10-31 00:25:18

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,948

Re: Gnome icons instead of selectet theme

Glad it worked, but there is something wrong with that icon theme. The icon cache can't be updated. You might want to create a bug report with the icon theme maintainer.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

Board footer

Powered by FluxBB