I’m using the window-picker-applet from the Ubuntu Netbook theme, which pretends to be a titlebar for maximized windows and provides an icon-style taskbar. Since my screen isn’t tiny, I won’t run all my windows maximized. But when I do, I want the window’s titlebar to disappear, since it’s mostly wasted space.
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.
5 Comments
Great tip, I’ve been thinking of using Maximus but didn’t like the default behavior of starting maximized. This simple config change does exactly what I wanted.
Instead of using alt+space, n/x/c, try alt+F9 (minimize) and alt+F10 (maximize / restore).
Just what I was looking for! What’s the point of having two panels when the netbook remix has it spot on?
Just a quick tip:
If you want to un-maximize a window, you can also double click on the window title in the top panel. (This assumes you haven’t changed the default behaviour for double clicking a titlebar.)
Thank you! The window borders in Ubuntu were playing poorly with gnome-panel for some reason. This alteration makes desktop management much easier.
Thanks, really usefull.
Not using ubuntu remix, just don’t want ANYTHING else on screen when I maximize a window.
I use super+i to iconify and super+x or alt+drag to de-maximize.
Thanks, I was looking for something like this for ages! This is exactly the clean approach I was searching for.
One Trackback
[…] ในหน้าจอ CCSM เปิดไปที่ Window Decoration จากนั้นดูที่บรรทัด Decoration Windows แก้ค่า Any เป็น !state=maxvert เสร็จแล้ว ถ้าเกิดอยากจะเปิดเมนูของ Title Bar กด Alt + Space จากเว็บ http://jaket.is-a-geek.com/ […]