You are not logged in.
Pages: 1
Hi,
Is there a way to remove the titles from windows decoration ?
Thanks.
Last edited by sushi (2021-11-15 09:02:21)
Offline
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
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
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
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
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
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!
Offline
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:
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!
Offline
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
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!
Offline
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
Pages: 1
[ Generated in 0.009 seconds, 7 queries executed - Memory usage: 562.37 KiB (Peak: 579.21 KiB) ]