I'm using XFCE on 10.10 and this is just one of those "is this even possible" type questions.

When I have the terminal maximized, is it possible to remove the titlebar, including the close, minimize and maximize buttons?

In essence, it'd be nice to have a fully maximized, transparent terminal overlay. I tend to use terminal text editors alot, and this would be an interesting effect.

1 Answer 1


This should do what you want:

Copy and paste this into your favourite text editor:

#! /usr/bin/python
from gtk.gdk import *

state = w.property_get("_NET_WM_STATE")[2]
maximized='_NET_WM_STATE_MAXIMIZED_HORZ' in state and '_NET_WM_STATE_MAXIMIZED_VERT' in state
if maximized: w.unmaximize()
if w.get_decorations() == 0 :

if maximized: w.maximize()

save in your home folder with the name decoration.py

Add execute permissions:

chmod +x ~/decoration.py

Create a keyboard shortcut:

enter image description here

For the shortcut in the picture - maximize your terminal and type ALT+y to remove the window decoration in the terminal.

enter image description here

  • Just what I was looking for! Thanks! Only issue it takes two ALT-Y keypresses to get it working, but other than that...
    – Jason
    Nov 3, 2011 at 23:59
  • A nice script, thanks. It worked intermittently with foobar+wine, fixed it by commenting out all the refs to "maximixed".
    – user86926
    Sep 1, 2012 at 17:13
  • 1
    How could I apply this to all applications on startup?
    – jaorizabal
    Aug 31, 2013 at 19:17
  • me too. all windows at startup Mar 21, 2014 at 13:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.