Ubuntu – hide the title bar of MPlayer in gnome

gnomegtkmplayerwindow

I'm on a 10.04 machine with MPlayer, version SVN-r1.0~rc3+svn20090426-4.4.3.

When you invoke MPlayer from the command line to show a file, it displays the file within a window. This bar has a title, "MPlayer".

enter image description here

How can I disable this bar, entirely? I don't want to remove the title only, but the complete window bar. It's probably not an MPlayer option, but rather something with the window toolkit?

Best Answer

If it's just for MPlayer you could use the -noborder argument. ;)

mplayer -noborder my_video.ogg

Screenshot of How fast.ogg

As a more general option, if you're using Compiz (default), you can:

  1. Install and launch the CompizConfig Settings Manager (Install)
  2. Select the Window Decoration plugin and hit the "plus" sign next to "Decoration Windows".
  3. Describe the type of window you do not want title bars on with an "And" relationship, and mark "Invert". For example:

Window Class: MPlayer, And relation, Inverted

Click "Add" and enjoy!