LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   mount desktop icons (https://www.linuxquestions.org/questions/fedora-35/mount-desktop-icons-161851/)

devfreak 03-24-2004 12:17 PM

mount desktop icons
 
Hey guys, just want you to know that I have my fedora box almost perfect to my own specifications. Media keys, mouse side buttons, nvidia graphics card, all of it!

I got this problem, though: I wanted to auto mount some network shares, so I put some mount -t smbfs specifications in my fstab file.

This computer is truly networked, I have 10-15 shares I need to be wired into, and that's why I needed them to be auto mounted, but, alas, it's giving me 10-15 icons on my otherwise squeeky desktop.

How do I nuke/hide/exorcise these icons on my desktop that are for mounted shares?

Ed-MtnBiker 03-25-2004 11:24 PM

Too funny, I've got the opposite problem. I've got a samba share mounted through fstab, and I WANT it to appear on my desktop, and it doesn't! So what's in your /etc/fstab I wonder?

Here's mine:
[root@localhost root]# grep smbfs /etc/fstab
//192.168.168.4/nd560 /mnt/nd560 smbfs guest,dmask=777,fmask=777 0 0

devfreak 03-26-2004 09:55 AM

//Q/qe /home/aaron/mounts/qe smbfs username=aaron,password=password,uid=500,gid=500,fmask=777,dmask=777,rw

I bet the answer is in the zeros?

devfreak 03-26-2004 10:00 AM

Nevermind, I don't think it's the zeros.

I've mounted the cf slot of my multicard reader in almost the exact same way and for some reason it doens't show an icon.

Why do we have to reverse engineer this stuff? Why isn't it documented?

My new guess is that I have specified a user to own it, so it shows up on that user's desktop. I'll reboot and see.

Edit:

I have no idea what's wrong, dude. I did mine just like yours, with the exception that I had to specify user and password for the share, and it didn't work. How lame. My windows machine is winXP, yours must be 2000? because I don't know if XP allows guest account network sharing.

jschiwal 03-26-2004 10:19 AM

If you go into the KDE 'Configure your desktop' menu item. (KDE Control Center),
select LookNFeel -> Behavior.
Click on the 'Device Icons' tab.
Unselect the Mounted Samba Share entry.

Ed-MtnBiker 03-26-2004 10:36 AM

Just the clue I needed....I added "users" to the options for that share in fstab, and it appeared on my desktop when I remounted it! wo-hoo!

[root@localhost root]# grep smbfs /etc/fstab
//192.168.168.4/nd560 /mnt/nd560 smbfs users,guest,dmask=777,fmask=777 0 0

devfreak 03-26-2004 11:04 AM

Quote:

Originally posted by jschiwal
If you go into the KDE 'Configure your desktop' menu item. (KDE Control Center),
select LookNFeel -> Behavior.
Click on the 'Device Icons' tab.
Unselect the Mounted Samba Share entry.

Now I just need to find the gnome equiv.
Thanks for the tip!

devfreak 03-26-2004 11:59 AM

wow, I just switched to KDE for a minute, and damn: they really have gnome/nautilus on the configuration front.

I went through virtually every setting with gconf-editor. I give up.

devfreak 03-27-2004 10:58 PM

fuck it, i'm switching to kde

allofitsik 04-08-2004 10:20 PM

I am having the same problem. too many smbfs icons on the gnome desktop. deleting them seems to work as a terribly temporary solution (only for the current login period). the problem is that I do not want all users to have access to (or knowledge of) these mounts. even such a simple solution as having a login script for various users delete these icons on startup. is there a simple way to do that, or has anyone figured out how to ACTUALLY tell gnome not to show these links. there are infact just links that gnome must generate on every login. where would it do that?

thanks.

airtyme 08-24-2004 02:02 PM

Pretty sure I found the answer to this one.

As it turns out, any entry in the fstab with the option 'user' listed has a desktop icon appear whenever it is mounted. Unfortunately, the checking on this isn't particularly stricty, and 'username' also appears to cause this behaviour. I simply removed the 'username=...' from my fstab, and it happily removed the icons once I'd umounted and mounted again. I'm guessing that just removing 'username' will not work for many people, and would suggest looking into the 'credentials' option that I came across somewhere else on the net. I dunno, I've never tried it.

Cheers,

...Steve...


All times are GMT -5. The time now is 11:08 PM.