Playing with the shiny new Linux FlashPlayer 9 Beta:

$  gflashplayer -h
Usage: gflashplayer [OPTION]... [SWF_FILE]...
Options:
  -h, --help            Display this help and exit
  -root                 Use root window for xscreensaver
                        [SWF_FILE] required in this mode
  -window-id <id>       Window ID for xscreensaver-demo preview


This looks like it should work, but I always get a blank gflashplayer
window and an error:

$ gflashplayer -root mytest.swf
(gflashplayer:9084): Gdk-WARNING **: GdkWindow 0x340003e unexpectedly destroyed

I tried to "install" it as a screensaver, i.e., have it listed in the
xscreensaver settings (aka: xscreensaver-demo):

$ xscreensaver-demo
(gflashplayer:9079): Gdk-WARNING **: GdkWindow 0x360003e unexpectedly destroyed

To get it into xscreensaver-demo, I copied gflashplayer to
/usr/lib/misc/xscreensaver/gflashplayer and added a gflashplayer.xml
to /usr/share/xscreensaver/config/ :

<?xml version="1.0" encoding="ISO-8859-1"?>

<screensaver name="gflashplayer" _label="FlashPlayer">
  <file id="swf" _label="SWF to display:" arg="-root %" />
  <_description>
Play a SWF file as screensaver.
  </_description>
</screensaver>

...and added the following line to the other screensavers into
/usr/lib/X11/app-defaults/XScreenSaver under *programs:

        "FlashPlayer"   gflashplayer -root      \n\


Is there something I'm doing wrong?
Does it work for anybody else?

Thanks!

Mark

_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org

Reply via email to