How to prevent cleaner from hanging my lock screen in Ubuntu 16.04How do I change the length of time the lock...

Why Normality assumption in linear regression

Process to change collation on a database

Is a debit card dangerous for an account with low balance and no overdraft protection?

A starship is travelling at 0.9c and collides with a small rock. Will it leave a clean hole through, or will more happen?

Checking for the existence of multiple directories

What is the purpose of easy combat scenarios that don't need resource expenditure?

How would one buy a used TIE Fighter or X-Wing?

Every character has a name - does this lead to too many named characters?

What to do when being responsible for data protection in your lab, yet advice is ignored?

What is the in-universe cost of a TIE fighter?

Would these multi-classing house rules cause unintended problems?

Why zero tolerance on nudity in space?

Why does String.replaceAll() work differently in Java 8 from Java 9?

Should I write a companion book/blog?

Is it a fallacy if someone claims they need an explanation for every word of your argument to the point where they don't understand common terms?

If I delete my router's history can my ISP still provide it to my parents?

Is there some relative to Dutch word "kijken" in German?

Placing an adverb between a verb and an object?

Groups acting on trees

Does Windows 10's telemetry include sending *.doc files if Word crashed?

Word or phrase for showing great skill at something without formal training in it

Where are a monster’s hit dice found in the stat block?

Why is working on the same position for more than 15 years not a red flag?

Compress command output by piping to bzip2



How to prevent cleaner from hanging my lock screen in Ubuntu 16.04


How do I change the length of time the lock screen appears for?Screen will not lock automatically 12.10Prevent monitor from losing signal after screen saver / lock activatesUnlocking at the lock screen failsTakes a second to lock the screenUbuntu 16.04 Screen lock suddenly not workingLock screen Ubuntu 16.04Ubuntu 18.04 - how can I prevent my display turning off immediately when I lock the screen?Ubuntu 18.10: Screen lock options grayed out













16















In my workplace I'm using Ubuntu 16.04 with unity, standard installation. When I leave my office I lock my screen (ctrl+alt+l). During the evening, the office is cleaned. A few times, I've got back to work in the morning and my headphones are on my keyboard. My lock screen is hung, I can't clear password field, can't type anything, and can't use any other controls on lock screen (reboot, turn off button etc.). The mouse is working but clicking does nothing. Probably this is because the password field took huge input overnight and broke everything else. The cleaner "hacked" my computer :)



How can I prevent this? Can I somehow limit how many characters can be passed to the password input? Can I block the lock screen until I use some key combination to enable password input? Something similar to ctrl+alt+del in Windows before I can input password to lock screen?



//EDIT
As @bytecommander wrote there was a bug for this and it is supposed to be fixed but somehow this does not work on my machine https://bugs.launchpad.net/ubuntu/+source/unity-greeter/+bug/1538615



$ apt policy unity-greeter                                                                                                                                            
unity-greeter:
Installed: 16.04.2-0ubuntu1
Candidate: 16.04.2-0ubuntu1
Version table:
*** 16.04.2-0ubuntu1 500
500 http://pl.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
100 /var/lib/dpkg/status


// EDIT 2



Someone wrote that lock screen is not unity greeter package. Anyone can confirm this and tell me what package is this?










share|improve this question




















  • 7





    Power it down, take it home with you, unplug the keyboard if it's not a laptop, tell hr, AFAIR there's not much you can do security wise once someone physically gets a hold of your machine

    – j-money
    yesterday






  • 5





    @j-money I don't think the lady attempts to hack the machine but rather think she just thoroughly cleans the keyboard thereby pressing all the keys. A dust cover and/or this note might help.

    – PerlDuck
    yesterday








  • 1





    @PerlDuck maybe that's what she wants you to think!! (couldn't resist)

    – j-money
    yesterday






  • 6





    Unplug the keyboard :)

    – Sauce
    yesterday






  • 2





    Why not just put the headphones in a drawer before going home? Or hang them over the monitor?

    – Mawg
    yesterday
















16















In my workplace I'm using Ubuntu 16.04 with unity, standard installation. When I leave my office I lock my screen (ctrl+alt+l). During the evening, the office is cleaned. A few times, I've got back to work in the morning and my headphones are on my keyboard. My lock screen is hung, I can't clear password field, can't type anything, and can't use any other controls on lock screen (reboot, turn off button etc.). The mouse is working but clicking does nothing. Probably this is because the password field took huge input overnight and broke everything else. The cleaner "hacked" my computer :)



How can I prevent this? Can I somehow limit how many characters can be passed to the password input? Can I block the lock screen until I use some key combination to enable password input? Something similar to ctrl+alt+del in Windows before I can input password to lock screen?



//EDIT
As @bytecommander wrote there was a bug for this and it is supposed to be fixed but somehow this does not work on my machine https://bugs.launchpad.net/ubuntu/+source/unity-greeter/+bug/1538615



$ apt policy unity-greeter                                                                                                                                            
unity-greeter:
Installed: 16.04.2-0ubuntu1
Candidate: 16.04.2-0ubuntu1
Version table:
*** 16.04.2-0ubuntu1 500
500 http://pl.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
100 /var/lib/dpkg/status


// EDIT 2



Someone wrote that lock screen is not unity greeter package. Anyone can confirm this and tell me what package is this?










share|improve this question




















  • 7





    Power it down, take it home with you, unplug the keyboard if it's not a laptop, tell hr, AFAIR there's not much you can do security wise once someone physically gets a hold of your machine

    – j-money
    yesterday






  • 5





    @j-money I don't think the lady attempts to hack the machine but rather think she just thoroughly cleans the keyboard thereby pressing all the keys. A dust cover and/or this note might help.

    – PerlDuck
    yesterday








  • 1





    @PerlDuck maybe that's what she wants you to think!! (couldn't resist)

    – j-money
    yesterday






  • 6





    Unplug the keyboard :)

    – Sauce
    yesterday






  • 2





    Why not just put the headphones in a drawer before going home? Or hang them over the monitor?

    – Mawg
    yesterday














16












16








16


3






In my workplace I'm using Ubuntu 16.04 with unity, standard installation. When I leave my office I lock my screen (ctrl+alt+l). During the evening, the office is cleaned. A few times, I've got back to work in the morning and my headphones are on my keyboard. My lock screen is hung, I can't clear password field, can't type anything, and can't use any other controls on lock screen (reboot, turn off button etc.). The mouse is working but clicking does nothing. Probably this is because the password field took huge input overnight and broke everything else. The cleaner "hacked" my computer :)



How can I prevent this? Can I somehow limit how many characters can be passed to the password input? Can I block the lock screen until I use some key combination to enable password input? Something similar to ctrl+alt+del in Windows before I can input password to lock screen?



//EDIT
As @bytecommander wrote there was a bug for this and it is supposed to be fixed but somehow this does not work on my machine https://bugs.launchpad.net/ubuntu/+source/unity-greeter/+bug/1538615



$ apt policy unity-greeter                                                                                                                                            
unity-greeter:
Installed: 16.04.2-0ubuntu1
Candidate: 16.04.2-0ubuntu1
Version table:
*** 16.04.2-0ubuntu1 500
500 http://pl.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
100 /var/lib/dpkg/status


// EDIT 2



Someone wrote that lock screen is not unity greeter package. Anyone can confirm this and tell me what package is this?










share|improve this question
















In my workplace I'm using Ubuntu 16.04 with unity, standard installation. When I leave my office I lock my screen (ctrl+alt+l). During the evening, the office is cleaned. A few times, I've got back to work in the morning and my headphones are on my keyboard. My lock screen is hung, I can't clear password field, can't type anything, and can't use any other controls on lock screen (reboot, turn off button etc.). The mouse is working but clicking does nothing. Probably this is because the password field took huge input overnight and broke everything else. The cleaner "hacked" my computer :)



How can I prevent this? Can I somehow limit how many characters can be passed to the password input? Can I block the lock screen until I use some key combination to enable password input? Something similar to ctrl+alt+del in Windows before I can input password to lock screen?



//EDIT
As @bytecommander wrote there was a bug for this and it is supposed to be fixed but somehow this does not work on my machine https://bugs.launchpad.net/ubuntu/+source/unity-greeter/+bug/1538615



$ apt policy unity-greeter                                                                                                                                            
unity-greeter:
Installed: 16.04.2-0ubuntu1
Candidate: 16.04.2-0ubuntu1
Version table:
*** 16.04.2-0ubuntu1 500
500 http://pl.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
100 /var/lib/dpkg/status


// EDIT 2



Someone wrote that lock screen is not unity greeter package. Anyone can confirm this and tell me what package is this?







16.04 unity lock-screen






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited yesterday







piotrekkr

















asked yesterday









piotrekkrpiotrekkr

2931412




2931412








  • 7





    Power it down, take it home with you, unplug the keyboard if it's not a laptop, tell hr, AFAIR there's not much you can do security wise once someone physically gets a hold of your machine

    – j-money
    yesterday






  • 5





    @j-money I don't think the lady attempts to hack the machine but rather think she just thoroughly cleans the keyboard thereby pressing all the keys. A dust cover and/or this note might help.

    – PerlDuck
    yesterday








  • 1





    @PerlDuck maybe that's what she wants you to think!! (couldn't resist)

    – j-money
    yesterday






  • 6





    Unplug the keyboard :)

    – Sauce
    yesterday






  • 2





    Why not just put the headphones in a drawer before going home? Or hang them over the monitor?

    – Mawg
    yesterday














  • 7





    Power it down, take it home with you, unplug the keyboard if it's not a laptop, tell hr, AFAIR there's not much you can do security wise once someone physically gets a hold of your machine

    – j-money
    yesterday






  • 5





    @j-money I don't think the lady attempts to hack the machine but rather think she just thoroughly cleans the keyboard thereby pressing all the keys. A dust cover and/or this note might help.

    – PerlDuck
    yesterday








  • 1





    @PerlDuck maybe that's what she wants you to think!! (couldn't resist)

    – j-money
    yesterday






  • 6





    Unplug the keyboard :)

    – Sauce
    yesterday






  • 2





    Why not just put the headphones in a drawer before going home? Or hang them over the monitor?

    – Mawg
    yesterday








7




7





Power it down, take it home with you, unplug the keyboard if it's not a laptop, tell hr, AFAIR there's not much you can do security wise once someone physically gets a hold of your machine

– j-money
yesterday





Power it down, take it home with you, unplug the keyboard if it's not a laptop, tell hr, AFAIR there's not much you can do security wise once someone physically gets a hold of your machine

– j-money
yesterday




5




5





@j-money I don't think the lady attempts to hack the machine but rather think she just thoroughly cleans the keyboard thereby pressing all the keys. A dust cover and/or this note might help.

– PerlDuck
yesterday







@j-money I don't think the lady attempts to hack the machine but rather think she just thoroughly cleans the keyboard thereby pressing all the keys. A dust cover and/or this note might help.

– PerlDuck
yesterday






1




1





@PerlDuck maybe that's what she wants you to think!! (couldn't resist)

– j-money
yesterday





@PerlDuck maybe that's what she wants you to think!! (couldn't resist)

– j-money
yesterday




6




6





Unplug the keyboard :)

– Sauce
yesterday





Unplug the keyboard :)

– Sauce
yesterday




2




2





Why not just put the headphones in a drawer before going home? Or hang them over the monitor?

– Mawg
yesterday





Why not just put the headphones in a drawer before going home? Or hang them over the monitor?

– Mawg
yesterday










3 Answers
3






active

oldest

votes


















28














Seems like your cleaner has successfully managed to emulate a cat.



https://bugs.launchpad.net/ubuntu/+source/unity-greeter/+bug/1538615



There was a bug in unity-greeter in 14.04 and up to 16.04, which caused the lock screen to become unresponsive when there has been excessive keyboard input for some time (figuratively and literally a "cat on the keyboard").



It should be fixed since unity-greeter version 16.04.2-0ubuntu1 though by implementing a character limit. Please check your installed version with



apt policy unity-greeter


and make sure your system is fully updated with



sudo apt update ; sudo apt upgrade





share|improve this answer





















  • 1





    I have version with fix: apt policy unity-greeter unity-greeter: Installed: 16.04.2-0ubuntu1 Candidate: 16.04.2-0ubuntu1 Version table: *** 16.04.2-0ubuntu1 500 and apparently it is not fixed...

    – piotrekkr
    yesterday






  • 5





    In that case I think you should (re)open a bug ticket :(

    – Byte Commander
    yesterday











  • @ByteCommander I wrote comment in this ticket but I can't find option to reopen it :/

    – piotrekkr
    yesterday






  • 1





    The lock screen in Unity is not the Unity Greeter, so any fix to the Unity Greeter package is not going to fix a problem in the Unity lock screen.

    – Stephen M. Webb
    yesterday











  • @StephenM.Webb so what is unity lock screen then? What package?

    – piotrekkr
    yesterday



















10














You can install xtrlock:



$ sudo apt-get install xtrlock


And made a combination for lock screen and lock keyboard, until you press the combination again. Make it hard and then the cleaning lady have a hard chance to hit and "hack" your computer.






share|improve this answer










New contributor




Santi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
















  • 1





    This looks like the answer (short of removing the headphones, of course)

    – Mawg
    yesterday











  • @Santi Will this automatically work when I lock my screen using ctrl+alt+l? I read a little about it and it seem to work same way as lock screen you type password and [enter] to unlock. Is it protected from headphones on keyboard or cats? :)

    – piotrekkr
    yesterday











  • @piotrekkr yep absolutely it works the same way, just bind both together, tell me how it's going

    – Santi
    yesterday













  • @Santi Ok. I'm wondering how should I combine them? If I use lock screen first then I'm locked and normal shortcut keys does not work. If I use only xtrlock then I have locked keyboard and can't lock screen normally (ctrl+alt+l). Did you mean to use only xtrlock?

    – piotrekkr
    yesterday











  • @piotrekkr Yes, using only xtrlock you can set a custom shortcut to execute both, I mean, the lockscreen and lock keyboard until you press again the combination. This is an example of how it works example of lock mouse and keyboard but not screen

    – Santi
    yesterday





















4














Another solution is to buy a wireless keyboard, then stash the keyboard in a drawer before leaving, or taking out the USB dongle.



Pros: no need to install any software or mess with settings.

Cons: cost a bit of money, requires extra action before leaving.






share|improve this answer








New contributor




Shadow Wizard is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
















  • 2





    Or a wired keyboard that you can just unplug at night. Plenty of decent keyboards have a USB jack at both ends so you can unplug the cable at the keyboard (rather than having to fish behind the back panel connectors).

    – J...
    yesterday











  • @J... oh, never seen a keyboard with USB jack on both ends, but yeah, guess in some places it might be available. Still, that would leave an orphan cord lying around at night. ;)

    – Shadow Wizard
    yesterday











  • Well... sitting right next to the keyboard it should plug back into. A reasonable cable management strategy should make sure the plug can't move far from where it should be in use.

    – J...
    yesterday











  • @J... agreed, can be a better option indeed.

    – Shadow Wizard
    yesterday











  • @J...: And many machines (I'm tempted to say any decent one these days) have USB jacks on the front, and in the monitor(s). But unless there's an actual need for remote access during the night, the sensible course is simply to to turn the machine off when you leave.

    – jamesqf
    yesterday













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%2f1121906%2fhow-to-prevent-cleaner-from-hanging-my-lock-screen-in-ubuntu-16-04%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























3 Answers
3






active

oldest

votes








3 Answers
3






active

oldest

votes









active

oldest

votes






active

oldest

votes









28














Seems like your cleaner has successfully managed to emulate a cat.



https://bugs.launchpad.net/ubuntu/+source/unity-greeter/+bug/1538615



There was a bug in unity-greeter in 14.04 and up to 16.04, which caused the lock screen to become unresponsive when there has been excessive keyboard input for some time (figuratively and literally a "cat on the keyboard").



It should be fixed since unity-greeter version 16.04.2-0ubuntu1 though by implementing a character limit. Please check your installed version with



apt policy unity-greeter


and make sure your system is fully updated with



sudo apt update ; sudo apt upgrade





share|improve this answer





















  • 1





    I have version with fix: apt policy unity-greeter unity-greeter: Installed: 16.04.2-0ubuntu1 Candidate: 16.04.2-0ubuntu1 Version table: *** 16.04.2-0ubuntu1 500 and apparently it is not fixed...

    – piotrekkr
    yesterday






  • 5





    In that case I think you should (re)open a bug ticket :(

    – Byte Commander
    yesterday











  • @ByteCommander I wrote comment in this ticket but I can't find option to reopen it :/

    – piotrekkr
    yesterday






  • 1





    The lock screen in Unity is not the Unity Greeter, so any fix to the Unity Greeter package is not going to fix a problem in the Unity lock screen.

    – Stephen M. Webb
    yesterday











  • @StephenM.Webb so what is unity lock screen then? What package?

    – piotrekkr
    yesterday
















28














Seems like your cleaner has successfully managed to emulate a cat.



https://bugs.launchpad.net/ubuntu/+source/unity-greeter/+bug/1538615



There was a bug in unity-greeter in 14.04 and up to 16.04, which caused the lock screen to become unresponsive when there has been excessive keyboard input for some time (figuratively and literally a "cat on the keyboard").



It should be fixed since unity-greeter version 16.04.2-0ubuntu1 though by implementing a character limit. Please check your installed version with



apt policy unity-greeter


and make sure your system is fully updated with



sudo apt update ; sudo apt upgrade





share|improve this answer





















  • 1





    I have version with fix: apt policy unity-greeter unity-greeter: Installed: 16.04.2-0ubuntu1 Candidate: 16.04.2-0ubuntu1 Version table: *** 16.04.2-0ubuntu1 500 and apparently it is not fixed...

    – piotrekkr
    yesterday






  • 5





    In that case I think you should (re)open a bug ticket :(

    – Byte Commander
    yesterday











  • @ByteCommander I wrote comment in this ticket but I can't find option to reopen it :/

    – piotrekkr
    yesterday






  • 1





    The lock screen in Unity is not the Unity Greeter, so any fix to the Unity Greeter package is not going to fix a problem in the Unity lock screen.

    – Stephen M. Webb
    yesterday











  • @StephenM.Webb so what is unity lock screen then? What package?

    – piotrekkr
    yesterday














28












28








28







Seems like your cleaner has successfully managed to emulate a cat.



https://bugs.launchpad.net/ubuntu/+source/unity-greeter/+bug/1538615



There was a bug in unity-greeter in 14.04 and up to 16.04, which caused the lock screen to become unresponsive when there has been excessive keyboard input for some time (figuratively and literally a "cat on the keyboard").



It should be fixed since unity-greeter version 16.04.2-0ubuntu1 though by implementing a character limit. Please check your installed version with



apt policy unity-greeter


and make sure your system is fully updated with



sudo apt update ; sudo apt upgrade





share|improve this answer















Seems like your cleaner has successfully managed to emulate a cat.



https://bugs.launchpad.net/ubuntu/+source/unity-greeter/+bug/1538615



There was a bug in unity-greeter in 14.04 and up to 16.04, which caused the lock screen to become unresponsive when there has been excessive keyboard input for some time (figuratively and literally a "cat on the keyboard").



It should be fixed since unity-greeter version 16.04.2-0ubuntu1 though by implementing a character limit. Please check your installed version with



apt policy unity-greeter


and make sure your system is fully updated with



sudo apt update ; sudo apt upgrade






share|improve this answer














share|improve this answer



share|improve this answer








edited yesterday

























answered yesterday









Byte CommanderByte Commander

65.5k27179302




65.5k27179302








  • 1





    I have version with fix: apt policy unity-greeter unity-greeter: Installed: 16.04.2-0ubuntu1 Candidate: 16.04.2-0ubuntu1 Version table: *** 16.04.2-0ubuntu1 500 and apparently it is not fixed...

    – piotrekkr
    yesterday






  • 5





    In that case I think you should (re)open a bug ticket :(

    – Byte Commander
    yesterday











  • @ByteCommander I wrote comment in this ticket but I can't find option to reopen it :/

    – piotrekkr
    yesterday






  • 1





    The lock screen in Unity is not the Unity Greeter, so any fix to the Unity Greeter package is not going to fix a problem in the Unity lock screen.

    – Stephen M. Webb
    yesterday











  • @StephenM.Webb so what is unity lock screen then? What package?

    – piotrekkr
    yesterday














  • 1





    I have version with fix: apt policy unity-greeter unity-greeter: Installed: 16.04.2-0ubuntu1 Candidate: 16.04.2-0ubuntu1 Version table: *** 16.04.2-0ubuntu1 500 and apparently it is not fixed...

    – piotrekkr
    yesterday






  • 5





    In that case I think you should (re)open a bug ticket :(

    – Byte Commander
    yesterday











  • @ByteCommander I wrote comment in this ticket but I can't find option to reopen it :/

    – piotrekkr
    yesterday






  • 1





    The lock screen in Unity is not the Unity Greeter, so any fix to the Unity Greeter package is not going to fix a problem in the Unity lock screen.

    – Stephen M. Webb
    yesterday











  • @StephenM.Webb so what is unity lock screen then? What package?

    – piotrekkr
    yesterday








1




1





I have version with fix: apt policy unity-greeter unity-greeter: Installed: 16.04.2-0ubuntu1 Candidate: 16.04.2-0ubuntu1 Version table: *** 16.04.2-0ubuntu1 500 and apparently it is not fixed...

– piotrekkr
yesterday





I have version with fix: apt policy unity-greeter unity-greeter: Installed: 16.04.2-0ubuntu1 Candidate: 16.04.2-0ubuntu1 Version table: *** 16.04.2-0ubuntu1 500 and apparently it is not fixed...

– piotrekkr
yesterday




5




5





In that case I think you should (re)open a bug ticket :(

– Byte Commander
yesterday





In that case I think you should (re)open a bug ticket :(

– Byte Commander
yesterday













@ByteCommander I wrote comment in this ticket but I can't find option to reopen it :/

– piotrekkr
yesterday





@ByteCommander I wrote comment in this ticket but I can't find option to reopen it :/

– piotrekkr
yesterday




1




1





The lock screen in Unity is not the Unity Greeter, so any fix to the Unity Greeter package is not going to fix a problem in the Unity lock screen.

– Stephen M. Webb
yesterday





The lock screen in Unity is not the Unity Greeter, so any fix to the Unity Greeter package is not going to fix a problem in the Unity lock screen.

– Stephen M. Webb
yesterday













@StephenM.Webb so what is unity lock screen then? What package?

– piotrekkr
yesterday





@StephenM.Webb so what is unity lock screen then? What package?

– piotrekkr
yesterday













10














You can install xtrlock:



$ sudo apt-get install xtrlock


And made a combination for lock screen and lock keyboard, until you press the combination again. Make it hard and then the cleaning lady have a hard chance to hit and "hack" your computer.






share|improve this answer










New contributor




Santi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
















  • 1





    This looks like the answer (short of removing the headphones, of course)

    – Mawg
    yesterday











  • @Santi Will this automatically work when I lock my screen using ctrl+alt+l? I read a little about it and it seem to work same way as lock screen you type password and [enter] to unlock. Is it protected from headphones on keyboard or cats? :)

    – piotrekkr
    yesterday











  • @piotrekkr yep absolutely it works the same way, just bind both together, tell me how it's going

    – Santi
    yesterday













  • @Santi Ok. I'm wondering how should I combine them? If I use lock screen first then I'm locked and normal shortcut keys does not work. If I use only xtrlock then I have locked keyboard and can't lock screen normally (ctrl+alt+l). Did you mean to use only xtrlock?

    – piotrekkr
    yesterday











  • @piotrekkr Yes, using only xtrlock you can set a custom shortcut to execute both, I mean, the lockscreen and lock keyboard until you press again the combination. This is an example of how it works example of lock mouse and keyboard but not screen

    – Santi
    yesterday


















10














You can install xtrlock:



$ sudo apt-get install xtrlock


And made a combination for lock screen and lock keyboard, until you press the combination again. Make it hard and then the cleaning lady have a hard chance to hit and "hack" your computer.






share|improve this answer










New contributor




Santi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
















  • 1





    This looks like the answer (short of removing the headphones, of course)

    – Mawg
    yesterday











  • @Santi Will this automatically work when I lock my screen using ctrl+alt+l? I read a little about it and it seem to work same way as lock screen you type password and [enter] to unlock. Is it protected from headphones on keyboard or cats? :)

    – piotrekkr
    yesterday











  • @piotrekkr yep absolutely it works the same way, just bind both together, tell me how it's going

    – Santi
    yesterday













  • @Santi Ok. I'm wondering how should I combine them? If I use lock screen first then I'm locked and normal shortcut keys does not work. If I use only xtrlock then I have locked keyboard and can't lock screen normally (ctrl+alt+l). Did you mean to use only xtrlock?

    – piotrekkr
    yesterday











  • @piotrekkr Yes, using only xtrlock you can set a custom shortcut to execute both, I mean, the lockscreen and lock keyboard until you press again the combination. This is an example of how it works example of lock mouse and keyboard but not screen

    – Santi
    yesterday
















10












10








10







You can install xtrlock:



$ sudo apt-get install xtrlock


And made a combination for lock screen and lock keyboard, until you press the combination again. Make it hard and then the cleaning lady have a hard chance to hit and "hack" your computer.






share|improve this answer










New contributor




Santi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.










You can install xtrlock:



$ sudo apt-get install xtrlock


And made a combination for lock screen and lock keyboard, until you press the combination again. Make it hard and then the cleaning lady have a hard chance to hit and "hack" your computer.







share|improve this answer










New contributor




Santi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this answer



share|improve this answer








edited yesterday









Captain Man

153313




153313






New contributor




Santi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









answered yesterday









SantiSanti

1033




1033




New contributor




Santi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Santi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Santi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.








  • 1





    This looks like the answer (short of removing the headphones, of course)

    – Mawg
    yesterday











  • @Santi Will this automatically work when I lock my screen using ctrl+alt+l? I read a little about it and it seem to work same way as lock screen you type password and [enter] to unlock. Is it protected from headphones on keyboard or cats? :)

    – piotrekkr
    yesterday











  • @piotrekkr yep absolutely it works the same way, just bind both together, tell me how it's going

    – Santi
    yesterday













  • @Santi Ok. I'm wondering how should I combine them? If I use lock screen first then I'm locked and normal shortcut keys does not work. If I use only xtrlock then I have locked keyboard and can't lock screen normally (ctrl+alt+l). Did you mean to use only xtrlock?

    – piotrekkr
    yesterday











  • @piotrekkr Yes, using only xtrlock you can set a custom shortcut to execute both, I mean, the lockscreen and lock keyboard until you press again the combination. This is an example of how it works example of lock mouse and keyboard but not screen

    – Santi
    yesterday
















  • 1





    This looks like the answer (short of removing the headphones, of course)

    – Mawg
    yesterday











  • @Santi Will this automatically work when I lock my screen using ctrl+alt+l? I read a little about it and it seem to work same way as lock screen you type password and [enter] to unlock. Is it protected from headphones on keyboard or cats? :)

    – piotrekkr
    yesterday











  • @piotrekkr yep absolutely it works the same way, just bind both together, tell me how it's going

    – Santi
    yesterday













  • @Santi Ok. I'm wondering how should I combine them? If I use lock screen first then I'm locked and normal shortcut keys does not work. If I use only xtrlock then I have locked keyboard and can't lock screen normally (ctrl+alt+l). Did you mean to use only xtrlock?

    – piotrekkr
    yesterday











  • @piotrekkr Yes, using only xtrlock you can set a custom shortcut to execute both, I mean, the lockscreen and lock keyboard until you press again the combination. This is an example of how it works example of lock mouse and keyboard but not screen

    – Santi
    yesterday










1




1





This looks like the answer (short of removing the headphones, of course)

– Mawg
yesterday





This looks like the answer (short of removing the headphones, of course)

– Mawg
yesterday













@Santi Will this automatically work when I lock my screen using ctrl+alt+l? I read a little about it and it seem to work same way as lock screen you type password and [enter] to unlock. Is it protected from headphones on keyboard or cats? :)

– piotrekkr
yesterday





@Santi Will this automatically work when I lock my screen using ctrl+alt+l? I read a little about it and it seem to work same way as lock screen you type password and [enter] to unlock. Is it protected from headphones on keyboard or cats? :)

– piotrekkr
yesterday













@piotrekkr yep absolutely it works the same way, just bind both together, tell me how it's going

– Santi
yesterday







@piotrekkr yep absolutely it works the same way, just bind both together, tell me how it's going

– Santi
yesterday















@Santi Ok. I'm wondering how should I combine them? If I use lock screen first then I'm locked and normal shortcut keys does not work. If I use only xtrlock then I have locked keyboard and can't lock screen normally (ctrl+alt+l). Did you mean to use only xtrlock?

– piotrekkr
yesterday





@Santi Ok. I'm wondering how should I combine them? If I use lock screen first then I'm locked and normal shortcut keys does not work. If I use only xtrlock then I have locked keyboard and can't lock screen normally (ctrl+alt+l). Did you mean to use only xtrlock?

– piotrekkr
yesterday













@piotrekkr Yes, using only xtrlock you can set a custom shortcut to execute both, I mean, the lockscreen and lock keyboard until you press again the combination. This is an example of how it works example of lock mouse and keyboard but not screen

– Santi
yesterday







@piotrekkr Yes, using only xtrlock you can set a custom shortcut to execute both, I mean, the lockscreen and lock keyboard until you press again the combination. This is an example of how it works example of lock mouse and keyboard but not screen

– Santi
yesterday













4














Another solution is to buy a wireless keyboard, then stash the keyboard in a drawer before leaving, or taking out the USB dongle.



Pros: no need to install any software or mess with settings.

Cons: cost a bit of money, requires extra action before leaving.






share|improve this answer








New contributor




Shadow Wizard is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
















  • 2





    Or a wired keyboard that you can just unplug at night. Plenty of decent keyboards have a USB jack at both ends so you can unplug the cable at the keyboard (rather than having to fish behind the back panel connectors).

    – J...
    yesterday











  • @J... oh, never seen a keyboard with USB jack on both ends, but yeah, guess in some places it might be available. Still, that would leave an orphan cord lying around at night. ;)

    – Shadow Wizard
    yesterday











  • Well... sitting right next to the keyboard it should plug back into. A reasonable cable management strategy should make sure the plug can't move far from where it should be in use.

    – J...
    yesterday











  • @J... agreed, can be a better option indeed.

    – Shadow Wizard
    yesterday











  • @J...: And many machines (I'm tempted to say any decent one these days) have USB jacks on the front, and in the monitor(s). But unless there's an actual need for remote access during the night, the sensible course is simply to to turn the machine off when you leave.

    – jamesqf
    yesterday


















4














Another solution is to buy a wireless keyboard, then stash the keyboard in a drawer before leaving, or taking out the USB dongle.



Pros: no need to install any software or mess with settings.

Cons: cost a bit of money, requires extra action before leaving.






share|improve this answer








New contributor




Shadow Wizard is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
















  • 2





    Or a wired keyboard that you can just unplug at night. Plenty of decent keyboards have a USB jack at both ends so you can unplug the cable at the keyboard (rather than having to fish behind the back panel connectors).

    – J...
    yesterday











  • @J... oh, never seen a keyboard with USB jack on both ends, but yeah, guess in some places it might be available. Still, that would leave an orphan cord lying around at night. ;)

    – Shadow Wizard
    yesterday











  • Well... sitting right next to the keyboard it should plug back into. A reasonable cable management strategy should make sure the plug can't move far from where it should be in use.

    – J...
    yesterday











  • @J... agreed, can be a better option indeed.

    – Shadow Wizard
    yesterday











  • @J...: And many machines (I'm tempted to say any decent one these days) have USB jacks on the front, and in the monitor(s). But unless there's an actual need for remote access during the night, the sensible course is simply to to turn the machine off when you leave.

    – jamesqf
    yesterday
















4












4








4







Another solution is to buy a wireless keyboard, then stash the keyboard in a drawer before leaving, or taking out the USB dongle.



Pros: no need to install any software or mess with settings.

Cons: cost a bit of money, requires extra action before leaving.






share|improve this answer








New contributor




Shadow Wizard is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.










Another solution is to buy a wireless keyboard, then stash the keyboard in a drawer before leaving, or taking out the USB dongle.



Pros: no need to install any software or mess with settings.

Cons: cost a bit of money, requires extra action before leaving.







share|improve this answer








New contributor




Shadow Wizard is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this answer



share|improve this answer






New contributor




Shadow Wizard is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









answered yesterday









Shadow WizardShadow Wizard

1458




1458




New contributor




Shadow Wizard is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Shadow Wizard is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Shadow Wizard is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.








  • 2





    Or a wired keyboard that you can just unplug at night. Plenty of decent keyboards have a USB jack at both ends so you can unplug the cable at the keyboard (rather than having to fish behind the back panel connectors).

    – J...
    yesterday











  • @J... oh, never seen a keyboard with USB jack on both ends, but yeah, guess in some places it might be available. Still, that would leave an orphan cord lying around at night. ;)

    – Shadow Wizard
    yesterday











  • Well... sitting right next to the keyboard it should plug back into. A reasonable cable management strategy should make sure the plug can't move far from where it should be in use.

    – J...
    yesterday











  • @J... agreed, can be a better option indeed.

    – Shadow Wizard
    yesterday











  • @J...: And many machines (I'm tempted to say any decent one these days) have USB jacks on the front, and in the monitor(s). But unless there's an actual need for remote access during the night, the sensible course is simply to to turn the machine off when you leave.

    – jamesqf
    yesterday
















  • 2





    Or a wired keyboard that you can just unplug at night. Plenty of decent keyboards have a USB jack at both ends so you can unplug the cable at the keyboard (rather than having to fish behind the back panel connectors).

    – J...
    yesterday











  • @J... oh, never seen a keyboard with USB jack on both ends, but yeah, guess in some places it might be available. Still, that would leave an orphan cord lying around at night. ;)

    – Shadow Wizard
    yesterday











  • Well... sitting right next to the keyboard it should plug back into. A reasonable cable management strategy should make sure the plug can't move far from where it should be in use.

    – J...
    yesterday











  • @J... agreed, can be a better option indeed.

    – Shadow Wizard
    yesterday











  • @J...: And many machines (I'm tempted to say any decent one these days) have USB jacks on the front, and in the monitor(s). But unless there's an actual need for remote access during the night, the sensible course is simply to to turn the machine off when you leave.

    – jamesqf
    yesterday










2




2





Or a wired keyboard that you can just unplug at night. Plenty of decent keyboards have a USB jack at both ends so you can unplug the cable at the keyboard (rather than having to fish behind the back panel connectors).

– J...
yesterday





Or a wired keyboard that you can just unplug at night. Plenty of decent keyboards have a USB jack at both ends so you can unplug the cable at the keyboard (rather than having to fish behind the back panel connectors).

– J...
yesterday













@J... oh, never seen a keyboard with USB jack on both ends, but yeah, guess in some places it might be available. Still, that would leave an orphan cord lying around at night. ;)

– Shadow Wizard
yesterday





@J... oh, never seen a keyboard with USB jack on both ends, but yeah, guess in some places it might be available. Still, that would leave an orphan cord lying around at night. ;)

– Shadow Wizard
yesterday













Well... sitting right next to the keyboard it should plug back into. A reasonable cable management strategy should make sure the plug can't move far from where it should be in use.

– J...
yesterday





Well... sitting right next to the keyboard it should plug back into. A reasonable cable management strategy should make sure the plug can't move far from where it should be in use.

– J...
yesterday













@J... agreed, can be a better option indeed.

– Shadow Wizard
yesterday





@J... agreed, can be a better option indeed.

– Shadow Wizard
yesterday













@J...: And many machines (I'm tempted to say any decent one these days) have USB jacks on the front, and in the monitor(s). But unless there's an actual need for remote access during the night, the sensible course is simply to to turn the machine off when you leave.

– jamesqf
yesterday







@J...: And many machines (I'm tempted to say any decent one these days) have USB jacks on the front, and in the monitor(s). But unless there's an actual need for remote access during the night, the sensible course is simply to to turn the machine off when you leave.

– jamesqf
yesterday




















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%2f1121906%2fhow-to-prevent-cleaner-from-hanging-my-lock-screen-in-ubuntu-16-04%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

is 'sed' thread safeWhat should someone know about using Python scripts in the shell?Nexenta bash script uses...

How do i solve the “ No module named 'mlxtend' ” issue on Jupyter?

Pilgersdorf Inhaltsverzeichnis Geografie | Geschichte | Bevölkerungsentwicklung | Politik | Kultur...