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