[MPlayer-dev-eng] [PATCH] Change the mplayer window title

Aurelien Jacobs aurel at gnuage.org
Sun Jan 29 18:00:08 CET 2006


On Sat, 28 Jan 2006 20:29:08 +0100
Guillaume POIRIER <poirierg at gmail.com> wrote:

> Hi,
> 
> On 1/28/06, Tim Wojtulewicz <timwoj at ieee.org> wrote:
> > I had to write this for work so I figured I'd submit it.  It's a
> > simple patch to change the title of the mplayer window.  I could only
> > test it against quartz and x11, so there might be other platforms
> > that need changes to support it.  I made note of that in the man page
> > change.
> 
> The patch seems to me trivial enough to be quite sure that it won't
> break anything... However, I must say I don't find it all that useful,
> except if it was somewhat possible to make append the filename of
> title name of the file.

I can see at least one usage.
With some WM such as fvwm, you can configure the WM behavior on a spceific
window. And the window is selected by it's title.
So with this new mplayer options, I could have different WM config for
different mplayer usage.
For example, one config for watching tv (small window sticky on all
desktops, with no title bar and no border), and another one for watching
DVDs.
Then I would just have to add the "-window-title mptv" option in the
shortcut I use to launch mplayer in "TV mode".

> Maybe your could add some sub options ?

This could be nice too.

Aurel




More information about the MPlayer-dev-eng mailing list