Xfce Forum

Sub domains
 

You are not logged in.

#1 2025-02-07 10:13:08

D.dave
Member
Registered: 2019-12-06
Posts: 91
LinuxFirefox 135.0

[SOLVED] A really working way to resize the icon of pulseaudio panel?

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

#2 2025-02-07 11:05:23

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,781
LinuxFirefox 135.0

Re: [SOLVED] A really working way to resize the icon of pulseaudio panel?

D.dave wrote:

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

#3 2025-02-07 11:08:48

D.dave
Member
Registered: 2019-12-06
Posts: 91
LinuxFirefox 135.0

Re: [SOLVED] A really working way to resize the icon of pulseaudio panel?

ToZ wrote:

That will also scale the images in the popup

Right, I didn't noticed!

ToZ wrote:

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

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.008 seconds, 8 queries executed - Memory usage: 528.8 KiB (Peak: 530.09 KiB) ]