Benoit,
Another LXDE mod, but I'm not sure whether this will work for all LXDE. It does for me because its running under gdm (which provides/requires gnome-keyring). If LXDE is running under a different display manager then gnome-keyring may not be installed.
I leave the decision up to you as to whether to follow this approach. Bruce
Index: _Desktop_Passwords.class
--- _Desktop_Passwords.class (revision 4147) +++ _Desktop_Passwords.class (working copy) @@ -24,7 +24,7 @@ Shell Subst("dcop kded kwalletd open &1 0", Shell(sWallet)) To sResult $sKDEWalletId = Trim(sResult)
- Case "GNOME"
Case "GNOME", "LXDE"
Component.Load("gb.desktop.gnome")
@@ -57,7 +57,7 @@ sResult = Replace(sResult, "\n", "") Return sResult
- Case "GNOME"
Case "GNOME", "LXDE"
Return _Keyring.GetPassword(Key)
@@ -81,7 +81,7 @@
Shell Subst("dcop kded kwalletd writePassword &1 &2 &3 &4", $sKDEWalletId, Shell$(Application.Name), Shell$(Key), Shell$(Value)) Wait
- Case "GNOME"
Case "GNOME", "LXDE"
_Keyring.SetPassword(Key, Value)
Comment #1
Posted on Sep 27, 2011 by Swift RhinoAre you sure that gnome-keyring is launched by gdm? Why gdm would use gnome-keyring? Can you try with another display manager to be sure about that?
Comment #2
Posted on Sep 27, 2011 by Swift RhinoComment deleted
Comment #3
Posted on Sep 27, 2011 by Massive RabbitOK, I'll see what I can do. (I just presumed that it was required by gdm as I had to install it to get session switching to work on my system) Bruce
Comment #4
Posted on Sep 27, 2011 by Swift Rhino(No comment was entered for this change.)
Comment #5
Posted on Sep 27, 2011 by Massive RabbitOK, I tried it with xdm and the gnome-keyring daemon is not started. However, with that mod in, when I try and open a connection in the IDE it just asks for the gnome-keyring password and then works fine. Went back to gdm and on login the gnome-keyring deamon is running, so opening a connection just works.
I guess somewhere in one of the X startup scripts that gdm runs is where the keyring gets started (rather than gdm uses it itself).
Anyway the point is, LXDE can use the gnome approach, if gnome-keyring is installed.
Bruce
Comment #6
Posted on Sep 27, 2011 by Swift RhinoOK. Done in revision #4159.
Status: Fixed
Labels:
Version-TRUNK
Type-Enhancement
Priority-Low
OpSys-Any
Dist-Any
Arch-Any
Desktop-Any
GUI-Any