Xfce Forum

Sub domains
 

You are not logged in.

#1 2021-11-14 20:22:11

sushi
Member
Registered: 2019-04-22
Posts: 81

[SOLVED] Remove windows titles, possible ?

Hi,

Is there a way to remove the titles from windows decoration ?

Thanks.

Last edited by sushi (2021-11-15 09:02:21)

Offline

#2 2021-11-14 20:46:26

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

Re: [SOLVED] Remove windows titles, possible ?

For SSD windows, change the font size to 0 in the /general/title_font property. For example:

xfconf-query -c xfwm4 -p /general/title_font -s 0

(note: you have to use xfconf-query for this as the gui limits the minimum size to 1)

For CSD windows, add the following to ~/.config/gtk-3.0/gtk.css:

.csd .title, .csd .subtitle { font-size: 0 }

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-11-14 21:11:50

sushi
Member
Registered: 2019-04-22
Posts: 81

Re: [SOLVED] Remove windows titles, possible ?

Thanks ToZ !

I'm gonna try tomorrow as soon as I start my laptop...

I suppose that's impossible to replace the title with the icon of the specific window, right ? I was able to achieve that but with compiz on my desktop.

Last edited by sushi (2021-11-14 21:13:16)

Offline

#4 2021-11-14 21:20:04

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

Re: [SOLVED] Remove windows titles, possible ?

sushi wrote:

I suppose that's impossible to replace the title with the icon of the specific window, right ? I was able to achieve that but with compiz on my desktop.

I'm not exactly sure what you mean. You can add the "Menu" widget to the Button Layout and in the xfwm4's themerc file, make sure that you have "show_app_icon=true".


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-11-14 21:32:25

sushi
Member
Registered: 2019-04-22
Posts: 81

Re: [SOLVED] Remove windows titles, possible ?

I mean instead of the title (in the middle of the decoration) to put the icon of that window. But sounds like possible by using the Menu widget and place it in the middle of the decoration.

I will try tomorrow and report the result.

Thanks.

Offline

#6 2021-11-15 09:01:53

sushi
Member
Registered: 2019-04-22
Posts: 81

Re: [SOLVED] Remove windows titles, possible ?

So, I could get rid of the title without being able to place the "Menu" icon in the middle of the decoration because you can't remove the "title" button away from the decoration.

Anyway, the title is not there anymore. my first purpose.

Once again ToZ for your help.

Offline

#7 2021-11-15 11:40:44

KBar
Member
Registered: 2021-11-05
Posts: 689

Re: [SOLVED] Remove windows titles, possible ?

Maybe you can do something like this:

button_layout=CO
show_app_icon=true
button_spacing=600

Edit your current theme's themerc file. Adjust the value to your liking. I don't know if it's possible to adjust it right in the middle of the title bar. "maximized_offset" option seems promising but I don't know what it does. You can try putting 3 buttons and changing the spacing between them so that the app icon is shown right in the center.


Remember to edit the subject of your topic to include the [SOLVED] tag once you're satisfied with the answers or have found a solution (in which case, don't forget to share it as well), so that other members of the community can quickly refer to it and save their time. Pretty please! tongue

Offline

#8 2021-11-15 12:00:44

KBar
Member
Registered: 2021-11-05
Posts: 689

Re: [SOLVED] Remove windows titles, possible ?

maximized_offset moves your window buttons that many pixels in the opposite direction when maximized.

With the above options, this is the best I could come up with:

hRtHgFR.png

That is, of course, if you're okay with having only two buttons and the app icon being invisible when unmaximized.

Last edited by KBar (2021-11-15 12:01:48)


Remember to edit the subject of your topic to include the [SOLVED] tag once you're satisfied with the answers or have found a solution (in which case, don't forget to share it as well), so that other members of the community can quickly refer to it and save their time. Pretty please! tongue

Offline

#9 2021-11-15 19:26:30

sushi
Member
Registered: 2019-04-22
Posts: 81

Re: [SOLVED] Remove windows titles, possible ?

Thanks KBar,

I'm gonna try tomorrow and report but the purpose is to have the same "default" buttons settings plus the icon in the middle of the decoration.

Let see...

Anyway I'm already happy without the title and the icon on the side.

Offline

#10 2021-11-15 19:52:57

KBar
Member
Registered: 2021-11-05
Posts: 689

Re: [SOLVED] Remove windows titles, possible ?

Ah, I see. Sadly, I don't think this could achieve this. I like your idea, though. Maybe developers should consider making the title bar more flexible.


Remember to edit the subject of your topic to include the [SOLVED] tag once you're satisfied with the answers or have found a solution (in which case, don't forget to share it as well), so that other members of the community can quickly refer to it and save their time. Pretty please! tongue

Offline

#11 2021-11-15 20:26:13

sushi
Member
Registered: 2019-04-22
Posts: 81

Re: [SOLVED] Remove windows titles, possible ?

It's very easy to achieve with Compiz but unfortunately not every GPU can use Compiz without tearing problems.

I have one laptop that has tearing problems with Compiz and I have to use xfwm4, that's why.

Offline

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

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.009 seconds, 7 queries executed - Memory usage: 562.37 KiB (Peak: 579.21 KiB) ]