Version: unknown (using 4.2.1 (KDE 4.2.1) "release 106", KDE:KDE4:Factory:Desktop / openSUSE_11.1) Compiler: gcc OS: Linux (x86_64) release 2.6.27.19-3.2-default I no longer get any icon in the device notifier plasmoid when I plug in my Western Digital "MyBook" 1tb USB hard drive. It has only a LUKS encrypted reiserFS partition on it if that makes any difference. My iPod shows up, as do my USB memory sticks, but not my hard drive. The drive shows up (luckily) in Dolphin, and once I click on it in Dolphin, and I have entered my password, the drive then shows up in the plasmoid. I have all the latest updates from openSUSE installed, they are at the moment frozen (I believe) for the 4.2.2 release. Thanks :)
Quick diagnostic as discussed with Aaron on IRC: - There's no action file for encrypted devices (that's what the notifier applet uses to choose to display a device or not) - We probably want such a file which just triggers the "mounting" of encrypted volumes, using solid-hardware for the action should be enough. The action part of the desktop file will probably be: solid-hardware mount %i Hope that helps.
hmm.. actually, we just pass the action into soliduiserver, which check if isAccessible() and if not it first does setup(); Kevin: on an encrypted device does setup() handle all the details such as passwords and what not? if so, then i could just alter the current .desktop file very slightly and this should start working.
*** Bug 183958 has been marked as a duplicate of this bug. ***
Hmmm, indeed that could be enough to make it roll. Didn't think about it.
SVN commit 987982 by aseigo: support encrypted volumes CCBUG:188482 M +1 -1 test-predicate-openinwindow.desktop WebSVN link: http://websvn.kde.org/?view=rev&revision=987982
SVN commit 987983 by aseigo: support encrypted volumes BUG:188482 M +1 -1 test-predicate-openinwindow.desktop WebSVN link: http://websvn.kde.org/?view=rev&revision=987983
Thankyou all for listening and for the work put into fixing this bug. I just wanted to let you all know that your hard work is appreciated :). Am I also allowed to ask how I can incorporate the fix into my current system? Thanks again :).
either upgrade to 4.3 when it comes out, or you can alter the test-predicate-openinwindow.desktop file on your system so it has the change linked to in the commit messages: http://websvn.kde.org/branches/KDE/4.3/kdebase/workspace/plasma/applets/devicenotifier/test-predicate-openinwindow.desktop?r1=987983&r2=987982&pathrev=987983 in fact, if you could do that, restart plasma and try your encrypted fs to confirm that it works for you, that'd be great.
Fantastic, it works :) The applet now pops up when I plug my drive, and everything functions as normal. Additional system info - OpenSUSE 11.1 (64bit) KDE4 Version 4.2.4 (KDE 4.2.4) "release 2" Kernel - 2.6.29.3-0.1-default (self compiled, not repo) Modification summary - 1. vi /usr/share/kde4/apps/solid/actions/test-predicate-openinwindow.desktop 2. comment out line 3 with a "#" 3. insert the following line - X-KDE-Solid-Predicate=[ [ StorageVolume.ignored == false AND [ StorageVolume.usage == 'FileSystem' OR StorageVolume.usage == 'Encrypted' ] ] OR [ IS StorageAccess AND StorageDrive.driveType == 'Floppy' ] ] 4. Save, exit, reboot. Thankyou very much :D.
Thanks for the fix. Just FYI, After the change to that file you can restart plasma without rebooting or logging out with something like the following shell command: killall -15 plasma && plasma
or even better: kquitapp plasma && plasma glad it's working; really, the fix on my side was easy, Kevin's work with the tools in Solid is where all the heavy lifting is :)