unless you intend to set a window manager don't use spawnwm. I know this
is a pain in the butt but i am holding off with documentation in the
wiki until the release is made in order to not confuse people.
But this is meant to be a generic mechanism for starting any program so
no silliness is done for web browsers. The info section is there for an
eventual different display method in the commands module I have planned
down the road. If you want to start at Yahoo then set it as the homepage
in the browser. Or you do this in the fxd file:

<?xml version="1.0" ?>
<freevo>
    <command title="Mozilla">
        <cmd>/usr/bin/firefox http://www.yahoo.com/</cmd>
        <stoposd />
        <info>
            <content>Test</content>
        </info>
    </command>
</freevo>

-- 
Mike Ruelle <[EMAIL PROTECTED]>

On Sat, 2004-06-12 at 10:33, Matthew Bettencourt wrote:
> That fixed it, sort of.  It no longer crashes at least.  My .fxd file 
> looks as follows.  Is this right??  I am assuming content contains URLs?
> <?xml version="1.0" ?>
> <freevo>
>     <command title="Mozilla">
>         <cmd>/usr/bin/firefox</cmd>
>         <stoposd />
>         <spawnwm />
>         <info>
>             <content>http://www.yahoo.com/</content>
>         </info>
>     </command>
> </freevo>
>  
> 
> Mike Ruelle wrote:
> 
> >You can add the following to local_conf.py:
> >
> >COMMAND_SPAWN_WM = None
> >COMMAND_KILL_WM = None
> >
> >There is supposed to be a default of nothing supplied by the config
> >method of fxdhandler. Not sure why that isn't working. Will take it up
> >with dischi.
> >
> >Mike
> >
> >On Wed, 2004-06-09 at 23:06, Matthew Bettencourt wrote:
> >  
> >
> >>I can't seem to get the mozilla plugin working right..  Here is what I 
> >>have done.
> >>
> >>plugin.activate('command.CommandMainMenuItem', 
> >>args=('/home/matt/freevo/WIP/Ruelle/Mozilla.fxd',) , level=48)
> >>This is with the latest CVS as of 9pm jun 9
> >>
> >>When I run it I get
> >>
> >>Crash!
> >>Traceback (most recent call last):
> >>  File "/home/matt/freevo/src/main.py", line 501, in ?
> >>    MainMenu().getcmd()
> >>  File "/home/matt/freevo/src/main.py", line 200, in getcmd
> >>    items += p.items(self)
> >>  File "/home/matt/freevo/src/plugins/command.py", line 447, in items
> >>    parser.parse()
> >>  File "/home/matt/freevo/src/util/fxdparser.py", line 225, in parse
> >>    callback = self.read_callback[node.name](self, node)
> >>  File "/home/matt/freevo/src/plugins/command.py", line 287, in fxdparser
> >>    item = CommandItem()
> >>  File "/home/matt/freevo/src/plugins/command.py", line 231, in __init__
> >>    self.spawnwm = config.COMMAND_SPAWN_WM
> >>AttributeError: 'module' object has no attribute 'COMMAND_SPAWN_WM'
> >>{mail 81}
> >>
> >>any ideas???
> >>Thanks
> >>Matt
> >>
> >>
> >>-------------------------------------------------------
> >>This SF.Net email is sponsored by: GNOME Foundation
> >>Hackers Unite!  GUADEC: The world's #1 Open Source Desktop Event.
> >>GNOME Users and Developers European Conference, 28-30th June in Norway
> >>http://2004/guadec.org
> >>_______________________________________________
> >>Freevo-users mailing list
> >>[EMAIL PROTECTED]
> >>https://lists.sourceforge.net/lists/listinfo/freevo-users
> >>    
> >>
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by the new InstallShield X.
> >From Windows to Linux, servers to mobile, InstallShield X is the
> one installation-authoring solution that does it all. Learn more and
> evaluate today! http://www.installshield.com/Dev2Dev/0504
> _______________________________________________
> Freevo-users mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/freevo-users




-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the
one installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
_______________________________________________
Freevo-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to