Xfce Forum

Sub domains
 

You are not logged in.

#1 2021-07-13 12:34:47

fsmithred
Member
Registered: 2019-07-06
Posts: 10

4.16 panel icons resistant to change

How can I get the lower panel icons to change when the icon theme is changed? I saw this post: https://forum.xfce.org/viewtopic.php?pid=61594#p61594 and I can change the icons by copying the ones I want into the hicolor theme. If I copy or rename the appropriate files in my chosen theme, the panel does not use them.

That's fine for the end user to do, but I'm working on the default desktop theme for the next devuan release. I don't want to clobber another package's files or fork the hicolor-icon-theme or xfce4-panel.

I did find one theme that does change the panel icons - papirus-icon-theme. How can I get our icon theme to work like that? We're using a modified gnome-icon-theme: https://git.devuan.org/devuan/deepsea-i … s/unstable

Thanks,
fsmithred

Last edited by fsmithred (2021-07-13 12:44:17)

Offline

#2 2021-07-24 04:08:52

golinux
Member
Registered: 2011-11-19
Posts: 127

Re: 4.16 panel icons resistant to change

Bumping because the new fugly, eyeshattering-blue Xfce icons clash badly with the Devuan Chimaera "deepsea" theme.  How can we get the old soft-colored icons to work in bullseye/chimaera?  I'm starting to panic. Please help!!

Last edited by golinux (2021-07-24 04:09:15)

Offline

#3 2021-07-24 10:50:43

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

Re: 4.16 panel icons resistant to change

Xfce 4.16 ships with a new set of icons based on the rDNS naming scheme. Have a look at the mappings (new icon name : old icon name) in this gist.

So basically, you need to link the old icon name to the new icon name to use the old icons. For example, the first entry:

'org.xfce.about': 'help-about'

...you want to link org.xfce.about to help-about. Something like this:

cd /usr/share/icons/Deepsea

for f in $(find . -name "help-about*" -print)
do
   ln -s $f "$(dirname $f)/org.xfce.about.png"
done

It will be a bit of a manual job to create all of the links, but once done you can re-package the icon theme with all of the changes to use the older icons packages in your icon theme.


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

#4 2021-07-24 14:55:10

golinux
Member
Registered: 2011-11-19
Posts: 127

Re: 4.16 panel icons resistant to change

Thanks, ToZ!

Offline

#5 2022-02-07 15:38:51

fsmithred
Member
Registered: 2019-07-06
Posts: 10

Re: 4.16 panel icons resistant to change

Sorry for the long delay in updating this thread. I want to put this here so it doesn't get lost.

The line we ended up using looked more like this.

To set up links for org.xfce.filemanager.png -> xfce-filemanager.png :

find files/usr/share/icons/Deepsea -name xfce-filemanager.png | \
  xargs -n1 -I% sh -c \
  'ln -sTf $(basneame %) $(dirname %)/org.xfce.filemanager.png'

Offline

Board footer

Powered by FluxBB