11

My lock screen changed one day from the default: lock screen before

to this different one: lock screen after

I am running Ubuntu 14.10. The install was originally a 14.04 that I upgraded to 14.10. The lock screen did not change at that point. Since then, I've just simply been periodically installing updates and adding software packages here and there. I'm not positive but I think the lock screen changed after I installed some packages from the Ubuntu repos (might have been MuseScore) using apt-get.

This is not a big deal, but I wish I knew why it randomly changed . Any idea why it did this?

Edit: Here is the output of dpkg --get-selections | -v deinstall, as requested by Tim.

dagrha
  • 962
  • you might have installed some other desktop – Alex Jones Nov 28 '14 at 16:36
  • As far as I know, Unity is all that is installed. Is there a good way to find out if there are other desktop environments installed? – dagrha Nov 28 '14 at 16:56
  • Please edit your question to include more information regarding what you did between the time you had the default login screen and the new one. Random changes are unlikely and when they occur they are normally the result of A) Operator error or B) Hardware failing. – Elder Geek Nov 28 '14 at 17:14
  • Did you install unity tweak tool!? – Tim Nov 28 '14 at 17:47
  • @Tim Unity Tweak Tool is installed, but it has been installed since my original Ubuntu 14.04 install back in June or so. The new lock screen first appeared for me only about 2-3 weeks ago. – dagrha Nov 28 '14 at 18:15
  • Try removing it. That's what the problem was for me. Something else may have triggered it, but I think that UTT is the problem – Tim Nov 28 '14 at 18:42
  • I ran sudo apt-get remove unity-tweak-tool then restarted the laptop, but it did not change the lock screen. I also did a apt-get autoremove and that did not make a difference either. – dagrha Nov 28 '14 at 18:51
  • Have you tried removing whatever it was you thought triggered it? – Tim Nov 28 '14 at 18:55
  • Yes, I've run sudo apt-get remove musescore and that did not change the lock screen either. – dagrha Nov 28 '14 at 19:11

3 Answers3

13

I had the same problem. For some reasons, my "Screen Reader" option in "Universal Access" was turned on (I suspect my daughter) and was preventing the new lock screen to kick in.

Apparently, "on-screen keyboard" option could also cause this behaviour as suggested in this thread:

How to restore the new 14.04-lockscreen

I suggest you check in System Settings > Universal Access to see if you have any option enabled that could be the cause of the problem.

Good luck

Jean-Sébastien
  • 258
  • 1
  • 6
  • Bingo. Indeed, my "Screen Reader" was turned on. I'm wondering if that got toggled on when I accidentally ran the Orca screen reader about the time the lock screen changed on me. I turned the Screen Reader off, and the Lock Screen is back to the default one. Thanks for your answer! – dagrha Dec 18 '14 at 01:30
  • Thanks, this was the issue for me, too. It turns out that if you accidentally press the key combination Alt+Super+S, the screen reader is activated. I suspect this is what I did to cause the setting to change. – James Womack Jan 27 '16 at 11:25
  • On screen keyboard was activated and disabling it fixed this issue for me, thank you. – MaxiWheat Oct 30 '18 at 13:23
6

Both the lock screen exist in your system. The first one is provided by Lightdm, you can try

dm-tool lock

The second one is provided by gnome, use

gnome-screensaver-command -l

To set dm-tool as your desired lock screen install, compizconfig-settings-manager

sudo apt-get install compizconfig-settings-manager

Go to CompizConfig Settings Manager, click on Ubuntu Unity Plugin and on the General tab, under Lockscreen, you can select LightDM lockscreen.

enter image description here

webupd8 described how to switch between unity and lightdm lock screen.

sourav c.
  • 44,715
  • He want's the default to be the gnome one. How can that be done? – Tim Nov 28 '14 at 18:57
  • 1
    @souravc, using dm-tool lock did indeed lock to the Unity lock screen! However, when I unlocked from that screen, it unlocked to the Gnome lock screen...at which point I need to enter my password to unlock a second time... To my knowledge I don't think I ever installed Gnome. I wonder why I am getting Gnome's lock screen? – dagrha Nov 28 '14 at 19:10
  • @dazzle it is very difficult to find out the reason, have you recently installed/modified anything? – sourav c. Nov 28 '14 at 19:32
  • @souravc, the "webupd8" link in your post just goes to imgur. I installed the CompizConfig Settings Manager like you recommended-- the "General" tab looks axactly like the screen shot you posted, except without the lock screen option... See this screencap – dagrha Nov 28 '14 at 19:35
  • @dazzle I have updated the link, see now – sourav c. Nov 28 '14 at 19:36
  • Can you run this command dpkg --get-selections | grep -v deinstall | pastebinit and post the link it gives you. We may be able to see if there is something strage there. – Tim Nov 28 '14 at 20:12
  • @souravc, I'd love to 'accept' your answer but unfortunately my version of CCSM (v0.9.12) does not give me the Lockscreen options. I upvoted your answer because it has been helpful in diagnosing the problem, and I hope it helps people in the future that come across this post, but for me it did not work. – dagrha Nov 30 '14 at 03:48
  • sorry it did not worked for you. I will try to find something that can help you. – sourav c. Nov 30 '14 at 08:36
  • @dazzle same here, the lock option does not appear. In my case I never had lightdm lockscreen except on new account – DEY Dec 09 '14 at 14:39
0

i also have the same problem. read about it on other pages too but couldn't find a solution. neither by terminal commands. finally i find a solution. i turned off the on screen keyboard from the Universal access -> Typing menu and i got my old dm-tool lock screen. This worked for me.

nrao
  • 11