kwg
December 25, 2020, 11:05pm
21
anon37112038:
one ugly battery icon
Lemon:
huge battery icon
To make the battery icon smaller, open this file in a text editor:
~/.config/gtk-3.0/gtk.css
Then add this code:
#xfce4-power-manager-plugin image {
-gtk-icon-transform: scale(0.75);
}
Finally, save the file and redraw the panel:
xfce4-panel -r
Edit: It’s possible to transform the other tray icons, as well. For example,
#xfce4-notification-plugin image {
-gtk-icon-transform: scale(0.85) translateY(3px);
}
#pulseaudio-button image {
-gtk-icon-transform: scale(0.9);
}
#xfce4-power-manager-plugin image {
-gtk-icon-transform: scale(0.75);
}
6 Likes
Many thanks but I will replace it with something more my style.
1 Like
mbod
December 26, 2020, 8:40am
23
It happens here also with with Adapta, Materia or Matcha theme.
ed0
December 26, 2020, 9:38am
24
Thank you very much, this fixes it in such a graceful way!!
1 Like
Lemon
December 26, 2020, 9:58am
25
Thanks, this worked, I had to make this file since it didn’t exist.
(Quite annoying that I wasn’t able to find this solution myself… )
1 Like
You can alter the button position by turning off DialogsUseHeader in XFCE settings
2 Likes
what would it be for the BT icon?
would be nice to re-setup our XFCE4 theming to include this enhancements, if you have time join me to do so!
2 Likes
It seems that mileage may vary. My battery icon on Xfce 4.16 is of normal size and i’ve no visual glitches on Thunar. But i do not use Arc Theme, i use Greybird Theme with Adwaita icons.
2 Likes
Visual Glitch exists here with Thunar/xfce 4.16 using Adapta-Maia Theme and Papirus-Maia icons. It is only in Thunar, so not a big deal for me.
kwg
December 27, 2020, 12:12am
30
Unfortunately, my EndeavourOS computer doesn’t support Bluetooth, so a Bluetooth icon doesn’t appear on my Xfce panel. In particular, I don’t know the name of the Bluetooth icon, so I can’t reference it in a GTK+/CSS selector.
I’m a bit overwhelmed with work and other obligations at the moment, but I did find the time today to write a tutorial that explains the approach I use when I want to resize, reposition or otherwise transform an Xfce panel icon:
Online documentation for transforming icons (and other objects) on the Xfce panel is a bit hard to find. In this post, I’ll demonstrate an approach to this task with an example: We’ll transform the power manager (“battery”) icon in the system tray. The end result won’t be pretty, but we’ll have explored some of the GTK+ transforms available to us.
First, let’s quit the panel and restart it in GTK interactive debug mode:
xfce4-panel -q && GTK_DEBUG=interactive xfce4-panel
(Ignore any errors an…
3 Likes
Back to topic: What about the graphic glitch? Downgrade Thunar cannot be the only solution.
Has anyone reported it to the Xfce devs?
how does it work?
I don’t have it installed anymore at the moment, and I don’t have a screenshot of it.
I can’t duplicate the problem so far, so a report from me would be rather useless!
Is that because you got some fancy conkies going on?
I doubt that’s it The only glitch I have is reverse scaling still. Must be the themes or icon sets messing up for others…
kwg
December 27, 2020, 1:52am
37
The bug has already been reported here:
anon59358842:
how does it work?
You can check for open issues here:
https://docs.xfce.org/xfce/thunar/bugs
You can create an Xfce Gitlab account here:
Signing in with your new account, you’ll have new-user permissions, which are sufficient to submit a bug report.
Welcome to Xfce's Gitlab
Your original post above includes a screenshot.
2 Likes
From what i just read it’s going to be fixed in the next release if i read this right?
2 Likes
kwg
December 27, 2020, 4:36am
39
Yes, that’s my interpretation, too.
Fixed for master and 4.16 branch, to be released in 4.16.1 and 4.17.0.
I doesn’t look too bad if you can hide it.