Choose style:

Author Topic: Lockscreen Suddenly Changing (SOLVED)  (Read 401 times)

0 Members and 1 Guest are viewing this topic.

Offline completeidiot

  • Jr. Member
  • **
  • Posts: 43
  • Karma: 1
  • New Forum User
    • View Profile
  • Peppermint version(s): 8
Lockscreen Suddenly Changing (SOLVED)
« on: August 26, 2019, 02:41:53 am »
Hi there!

So what happened is, without a warning, the lockscreen changed. Instead of the usual blurred screen with timer, it's black. When I start typing the password, it turns to blue. If I hold the backspace until the password is erased, the screen turns red.

It's funny alright, but I wonder how we got there and how to change it back  :o
« Last Edit: August 31, 2019, 02:28:15 pm by completeidiot »

Offline alynur

  • Trusted User
  • Veteran
  • *****
  • Posts: 1058
  • Karma: 56
  • Habitual Forum Browser
    • View Profile
  • Peppermint version(s): P 9R (64bit), P 10
Re: Lockscreen Suddenly Changing
« Reply #1 on: August 28, 2019, 11:08:13 am »
 :o
What was I thinking?

Offline completeidiot

  • Jr. Member
  • **
  • Posts: 43
  • Karma: 1
  • New Forum User
    • View Profile
  • Peppermint version(s): 8
Re: Lockscreen Suddenly Changing
« Reply #2 on: August 30, 2019, 02:08:51 pm »
Right?

However, I recall that on the day after which this paranormal occurrence became a reality for me, I installed a couple of browsers, namely Dillo and UZBL and then uninstalled those again, and I also briefly installed ICQ (I know, nostalgia), only to uninstall it again.

I wonder if some these (un)installs could have somehow altered the file(s) responsible for the lockscreen?

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26325
  • Karma: 2855
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Lockscreen Suddenly Changing
« Reply #3 on: August 30, 2019, 02:47:57 pm »
What's the output from
Code: [Select]
dpkg -l | grep i3lock
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline completeidiot

  • Jr. Member
  • **
  • Posts: 43
  • Karma: 1
  • New Forum User
    • View Profile
  • Peppermint version(s): 8
Re: Lockscreen Suddenly Changing
« Reply #4 on: August 30, 2019, 05:21:29 pm »
ii  i3lock                                     2.7-1+peppermint0.0.2                                       i386         improved screen locker

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26325
  • Karma: 2855
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Lockscreen Suddenly Changing
« Reply #5 on: August 30, 2019, 05:42:14 pm »
If you run:
Code: [Select]
/usr/lib/i3lock-fancy/i3lock-fancy
then unlock

is there any error reported in the terminal ?
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline completeidiot

  • Jr. Member
  • **
  • Posts: 43
  • Karma: 1
  • New Forum User
    • View Profile
  • Peppermint version(s): 8
Re: Lockscreen Suddenly Changing
« Reply #6 on: August 30, 2019, 05:44:45 pm »
No. It pulls off the normal screen lock with no snags.

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26325
  • Karma: 2855
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Lockscreen Suddenly Changing
« Reply #7 on: August 30, 2019, 06:13:12 pm »
so the screenlock works perfectly when called that way ?
« Last Edit: August 30, 2019, 06:19:18 pm by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline completeidiot

  • Jr. Member
  • **
  • Posts: 43
  • Karma: 1
  • New Forum User
    • View Profile
  • Peppermint version(s): 8
Re: Lockscreen Suddenly Changing
« Reply #8 on: August 30, 2019, 06:17:50 pm »
That's right.

EDIT: Could I create an extra keyoboard shortcut that runs this screen lock?
« Last Edit: August 30, 2019, 06:24:00 pm by completeidiot »

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26325
  • Karma: 2855
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Lockscreen Suddenly Changing
« Reply #9 on: August 30, 2019, 06:19:31 pm »
How about if called via Ctrl+Alt+L ?

or by running
Code: [Select]
peppermint-logout
then clicking the 'Lock Screen' button ?

If both those work .. how is the screenlock being applied when it misbehaves ?
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline completeidiot

  • Jr. Member
  • **
  • Posts: 43
  • Karma: 1
  • New Forum User
    • View Profile
  • Peppermint version(s): 8
Re: Lockscreen Suddenly Changing
« Reply #10 on: August 30, 2019, 06:25:17 pm »
No. Both of these ways lead to the screen lock I have already described. The non-standard one.

Could I just create a keyboard shortcut that runs the same command we used to call the screen lock in the terminal? That would do.
« Last Edit: August 30, 2019, 06:31:16 pm by completeidiot »

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26325
  • Karma: 2855
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Lockscreen Suddenly Changing
« Reply #11 on: August 30, 2019, 06:44:50 pm »
Yes but let's try fix things first...

What's the contents of
Code: [Select]
xed /usr/bin/lxlock
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline completeidiot

  • Jr. Member
  • **
  • Posts: 43
  • Karma: 1
  • New Forum User
    • View Profile
  • Peppermint version(s): 8
Re: Lockscreen Suddenly Changing
« Reply #12 on: August 31, 2019, 01:34:07 am »
Code: [Select]
#!/bin/sh
#
#
#  Copyright (C) 1999, 2003 Olivier Fourdan (fourdan@xfce.org)
#  Copyright (C) 2012 Julien Lavergne (gilir@ubuntu.com)
#  Copyright (C) 2013 Jarno Suni (8@iki.fi)
#
#  This program is free software; you can redistribute it and/or modify
#  it under the terms of the GNU General Public License as published by
#  the Free Software Foundation; either version 2 of the License, or
#  (at your option) any later version.
#
#  This program is distributed in the hope that it will be useful,
#  but WITHOUT ANY WARRANTY; without even the implied warranty of
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#  GNU General Public License for more details.
#
#  You should have received a copy of the GNU General Public License
#  along with this program; if not, write to the Free Software
#  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
#  MA 02110-1301, USA.

# Try to lock the screen with thos applications (in this order) :
# light-locker-command, xscreensaver, gnome-screensaver, slock, xlock, i3lock and xdg-screensaver

if pidof light-locker >/dev/null; then
    light-locker-command -l >/dev/null 2>&1
elif pidof xscreensaver >/dev/null; then
    xscreensaver-command -lock >/dev/null 2>&1
elif pidof gnome-screensaver >/dev/null; then
    gnome-screensaver-command --lock
elif which slock >/dev/null; then
    slock &
elif which xlock 2>/dev/null; then
    xlock $*
elif which i3lock >/dev/null; then
    wmctrl -c Whisker Menu ; /usr/lib/i3lock-fancy/i3lock-fancy
else
    # In the end, try to fallback to xscreensaver

    # assert: gnome-screensaver is not running
    xscreensaver -nosplash >/dev/null 2>&1 &
    xscreensaver-command -lock >/dev/null 2>&1
fi
exit 0
« Last Edit: August 31, 2019, 12:31:09 pm by completeidiot »

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26325
  • Karma: 2855
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Lockscreen Suddenly Changing
« Reply #13 on: August 31, 2019, 11:21:59 am »
Have you shortened that ?

and do you get any output from this command
Code: [Select]
dpkg -l | grep "light-locker\|xscreensaver\|gnome-screensaver\|slock\|suckless-tools\|xlock"
« Last Edit: August 31, 2019, 11:31:48 am by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline completeidiot

  • Jr. Member
  • **
  • Posts: 43
  • Karma: 1
  • New Forum User
    • View Profile
  • Peppermint version(s): 8
Re: Lockscreen Suddenly Changing
« Reply #14 on: August 31, 2019, 12:29:44 pm »
Yes. I reposted it without the license note. It's now edited.

This is the latest command output:

Code: [Select]
ii  suckless-tools                             42-1                                                        i386         simple commands for minimalistic window managers