Right click to format removeable media (usb sd)

Write tutorials here
There are more tutorials here http://community.linuxmint.com/tutorial/welcome
Forum rules
Please don't add support questions to tutorials,start your own thread in the appropriate sub-forum instead. Before you post please read this
User avatar
Level 5
Level 5
Posts: 503
Joined: Thu Feb 04, 2010 1:26 pm
Location: London ON

Right click to format removeable media (usb sd)

Postby hemimaniac » Mon Nov 15, 2010 11:19 am

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
"Linux allows for one thing above all else - 'A user can truly be themselves!'"

Level 1
Level 1
Posts: 6
Joined: Sun May 08, 2011 5:09 am

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

Postby geazzy » Sun May 08, 2011 8:46 pm

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

User avatar
Level 5
Level 5
Posts: 648
Joined: Thu Nov 26, 2009 11:00 am

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

Postby linmint777 » Mon May 09, 2011 12:27 am

thanks, works fine.
Linux Mint #1 Distro.

Level 1
Level 1
Posts: 17
Joined: Tue Apr 12, 2011 12:45 am

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

Postby SHENGTON » Sun May 15, 2011 11:07 am

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. :)

Return to “Tutorials”

Who is online

Users browsing this forum: No registered users and 3 guests