18.04 Nothing I do prevents lock screen on lid close. EDIT: How to Disable “Screen Shield” on Laptop Lid...












0















Update: I originally flagged this as a "Lock Screen" problem. But with the help from @Dennis, I came to understand that the problem I describe below could be much better defined as a "Screen Shield" issue. Many thanks to @Dennis because I was getting ready to gouge my eyes out.





Original problem description:



I feel like I have had this problem before and I can't remember how I ultimately solved it. No matter what I do, when i close my laptop lid, it locks the screen. Except that it's not a lock screen, I don't have to enter my password, I just have to hit escape. That's annoying enough, but sometimes hitting escape doesn't work and I have to ssh into my laptop and kill X.



I have edited my /etc/systemd/logind.conf, here are the relevant edits:



39 HandleLidSwitch=ignore
40 HandleLidSwitchDocked=ignore
41 IdleAction=ignore
42 LidSwitchIgnoreInhibited=no



(all other line items in the logind.conf are commented out and I ran sudo systemctl restart systemd-logind or rebooted after)



I have installed tweak and disabled suspend with laptop lid closed.



I have made the recommended changes in the power section in Settings.



I have even installed Caffeine and enabled it.



Nothing matters, it still puts up that pseudo "not really a lock screen" screen when I close my laptop. And again, 25% of the time I have to kill X because I can't get out of it.



To make matter worse, it only goes into the lock screen about half the time, and I am unable to discern a pattern.



Much anger, please help.



Update: I tried the tip listed at
https://askubuntu.com/questions/578368/how-can-i-disable-all-locking-in-14-10?rq=1



Still didn't work.










share|improve this question




















  • 1





    Having a hard time picturing exactly, are you talking about the gnome screen shield that you can normally dismiss by swiping up with the mouse (or ESC)?

    – Dennis
    9 hours ago











  • @Dennis - yes, I think so. I must confess I do not know the exact name of the screen that appears, but your description sounds right.

    – Robert Baker
    9 hours ago








  • 1





    I think knowing that will be a big start if you search "disable gnome screen shield" there are tons of comments and suggestions from complex to simple. I just installed an extension that I can't recommend because I don't really know if it works. When you have to restart X, does the swipe up with the mouse not work? Just in case the extension is at extensions.gnome.org/extension/672/disable-screen-shield

    – Dennis
    8 hours ago






  • 1





    I am going to give you what may, or may not, be a hint that could help you. I had a similar problem disabling the touchpad on my wife's laptop. I used xinput to disable it, but the problem I had was that the device id number of the touchpad changed at every boot. This meant that my original script worked randomly. I see a 'sleep button' listed in the xinput --list output on her laptop, perhaps this is the lid button? Anyway, I wrote a script that runs at logon to get the device number of the touchpad and then disable it. Perhaps you could do the same with the 'sleep button' if you have one.

    – Organic Marble
    8 hours ago








  • 1





    @Robert Baker I know exactly what you mean and I felt that way with the original switch to gnome, but I have to admit I'm getting over it. I have tons of things I can play with, try, and learn. I have finally embraced the notion that gnome is extensible for a reason. I like what Ubuntu does to it and I don't mind using the tweaks of really creative people.

    – Dennis
    8 hours ago
















0















Update: I originally flagged this as a "Lock Screen" problem. But with the help from @Dennis, I came to understand that the problem I describe below could be much better defined as a "Screen Shield" issue. Many thanks to @Dennis because I was getting ready to gouge my eyes out.





Original problem description:



I feel like I have had this problem before and I can't remember how I ultimately solved it. No matter what I do, when i close my laptop lid, it locks the screen. Except that it's not a lock screen, I don't have to enter my password, I just have to hit escape. That's annoying enough, but sometimes hitting escape doesn't work and I have to ssh into my laptop and kill X.



I have edited my /etc/systemd/logind.conf, here are the relevant edits:



39 HandleLidSwitch=ignore
40 HandleLidSwitchDocked=ignore
41 IdleAction=ignore
42 LidSwitchIgnoreInhibited=no



(all other line items in the logind.conf are commented out and I ran sudo systemctl restart systemd-logind or rebooted after)



I have installed tweak and disabled suspend with laptop lid closed.



I have made the recommended changes in the power section in Settings.



I have even installed Caffeine and enabled it.



Nothing matters, it still puts up that pseudo "not really a lock screen" screen when I close my laptop. And again, 25% of the time I have to kill X because I can't get out of it.



To make matter worse, it only goes into the lock screen about half the time, and I am unable to discern a pattern.



Much anger, please help.



Update: I tried the tip listed at
https://askubuntu.com/questions/578368/how-can-i-disable-all-locking-in-14-10?rq=1



Still didn't work.










share|improve this question




















  • 1





    Having a hard time picturing exactly, are you talking about the gnome screen shield that you can normally dismiss by swiping up with the mouse (or ESC)?

    – Dennis
    9 hours ago











  • @Dennis - yes, I think so. I must confess I do not know the exact name of the screen that appears, but your description sounds right.

    – Robert Baker
    9 hours ago








  • 1





    I think knowing that will be a big start if you search "disable gnome screen shield" there are tons of comments and suggestions from complex to simple. I just installed an extension that I can't recommend because I don't really know if it works. When you have to restart X, does the swipe up with the mouse not work? Just in case the extension is at extensions.gnome.org/extension/672/disable-screen-shield

    – Dennis
    8 hours ago






  • 1





    I am going to give you what may, or may not, be a hint that could help you. I had a similar problem disabling the touchpad on my wife's laptop. I used xinput to disable it, but the problem I had was that the device id number of the touchpad changed at every boot. This meant that my original script worked randomly. I see a 'sleep button' listed in the xinput --list output on her laptop, perhaps this is the lid button? Anyway, I wrote a script that runs at logon to get the device number of the touchpad and then disable it. Perhaps you could do the same with the 'sleep button' if you have one.

    – Organic Marble
    8 hours ago








  • 1





    @Robert Baker I know exactly what you mean and I felt that way with the original switch to gnome, but I have to admit I'm getting over it. I have tons of things I can play with, try, and learn. I have finally embraced the notion that gnome is extensible for a reason. I like what Ubuntu does to it and I don't mind using the tweaks of really creative people.

    – Dennis
    8 hours ago














0












0








0








Update: I originally flagged this as a "Lock Screen" problem. But with the help from @Dennis, I came to understand that the problem I describe below could be much better defined as a "Screen Shield" issue. Many thanks to @Dennis because I was getting ready to gouge my eyes out.





Original problem description:



I feel like I have had this problem before and I can't remember how I ultimately solved it. No matter what I do, when i close my laptop lid, it locks the screen. Except that it's not a lock screen, I don't have to enter my password, I just have to hit escape. That's annoying enough, but sometimes hitting escape doesn't work and I have to ssh into my laptop and kill X.



I have edited my /etc/systemd/logind.conf, here are the relevant edits:



39 HandleLidSwitch=ignore
40 HandleLidSwitchDocked=ignore
41 IdleAction=ignore
42 LidSwitchIgnoreInhibited=no



(all other line items in the logind.conf are commented out and I ran sudo systemctl restart systemd-logind or rebooted after)



I have installed tweak and disabled suspend with laptop lid closed.



I have made the recommended changes in the power section in Settings.



I have even installed Caffeine and enabled it.



Nothing matters, it still puts up that pseudo "not really a lock screen" screen when I close my laptop. And again, 25% of the time I have to kill X because I can't get out of it.



To make matter worse, it only goes into the lock screen about half the time, and I am unable to discern a pattern.



Much anger, please help.



Update: I tried the tip listed at
https://askubuntu.com/questions/578368/how-can-i-disable-all-locking-in-14-10?rq=1



Still didn't work.










share|improve this question
















Update: I originally flagged this as a "Lock Screen" problem. But with the help from @Dennis, I came to understand that the problem I describe below could be much better defined as a "Screen Shield" issue. Many thanks to @Dennis because I was getting ready to gouge my eyes out.





Original problem description:



I feel like I have had this problem before and I can't remember how I ultimately solved it. No matter what I do, when i close my laptop lid, it locks the screen. Except that it's not a lock screen, I don't have to enter my password, I just have to hit escape. That's annoying enough, but sometimes hitting escape doesn't work and I have to ssh into my laptop and kill X.



I have edited my /etc/systemd/logind.conf, here are the relevant edits:



39 HandleLidSwitch=ignore
40 HandleLidSwitchDocked=ignore
41 IdleAction=ignore
42 LidSwitchIgnoreInhibited=no



(all other line items in the logind.conf are commented out and I ran sudo systemctl restart systemd-logind or rebooted after)



I have installed tweak and disabled suspend with laptop lid closed.



I have made the recommended changes in the power section in Settings.



I have even installed Caffeine and enabled it.



Nothing matters, it still puts up that pseudo "not really a lock screen" screen when I close my laptop. And again, 25% of the time I have to kill X because I can't get out of it.



To make matter worse, it only goes into the lock screen about half the time, and I am unable to discern a pattern.



Much anger, please help.



Update: I tried the tip listed at
https://askubuntu.com/questions/578368/how-can-i-disable-all-locking-in-14-10?rq=1



Still didn't work.







18.04 lock-screen






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 7 hours ago







Robert Baker

















asked 9 hours ago









Robert BakerRobert Baker

759




759








  • 1





    Having a hard time picturing exactly, are you talking about the gnome screen shield that you can normally dismiss by swiping up with the mouse (or ESC)?

    – Dennis
    9 hours ago











  • @Dennis - yes, I think so. I must confess I do not know the exact name of the screen that appears, but your description sounds right.

    – Robert Baker
    9 hours ago








  • 1





    I think knowing that will be a big start if you search "disable gnome screen shield" there are tons of comments and suggestions from complex to simple. I just installed an extension that I can't recommend because I don't really know if it works. When you have to restart X, does the swipe up with the mouse not work? Just in case the extension is at extensions.gnome.org/extension/672/disable-screen-shield

    – Dennis
    8 hours ago






  • 1





    I am going to give you what may, or may not, be a hint that could help you. I had a similar problem disabling the touchpad on my wife's laptop. I used xinput to disable it, but the problem I had was that the device id number of the touchpad changed at every boot. This meant that my original script worked randomly. I see a 'sleep button' listed in the xinput --list output on her laptop, perhaps this is the lid button? Anyway, I wrote a script that runs at logon to get the device number of the touchpad and then disable it. Perhaps you could do the same with the 'sleep button' if you have one.

    – Organic Marble
    8 hours ago








  • 1





    @Robert Baker I know exactly what you mean and I felt that way with the original switch to gnome, but I have to admit I'm getting over it. I have tons of things I can play with, try, and learn. I have finally embraced the notion that gnome is extensible for a reason. I like what Ubuntu does to it and I don't mind using the tweaks of really creative people.

    – Dennis
    8 hours ago














  • 1





    Having a hard time picturing exactly, are you talking about the gnome screen shield that you can normally dismiss by swiping up with the mouse (or ESC)?

    – Dennis
    9 hours ago











  • @Dennis - yes, I think so. I must confess I do not know the exact name of the screen that appears, but your description sounds right.

    – Robert Baker
    9 hours ago








  • 1





    I think knowing that will be a big start if you search "disable gnome screen shield" there are tons of comments and suggestions from complex to simple. I just installed an extension that I can't recommend because I don't really know if it works. When you have to restart X, does the swipe up with the mouse not work? Just in case the extension is at extensions.gnome.org/extension/672/disable-screen-shield

    – Dennis
    8 hours ago






  • 1





    I am going to give you what may, or may not, be a hint that could help you. I had a similar problem disabling the touchpad on my wife's laptop. I used xinput to disable it, but the problem I had was that the device id number of the touchpad changed at every boot. This meant that my original script worked randomly. I see a 'sleep button' listed in the xinput --list output on her laptop, perhaps this is the lid button? Anyway, I wrote a script that runs at logon to get the device number of the touchpad and then disable it. Perhaps you could do the same with the 'sleep button' if you have one.

    – Organic Marble
    8 hours ago








  • 1





    @Robert Baker I know exactly what you mean and I felt that way with the original switch to gnome, but I have to admit I'm getting over it. I have tons of things I can play with, try, and learn. I have finally embraced the notion that gnome is extensible for a reason. I like what Ubuntu does to it and I don't mind using the tweaks of really creative people.

    – Dennis
    8 hours ago








1




1





Having a hard time picturing exactly, are you talking about the gnome screen shield that you can normally dismiss by swiping up with the mouse (or ESC)?

– Dennis
9 hours ago





Having a hard time picturing exactly, are you talking about the gnome screen shield that you can normally dismiss by swiping up with the mouse (or ESC)?

– Dennis
9 hours ago













@Dennis - yes, I think so. I must confess I do not know the exact name of the screen that appears, but your description sounds right.

– Robert Baker
9 hours ago







@Dennis - yes, I think so. I must confess I do not know the exact name of the screen that appears, but your description sounds right.

– Robert Baker
9 hours ago






1




1





I think knowing that will be a big start if you search "disable gnome screen shield" there are tons of comments and suggestions from complex to simple. I just installed an extension that I can't recommend because I don't really know if it works. When you have to restart X, does the swipe up with the mouse not work? Just in case the extension is at extensions.gnome.org/extension/672/disable-screen-shield

– Dennis
8 hours ago





I think knowing that will be a big start if you search "disable gnome screen shield" there are tons of comments and suggestions from complex to simple. I just installed an extension that I can't recommend because I don't really know if it works. When you have to restart X, does the swipe up with the mouse not work? Just in case the extension is at extensions.gnome.org/extension/672/disable-screen-shield

– Dennis
8 hours ago




1




1





I am going to give you what may, or may not, be a hint that could help you. I had a similar problem disabling the touchpad on my wife's laptop. I used xinput to disable it, but the problem I had was that the device id number of the touchpad changed at every boot. This meant that my original script worked randomly. I see a 'sleep button' listed in the xinput --list output on her laptop, perhaps this is the lid button? Anyway, I wrote a script that runs at logon to get the device number of the touchpad and then disable it. Perhaps you could do the same with the 'sleep button' if you have one.

– Organic Marble
8 hours ago







I am going to give you what may, or may not, be a hint that could help you. I had a similar problem disabling the touchpad on my wife's laptop. I used xinput to disable it, but the problem I had was that the device id number of the touchpad changed at every boot. This meant that my original script worked randomly. I see a 'sleep button' listed in the xinput --list output on her laptop, perhaps this is the lid button? Anyway, I wrote a script that runs at logon to get the device number of the touchpad and then disable it. Perhaps you could do the same with the 'sleep button' if you have one.

– Organic Marble
8 hours ago






1




1





@Robert Baker I know exactly what you mean and I felt that way with the original switch to gnome, but I have to admit I'm getting over it. I have tons of things I can play with, try, and learn. I have finally embraced the notion that gnome is extensible for a reason. I like what Ubuntu does to it and I don't mind using the tweaks of really creative people.

– Dennis
8 hours ago





@Robert Baker I know exactly what you mean and I felt that way with the original switch to gnome, but I have to admit I'm getting over it. I have tons of things I can play with, try, and learn. I have finally embraced the notion that gnome is extensible for a reason. I like what Ubuntu does to it and I don't mind using the tweaks of really creative people.

– Dennis
8 hours ago










1 Answer
1






active

oldest

votes


















1














The names I have seen for this are "Gnome Screen Shield" and "Gnome Screen Curtain" it seems to be unrelated to the lock screen though judging by the amount of comment around the web available in searches, disabling it is a fairly common desire. On Ubuntu 18.04.1 with gnome 3.28.2 there is an extension that is working for me. I have disabled the lock screen and turned on the following extension.
https://extensions.gnome.org/extension/672/disable-screen-shield/






share|improve this answer



















  • 1





    Yeah, I guess knowing the actual NAME of the screen I was raging at might have been helpful in solving the problem on my own. Your extension seems to be working, and even if it eventually fails, at least I know WTF I am googling for.

    – Robert Baker
    8 hours ago













  • Update: that didn't work. I just saw the "shield screen" again.

    – Robert Baker
    3 hours ago











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1109749%2f18-04-nothing-i-do-prevents-lock-screen-on-lid-close-edit-how-to-disable-scre%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









1














The names I have seen for this are "Gnome Screen Shield" and "Gnome Screen Curtain" it seems to be unrelated to the lock screen though judging by the amount of comment around the web available in searches, disabling it is a fairly common desire. On Ubuntu 18.04.1 with gnome 3.28.2 there is an extension that is working for me. I have disabled the lock screen and turned on the following extension.
https://extensions.gnome.org/extension/672/disable-screen-shield/






share|improve this answer



















  • 1





    Yeah, I guess knowing the actual NAME of the screen I was raging at might have been helpful in solving the problem on my own. Your extension seems to be working, and even if it eventually fails, at least I know WTF I am googling for.

    – Robert Baker
    8 hours ago













  • Update: that didn't work. I just saw the "shield screen" again.

    – Robert Baker
    3 hours ago
















1














The names I have seen for this are "Gnome Screen Shield" and "Gnome Screen Curtain" it seems to be unrelated to the lock screen though judging by the amount of comment around the web available in searches, disabling it is a fairly common desire. On Ubuntu 18.04.1 with gnome 3.28.2 there is an extension that is working for me. I have disabled the lock screen and turned on the following extension.
https://extensions.gnome.org/extension/672/disable-screen-shield/






share|improve this answer



















  • 1





    Yeah, I guess knowing the actual NAME of the screen I was raging at might have been helpful in solving the problem on my own. Your extension seems to be working, and even if it eventually fails, at least I know WTF I am googling for.

    – Robert Baker
    8 hours ago













  • Update: that didn't work. I just saw the "shield screen" again.

    – Robert Baker
    3 hours ago














1












1








1







The names I have seen for this are "Gnome Screen Shield" and "Gnome Screen Curtain" it seems to be unrelated to the lock screen though judging by the amount of comment around the web available in searches, disabling it is a fairly common desire. On Ubuntu 18.04.1 with gnome 3.28.2 there is an extension that is working for me. I have disabled the lock screen and turned on the following extension.
https://extensions.gnome.org/extension/672/disable-screen-shield/






share|improve this answer













The names I have seen for this are "Gnome Screen Shield" and "Gnome Screen Curtain" it seems to be unrelated to the lock screen though judging by the amount of comment around the web available in searches, disabling it is a fairly common desire. On Ubuntu 18.04.1 with gnome 3.28.2 there is an extension that is working for me. I have disabled the lock screen and turned on the following extension.
https://extensions.gnome.org/extension/672/disable-screen-shield/







share|improve this answer












share|improve this answer



share|improve this answer










answered 8 hours ago









DennisDennis

1,42721833




1,42721833








  • 1





    Yeah, I guess knowing the actual NAME of the screen I was raging at might have been helpful in solving the problem on my own. Your extension seems to be working, and even if it eventually fails, at least I know WTF I am googling for.

    – Robert Baker
    8 hours ago













  • Update: that didn't work. I just saw the "shield screen" again.

    – Robert Baker
    3 hours ago














  • 1





    Yeah, I guess knowing the actual NAME of the screen I was raging at might have been helpful in solving the problem on my own. Your extension seems to be working, and even if it eventually fails, at least I know WTF I am googling for.

    – Robert Baker
    8 hours ago













  • Update: that didn't work. I just saw the "shield screen" again.

    – Robert Baker
    3 hours ago








1




1





Yeah, I guess knowing the actual NAME of the screen I was raging at might have been helpful in solving the problem on my own. Your extension seems to be working, and even if it eventually fails, at least I know WTF I am googling for.

– Robert Baker
8 hours ago







Yeah, I guess knowing the actual NAME of the screen I was raging at might have been helpful in solving the problem on my own. Your extension seems to be working, and even if it eventually fails, at least I know WTF I am googling for.

– Robert Baker
8 hours ago















Update: that didn't work. I just saw the "shield screen" again.

– Robert Baker
3 hours ago





Update: that didn't work. I just saw the "shield screen" again.

– Robert Baker
3 hours ago


















draft saved

draft discarded




















































Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1109749%2f18-04-nothing-i-do-prevents-lock-screen-on-lid-close-edit-how-to-disable-scre%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

GameSpot

connect to host localhost port 22: Connection refused

Getting a Wifi WPA2 wifi connection