
Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net
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
11 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
11 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
10 years ago
Report
aragh0rn
11 years ago
Report
neprosto
11 years ago
Report
pyther
11 years ago
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
11 years ago
Report
2handband
11 years ago
Report
biophysics
11 years ago
I have put it in http://paste.ubuntu.com/326736/
Thanks,
Karthik
Report
biophysics
11 years ago
http://imagebin.ca/view/s_kVrg5W.html
Report
biophysics
11 years ago
I have put it in http://paste.ubuntu.com/326736/
Thanks,
Karthik
Report
Arago
11 years ago
Report
pmoreaux
11 years ago
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
11 years ago
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
cbartholomee
11 years ago
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
daveu8282
11 years ago
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
11 years ago
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
mgp
11 years ago
Report
strobeam
11 years ago
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
gravy
11 years ago
Report
weaselat
11 years ago
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
11 years ago
Report
markwege
11 years ago
Report
yangzhe1990
11 years ago
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
11 years ago
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
11 years ago
I wanted to use digikam ...
Great work anyway :)
Report
dekans
11 years ago
Because I don't always want to open the last wired peripheral.
Report