Linux Lite Forums

Customization => Desktop Customization => Topic started by: beganovich on June 30, 2019, 07:25:10 AM

Title: How to reduce/remove notifications border?
Post by: beganovich on June 30, 2019, 07:25:10 AM
Hello everyone, hope you doing well. Linux Lite was my first distro back to 2013. Really thanks for such OS.
4.4 release is awesome, but one thing is bothering me. Does anyone have an idea of how to get rid of these white borders? =)


  (http://imgur.com/oS7lL0bl.png)
 (http://i.imgur.com/oS7lL0b.png)

What I've tried:

- Editing this stylesheet:

/usr/share/themes/Adapta/xfce-notify-4.0/gtk.css. I've changed all values of the border to none/0px, but none of them worked. Does anyone have any idea how to get rid of it or at least reduce it.

Cheers,
Ben
Title: Re: How to reduce/remove notifications border?
Post by: bitsnpcs on June 30, 2019, 07:20:30 PM
Hello beganovich,

I am using an older version of Linux Lite so do not have access to the stylesheet.

You can try to add this code (see final reply in link), it is for the bottom border but it can be adapted for sides and top -
https://stackoverflow.com/questions/4114552/how-to-remove-the-bottom-border-of-a-box-with-css/4114596  (https://stackoverflow.com/questions/4114552/how-to-remove-the-bottom-border-of-a-box-with-css/4114596)

Also changing the border colour to the same as the background of box should make them disappear in another kinda way
Title: Re: How to reduce/remove notifications border?
Post by: DeepThought on June 30, 2019, 07:52:08 PM
Hi @beganovich, try editing /usr/share/themes/Adapta/xfce-notify-4.0/gtkrc instead.
You should be able to change things here :

Code: [Select]
style "notify-window"
{
  XfceNotifyWindow::summary-bold = 1
  XfceNotifyWindow::border-color = "#222D32"
  XfceNotifyWindow::border-color-hover = "#222D32"
  XfceNotifyWindow::border-radius = 2.0
  XfceNotifyWindow::border-width = 0.1
  XfceNotifyWindow::border-width-hover = 0.1

  bg[NORMAL] = "#222D32"
  bg[PRELIGHT] = "#222D32"
}

Of course this is all dependent on you using the Adapta theme, if not you will need to edit the gtkrc file in the theme folder you are using :)