LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
LinkBack Search this Thread
Old 06-17-2007, 06:00 AM   #1
Xstar
LQ Newbie
 
Registered: Nov 2005
Posts: 12

Rep: Reputation: 0
A question about Ubuntu 7.04


How can I hide the Windows partition icons in the nautilus!Which file shoud I edit?My system is Ubuntu 7.04!
THX!
 
Old 06-17-2007, 06:12 AM   #2
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
Quote:
How can I hide the Windows partition icons in the nautilus!
Excuse me? Nautilus will only display the windows partition if you browsed to it's parent directory. This is normal, and desirable, behavior. Otherwise it wouldn't be much good as a file browser. (You could rt-click the icon, select rename, back-arrow, type a dot, enter. This will turn it into a hidden file.)

The desktop (metacity) may display an icon for mounted filesystems, which may include your windows file system. In which case, you could edit /etc/fstab and add "noauto" to the options section. (...and remove its file from ~/Desktop.)

But I don't actually know what you mean.
 
Old 06-18-2007, 12:40 AM   #3
Lux Perpetua
LQ Newbie
 
Registered: Aug 2005
Location: Local Group
Distribution: Ubuntu Linux
Posts: 15

Rep: Reputation: 0
I would guess Xstar means the desktop icons in the root window. It should be possible to hide the icons and still have the partitions mounted...right?
 
Old 06-18-2007, 02:06 AM   #4
sagar.1986
LQ Newbie
 
Registered: Nov 2006
Posts: 20

Rep: Reputation: 0
If the windows partitions are mounted,(which by default happens if there are entries in /etc/fstab), u can see them on ur Desktop. (Like CDROM). If u need to remove them in GNOME, (In KDE it is simple, u need to uncheck show mounted disks on Desktop),
U need to use gconf-editor
sudo gconf-editor
APPS > NAUTILUS > DESKTOP > VOLUMES_VISABLE (check)

Hope this helps.
 
Old 06-18-2007, 03:19 AM   #5
Xstar
LQ Newbie
 
Registered: Nov 2005
Posts: 12

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Lux Perpetua
I would guess Xstar means the desktop icons in the root window. It should be possible to hide the icons and still have the partitions mounted...right?
Yes,this is my means!But I hope hide icons in nautilus. That icons in nautilus isn't had mount point,but When I click the icons,it will be mounted to /media.This isn't I hoped.
 
Old 06-18-2007, 05:12 PM   #6
Lux Perpetua
LQ Newbie
 
Registered: Aug 2005
Location: Local Group
Distribution: Ubuntu Linux
Posts: 15

Rep: Reputation: 0
So you don't want them mounted at all? They're mounted because they're mentioned in the file /etc/fstab. To prevent them from being mounted, you can comment out the appropriate lines in that file by prepending a '#' character. Example:

Code:
...
/dev/sda1       /media/sda1     ntfs    defaults,nls=utf8,umask=007,gid=46 0       1
...
To comment out:
Code:
...
# /dev/sda1       /media/sda1     ntfs    defaults,nls=utf8,umask=007,gid=46 0       1
...
 
Old 06-18-2007, 07:59 PM   #7
Xstar
LQ Newbie
 
Registered: Nov 2005
Posts: 12

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Lux Perpetua
So you don't want them mounted at all? They're mounted because they're mentioned in the file /etc/fstab. To prevent them from being mounted, you can comment out the appropriate lines in that file by prepending a '#' character. Example:

Code:
...
/dev/sda1       /media/sda1     ntfs    defaults,nls=utf8,umask=007,gid=46 0       1
...
To comment out:
Code:
...
# /dev/sda1       /media/sda1     ntfs    defaults,nls=utf8,umask=007,gid=46 0       1
...
No,No,No.There isn't the lines in my /etc/fstab!But,if I click the icons in nautilus then it will be auto mounted to /media.
 
Old 06-19-2007, 08:47 AM   #8
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
Quote:
Originally Posted by Xstar
Yes,this is my means!But I hope hide icons in nautilus. That icons in nautilus isn't had mount point,but When I click the icons,it will be mounted to /media.This isn't I hoped.
To got rid of a desktop icon, right-click it, select "delete" or "move to trash", and it is gone.

What are you trying to achieve?

Before clicking on an icon, enter this in terminal:

ls /media

then again after clicking on the icon

... in each case, copy the result to the forum. Thank you.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
New Ubuntu user's question TigerLinux Ubuntu 15 03-03-2007 09:52 PM
Ubuntu question Viper1991 Linux - Software 5 10-17-2006 01:50 AM
Ubuntu Question shieryar Ubuntu 3 09-04-2006 03:50 PM
Question about Ubuntu v.5.04 Night Hawk One Linux - Newbie 2 11-15-2005 12:32 AM
ubuntu question chash Linux - Software 2 04-05-2005 12:26 AM


All times are GMT -5. The time now is 05:46 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration