Right click to format removeable media (usb sd)

Write tutorials for Linux Mint here
More tutorials on https://github.com/orgs/linuxmint/discu ... /tutorials and (archive) on https://community.linuxmint.com/tutorial
Forum rules
Don't add support questions to tutorials; start your own topic in the appropriate sub-forum instead. Before you post read forum rules
Post Reply
hemimaniac

Right click to format removeable media (usb sd)

Post by hemimaniac »

I have witnessed quite a few people mentioning a right click to format option (where, or why not, or I've never used gparted). So right now I will explain how to do this, it sounds complicated, but actually I managed to set it up in 5 minutes.

****** For security reasons I am not a fan of this, but apparently for some SINGLE USER desktops it is a handy tool *********

First open Menu > Administration > Synaptic Package Manager

Make sure all repositories are enabled under Settings > Sources , then install (some may be installed already) gnome-format, nautilus-script-manager, nautilus-actions, nautilus-ideviceinfo, libparted0 . Make sure to agree with any addition software (dependencies)

or you can use (in terminal) sudo apt-get install gnome-format nautilus-script-manager nautilus-actions nautilus-ideviceinfo libparted0

Next either restart X (Ctrl + Alt + BKSP or in terminal do sudo pkill nautilus& nautilus&

This will kill all instances of nautilus and re-launch the file manager, after this simply go to Menu > Preferences > Nautilus Actions Configuration

Select File > New Action , you will then see New Nautilus Action in the left pane, click on it so it can be edited and edit as follows;

Action Tab

Nautilus Item - mark Display Item in selection context menu
Context Label - Format Removable Media
ToolTip - Format Removable USB & SD Media
Icon - browse to /usr/share/icons/gnome/48x48/apps/file-manager.png and select (this is just what i used, you may choose something different(
Action Properties - Enabled

Command Tab
Profile - Default Profile
Command - gksudo gnome-format
Parmeters - Blank

Folders Tab

- Should already have / listed (is suitable or you may add /media or whatever folder if created that this type of media mounts to)

Conditions Tab
Filenames - *
Match Case - Mark
Mimetypes - *
Appears if selection contains - Mark Both, Appears is selection has multiple files or folders

Advanced conditions Tab

Mark - file and smb

Once all that is finished and everything is filled out accordingly, Select File > Save then simply restart or in terminal once again
sudo pkill nautilus& nautilus&

* open nautilus and browse to regular mountpoint of removable media (/media by default) drag it over to the left with the other bookmarks, then on media insertion open media and right click on the usd/sd you want to format.

****** For security reasons I am not a fan of this, but apparently for some SINGLE USER desktops it is a handy tool *********

*edited for changes and omissions
Last edited by xenopeek on Wed Jan 09, 2013 12:57 pm, edited 1 time in total.
Reason: Unstickied
geazzy

Re: Right click to format removeable media (usb sd)

Post by geazzy »

very nice tutorial...
I'll try it :)
linmint777

Re: Right click to format removeable media (usb sd)

Post by linmint777 »

thanks, works fine.
SHENGTON

Re: Right click to format removeable media (usb sd)

Post by SHENGTON »

Hello hemimaniac, good evening. :)

I got a problem here. I followed your steps carefully but unfortunately it's not working for me. Can you help me with this because this is very useful article.

Thanks and God bless. :)
Post Reply

Return to “Tutorials”