Linux tip: How to unlock the Gnome keyring at login (and get "almost-hibernation")
A while back, I installed Linux Mint on an old laptop I had lying around. While the system feels quite slick, it does suffer from some typical Linux woes, one of which is a complete inability to recover from Suspend or Hibernate. In other words, I can only cold boot the system; there's no way to suspend it.
After googling around, I came to the conclusion that this is a fairly tough problem to solve, and I decided to give up. Since security isn't critical for this system, I've configured Gnome to log on automatically for me (through Gnome's Login Screen Settings).
That went a long way towards resolving the problem, since Mint boots quite fast. I can now just turn the laptop on when I want to use it, and it's ready to go within less than a minute; that's not bad.
However, one more niggling problem remained: even after logging on, it kept prompting me to enter my password to the "Gnome keyring" so that it could connect to my Wi-Fi network. This was really annoying; it was almost like having to log on manually (because I still have to enter the password, wait for it to connect, etc.).
Luckily, there's a pretty easy workaround. It's not intuitive because it has nothing to do with the keyring itself, per se (the keyring prompt pops up because Gnome is trying to connect to my Wi-Fi network on startup). I found it on Johnny Chadda's blog, and it's quick enough to share right here:
- Right click the Network Manager icon in your panel, select Edit Connections, and switch to the Wireless tab.
- Select the connection you want to work with and click the Edit button.
- Check the boxes for Connect Automatically and Available to all users.
Combined with Gnome's automatic login and "remember applications" functionality (which keeps track of what was running when you last shut down your computer), this is almost like having a working Hibernate function. It's not bad!













Comments
2
Subscribe to commentsDaveAug 3rd 2010 12:05PM
Yeah, I had some problems with suspend / hibernate for a while. Been using Linux for a couple of years on my laptops. I've found that Fedora 13 suspends and hibernates quite nicely out of the box(.iso). Didn't have to do any tinkering. It is nice when things work properly without too much hassle.
JaminAug 3rd 2010 6:13PM
Regarding the Wifi keyring, when you first enter the WEP code or whatever, and then it asks for your password, just don't enter anything. It will ask if you want it as an unsecure connection, and it will just log you in automatically every time.