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?
4 Answers
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.
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.
-
-
-
Arthur. Retrieved from the Google cache. Added it to this answer just in case the bog entry has been deleted. Nov 10, 2009 at 0:19
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.
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.
-
-
well, 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!– mrucciNov 7, 2009 at 11:40