You are not logged in.
I'm looking for a way to resize the icon of pulseaudio plugin on the panel.
I got it with the command xfconf-query -c xfce4-panel -p /plugins -lv
What I attempted in ~/.config/gtk-3.0/gtk.css:
#pulseaudio-button {padding-left: 5px; padding-right: 5px;}
does nothing
#launcher-14* /* Pulse */
{
-gtk-icon-transform: scale(0.25);
padding: 0 0px;
}
does nothing
#launcher-14*, #pulseaudio-button /* Pulse */
{
-gtk-icon-transform: scale(0.65);
padding: 0 0px;
}
does nothing
The only thing that work/is applied, is chaging the icon theme, eg like
-gtk-icon-theme: 'breeze-dark';
But this theme, like papirus, make it worse: more bigger icon.
What to do?
Added later 08 min 49 s:
Ok, I got the solution from this forum, in this topic:
https://forum.xfce.org/viewtopic.php?pid=52543#p52543
What I did to suite my preference:
#pulseaudio-button * { -gtk-icon-transform: scale(0.90); }
To summarize: I just missing to add " * "
Last edited by D.dave (2025-02-07 10:24:55)
OS: Manjaro x86_64
DE: Xfce 4.20
Offline
To summarize: I just missing to add " * "
That will also scale the images in the popup. If you just want to affect the icon, try:
#pulseaudio-button>box>image {-gtk-icon-transform: scale(0.09);}
Note: "-gtk-icon-transform" only has an affect on an "image" widget.
Mark solved threads as [SOLVED] to make it easier for others to find solutions.
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
That will also scale the images in the popup
Right, I didn't noticed!
If you just want to affect the icon, try:
#pulseaudio-button>box>image {-gtk-icon-transform: scale(0.09);}
Thank you for this useful suggestion!
OS: Manjaro x86_64
DE: Xfce 4.20
Offline
[ Generated in 0.008 seconds, 8 queries executed - Memory usage: 528.8 KiB (Peak: 530.09 KiB) ]