how to get rid of top window borders in Ubuntu
Solution 1
There is a new package now, developed for the upcoming Unity project. It's called maximus, and it's available in the repositories by that same name.
It's very simple and works seamlessly. It just ensures that every window opens up maximized, and that every maximized window has no titlebar. Though the (un)maximize and close buttons are gone with the title bar, you can still un-maximize your windows normally using other methods. Any window you un-maximize will get it's titlebar back, and if you maximize it again the titlebar goes away again. It's also smart enough not to force pidgin's buddy list to open maximized, and the same goes for dialog boxes and stuff.
To use it:
sudo apt-get install maximus
maximus
Easy as that. Any window opened from now on will be under the effects described.
Solution 2
In Ubuntu, this is controlled by your theme. If you are running the ubuntu default, then this is metacity / Human. You can find this theme in /usr/share/themes/Human/metacity-1/
.
The actual theme is defined in the metacity-theme-1.xml file.
You can copy this theme to ~/.themes/Human/metacity-1/
and edit the xml file. By editing the normal geometry heights & changing the font, you can cut a lot off, but not down to 2 pixels. Alternatively, If you don't mind changing themes, there is a metacity theme that eliminates the title bars for maximized windows.
If you care to install compiz, you can follow the instructions below to completely remove the title bar according to a rule you define (the link explains how to do it when a window is maximized).
Instructions from google's cache of this site:
You can add a rule to Compiz to hide the titlebar on maximized windows. Here’s how:
Open the compiz config panel (it’s called ccsm; install it if you don’t have it already (sudo apt-get install compizconfig-settings-manager). Go to “Window Decorations”.
The next to last line is “Decoration Windows”. The default is “any”, which means that any window gets decoration.
We want to turn off decoration for maximized windows. So we’re going to replace any with !state=maxvert.
This removes window decorations for windows that are maximized vertically (normal maximization is actually vertical maximization (“maxvert”) and horizontal maximization (“maxhorz”)).
There you have it–your maximized windows don’t have any titlebars. If you need to do anything with them (minimize, close, etc), you can use Alt+space and then hit the hotkey for whatever you want: n=minimize; x=unmaximize; c=close; etc.
There is similar advice on the compiz forum.
Solution 3
You could always try Ubuntu Netbook Remix. When you maximze a window under UNR, it actually merges the title bar into the top task bar. And you can probably auto-hide the top bar.
Solution 4
You can try 'window-picker-applet' (and eventually 'maximus') to save a lot of you precious vertical screen real estate.
Honestly I did not liked it very much but if you are using a netbook with limited screen size than some thing has to be done. For example I am using an asus eee with wmii and vimperator. A very minimalistic approach but also very powerful.
Related videos on Youtube
Arthur Ulfeldt
TLDR Clojure, Docker, Linux, Security, Teaching. https://www.linkedin.com/learning/instructors/arthur-ulfeldt?u=2125562 contacting me: If you are interested in learning clojure you can call me at 1-219-CLOJURE For general Clojure chatting you can find me in IRC #clojure on freenode (thearthur) email < my first name >@< my last name >.com Interests I'm a Clojure and Linux nut with a long standing interest in virtual machines and fancy networking of all sorts. At work I write Clojure Web apps and such full time for yummly.com as well as writing "cloud" deployment systems (some would call it "devops", though I think that term is worn out by now). At home I play with Clojure, Linux, docker, Amateur Radio, and Cryptography quite a bit. I have been a functional programming enthusiast for many years and get quite a lot of personal satisfaction every time i use anything map-reduce related. I am interested in network security related projects and people that are trying to steer the world away from "the corporate castle" metaphor. If you have or are thinking about such a project I would love to hear from you. note for recruiters: I would like to politely decline any positions you might have with "devops" or "language-name engineer" in the title. PS: KE6DRD
Updated on September 17, 2022Comments
-
Arthur Ulfeldt over 1 year
I'm losing a lot of precious vertical screen real estate to the fat border at the top of each window. is there anything I can do to make it go away or get it down to 2 pixels?
-
Ryan C. Thompson over 14 yearsOut of curiosity, how do you do your window management without title bars?
-
UNK over 14 yearsAlt-Click to move, alt-RClick to resize, set a few winManagement shortcuts, and you'll never miss it.
-
-
Arthur Ulfeldt over 14 yearsWonderfull! now windows use the whole screen when maximized!
-
Arthur Ulfeldt over 14 yearswhat do they do?
-
bpa over 14 yearswell, it's a long story. First, before you consider using wmii and or vimperator you should be comfortable with touch-typing and with the vim keybindings. They try to make browsing and managing a desktop environment completely mouseless. This means, besides many other things, that you just need a barely minimal user interface (no buttons, menus, toolbars etc.) because you will control everything with the keyboard. Eliminating UI elements will free precious screen space and by using only the keyboard you will become a more productive superuser!
-
Arthur Ulfeldt over 14 yearsthe "these instructions" link seems to be down
-
DaveParillo over 14 yearsArthur. Retrieved from the Google cache. Added it to this answer just in case the bog entry has been deleted.