How do I remove the title bar in Xubuntu?
Solution 1
A newer answer notes that a built-in XFCE setting is now available.
Try the Maximus package? Here's the package description:
A desktop daemon which will automatically maximize and, optionally, un-decorate windows. Has to support for exclusion lists and will work with any EWMH specification compliant window-manager.
Install with:
sudo apt-get install maximus
I believe you'll need to add the Maximus command to your startup programs, as it does not automatically run at boot on its own.
Solution 2
Recent versions of XFCE have this built-in. Check out Settings Manager
> Window Manager Tweaks
> Accessibility
> Hide title of windows when maximized
.
Maximized windows will not have the title bar then, while non-maximized windows will have it. Tested on ArchLinux, xfce version 4.12.0-4.
Solution 3
I had the same issue with the titlebar and I solved it to a good level this way:
- Settings > Settings Manager > Window Manager > Theme tab > Kokodi (it has a high titlebar)
- Settings > Settings Manager > Panel > Row Size (pixels) = 28
- Settings > Settings Manager > Panel > Don't reserve space on borders = Yes, turned on
This way, the titlebar is just hidden below the panel. Benefits of such approach:
- The titlebar remains visible for small windows
- The titlebar is autohidden with Alt+F10 (but the panel remains visible in all cases except hard fullscreen Alt + F11)
- If you have "snap to other windows" enabled in your window manager, you can easily get an almost-fullscreen window, with panel and titlebar still visible. Just start to change window size and it'll do a stop in the point where panel starts (allowing to go further though).
The bad thing is that it feels like a hack. I searched this topic because I wanted to find an xfce setting for this (failed yet).
Related videos on Youtube
Galadude
Updated on September 18, 2022Comments
-
Galadude almost 2 years
I have limited screen place, and I'd like to know how I could remove the title bar.
I use hotkey to close, maximize, etc. anyway.
-
Admin over 6 yearsIf I were you, I'd consider selecting another answer as the accepted answer, or at least unaccept the one you've currently selected...
-
-
ignis over 11 years+1. To configure maximus, one can use
gconf-editor
. To blacklist windows, add the class name returned byxprop | grep CLASS
to theexclude_class
parameter (further reading). -
Wilf almost 10 yearsA easier way is to adjust the panel height until it fits - Nice approach, thanks :D
-
Wilf almost 10 yearsAdditional note, you can set this with this command:
xfconf-query -c xfce4-panel -p /panels/panel-1/disable-struts -s "true"
- just change the true/false (the panel-number may also need to be changed) -
nmz787 over 9 years
Don't reserve space on borders
is what I wanted! -
Enigma over 9 yearsThat link appears to be dead.
-
Aaron Hall over 6 yearsI like this - but to unmaximize, minimize, or close I suppose I have to do Alt-Space or right click the program in the, uh, main panel? (I suppose for close I can also Alt-F4 it...)
-
VasyaNovikov over 6 years@AaronHall You are right. Since there is no "close" button visible, you have to do it somehow else.
-
Aaron Hall over 6 yearsI've downvoted this because the functionality appears to now be built-in to XFCE (as another answer tells us) making this a suboptimal answer. If it weren't pinned to the top, I probably wouldn't bother downvoting or writing this.
-
Jamie Krug over 6 years@AaronHall that seems fair enough. My answer was relevant when posted more than 6 years ago, so it's no surprise that XFCE has grown some new settings in that time ;-) I'm not sure how down-voting impacts my SO reputation or anything. It seems a more sensible move would be for an admin or Galadude to mark the newer/higher voted response as the accepted best answer now. I'll also throw a little update edit in my answer...
-
Aaron Hall over 6 years@JamieKrug given that Galadude seems rather inactive, and since Stack Overflow never unpins accepteds (unless they're self answers), updating your answer to reflect the new information is the right thing to do. Ideally everyone would curate their answers and keep them up to date, but that would be an unrealistic expectation for most people. Even I only curate answers I get updates on anyways...
-
VasyaNovikov over 6 yearsI usually leave outdated answers as is. After all, they were useful at some point in time. And it's not the author's fault that somebody else has the answer pinned up. I wonder why SO doesn't fix this though. Could at least allow the author to unpin his/her own answer.
-
4xy almost 6 yearsAre there panel plugins that add
close/restore/minimize
buttons? Absence of those in the panel when there is no title bar is definitely design lack. -
VasyaNovikov almost 6 years@4xy I don't know any such panel items. Could be nice to have them, but none present ATM.