/usr/share/kconf_update/ksreenlocker_5_3_separate_autologin.pl is in kde-config-screenlocker 5.8.6-2.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | #! /usr/bin/perl
use strict;
my $key;
my $value;
my $alreadyHasAutolockKey = 0;
while (<>)
{
chomp;
if ( /^\[/ )
{
next;
}
($key, $value) = ($_ =~ /([^=]+)=[ \t]*([^\n]+)/);
if ($key eq "Autolock")
{
$alreadyHasAutolockKey = 1;
}
if ($key eq "Timeout" && $alreadyHasAutolockKey == 0)
{
if ($value eq "0")
{
print("Autolock=false\n");
}
else
{
print("Autolock=true\n");
}
}
print "$_\n"
}
|