[pkg-fso-maint] Bug#869399: unlock keyring automatically at startup

積丹尼 Dan Jacobson jidanni at jidanni.org
Fri Aug 4 02:42:15 UTC 2017


https://ubuntuforums.org/showthread.php?t=192281&p=2524785#post2524785
got me thinking, maybe I can write a script...

I see the gnome-keyring-daemon man page has --unlock.
Maybe I can do
echo "my password"| gnome-keyring-daemon --unlock
in my bash profile, and then the rest of the day all apps would just work?

In fact in my .xsession I already have

m=`gnome-keyring-daemon --start` # https://bugs.debian.org/806169 midori
# https://wiki.archlinux.org/index.php/GNOME/Keyring#Without_a_display_manager
if test $? -eq 0
then export $m
else echo $0: install gnome-keyring first.|mail -s $0 $USER
fi #What a hassle. Other browsers don't need this.

So maybe all I need to do is add
echo "my password"| gnome-keyring-daemon --unlock
after it?



More information about the pkg-fso-maint mailing list