You are not logged in.
I was wondering if it was possible to customize the GUI of the xfce4-pulseaudio-plugin volume notification dialog?
I am referring to the notification dialog that shows horizontal volume bar slider.
Wondering if can customize using something like gtk.css file?
For example the horizontal slider on my system has a very narrow height slider which is hard to see.
Also the background color is a dark gray and the blue fill color of the volume slider is dark blue so the color contrast is difficult to see as well.
Does anyone know if it is possible to modify any of these items mentioned above?
Thank You
Offline
To change the backgound color:
Settings -> Appearance -> Style - select a non-dark style
Do no harm.
Respect ones neighbors.
Especially old friends.
Offline
There is some adjustments you can make through settings>>notifications>>appearance.
I AM CANADIAN!
Siduction
Debian Sid
Xfce 4.20 with Wayland/Labwc
Offline
You can also target those elements with css.
For example the horizontal slider on my system has a very narrow height slider which is hard to see.
#pulseaudio-button .popup scale slider { padding: 5px }
Also the background color is a dark gray and the blue fill color of the volume slider is dark blue so the color contrast is difficult to see as well.
#pulseaudio-button .popup scale trough highlight { background-color: red; }
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
Thank you guys for the responses
Know about theme, do not want to change theme.
Notifications - Appearance settings do not contain any of the adjustments I am looking for
Was hoping this could be achieve in gtk.css
The two items mentioned for css are for the pulseaudio button, which opens up a dialog above the panel icon when the icon "button" is clicked on. I am speaking of the "Noification" dialog that shows up when volume is adjusted, for example when you mouse scroll on the icon "button" it shows volume meter notification dialog in the same location where all application notifications appear on screen.
I do not think this is possible unfortunately, but if anyone has any other ideas please let me know.
Thank You
Offline
[...] I do not think this is possible unfortunately, but if anyone has any other ideas please let me know.
If you use Xfce 4.20 on Wayland, you can disable pulseaudio-plugin notification, and use 3rd tool avizo which is "highly" customisable ;-)
edit: although on project page is mentioned Sway (and i use it on Xfce@Wayland), it seems work also with Xfce@X11, but with window decoration titlebar :-) and don's see any option switch to disable it...
Last edited by k3dAR (2025-03-07 22:32:15)
Offline
Thank you guys for the responses
Was hoping this could be achieve in gtk.css
That is possible. For an example, look in the /usr/share/themes/ZOMG-PONIES! folder and you will find the xfce-notify-4.0 folder.
That folder contains the gtk.css file for configuring the notification popup. The sections concerning the progress bar will be what you want to edit. If you want a wider progress bar/volume slider edit the progressbar trough.
Once you have the gtk.css file the way you want it, create the xfce-notify-4.0 folder in the theme you want to use and select it from the Notifications setting in the menu.
Last edited by PackRat (2025-03-08 02:03:43)
Offline
Thank you guys for the responses.
@k3dAR
I am not using Wayland yet but will look into this in the future.
@PackRat
What! I have seen this folder in a couple of theme folders before and never knew what this was for.
I see why you recommended the ZOMG-PONIES theme, it already has a thicker volume fader by default, and also great colors
Wow, this is great information thank you so much for sharing this.
------------------------------------------------------------------------------------------
Now have me wondering what else is possible.
Had looked up the following items in the past and never found any information about this, if anyone has any ideas please let me know.
Other Questions If Anyone Is Interested
-Changing position of notification dialogs?
I know there is a drop down for this in Notifications - Appearance but was wondering if users can adjust more specifically, moving dialogs to an exact location?
Especially if the next item about change size is possible.
-Changing size of notification dialogs?
Does anyone know if it is possible to change the height and width of the actual dialog box itself?
or is this a static size that cannot be changed in css for something like this.
-Use different two different dialogs, one for volume and one for all other notifications?
(Probably will not matter if location and size items mentioned above cannot be changed but)
I never liked how volume used the same dialog location/size/settings as other notification dialogs.
For example what if user wanted volume fader to appear in center of screen but notifications to appear in upper right.
I do not think it is possible to get this specific, but does anyone know if it is possible to use two different dialogs, one for volume and one for all other notifications?
Would like to be able to customize the volume dialog differently and maybe change its location.
Thank you to anyone who reads this
Last edited by advice1010 (2025-03-10 01:06:36)
Offline
Thank you guys for the responses.
@k3dAR
I am not using Wayland yet but will look into this in the future.
with avizo is for all your question answer yes ;-) as i write, work in X11 too, but with windows decoration, you can try it ;-)
Offline
Thank you for the response.
You had mentioned that was only for Wayland, you think it will work on X11?
Ideally I would like to be able to achieve this with a built in solution, such as CSS, if it is possible?
Still interested if anyone knows more about this.
Would think this information would have to be stored somewhere in XFCE, just hope that it is not hard coded.
If it is hard coded I will look more into the recommended "avizo", if it works on X11.
Ahh also it needs to be compiled / not in my repo.
Thank You
Last edited by advice1010 (2025-03-22 00:53:45)
Offline
as i write:
[...] although on project page is mentioned Sway (and i use it on Xfce@Wayland), it seems work also with Xfce@X11, but with window decoration titlebar [...]
before write it ^ i try in X11 session myself ;-)
anyway i found stock notify with progress can be customized by css in: /usr/share/themes/YourThemeName/xfce-notify-4.0/gtk.css
#XfceNotifyWindow progressbar progress {
background-color: red;
min-height: 15px;
}
- don't change whole section in your current css to this ^ , only change or add coresponding line (background-color and min-height)
- if your theme don't have xfce-notify-4.0 subdir, then create it and create gtk.css file or copy from ex. Greybird or Greybird-dark
- also is not good edit theme in /usr/share/theme system path, as change be replaced by future package (with this theme) update,
so make a copy to ~/.local/share/themes/ and edit it here ;-)
EDIT: after you make change in .../xfce-notify-4.0/gtk.css for apply is not need/enough change Settings/Apperance/Style to another and back, but this is need in Settings/Notification/Apperance/Theme
Last edited by k3dAR (2025-03-22 19:05:35)
Offline
[ Generated in 0.011 seconds, 8 queries executed - Memory usage: 601.31 KiB (Peak: 618.16 KiB) ]