Xfce Forum

Sub domains
 

You are not logged in.

#1 2020-05-09 06:19:35

MartinKnayt
Member
Registered: 2020-05-09
Posts: 4

XFCE panel - problem with changing tasklist icon size

Good morning, I'm trying to make complete xfce overhaul and one thing that I can't achieve is making tasklist-3 (Window Buttons item) icons bigger. The best effect which I achieved yet is scaling them by writing few lines in ~/.config/gtk-3.0/gtk.css but they look very blurry and I know that I have to change their size somewhere. I tried modifying xsettings in Settings Editor but it doesn't work. Is there someone who knows how to do it? I'll appreciate it.
P.S.: I'm also customizing Whisker menu, I got rid of whisker window border but I can't figure out how to remove inner outlines. Is there any way?
https://ibb.co/ykfYHpj

Last edited by MartinKnayt (2020-05-09 06:19:53)

Offline

#2 2020-05-09 13:22:35

ToZ
Moderator
From: Canada
Registered: 2011-06-02
Posts: 6,574

Re: XFCE panel - problem with changing tasklist icon size

Hello and welcome.

MartinKnayt wrote:

Good morning, I'm trying to make complete xfce overhaul and one thing that I can't achieve is making tasklist-3 (Window Buttons item) icons bigger. The best effect which I achieved yet is scaling them by writing few lines in ~/.config/gtk-3.0/gtk.css but they look very blurry and I know that I have to change their size somewhere. I tried modifying xsettings in Settings Editor but it doesn't work. Is there someone who knows how to do it? I'll appreciate it.

First have a read through this thread. Then check out https://bugzilla.xfce.org/show_bug.cgi?id=16008 and https://bugzilla.xfce.org/show_bug.cgi?id=12277.

P.S.: I'm also customizing Whisker menu, I got rid of whisker window border but I can't figure out how to remove inner outlines. Is there any way?
https://ibb.co/ykfYHpj

Try something like this:

#whiskermenu-window * { border: 0; }
#whiskermenu-window separator { background-color: transparent; }

Offline

#3 2020-05-09 18:34:43

MartinKnayt
Member
Registered: 2020-05-09
Posts: 4

Re: XFCE panel - problem with changing tasklist icon size

Thank you for replying. I figured out 2 methods to get this effect.  https://ibb.co/WzzNMNk  Upper one where I'm setting panel to 42px and fixed icon size to 32px (I can keep my transparency but icons are bigger. (Is there any way to scale all launchers with 1 line of code?) And lower one where I'm actually using 3 panels - middle one has only separator and tasklist on it that's set to adjusted icon size and then I'm scaling it to match launchers. The downsides are that if I'll want to add new launcher I'll need to scale middle panel and also I can't use transparency cause I can't fit panels borders to fit perfectly with each others. I also tried making tasklist panel on top of first one but when I'm clicking on it tasklist panel is going under it and I can't use it anymore. I also found out how Zorin os team dealt with it and they just installed DockBarX on top of the panel and theamed it to fit the rest. That's interesting solution but I'm not sure if I want to do it this way.
P.S.: I also have 2 additional questions if it's not too much... Is there a way to overwrite color of clock and rest of icons that aren't themed (bell and speaker)? How can I disable transparency of inactive tasklist icons?

Last edited by MartinKnayt (2020-05-09 18:40:50)

Offline

#4 2020-05-09 19:00:09

ToZ
Moderator
From: Canada
Registered: 2011-06-02
Posts: 6,574

Re: XFCE panel - problem with changing tasklist icon size

MartinKnayt wrote:

(Is there any way to scale all launchers with 1 line of code?)

#launcher-arrow image { -gtk-icon-transform: scale(0.5); }

...and change the scale value to suit.

Is there a way to overwrite color of clock and rest of icons that aren't themed (bell and speaker)?

Here is a somewhat detailed howto, but to directly answers your questions:
Clock:

#clock-button label { color: red; }

Bell:

#xfce4-notification-plugin image { color: red; }

Speaker:

#pulseaudio-button image { color: red; }

How can I disable transparency of inactive tasklist icons?

What theme are you using? Is it setting transparency? If so, it may not have set any fallback colours and you'll need to define them yourself. The basic method would be to 1. define base state colours/effects, then 2. define active/checked colours/effects.

Something like this:

.tasklist button { background-color: red; }
.tasklist button:checked { background-image: none; background-color: blue; }

...but it will vary from theme to theme depending on how it deals with the button. Have a look at your theme's gtk.css file.

Offline

#5 2020-05-09 23:59:58

MartinKnayt
Member
Registered: 2020-05-09
Posts: 4

Re: XFCE panel - problem with changing tasklist icon size

Thank you very much! You really helped me a lot. Here is my current theming. https://ibb.co/JzJ9BY0
It has to be familiar cause I'm doing this for long time windows user.

Last edited by MartinKnayt (2020-05-11 06:35:34)

Offline

#6 2020-05-10 11:24:58

ToZ
Moderator
From: Canada
Registered: 2011-06-02
Posts: 6,574

Re: XFCE panel - problem with changing tasklist icon size

Looks nice. Are you going to install Xubuntu then?

Offline

#7 2020-05-11 06:46:46

MartinKnayt
Member
Registered: 2020-05-09
Posts: 4

Re: XFCE panel - problem with changing tasklist icon size

It's not for me but person I do it for is in deed going to install xubuntu. He was using windows for a long time. Now switched to ubuntu and he don't like gnome de so I reffered xfce to him and offered that I'll customize it for him to be more familiar. I was using gnome by myself and from like 1,5 year I switched to Manjaro XFCE cause I got a little tired of it and I don't like plasma so I stayed on xfce which I liked. I'm using more gnome looking style and all panels transparent so I didn't had these problems when I was customizing my desktop. Once again thank you for help.

Offline

Board footer

Powered by FluxBB