Monday, September 17, 2018

OpenSUSE Leap 15 "Keyring did not unlock"

Surprisingly, the keyring feature is a borrow from gnome.

After logging in (not auto-login), a pop-up would appear with the error "...keyring did not unlock..." I enter the same password as for logging in and then all is well - just a nuisance. To fix it:

zypper in seahorse

Run seahorse...select the folder Login and right click.
Unlock
Right click again and choose "Change password" (I just set it to the same as my log in password.
Log out and back in to test.

Hopefully this is a permanent fix.

Friday, September 14, 2018

Linux copy command

I always battle to get this right - copying from everything from a folder to the directory containing the folder...that sounds weird...here is an example:

/srv/www/htdocs/htdocs_old/

As you can guess - I want everything from htdocs_old to be moved to htdocs itself. And the command is so easy - that's why I am saving it here:

cp -r * ..

Which translates to "copy" "recursively" "everything in current directory" to "directory preceding it".