You are not logged in.
Pages: 1
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
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
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
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
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
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; }
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
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; }
I mean where's the documentation to modify more values such as the trough and the padding?
Thank you
Offline
Of particular interest would be:
Specific to the xfce4-timer plugin which uses Gtk's progressbar 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
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
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
Pages: 1
[ Generated in 0.011 seconds, 7 queries executed - Memory usage: 572.31 KiB (Peak: 589.16 KiB) ]