[haiku-gsoc] Re: zeroconf browser

  • From: "François Revol" <revol@xxxxxxx>
  • To: haiku-gsoc@xxxxxxxxxxxxx
  • Date: Fri, 10 Jul 2009 11:36:35 +0200 CEST

> >
> > Hmm, there is an app that handles double clicking to launch
> > prefered apps
> > quite well, it's the Tracker ;)
> >
> > BeOS R5 had WON (World'O Networking)
> > the only screenshots I could find are in:
> > http://www.bug-br.org.br/artigos/rede-beos-versus-windows.pdf
> >
> > I've been thinking for a long time about an add-on based WON, which
> > would
> > include scanners openning with Sanity, NFS...
> >
> > You just need to publish nodes with the preferred app attribute set
> > to
> > the mime type of the app you want, or just with a custom mime type
> > so
> > people use the mime db to set their pref.
> >
> > userlandfs would help a lot there...
>
> Hm, somehow I find this all quite cryptic. If you've been thinking
> about
> this a long time, why don't you express yourself more verbosly? What
> is
> your vision in this regard?
>
> As can be seen on the Bonjour_Browser screenshot posted, the number
> of
> services can be quite high, I don't want all of these on my desktop.
>

I've talked about it once, you don't necessarily need to see all
services of all machines at once.

It could be more like:

/surroundings/
        by protocols/
                ftp/
                        mylinuxbox/
                smb/
                        mylinuxbox/
                                HOMES (SMB)
                        yourmac/
        scanners/
                agfa-foobar
                scanmax
        printers/
                Lexmark 4120            (opens with printing prefs, adds itself 
to it)
                remote/
                        mylinuxbox/
                                HP PrintJet (IPP)
        machines/
                mylinuxbox/
                        HOMES (SMB)/    (opens with cifsmount)
                yourmac
                        Shared (SMB)
                        iChat (irc)             (irc:// bookmark)
                        extra/


Of course it could be made query aware, meaning one could query by name
("irc") or by META:url=="*irc*".

The windows network neighbourhood supports adding shortcuts. We could
allow putting queries inside, like "IRC servers" or "My homes" pointing
to SMB shares with my own login...

Maybe we could also use the same trick as devfs, mirror an existing dev
/ tree on disk with queries.

> The first thing that comes into my mind is the Network preflet. But
> maybe
> it would help to know more about how this works and what the user is

Hmm IMO those are not really prefs though.

> supposed to be able to do. I guess there is the side of configuring
> the
> users computer he is sitting in front of (Network preflet) as well as
> exploring the services of other computers on the network. But now is
> the
> question of what the user shall be allowed to do when looking at
> services
> from other computers. For the exploring part, it does make a lot of
> sense
> to have integration with Tracker. Do I understand correctly that
> World of
> Networking implements a virtual file system and creates nodes on the
> fly
> that have their preferred app set so that double clicking can launch
> applications that allow further configuration of the service that the
> icon
> represents?

Yes, it presented SMB servers, and shares inside them.
Double-clicking them would open them with itself (da_hood) which would
present a login dialog.

It was buggy but worked not too bad.

Can't seem to find the screenshot I took when I got it working in BONE,
which was selfdescribing...

François.

Other related posts: