Printing via Konqueror

Des Dougan des at
Wed Mar 17 06:45:14 GMT 2004

On Tue, 2004-03-16 at 19:29, James Richard Tyrer wrote:
> Des Dougan wrote:
> > In that other OS, I can select files, right click and select "Print"
> > (with the default application). Can I do this in Konq? I can't see a
> > menu option to allow me to do this.
> AFAIK, you can't do that in *NIX.
> It might be possible for you to set it up if (and only if) your application 
> will print a file using the command line.  But, this would be for each 
> application, there is no general way to do it.
> If the application will print from the command line you need to add the 
> command to the: 'desktop' file like it is for: "Eject":
> 	[Desktop Action Eject]
> 	Exec=/usr/bin/eject /dev/hdc
> 	Name=Eject
> 	[Desktop Entry]
> 	Actions=Eject
> So it would be something like this in the 'desktop' file for the menu:
> 	[Desktop Action Print]
> 	Exec="/usr/local/OpenOffice.org1.1.0/program/swriter" -p %F
> 	Name=Print
> 	[Desktop Entry]
> 	Actions=Print
> Where the: "Exec" needs to be the correct command for your application. 
> This is for OpenOffice Writer.  I haven't tried this but it should work.


Thanks for your reply. I'd like to try your suggestion (OOo and Acrobat
are the two applications I'd most use this for); however, I have no
"desktop" file that I can find in my KDE environment, nor can I find a
reference in the online help. If you're referring to the *.desktop
config files, I don't have one that covers the Eject command (I'm
running SuSE 9, if that has an impact).


Des Dougan, Principal
Dougan Consulting Group

Ph: 604-980-2848       Email: des at DouganConsulting dot com

Design - Implementation - Support

This message is from the kde mailing list.
Account management:
More info:

More information about the kde mailing list