LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   USB Flash Drive to Show on Desktop! (https://www.linuxquestions.org/questions/linux-newbie-8/usb-flash-drive-to-show-on-desktop-662400/)

guerrascience 08-13-2008 01:44 AM

USB Flash Drive to Show on Desktop!
 
Hi,

How do I get my usb flash drive to automatically show up on my desktop when plugged in? When it is plugged in, I can get to it by the /media folder. Also, can I do this with my iPod too?

Secondarily, I can only take files off my flash drive, I cannot add any files to it? Is it a permissions thing?

Thanks,
Guerrascience
Phoenix, Az

zeeshanhayat 08-13-2008 01:51 AM

Most Linux Distributions automatically mounts and show the USB Drive icon on your desktop (unless offcourse you are using a very old Distro).

Which Distro are you using.

checkmate3001 08-13-2008 01:53 AM

I am only assuming... but I think the reason you can't write to your usb device is because your fstab file lists it as RO (read only).

He could have built the distro piece by piece also. I had problems with Debian earlier because I built it from just the base system - with no window manager or X.

Could you post the results you get from:
Code:

mount
Mine looks like this:
Code:

/dev/md0 on / type ext3 (rw,errors=remount-ro)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
procbususb on /proc/bus/usb type usbfs (rw)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
/dev/md2 on /home type ext3 (rw)
/dev/md1 on /var type ext3 (rw)


zeeshanhayat 08-13-2008 02:09 AM

Between i had this problem with a USB disk, At boot Winxp went for a checkdisk of the USB and corrected some enteries, After that my USB drive wasn't writable. I could read but not write to it. Had to format the USB disk to make it usable again

guerrascience 08-13-2008 05:34 AM

I am using SUSE 11.0 on an IBM Thinkpad X41. When I had Mandarvia installed, the USB flash drive did show up atomatically and I could write to it. However, in SUSE 11.0 with KDE 3.5 I cannot. Weird huh?

checkmate3001 08-25-2008 04:08 AM

I was able to get my usb flashdrive on the desktop to show up only when it was plugged in. After it was mounted I went to my browser under media:\ and copied the icon to the desktop. It complained a little, but I think it was because I also copied the floppy drive icon and there was nothing mounted. Now it goes away when I remove the flashdrive and pops up when it's in.

Also you can modify your desktop icons in /home/<username>/.kde/share/config/kdesktoprc

look under the [media] section. It defines whether it is enabled or not and what types of media are disabled from showing.

arizonagroovejet 08-25-2008 06:30 AM

What filesystem is your USB formatted as? If you do not know then when it's mounted run

Code:

$ mount
and post the output. If the drive is formatted NTFS is may be that it's being mounted with the kernel NTFS driver which only does read write, rather than the ntfs-3g driver which does read/write.

Kenhelm 08-25-2008 08:56 AM

To select which device icons appear on the desktop in my KDE 3.5:
Right-click on desktop > Configure Desktop > Behaviour > Device Icons.


All times are GMT -5. The time now is 06:58 PM.