For the future, check out Password Safe by Bruce Schneier. It uses blowfish encryption to store your passwords. You give it your safe combo and it allows you to double-click an entry to load the password into the clipboard. Closing the program securely deletes your password from memory. I still use the 1.7.1 version. It's a windows program but I have gotten it to run through Wine on Linux. Apparently, there is a 2.x version on sourceforge as well as a version for Linux. I have not used either of those versions.
While I never keep my high risk passwords (administration passwords, bank access, etc.) in this tool, I do use it for those websites which I don't often frequent or which save an access cookie for me. You never know when that cookie will get deleted accidently.
Later