You are not logged in.
Hi, in the notifications preflet, I've set notifications to appear in bottom right position.
I'd like to have them a little bit more upper, eg of 100 pixel above the panel; what I have to change in the notification's gtk.css file?
At the moment I have personal notifications style, set in the file ~/.themes/MyNotifications/xfce-notify-4.0/gtk.css:
#XfceNotifyWindow {
background-color: transparent;
border-color: #ffffff;
box-shadow: none;
border-style: solid;
}
Works as expected, but furthermore, no border is draw.
EDIT: also border-width: 5px; does nothing.
EDIT 2: also if i stop picom, the border is not present.
EDIT 3: I also tried to set border: 5px solid #FFFFFF, but no dice.
Last edited by D.dave (2025-01-25 09:50:09)
OS: Manjaro x86_64
DE: Xfce 4.20
Offline
Your tweaks work, but you need to restart the xfce4-notifyd process to re-read the contents of the gtk.css file and process it.
I'd like to have them a little bit more upper, eg of 100 pixel above the panel; what I have to change in the notification's gtk.css file?
I don't think this is currently possible.
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
you need to restart the xfce4-notifyd process
I did it: systemctl --user restart xfce4-notifyd.service but still no bordesr; I also manually killed the process and restart it: still no borders.
Added later 19 min 55 s:
the gtk.css file
I made a workaround: in Gimp I create an png image with the same size of the notifications, and I added it to gtk.css:
background-image: url("file:/home/dave/Pictures/notifications-background.png");
And now there is the border of the image:
EDIT: nothing to do: are messed and broken:
Ok, I solved by adding:
background-repeat: round;
Last edited by D.dave (2025-01-25 15:26:55)
OS: Manjaro x86_64
DE: Xfce 4.20
Offline
[ Generated in 0.008 seconds, 7 queries executed - Memory usage: 529.37 KiB (Peak: 530.73 KiB) ]