Xfce Helper proof of concept
edscott
edscott at prodigy.net.mx
Fri Aug 27 02:01:04 CEST 2004
El jue, 26-08-2004 a las 17:54, Erik Harrison escribió:
> Doesn't xffm support opening a document with the users current default?
>
Yes, for quite a while in CVS. I think I did not announce it (like so
many other things). If you give a path to xffm then three things might
happen:
1- If the path is a directory, then that directory is opened with xffm.
2- If the path has an associated executable to the respective mimetype,
then that application is opened with the path as an argument (like
double clicking in xffm). In this case xffm is not started (only
libxfcegui4/xfce4-modules/mime is used).
3- If there is no associated executable to the path, then xffm will not
open either. Instead xfrun4 will open and the title bar of xfrun4 will
read "Open xxx.xxx with what program?" (xxx.xxx is the path specified).
Use xfrun4 to select program.
If path does not exist, xffm will open. An error message dialog might be
more appropriate in this case, I don't know.
Jasper, have a look at it and see if it is similar to xfce4-helper. I'm
not quite sure what you mean so it may be something else.
regards,
Edscott
> Just curious as to the particular need.
>
> -Erik
>
> On Fri, 27 Aug 2004 00:17:48 +0200, Jasper Huijsmans <jasper at xfce.org> wrote:
> > Hey all,
> >
> > This evening I made a little prototype for a helper application for
> > xfce. It uses a config file (using xfce_rc_* functions) to lookup the
> > apps and there is an mcs plugin that allows the user to set them.
> >
> > Get it here: http://www.loculus.nl/xfce/files/xfce4-helper-0.2.tar.gz
> >
> > It currently supports three things:
> >
> > xfce4-helper browser [ARGS]
> >
> > xfce4-helper terminal [-e] [ARGS]
> >
> > xfce4-helper filemanager [ARGS]
> >
> > What do you think? Is this something we want to have in Xfce? Are there
> > better alternatives?
> >
> > Jasper
> > _______________________________________________
> > Xfce4-dev mailing list
> > Xfce4-dev at xfce.org
> > http://lunar-linux.org/mailman/listinfo/xfce4-dev
> >
>
More information about the Xfce4-dev
mailing list