I am attempting to add an icon to my desktop for manual flashdrive mounting. I am not sure what I am doing wrong? -rwxrwxrwx 1 cwsiv users 393 2005-05-25 15:28 FlashDrive.desktop [Desktop Entry] Comment= Comment[en_US]= Encoding=UTF-8 Exec='mount /dev/sda1 /media/FlashDrive' GenericName=Manual Mount Flash for 9.1 GenericName[en_US]=Manual Mount Flash for 9.1 Icon=zip_unmount MimeType= Name=Flash1 Name[en_US]=Flash2 Path=/media/FlashDrive StartupNotify=true Terminal=false TerminalOptions= Type=Application X-DCOP-ServiceType= X-KDE-SubstituteUID=false X-KDE-Username= -- ___ _ _ _ ____ _ _ _ | | | | [__ | | | |___ |_|_| ___] | \/
On Thursday 26 May 2005 00:43, Carl William Spitzer IV wrote:
I am attempting to add an icon to my desktop for manual flashdrive mounting. I am not sure what I am doing wrong? [...] Exec='mount /dev/sda1 /media/FlashDrive'
When you give both device and mount point as parameters, you are bypassing /etc/fstab. If you do that, you can only mount as root. To mount as regular user, you need to have an entry in fstab with the 'user' option set, and you need to give only one parameter to mount, either mount point or device, but not both. Once you have such an entry, you can use KDE's built in 'link to device' links. Right-click on desktop, New->Link to device->hard disk, and select your device from the dropdown I don't know if there are other problems with your desktop file, I didn't look too deeply once I saw this
participants (2)
-
Anders Johansson
-
Carl William Spitzer IV