hacking x11 protocol

Lucio Crusca ml at sulweb.org
Tue Feb 6 01:59:33 PST 2007


Hello everybody,

I'm a newbie here. Here is my problem:
My customer asked me to setup a linux system so that it loops some flash 
movies all the time (commercials).
Adobe has recently released a standalone flash player for linux 
(http://download.macromedia.com/pub/flashplayer/updaters/9/flash_player_9_linux_dev.tar.gz). 
Quite a dumb one to be honest (it doesn't even support a playlist). So I've 
written a bash script that fires up the Adobe player once for each SWF file 
in a given directory. Each SWF file is a fullscreen commercial ."Fullscreen" 
is an attribute (or something like that) embedded in the SWF file.

The problem is that when my script opens a new instance of the player, the 
player first displays its window for a fraction of a second and then goes 
fullscreen. That's quite ugly to see between commercials.

Now the fu**ed Adobe player is closed source, non free and whatever, so I 
can't patch it (besides, I could happen to lack the skills...). I was 
wondering if it was possible to hack the X11 protocol with a local protocol 
forwarder to force every window not to show its frame and to open up 
fullscreen from scratch.

Can you point me in the right direction please? Or have you got better ideas 
on how to solve the problem with something maybe already present in XOrg?

Thanks in advance,
Lucio.

P.S. I'm not subscribed, please CC me the replies.




More information about the xorg mailing list