2009년 8월 3일 월요일

컴피즈로 제목 표시줄 숨기기

Compiz의 Window Decoration 플러그인으로 원하는 창의 제목표시줄 숨기는 방법

REMOVE TITLEBAR ON MAXIMIZED WINDOWS WITH COMPIZ

작업 표시줄을 화면 상단으로 옮기면 제목이 위에 보이기때문에 제목 표시줄이 없어도 될 것 같아 찾아보았다.

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.

댓글 없음:

댓글 쓰기