Unlock keyring hack
This commit is contained in:
parent
c697c51e19
commit
2a6daaafbb
11
scripts/unlock-keyring-hack.sh
Executable file
11
scripts/unlock-keyring-hack.sh
Executable file
@ -0,0 +1,11 @@
|
||||
#!/bin/sh
|
||||
echo 'NOTE: This script will only work if launched via source or .' >&2
|
||||
echo -n 'Login password: ' >&2
|
||||
read -s _UNLOCK_PASSWORD || return
|
||||
killall -q -u "$(whoami)" gnome-keyring-daemon
|
||||
eval $(echo -n "${_UNLOCK_PASSWORD}" \
|
||||
| gnome-keyring-daemon --daemonize --login \
|
||||
| sed -e 's/^/export /')
|
||||
unset _UNLOCK_PASSWORD
|
||||
echo '' >&2
|
||||
|
Loading…
Reference in New Issue
Block a user