Xfce Forum

Sub domains
 

You are not logged in.

#1 2021-09-06 01:01:26

jameson
Member
Registered: 2021-09-06
Posts: 4

Is there a way to make the taskbar tabs square shaped?

Like those of Ubuntu or Linux Mint.

I would like to switch to Xubuntu but this is holding me back a bit.

RSqXdnq.png

The icons from the taskbar on the left are from Linux Mint.

Offline

#2 2021-09-06 01:26:47

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,485

Re: Is there a way to make the taskbar tabs square shaped?

Hello and welcome.

If I understand correctly...

1. Right-click the panel and select Panel > Panel Preferences and on the "Display" tab, change the Mode to Deskbar.

2. Then on the Items tab, double-click on the "Window Buttons" entry and uncheck "Show Button Labels".


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#3 2021-09-06 02:14:23

jameson
Member
Registered: 2021-09-06
Posts: 4

Re: Is there a way to make the taskbar tabs square shaped?

Thx.

The second point alone gives the best result because for some reason the Clock becomes horizontal with the fist point.

I also did: Window grouping: Always. Which I think looks nice.

By increasing the Row size to 36 px I get the Window Buttons to scale, but some of the items at the bottom of the taskbar don't scale well as you can see from the image.

JEJARwg.png

Offline

#4 2021-09-06 02:45:12

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,485

Re: Is there a way to make the taskbar tabs square shaped?

Assuming Xfce 4.16, try adding this to ~/.config/gtk-3.0/gtk.css (create the file if it doesn't exist):

/* shrink some panel icons */
#xfce4-power-manager-plugin > box > image { -gtk-icon-transform: scale(0.8); }
#xfce4-notification-plugin > image { -gtk-icon-transform: scale(0.8); }
#pulseaudio-button > image { -gtk-icon-transform: scale(0.8); }

..and restart the panel:

xfce4-panel -r

You can adjust the 0.8 value to resize the icon sizes until they suit. "1.0" is the default size that you see.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#5 2021-09-06 13:41:06

jameson
Member
Registered: 2021-09-06
Posts: 4

Re: Is there a way to make the taskbar tabs square shaped?

Thanks a lot it looks great now.

Is there a list somewhere of the items #xfce4-power-manager-plugin, #xfce4-notification-plugin, ... ?

In order to be able to add them to the file if I ever add a new item to the taskbar.

Offline

#6 2021-09-06 16:25:55

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,485

Re: Is there a way to make the taskbar tabs square shaped?

You can look at the help pages for each of the plugins (e.g. xfce4-pulseaudio-plugin) as some list this information, you can use the GTK Inspector tool (a basic howto to get you started), or search these forums for "GTK_DEBUG" - there have been many threads about theming Xfce and it's components.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#7 2021-09-10 05:36:00

jameson
Member
Registered: 2021-09-06
Posts: 4

Re: Is there a way to make the taskbar tabs square shaped?

Noted, thanks.

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.014 seconds, 9 queries executed - Memory usage: 540.53 KiB (Peak: 541.81 KiB) ]