New Device Notifier with Automount
KDE Plasma 4 Extensions
Score 82%
Description:

An extended version of the original devicenotifier-applet which mounts the new media after it was inserted.

The volumes are mounted with special options for every filesystem. These options can be configured in the applet. The options are stored in the automountoptionsrc settings file.

Features planned for version 0.4:
* mountoptions for special volumes (depending on udi)
* select the application which is opened by the devicenotifier per filesystem and device

Installation
The plasmoid can be compiled and installed using these steps:
1. Decompress the archive
2. move to ./build
3. execute cmake ../src
4. compile with "make"
5. install it with "make install". Depending on the installation directory you configured with cmake you'll have to be root
Last changelog:

8 years ago

Version 0.1
- initial version with automount
Version 0.2
- opens the default-application for the detected mimetype (should be normally inode/directory)
Version 0.3
- based on the plasmoid of KDE 4.2
Version 0.4alpha1
- based on the plasmoid of KDE 4.3
- fixed audio-cd-handling
- remounting is handled internally
- mountoptions can be configured per filesystem

cyberbeat

7 years ago

Could you fork the device notifier from kde 4.4 and add mount options per device?

Report

aragh0rn

7 years ago

Hi, with ext3, options and the automonting are not working. Anyway, it is a great app.

Report

neprosto

7 years ago

Not with ext3 only but with the other systems too. Sad. Have to choose beetween automounting and no-English letters in dirnames.

Report

pyther

8 years ago

Many thanks for the nice work! Exactly what I was looking for! Working great here on openSuse 11.2 x64.
I also had to place the files in the correct /usr folder in order for the plasmoid to show up in the list, but it's alpha- status right! Keep up the good work!

Report

2handband

8 years ago

I did eventually get it working. Is there any way I can configure this thing so that it will automatically open media with the application of my choice?

Report

2handband

8 years ago

I'm not very experienced with the bash shell and have never compiled software in my life. I've tried executing your instructions but I can't even find ./build much less change to it (the folder in which the file downloads and extracts to shows up in the file browser under the /tmp directory but it does NOT show u when I execute ls -l in bash, therefore I can't change to the directory because bash insists it isn't there).Could you break it down a bit more for the less technically inclined? I'm running Mandriva 2010 if that makes any difference.

Report

biophysics

8 years ago

In the kde > 4.3.1 the translucent background looks good. Could you please add it to your applet ?

I have put it in http://paste.ubuntu.com/326736/

Thanks,
Karthik

Report

biophysics

8 years ago

See this screenshot:

http://imagebin.ca/view/s_kVrg5W.html

Report

biophysics

8 years ago

In the kde > 4.3.1 the translucent background looks good. Could you please add it to your applet ?

I have put it in http://paste.ubuntu.com/326736/

Thanks,
Karthik

Report

Arago

8 years ago

Thank You! Great job! I built 0.4a1 version, copied options from standart plasmoid and all now is working great. But how about add utf8 option for vfat to default options? I have KDE 4.3.1, OS - Kubuntu 9.04.

Report

pmoreaux

8 years ago

Hello

first of all, many thanks for your software.
I am not used to compile gadgets for KDE and I fail to compile your code.
I suppose this is a trivial error from me, but if you have time for answering me... thank you, best regards:

In file included from /tmp/a/devicenotifier_automount_0.4alpha1/src/devicenotifier_automount.cpp:22:
/tmp/a/devicenotifier_automount_0.4alpha1/src/devicenotifier_automount.h:28:30: error: Plasma/PopupApplet: no file !!!

Report

mgp

8 years ago

Hi,

After following the instructions I don't get the widget in the plasmoid list. Instead I get a .desktop file. If I execute that I get the following message:
"""
The desktop entry of type
Service
is unknown.
"""
I'm using kde 4.3.1 (kdemod) on Arch Linux.

Thanks for your time,

Michael

Report

C

strobeam

8 years ago

Hello Michael,

I don't know the error you described. Could you please send me an email with the output of cmake and make? Perhaps I can locate your error with these outputs.

Reagards,
Achim

Report

cbartholomee

8 years ago

I'm having the same issue.
Followed the installation instructions without errors. But nothing appears in my widget list and execution of the desktop file gives "The desktop entry of type Service is unknown.".
Is there a solution for this issue?

Report

mgp

8 years ago

I'm sorry I didn't follow up on my initial post. I'm very busy at the moment. The truth is I uninstalled the widget. When I get the time I'll retry and send the outputs.

Report

daveu8282

8 years ago

I had the same problem. The reason is that 'make install' put the plasmoid's files under /usr/local, but my KDE installation only looks in /usr for plasmoid-related files. For folks who build their own KDE from development snapshots, this works great because their KDE files are already under /usr/local, but if you're running an official KDE release your files will be under /usr.

I worked around this by symlinking the three files in build/install-manifest.txt to the corresponding directories under /usr. As soon as I did this, I was able to see the plasmoid in the Add Widgets list.

Dave

Report

cbartholomee

8 years ago

Thanks Dave, this helped me out.

Couldn't find this build/install-manifest.txt though. Instead I moved both /usr/local/lib/kde4/plasma_applet_devicenotifier_automount.so and /usr/local/share/kde4/services/plasma-applet-devicenotifier_automount.desktop to the corresponding /usr location.

Cyrille

Report

gravy

8 years ago

If there is only one action for the medium it should do directly the action instead of jumping icon of the action. It's more logical behavior. Can you please fix it?

Report

weaselat

8 years ago

Nice plasmoid...
It would be cool to invoke a script or program upon mounting the device. Maybe based on its label or serial or something.
The background idea for me would be to backup my USB sticks via rsync automatically (which is currently done via an udev hook [double mounting]), but i'm quite sure there would be quite a lot other interesting uses for it.

Report

dkarnout

8 years ago

till make install everything goes fine with no errors, but plasmoid is not in the add widgets list. how do i install it? thank you

Report

markwege

8 years ago

I have the same problem with Kubuntu.

Report

yangzhe1990

8 years ago

The first time a device is plugged it will use the command defined in DeviceNotifier::mountDevice

But after I umount the device, and click it to mount again, the device is mounted with another command, seems the default options, which is improper for most people.

Should change the mountDevice from private to public, and insert a line before line 369 in file notifierdialog_automount.cpp

m_notifier->mountDevice(udi);

Report

vidak

8 years ago

I tried to change the source by adding an
else if (filesystem == "ext3")
branch with an 'exec' option, and also to change noexec to exec in the last branch (no special options), but none of them helped, the drive was mounted with noexec option.
Any ideas?

Report

jcichonj

8 years ago

It would be nice to add possibility to choose other application for mimetype, not only default.
I wanted to use digikam ...
Great work anyway :)

Report

dekans

8 years ago

I'd like an 'autoreduce' option to close the wired peripherals frame after a few seconds.
Because I don't always want to open the last wired peripheral.

Report

8 years ago

Version 0.1
- initial version with automount
Version 0.2
- opens the default-application for the detected mimetype (should be normally inode/directory)
Version 0.3
- based on the plasmoid of KDE 4.2
Version 0.4alpha1
- based on the plasmoid of KDE 4.3
- fixed audio-cd-handling
- remounting is handled internally
- mountoptions can be configured per filesystem

product-maker 8 56

File (click to download) Version Description Filetype Packagetype License Downloads Date Filesize OCS-Install DL
Details
version
0.4alpha1
updated Sep 19 2009
added Oct 19 2008
downloads today
0
page views today 24