Xfce Forum

Sub domains
 

You are not logged in.

#1 2025-02-12 17:29:27

zebisnaga
Member
Registered: 2022-12-30
Posts: 43
LinuxChrome 132.0

[SOLVED] xfce4 timer plugin too small

Hi everyone,

I was googling on how to increase my xfce4 timer plugin since right now is like this https://i.imgur.com/f9I2VWW.png

I've followed this guide https://forum.xfce.org/viewtopic.php?id=17208 however even by changing the file /home/brun0/.config/gtk-3.0/gtk.css and restarting the panel I was not able to visualize any modification.

Here is the specific file and the output - https://i.imgur.com/3DyFrDo.png

Can someone assist me on this?

Thanks!

Last edited by zebisnaga (2025-02-13 14:08:50)

Offline

#2 2025-02-12 17:52:41

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

Re: [SOLVED] xfce4 timer plugin too small

Can you confirm the plugin id?

xfconf-query -c xfce4-panel -lv | grep timer

Also make sure that the trough padding doesn't exceed the progress padding or else you won't see the progress bar.


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-12 17:56:37

zebisnaga
Member
Registered: 2022-12-30
Posts: 43
LinuxChrome 132.0

Re: [SOLVED] xfce4 timer plugin too small

ToZ wrote:

Can you confirm the plugin id?

xfconf-query -c xfce4-panel -lv | grep timer

Also make sure that the trough padding doesn't exceed the progress padding or else you won't see the progress bar.

Hi ToZ,

Confirmed that this is the xfc4-timer plugin - https://i.imgur.com/hMKM9K1.png

I pocked with some of the values but as you can see the value of progress is green but the output is still the default (blue)

Offline

#4 2025-02-12 18:39:17

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

Re: [SOLVED] xfce4 timer plugin too small

Your plugin ID is 7, but in the css snippet you are using 2. Change:

#xfce4-timer-plugin-2

...to read:

#xfce4-timer-plugin-7

...in your gtk.css file.


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

#5 2025-02-12 19:00:57

zebisnaga
Member
Registered: 2022-12-30
Posts: 43
LinuxChrome 132.0

Re: [SOLVED] xfce4 timer plugin too small

ToZ wrote:

Your plugin ID is 7, but in the css snippet you are using 2. Change:

#xfce4-timer-plugin-2

...to read:

#xfce4-timer-plugin-7

...in your gtk.css file.

Thank you that was the problem

However if I use

#xfce4-timer-plugin-7 progress { padding: 25px; }
#xfce4-timer-plugin-7 trough { padding: 15px; }

and start the timer the pluggin does not show to progress. i also tried to make trough higher than progress but that didn't worked either.
Is there any docs about this?

Offline

#6 2025-02-12 19:09:37

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

Re: [SOLVED] xfce4 timer plugin too small

Documentation here.

Here is what I get with:

#xfce4-timer-plugin-14 progress { background-color: green }
#xfce4-timer-plugin-14 trough { background-color: white }
#xfce4-timer-plugin-14 progress {padding: 25px; }
#xfce4-timer-plugin-14 trough { padding: 15px; }

timer2.jpg


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

#7 2025-02-13 10:36:03

zebisnaga
Member
Registered: 2022-12-30
Posts: 43
LinuxChrome 132.0

Re: [SOLVED] xfce4 timer plugin too small

ToZ wrote:

Documentation here.

Here is what I get with:

#xfce4-timer-plugin-14 progress { background-color: green }
#xfce4-timer-plugin-14 trough { background-color: white }
#xfce4-timer-plugin-14 progress {padding: 25px; }
#xfce4-timer-plugin-14 trough { padding: 15px; }

timer2.jpg

I mean where's the documentation to modify more values such as the trough and the padding?

Thank you

Offline

#8 2025-02-13 12:51:57

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

Re: [SOLVED] xfce4 timer plugin too small


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

#9 2025-02-13 13:44:55

cryptogopher
Member
Registered: 2025-02-11
Posts: 8
LinuxFirefox 134.0

Re: [SOLVED] xfce4 timer plugin too small

For me setting min-width/min-height works well:

#xfce4-timer-plugin-16 progressbar.vertical trough,
#xfce4-timer-plugin-16 progressbar.vertical progress {
  min-width: 8px;
  margin-left: 4px;
  margin-right: 4px;
}
#xfce4-timer-plugin-16 progressbar.horizontal trough,
#xfce4-timer-plugin-16 progressbar.horizontal progress {
  min-height: 8px;
  margin-top: 4px;
  margin-bottom: 4px;
}

Optionally you can add some margins.

Last edited by cryptogopher (2025-02-13 13:45:10)

Offline

#10 2025-02-13 14:07:12

zebisnaga
Member
Registered: 2022-12-30
Posts: 43
LinuxChrome 132.0

Re: [SOLVED] xfce4 timer plugin too small

cryptogopher wrote:

For me setting min-width/min-height works well:

#xfce4-timer-plugin-16 progressbar.vertical trough,
#xfce4-timer-plugin-16 progressbar.vertical progress {
  min-width: 8px;
  margin-left: 4px;
  margin-right: 4px;
}
#xfce4-timer-plugin-16 progressbar.horizontal trough,
#xfce4-timer-plugin-16 progressbar.horizontal progress {
  min-height: 8px;
  margin-top: 4px;
  margin-bottom: 4px;
}

Optionally you can add some margins.

this is awesome! thank you

Offline

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

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.011 seconds, 7 queries executed - Memory usage: 572.31 KiB (Peak: 589.16 KiB) ]