Help find a setting on LEAP 42.2

Had an awful time updating from 42.1 to 42.2 using zypper dup. Eventually, I gave up because my system was left unusable and did a network install. It worked nearly unattended and 42.2 is humming right along. :slight_smile: One thing I would like to change is the lock out after a period of inactivity. My computer is in my home and no one but me touches it. I rarely shut it off since I run a boinc research project in the background. However, after a period of time and I don’t know how long that is, I have to re-enter my password to continue.

I can’t find a setting to alter this. I checked yast security and desktop settings for display. If this was a laptop, or an office computer, I wouldn’t mind. But, at home, its an annoyance

Which DE are you using?

KDE. Plasma 5. Standard theme.

Seems weird that you were unable to update 42.1 to 42.2 properly, at least a fresh install works well :slight_smile:

Are you referring to the lock screen appearing after about five minutes or so?

If so, go to System Settings (not YaST, the other one) -> Desktop Behaviour -> Screen Locking and uncheck the “Lock screen automatically after:” checkbox.

Thanks. I looked elsewhere and couldn’t find it.

When I tried using zypper dup, I got messages that I was out of disk space. It seemed odd to me and no matter what I deleted to make room, I kept getting that message and then the effects of a partial upgrade began to appear. Each reboot made it worse. I finally gave up and used a CD install. I choose the upgrade method to save my home stuff. I had to enter a minimal amount of info and the install went fast and automatically. I was called away and when I came back, I had a new system! There have been none of the problems posted elsewhere. But, I didn’t realize how many customizations I had done over time that have to be redone. That gives me a chance to try something fresh and new.

If you use BTRFS and have snapper an and a root partition less then 40 gig you can easily run out of space. Solution clean out some snapshots

Where is the snapshot setting? Last time I looked, I had it set low. That was before the upgrade and I forget what the setting should be. Did you look at my avatar?

Hi
The config file is /etc/snapper/configs/root (look at the number section), manually run the cronjobs;


/etc/cron.daily/suse.de-snapper
/etc/cron.weekly/btrfs-balance

Try this:

Create a script file and give it a meaningfull name, such as noblankscreen & save it in /bin

Use this as the content:

#!/bin/sh
    xset dpms 0 0 0
    xset -dpms
    xset s noblank


Set the permissions rwxr-xr-x

Set it as a login script for each user you want to disable screen blanking on. (In your case, just you.)

Log out, log back in.

Check to see that it all worked by opening a terminal and typing:

xset q

It should give output something similar to the following lines:

Screen Saver:
  prefer blanking:  no    allow exposures:  yes

DPMS (Energy Star):
  Standby: 0    Suspend: 0    Off: 0
  DPMS is Disabled


BTW:

I am not running Leap, yet.

The above script has worked well from v12.1 through v13.2, though, and I see no obvious reason why it would not work in Leap.

Iamrunningthesecommandsrightnow.Thefirstfinishedafteraminuteortwo.Thesecondhasbeenrunningforminutes.Asyoucansee,ithasdonesomethingtothekeyboard.Thespacekeyhasstoppedworking!
The return key worked and got the space key back!

I looked at the config file and don’t want to mess it up. What setting should I change?



# subvolume to snapshot
SUBVOLUME="/"


# filesystem type
FSTYPE="btrfs"




# btrfs qgroup for space aware cleanup algorithms
QGROUP="1/0"




# fraction of the filesystems space the snapshots may use
SPACE_LIMIT="0.5"




# users and groups allowed to work with config
ALLOW_USERS=""
ALLOW_GROUPS=""


# sync users and groups from ALLOW_USERS and ALLOW_GROUPS to .snapshots
# directory
SYNC_ACL="no"




# start comparing pre- and post-snapshot in background after creating
# post-snapshot
BACKGROUND_COMPARISON="yes"




# run daily number cleanup
NUMBER_CLEANUP="yes"


# limit for number cleanup
NUMBER_MIN_AGE="1800"
NUMBER_LIMIT="2-10"
NUMBER_LIMIT_IMPORTANT="4-10"




# create hourly snapshots
TIMELINE_CREATE="no"


# cleanup hourly snapshots after some time
TIMELINE_CLEANUP="yes"


# limits for timeline cleanup
TIMELINE_MIN_AGE="1800"
TIMELINE_LIMIT_HOURLY="10"
TIMELINE_LIMIT_DAILY="10"
TIMELINE_LIMIT_WEEKLY="0"
TIMELINE_LIMIT_MONTHLY="10"
TIMELINE_LIMIT_YEARLY="10"




# cleanup empty pre-post-pairs
EMPTY_PRE_POST_CLEANUP="yes"


# limits for empty pre-post-pair cleanup
EMPTY_PRE_POST_MIN_AGE="1800"



Hi
LOL, think it’s your browser… See http://forums.opensuse.org/showthread.php?t=520973

Change this section;


 # limit for number cleanup
NUMBER_MIN_AGE="1800"
NUMBER_LIMIT="2-10"
NUMBER_LIMIT_IMPORTANT="4-10"

to say

NUMBER_LIMIT="2-3"
NUMBER_LIMIT_IMPORTANT="3-4"

See how that goes, but may need to tweak to your requirements.

Done. Thank you.