LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-23-2009, 11:54 AM   #1
shivkiyer
Member
 
Registered: Jun 2007
Location: India
Distribution: Ubuntu, Slackware
Posts: 162

Rep: Reputation: 15
External USB icons on desktop


I am using Ubuntu Hardy on a Dell Inspiron 1525. I have an external 500G harddisk that has 5 partitions (both ext3 and FAT32). I usually connect it and the icons appear on the desktop and I never mount it using the mount command. I was wondering if it was possible to automatically mount it to mount points like /mnt/software, /mnt/movies, /mnt/music, etc.

So from Nautilus I tried experimenting with one of the partitions (ext3, 195G, options: rw, nosuid, relatime, data=ordered). I did a right-click and then went to Properties. The last tab was Volume. Here it listed the volume mount point, filesystem type and options and there I entered new options particularly the mount point.

Now when I plug the drive in, the partition that I edited doesn't show up. When I click on it from Nautilus and try to mount it, it gives me an error:

Quote:
mount point cannot contain the following characters: newline, G_DIR_SEPARATOR (usually /)
I don't get any "Volume" options like I get with the other partitions. So I don't have a clue as to how to restore the original settings.

Can anyone tell me where and how can I get back my original partition settings?

Thanks in advance.
 
Old 09-23-2009, 11:58 AM   #2
~sHyLoCk~
Senior Member
 
Registered: Jul 2008
Location: /dev/null
Posts: 1,173
Blog Entries: 12

Rep: Reputation: 129Reputation: 129
Try specifying mount points in /etc/fstab
 
Old 09-24-2009, 12:15 AM   #3
shivkiyer
Member
 
Registered: Jun 2007
Location: India
Distribution: Ubuntu, Slackware
Posts: 162

Original Poster
Rep: Reputation: 15
Thanks for the response. Actually, I can still mount it from command prompt with mount command and so fstab will also work. But I would like the external USB disk to be used only when necessary and so it isn't plugged in always. When I plug it in the icons appear on the desktop. With the partition I fiddled with, the icon has disappeared and when I try to click on it through Nautilus it gives the error.

I wanted to know how to correct it in Nautilus and get my settings back. I was looking for any setup files (in .nautilus/ for example) in my home folder but couldn't find any. Any ideas on this?
 
Old 09-24-2009, 12:29 AM   #4
~sHyLoCk~
Senior Member
 
Registered: Jul 2008
Location: /dev/null
Posts: 1,173
Blog Entries: 12

Rep: Reputation: 129Reputation: 129
Quote:
Originally Posted by shivkiyer View Post
I wanted to know how to correct it in Nautilus and get my settings back. I was looking for any setup files (in .nautilus/ for example) in my home folder but couldn't find any. Any ideas on this?
Sorry /me is not a nome user. Anyway will deleting ~/.nautilus be a bad idea? I mean you could just move it to somewhere and see if the problem is resolved, else if things go wrong you can always move it back!
I'd say:

Code:
mv ~/.nautilus ~/nautilus
and then see.
 
Old 09-24-2009, 10:03 AM   #5
shivkiyer
Member
 
Registered: Jun 2007
Location: India
Distribution: Ubuntu, Slackware
Posts: 162

Original Poster
Rep: Reputation: 15
I tried moving the .nautilus folder. Didn't work. So I went hunting for the file that holds the key to my partition. I looked in .gconf/ in my home directory. Inside it there is:
system/volumes/_org_freedesktop_Hal_devices_volume_uuid_442847b8_aebf_4bc8_ae64_1f2430142a0d

Which has %gconf.xml with
Code:
<?xml version="1.0"?>
<gconf>
        <entry name="mount_options" mtime="1253723140" type="list" ltype="string">
                <li type="string">
                        <stringvalue>rw,</stringvalue>
                </li>
                <li type="string">
                        <stringvalue>nosuid,</stringvalue>
                </li>
                <li type="string">
                        <stringvalue>nodev,</stringvalue>
                </li>
                <li type="string">
                        <stringvalue>relatime,</stringvalue>
                </li>
                <li type="string">
                        <stringvalue>data=ordered</stringvalue>
                </li>
        </entry>
        <entry name="fstype_override" mtime="1253723072" type="string">
                <stringvalue>ext3</stringvalue>
        </entry>
        <entry name="mount_point" mtime="1253723068" type="string">
                <stringvalue>/dev/sdb2</stringvalue>
        </entry>
</gconf>
This is the change I made to the partition. I moved the volumes directory elsewhere and still no luck. Any ideas anyone?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
USB external disk stopped showing up on the desktop pwc101 Slackware 21 11-14-2008 12:38 AM
Fedora 9 – how to boot external usb harddisk using both Notebook and Desktop ezsurf Linux - Hardware 1 10-01-2008 06:05 AM
how to create and remove desktop icons or icons from shell scripts? kkpal Linux - Newbie 7 09-01-2008 10:04 AM
Desktop icons dosnt have ToolTips (apear when mouse hover above desktop icon) Acidx Linux - General 1 12-03-2006 07:48 PM
GNOME doesn't create desktop icons for USB drives drigz Linux - Software 2 04-24-2006 11:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:07 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration