[PLUG] associate *.PLT files with lpr?
Russell Senior
russell at personaltelco.net
Sat Nov 11 06:26:18 UTC 2017
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.heidtmann at 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.heidtmann at 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 at pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
More information about the PLUG
mailing list