Reputation: 41
I am using Gnome with Archlinux. My default file manager is Nautilus. How do I add recommended apps in "right-click" menu? (Ubuntu-like) They listed only, when I click "Open with other Application" But it's too long!
Upvotes: 4
Views: 6264
Reputation: 955
Items in Nautilus's 'Open With Other Application' dialogue are added to to the 'recommended' list automatically after using it once (successfully).
Create a desktop-file in ~/.local/share/applications/
to add another item to the list of available applications.
Example entry to mount disk images (like LUKS container) writable (copied from /usr/share/applications/gnome-disk-image-mounter.desktop
):
[Desktop Entry]
Name=Disk Image Mounter (rw)
Comment=Mount Disk Images writable
Exec=gnome-disk-image-mounter --writable %U
Icon=drive-removable-media
MimeType=application/x-cd-image;application/x-raw-disk-image;
Terminal=false
StartupNotify=false
Type=Application
NoDisplay=true
Refer to man update-desktop-database
or man desktop-file-install
for more information about desktop-files.
Upvotes: 5
Reputation: 406
To install nautilus-action on Ubuntu, run simply this command via the Terminal:
sudo apt-get install nautilus-actions
(or equivalant packet manager as yum or pacman)
After the installation is complete, let's now see a quick example of how to add an extra action to the right-click menu with nautilus-actions.
The example consists of adding to the right-click menu the "Edit With Gimp" action to edit, for example, image files using The Gimp (Image Editor).
_Using the dash search "nautilus-actions" and click Nautilus-Actions Configuration.
_Under the Action tab, fill the following fields:
_Open now the Command tab and fill in the following fields:
_Log out the current session and log on again, or simply restart Nautilus with these commands from the Terminal:
nautilus -q
nautilus
Upvotes: 1