Archive for September 26th, 2018

Change GNOME lock time settings in Linux

Wednesday, September 26th, 2018

https://www.pc-freak.net/images/change-gnome-lock-time-settings-debian-linux-screenshot

In GNOME 3.X The screen lock time setting is set either to 1 minute 15 minutes or NEVER
So what if you would like to,

Set the gnome screen lock settings value to 30 minutes or one Hour

Here is how:

For 30 minutes lock screen setting:

 

linux:~$ gsettings set org.gnome.desktop.session idle-delay 1800

 

Set GNOME lock time to 1 hour

 

linux:~$ gsettings set org.gnome.desktop.session idle-delay 3600

 

The setting is set in seconds so quickest way to calculate is to divide by 60 (seconds), you can calculate easily the time you like with BC (arbitrary precision calculation language) like so:

 

linux:~$ echo '3600/60' | bc
60

 

Lets say you would like to set your screen to lock every 3 hours, the delay value to set in org.gnome.desktop.session would be:

 

linux:~$ echo '3600*3' | bc
10800

 

Once you set the value to a different than the 3 recognized ones would show in GNOME Control Center as Never (depending on the distro).
 

Reset gnome forgotten keyring password – Fix annoying reoccuring keyring password prompt

Wednesday, September 26th, 2018

gnome-keyring-password-error-fix-solution-howto-gnupg-error-after-changing-user-password-linux-desktop-user

If you're on Debian Linux and have a user account and you changed the password you might be unpleasantly surprised by a constantly occuring prompt to reinput the keyring stored old password.
You might be wondering how to reset the gnome keyring password to stop that annoying pop-up prompt from bittering your days.
The simplest fix is to delete all stored passwords and reset the keyring stored values. That's in case if you don't have other important passwords saved.

This is done by simply creating a backup of the old keyring just in case if you have something important stored you can do that with:

 

cd ~/.local/share/keyrings/
cp login.keyring login.keyring.backup

 


Then delete the keyring store file:

 

rm  -f ~/.local/share/keyrings/login.keyring

 

Under some GNU / Linux distrubutions such as Linux Mint deleting the keyring file will not work on such an alternative method is to use seahorse (a frontend program to GnuPG (GNU Privacy Guard), that is doing key management  for GNOME desktop users.

 

hipo@jericho:~$ seahorse

 

seahorse-gnu-gpg-and-password-management-gui-tool-gnome-desktop-environment-debian-linux-screenshot
 

For older Linux distributions like Ubuntu 12.10 e.g. in GNOME 2, the correct path to keyring file is ~/.gnome2/keyrings/
 

rm -f ~/.gnome2/keyrings/*