ROX AppDir wrapper for XFPrint4

Chuck Mead csm at MoonGroup.com
Sun Jun 8 18:47:51 CEST 2003


On Sun, 2003-06-08 at 00:38, Matthew Weier OPhinney wrote:
> -- Chuck Mead <csm at MoonGroup.com> wrote
> (on Sunday, 08 June 2003, 12:20 AM -0400):
> > On Sat, 2003-06-07 at 22:50, Matthew Weier OPhinney wrote:
> > > Don't know how many of you are using ROX with xfwm4, but if you are and
> > > you want to use xfprint such that you get drag and drop similar to using
> > > it with xffm, I've put together a very rudimentary AppDir. I'm attaching
> > > the AppRun and AppInfo.xml documents (feel free to modify and use per
> > > the GPL); I simply linked the appropriate print icon for the theme I'm
> > > using to the AppDir's .DirIcon. Make sure to make the AppRun file
> > > executable.
> > > 
> > > If I get a chance in the next day or so, I'll package it up and throw it
> > > on my website. Until then, enjoy.
> > 
> > I am not using ROX but after trying everything to get xfprint4 to work I
> > gave up and simply changed the command from xfprint4 to lpr $1
> 
> Hmmm... how were you sending files to xfprint4? My understanding, and
> the way the AppDir I created works, is that it accepts filenames as
> arguments, and then sends these to the printer. 
> 
> The script I attached is idiomatic to ROX. However, it should probably
> work with any DND launcher.

With xfprint4 listed in the applet I would drag a simple text file to
the icon and drop it... the dialogue would pop up and I would click
print and it would say it could not connect to the printer. lpr < $file
works fine from the command line.

-- 
csm

No... I am not a curmudgeon! No... really...


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://mail.xfce.org/pipermail/xfce4-dev/attachments/20030608/ce1aa30e/attachment.pgp>


More information about the Xfce4-dev mailing list