You are Here:
Install Updates Gimp Error - see Security & Bug Fixes Section Sticky



How to reduce/remove notifications border?

Author (Read 2326 times)

0 Members and 5 Guests are viewing this topic.

How to reduce/remove notifications border?
« on: June 30, 2019, 07:25:10 AM »
 

beganovich

  • New to Forums
  • *
  • 1
    Posts
  • Reputation: 0
  • Linux Lite Member

  • Linux Lite: 4.4 64bit

  • CPU: Intel i5-5300U (4) @ 2.900GHz

  • MEMORY: 8Gb

  • VIDEO CARD: Intel HD Graphics 5500
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? =)


 


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
Last Edit: June 30, 2019, 08:00:25 AM by beganovich
 


Re: How to reduce/remove notifications border?
« Reply #1 on: June 30, 2019, 07:20:30 PM »
 

bitsnpcs

  • Platinum Level Poster
  • **********
  • 3185
    Posts
  • Country: 00
  • Reputation: 300

  • Linux Lite: 3.2 64bit
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

Also changing the border colour to the same as the background of box should make them disappear in another kinda way
Last Edit: June 30, 2019, 07:24:55 PM by bitsnpcs
 

Re: How to reduce/remove notifications border?
« Reply #2 on: June 30, 2019, 07:52:08 PM »
 

DeepThought

  • Forum Regular
  • ***
  • 169
    Posts
  • Country: wales
  • Reputation: 32
  • Linux Lite Member
    • WKDfm Radio | WKDfm Chat

  • Linux Lite: 4.6 64bit

  • CPU: AMD Turion(tm) 64 x 2 Mobile Technology TL-60

  • MEMORY: 4Gb

  • VIDEO CARD: ATI RS480
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 :)
Last Edit: July 01, 2019, 08:41:44 AM by DeepThought
Owner and DJ at WKDfm Radio ( www.wkdfm.co.uk )
 


Tags: notification border 
 


Install Updates Gimp Error - see Security & Bug Fixes Section Sticky