I was wondering if it could be added to the right click menu an option to "print" the file without the need to open it and then print it.
Ubuntu – How to add right click Print option to libreoffice files in Nautilus
11.10nautilusprinting
11.10nautilusprinting
I was wondering if it could be added to the right click menu an option to "print" the file without the need to open it and then print it.
Best Answer
Once potential solution is to use nautilus-actions to create a right-click menu option in nautilus.
Unfortunately, the version in oneiric causes a segmentation fault. One good third-party PPA you could use is described in this answer.
An alternative is to download the 32bit or 64bit .deb package from the precise repository and install this (
sudo dpkg -i [deb-package-name].deb
)to install
Copy and paste line by line the following in a terminal:
Now launch the config tool:
Create a new action called Libreoffice Print
Then enter the the command
libreoffice
with the parameters-p %F
as per this image.Hint: If you want't you can enter
-p %M
instead and select Appears if selection has multiple files or folders. Then you can select and print multiple files.Another Hint: You might want to ristrict the entry to LibreOffice files. So enter **.odt* as filename condition.
nautilus refresh
Although I'm not not sure why - if you install the package
nautilus-refresh
then the nautilus-actions sub-menu is combined with the standard right-click menu option as per the first image in this answer.Save. Run the following for the new menu option to take effect.