Speaking of doing things automagically on a file event. One could put the files to the same directory every time, and setup a trigger on the directory change event. There would be no real delay that way and as soon as a file shows up, it could be sent to a printer.
If you are interested in that, search for: monitoring files directories by incron. Tomas On Nov 10, 2017 10:26 PM, "Russell Senior" <russ...@personaltelco.net> wrote: > Rather than clicking on it, you could set up a cronjob (or similar) > that sends everything it finds in the particular directory you "print" > it to, and automatically sends it to the printer and then deletes it. > That would make it kind of automatic, if adding a little latency. > > > Russell > > On Fri, Nov 10, 2017 at 3:32 PM, Denis Heidtmann > <denis.heidtm...@gmail.com> wrote: > > Figured it out. I needed to add %U to the exec line in the .desktop > file. > > > > Where is there a list of the various command line options (such as this > %U)? > > > > Thanks, > > -Denis > > > > On Fri, Nov 10, 2017 at 3:14 PM, Denis Heidtmann < > denis.heidtm...@gmail.com> > > wrote: > > > >> I would like to be able to double-click on a .PLT file to have lpr > launch > >> with the file as the argument. > >> > >> I have created a *.desktop file, made it executable, and placed it in > >> ~/.local/share/applications. It shows up in Dash. But it does not > show as > >> an application that I can associate with a file. > >> > >> Am I going in the right direction? > >> > >> Thanks, > >> -Denis > >> > > _______________________________________________ > > PLUG mailing list > > PLUG@pdxlinux.org > > http://lists.pdxlinux.org/mailman/listinfo/plug > _______________________________________________ > PLUG mailing list > PLUG@pdxlinux.org > http://lists.pdxlinux.org/mailman/listinfo/plug > _______________________________________________ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug