Xfce Forum

Sub domains
 

You are not logged in.

#1 2018-03-27 20:08:46

ondondil
Member
Registered: 2018-03-27
Posts: 11

[SOLVED] xfce4-notifyd and xfce4-notes icon size in systray

Hello. Some icons in my panel's systray don't have the size I want them to have because my icon theme causes some incorrect scaling. I'd like to add some padding to xfce4-notifyd version 0.4.2 and xfce4-notes version 1.8.1 icons in order to make them appear smaller (both of them are on the left side on the screenshot):

tray icons

I already added padding to xfce4-power-manager-plugin icon by creating ~/.config/gtk3.0/gtk.css file with

#xfce4-power-manager-plugin { padding: 2px; }

but I don't know what selector to use to do the same with xfce4-notifyd, and xfce4-notes seems to be gtk2 app so that wouldn't work. Could anyone help me with that if possible? Thanks in advance.

Last edited by ondondil (2018-03-29 09:22:23)

Offline

#2 2018-03-27 22:52:34

ToZ
Moderator
From: Canada
Registered: 2011-06-02
Posts: 4,625

Re: [SOLVED] xfce4-notifyd and xfce4-notes icon size in systray

Hello and welcome.

The xfce4-notifyd notification plugin css name identifier is #xfce4-notification-plugin.

For xfce4-notes-plugin, use the following gtk2 snippet:

style "xfnotes"
{
   xthickness = 3
   ythickness = 3
}
widget "*notes*" style "xfnotes"

Offline

#3 2018-03-28 09:00:49

ondondil
Member
Registered: 2018-03-27
Posts: 11

Re: [SOLVED] xfce4-notifyd and xfce4-notes icon size in systray

Thank you ToZ! It works :-D

Edit: Oh, sorry, I forgot to ask - how do I do that with xfce4-time-out-plugin?

Last edited by ondondil (2018-03-28 10:00:24)

Offline

#4 2018-03-28 22:46:22

ToZ
Moderator
From: Canada
Registered: 2011-06-02
Posts: 4,625

Re: [SOLVED] xfce4-notifyd and xfce4-notes icon size in systray

ondondil wrote:

Edit: Oh, sorry, I forgot to ask - how do I do that with xfce4-time-out-plugin?

I can't seem to figure it out using gtk hacks. It seems unreachable. One way that I was able to get it resized is to manually resize the xfce4-time-out-plugin.svg icon file that's included with the package.

Offline

#5 2018-03-29 09:22:00

ondondil
Member
Registered: 2018-03-27
Posts: 11

Re: [SOLVED] xfce4-notifyd and xfce4-notes icon size in systray

Okay. Thank you for your help! I'll mark my post as solved :-)

Offline

Board footer

Powered by FluxBB