Removing only certain mounted volume icons

Asked by ulfjr

I have read the solution to removing desktop icons with the gconf-editor, but that is not exactly what I want to do. Using the gconf-editor option gets rid of ALL of the mounted drives on the desktop. I am wondering how I can remove just one icon, but still have the icons for the removable media still pop up. The drive I don't want to show up is my windows partition. I don't ever use my windows files, so would it be possible to unmount that partition, or would that unmount the whole hard drive (which also contains ubuntu)?

Thanks

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Sidarth Dasari
Solved:
Last query:
Last reply:
Revision history for this message
Best Sidarth Dasari (sirsid) said :
#1

You can unmount that partition which runs windows.
Type the following in console

sudo gedit /etc/fstab

That is the config files that controls mounting partitions and so on at boot. Comment the line that mounts your windows partition. (Just add a # before the line)

You have to identify which partition the windows partition is though. You can use gparted to see your partition table and see what you windows partition is labeled as (it will be sdaX where x is the number the partition is)

Revision history for this message
ulfjr (rdhb57) said :
#2

Thanks Sidarth Dasari, that solved my question.