You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Tuesday, July 15th 2003, 5:31pm

Desktop camera mount icon

How do I create a desktop icon to mount my digital camera? The only way that I have been able to get it to work is to mount it as /dev/sda1 to /mnt/camera. I'd like to create an icon to do this, but if I select Create New from the desktop menu, there isn't a suitable choice. I tried to select a new CD-ROM icon and change the device, but there is no way to change the mount point.

Any ideas?

thanks.

anda_skoa

Professional

Posts: 1,273

Location: Graz, Austria

Occupation: Software Developer

  • Send private message

2

Tuesday, July 15th 2003, 5:43pm

try "Hardisk"

I think it will the list all devices which have entries in /etc/fstab

Cheers,
_
Qt/KDE Developer
Debian User

3

Tuesday, July 15th 2003, 6:34pm

Yes, I tried the Hard Disk option also. You can select the device for any of these, but I don't see any way to change the mount point. Unless there is a config file somewhere that can be edited after the icon is created.

4

Tuesday, July 15th 2003, 7:13pm

OK, I figured this one out. It's not too hard. I selected a new "Floppy" device and then edited the corresponding config file on my desktop:

[Desktop Entry]
Dev=/dev/sda1
FSType=vfat
Icon=camera_mount
MountPoint=/mnt/camera
ReadOnly=1
Type=FSDevice
UnmountIcon=camera
X-KDE-Dynamic-Device=true

I had to create the mounted camera icon.

Now I can quickly tell when my camera is mounted.