5 months ago

Fix KDE Plasma KWallet Passwords on Wayland

Back in November my SSD began failing and I had to re-install openSUSE Tumbleweed on a new drive. The downside to not having to fix my computer often is I don't have to do it often enough to remember how I did it. One of the things I hadn't fixed yet was being able to use KWallet with programs like Git GUI using on Wayland. It's actually the only reason, I know of, that I couldn't use Wayland. Well, I finally did some searching and found the fix:

  • Open the .config/plasma-workspace/env folder in your Home folder

  • Create a file, named something like startup.sh

  • Insert this into that file:

#!/bin/sh 
SSH_ASKPASS=/usr/libexec/ssh/ksshaskpass 
export SSH_ASKPASS 
[ -n "$SSH_AGENT_PID" ] || eval "$(ssh-agent -s)"
  • Save and close

  • Open the .config/plasma-workspace/shutdown folder in your Home folder

  • Create a file, named something like shutdown.sh

  • Insert this into that file:

[ -z "$SSH_AGENT_PID" ] || eval "$(ssh-agent -k)"
  • Save and close

  • Logout

  • Log in with Wayland

I hope this helps someone else. :)

David D.

0
0
1
200

Comments

No Comments

David Dyess .com

Copyright © 1999 - 2024