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

Thursday, November 22nd 2007, 11:31pm

how does KDE 3.8 create popup window on detection of USB drives

I have been thinking about this on and off for a few months ever since I got my mmc block device detected. It is an sdcard and is attached to a mmc controller from ENE. With mmc block modules loaded it is seen. I have done the option with some udev rules to automount to a directory when inserted. But what I would like to know when a USB drive is plugged in a window pops up asking what you want to do with it. Just like loading a cd/dvd does. I was wondering if anyone new how this feature gets started to do the popup window.

This what I done so far.
http://www.linuxquestions.org/questions/…43/#post2923960

Searching here I found this. USB device autodetect in KDE
But what I am looking for is what KDE does when the kernel detects a new /dev/sdXY device or say when a CD is inserted. Dmesg shows what is going on here when USB drive is plugged in. What is running for it to call this popup window. I want to add mmcblkp0 to it so when it is detected it opens a window like for the USB drives.

edit:
After reading the post I found here it sems I need to add a new media type under file association under KDE components in the Control Center.

Would anyone know how I go about that. I see how to add but comparing to exist ones it does not make since to me what it should be.
edit:

Thanks for any help.
Brian

This post has been edited 1 times, last edit by "Brian11" (Nov 22nd 2007, 11:49pm)