Remove Titlebar on Maximized Windows with Compiz

I’m using the window-​​picker-​​applet from the Ubuntu Net­book theme, which pre­tends to be a title­bar for max­i­mized win­dows and pro­vides an icon-​​style taskbar. Since my screen isn’t tiny, I won’t run all my win­dows max­i­mized. But when I do, I want the window’s title­bar to dis­ap­pear, since it’s mostly wasted space.

You can add a rule to Com­piz to hide the title­bar on max­i­mized win­dows. Here’s how:

Open the com­piz con­fig panel (it’s called ccsm; install it if you don’t have it already (sudo apt-get install compizconfig-settings-manager). Go to “Win­dow Decorations”.

The next to last line is “Dec­o­ra­tion Win­dows”. The default is “any”, which means that any win­dow gets decoration. 

We want to turn off dec­o­ra­tion for max­i­mized win­dows. So we’re going to replace any with !state=maxvert.

This removes win­dow dec­o­ra­tions for win­dows that are max­i­mized ver­ti­cally (nor­mal max­i­miza­tion is actu­ally ver­ti­cal max­i­miza­tion (“maxvert”) and hor­i­zon­tal max­i­miza­tion (“maxhorz”)).

There you have it–your max­i­mized win­dows don’t have any title­bars. If you need to do any­thing with them (min­i­mize, close, etc), you can use Alt+space and then hit the hotkey for what­ever you want: n=minimize; x=unmaximize; c=close; etc. 

This entry was posted in linux. Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

5 Comments

  1. Andb
    Posted January 5, 2010 at 12:31 am | Permalink

    Great tip, I’ve been think­ing of using Max­imus but didn’t like the default behav­ior of start­ing max­i­mized. This sim­ple con­fig change does exactly what I wanted.

    Instead of using alt+space, n/x/c, try alt+F9 (min­i­mize) and alt+F10 (max­i­mize / restore).

  2. Phill
    Posted May 7, 2010 at 6:02 am | Permalink

    Just what I was look­ing for! What’s the point of hav­ing two pan­els when the net­book remix has it spot on?
    Just a quick tip:
    If you want to un-maximize a win­dow, you can also dou­ble click on the win­dow title in the top panel. (This assumes you haven’t changed the default behav­iour for dou­ble click­ing a titlebar.)

  3. thank you
    Posted May 11, 2010 at 2:03 pm | Permalink

    Thank you! The win­dow bor­ders in Ubuntu were play­ing poorly with gnome-panel for some rea­son. This alter­ation makes desk­top man­age­ment much easier.

  4. Posted June 9, 2010 at 5:10 pm | Permalink

    Thanks, really use­full.
    Not using ubuntu remix, just don’t want ANYTHING else on screen when I max­i­mize a win­dow.
    I use super+i to iconify and super+x or alt+drag to de-maximize.

  5. Seth Kriticos
    Posted July 11, 2010 at 5:49 am | Permalink

    Thanks, I was look­ing for some­thing like this for ages! This is exactly the clean approach I was search­ing for.

One Trackback

  1. […] ในหน้าจอ CCSM เปิดไปที่ Win­dow Dec­o­ra­tion จากนั้นดูที่บรรทัด Dec­o­ra­tion Win­dows แก้ค่า Any เป็น !state=maxvert เสร็จแล้ว ถ้าเกิดอยากจะเปิดเมนูของ Title Bar กด Alt + Space จากเว็บ http://jaket.is-a-geek.com/ […]

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>