With Ubuntu 18.04, how can I have a hot corner that locks the computer?How do I install and manage GNOME Shell extensions?How can I put the display to sleep on screen lock?Possible to use screen lock as timeout?How do I disable 'Activities' hot corner in GNOME shell?Can I Enable Activity hot corner in Full screen apps?How do I reduce delay before locking after pressing lock button?How to disable screen locking in Ubuntu 18.04/GNOME shell?Disabling Lock Screen 18.04Ubuntu 18.04 - how can I prevent my display turning off immediately when I lock the screen?How can I change the Lock Screen (not Wallpaper) background?How do I get the screen to lgo blank in Ubuntu 18.04?

What to do when surprise and a high initiative roll conflict with the narrative?

How to handle self harm scars on the arm in work environment?

How can I tell the difference between unmarked sugar and stevia?

concatenation of context sensitive and context-free is context sensitive or not?

What ways have you found to get edits from non-LaTeX users?

Check if three arrays contains the same element

Someone whose aspirations exceed abilities or means

What speaks against investing in precious metals?

Is a lack of character descriptions a problem?

How to communicate to my GM that not being allowed to use stealth isn't fun for me?

Can U.S. Tax Forms Be Legally HTMLified?

Applying Graph Theory to Linear Algebra (not the other way around)

What makes Ada the language of choice for the ISS's safety-critical systems?

Medieval flying castle propulsion

Non-disclosure agreement in a small business

How to trick the reader into thinking they're following a redshirt instead of the protagonist?

Why would future John risk sending back a T-800 to save his younger self?

How to hide rifle during medieval town entrance inspection?

How to manually rewind film?

How is John Wick 3 a 15 certificate?

Should I give professor gift at the beginning of my PhD?

Certain search in list

Can Rydberg constant be in joules?

Inward extrusion is not working



With Ubuntu 18.04, how can I have a hot corner that locks the computer?


How do I install and manage GNOME Shell extensions?How can I put the display to sleep on screen lock?Possible to use screen lock as timeout?How do I disable 'Activities' hot corner in GNOME shell?Can I Enable Activity hot corner in Full screen apps?How do I reduce delay before locking after pressing lock button?How to disable screen locking in Ubuntu 18.04/GNOME shell?Disabling Lock Screen 18.04Ubuntu 18.04 - how can I prevent my display turning off immediately when I lock the screen?How can I change the Lock Screen (not Wallpaper) background?How do I get the screen to lgo blank in Ubuntu 18.04?






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








2















I want to have a hot corner that will immediately (and reliably) load my lock screen. Any suggestions?










share|improve this question









New contributor



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



















  • xdotool can do this.. go through man xdotool

    – PRATAP
    9 hours ago











  • @PRATAP Could you please expand it to an answer?

    – pomsky
    8 hours ago

















2















I want to have a hot corner that will immediately (and reliably) load my lock screen. Any suggestions?










share|improve this question









New contributor



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



















  • xdotool can do this.. go through man xdotool

    – PRATAP
    9 hours ago











  • @PRATAP Could you please expand it to an answer?

    – pomsky
    8 hours ago













2












2








2


2






I want to have a hot corner that will immediately (and reliably) load my lock screen. Any suggestions?










share|improve this question









New contributor



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











I want to have a hot corner that will immediately (and reliably) load my lock screen. Any suggestions?







gnome-shell lock-screen






share|improve this question









New contributor



Shamoon 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 question









New contributor



Shamoon 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 question




share|improve this question








edited 8 hours ago









pomsky

35.6k11111143




35.6k11111143






New contributor



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








asked 9 hours ago









ShamoonShamoon

1134




1134




New contributor



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




New contributor




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














  • xdotool can do this.. go through man xdotool

    – PRATAP
    9 hours ago











  • @PRATAP Could you please expand it to an answer?

    – pomsky
    8 hours ago

















  • xdotool can do this.. go through man xdotool

    – PRATAP
    9 hours ago











  • @PRATAP Could you please expand it to an answer?

    – pomsky
    8 hours ago
















xdotool can do this.. go through man xdotool

– PRATAP
9 hours ago





xdotool can do this.. go through man xdotool

– PRATAP
9 hours ago













@PRATAP Could you please expand it to an answer?

– pomsky
8 hours ago





@PRATAP Could you please expand it to an answer?

– pomsky
8 hours ago










2 Answers
2






active

oldest

votes


















2














For what it is worth:



Super+L (Windows key+L) locks your screen.



I always have the screen blanker off, but it still activates as I press these keys.






System Settings > Brightness & Lock:

Turn screen off when inactive for: Never.



Lock: ON

Lock screen after: 30 seconds.



[v] Require my password when waking from suspend.






share|improve this answer























  • It says nothing about the hot corner part, the feature OP is looking for.

    – pomsky
    8 hours ago







  • 1





    Yes? And how come this would not be still a valid answer? Maybe OP didn't know about this.

    – Hannu
    8 hours ago






  • 1





    Thanks @Hannu - you are correct in that I did not know about this. Makes the hot corners no longer needed

    – Shamoon
    8 hours ago











  • +1 for addressing the XY problem, though in spirit of SE perhaps the other answer should be the accepted one.

    – Thebluefish
    1 hour ago


















4














First you need to install a GNOME shell extension called CustomCorner to be able to activate hot-corners.



Then open the extension's preferences and choose a corner, and select 'Run Command'.
enter image description here



In the command box, use the following



dbus-send --type=method_call --dest=org.gnome.ScreenSaver /org/gnome/ScreenSaver org.gnome.ScreenSaver.Lock


Alternatively, you can use



gnome-screensaver-command --lock


if you have the gnome-screensaver package installed.






share|improve this answer























    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
    );



    );






    Shamoon is a new contributor. Be nice, and check out our Code of Conduct.









    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1148811%2fwith-ubuntu-18-04-how-can-i-have-a-hot-corner-that-locks-the-computer%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    2














    For what it is worth:



    Super+L (Windows key+L) locks your screen.



    I always have the screen blanker off, but it still activates as I press these keys.






    System Settings > Brightness & Lock:

    Turn screen off when inactive for: Never.



    Lock: ON

    Lock screen after: 30 seconds.



    [v] Require my password when waking from suspend.






    share|improve this answer























    • It says nothing about the hot corner part, the feature OP is looking for.

      – pomsky
      8 hours ago







    • 1





      Yes? And how come this would not be still a valid answer? Maybe OP didn't know about this.

      – Hannu
      8 hours ago






    • 1





      Thanks @Hannu - you are correct in that I did not know about this. Makes the hot corners no longer needed

      – Shamoon
      8 hours ago











    • +1 for addressing the XY problem, though in spirit of SE perhaps the other answer should be the accepted one.

      – Thebluefish
      1 hour ago















    2














    For what it is worth:



    Super+L (Windows key+L) locks your screen.



    I always have the screen blanker off, but it still activates as I press these keys.






    System Settings > Brightness & Lock:

    Turn screen off when inactive for: Never.



    Lock: ON

    Lock screen after: 30 seconds.



    [v] Require my password when waking from suspend.






    share|improve this answer























    • It says nothing about the hot corner part, the feature OP is looking for.

      – pomsky
      8 hours ago







    • 1





      Yes? And how come this would not be still a valid answer? Maybe OP didn't know about this.

      – Hannu
      8 hours ago






    • 1





      Thanks @Hannu - you are correct in that I did not know about this. Makes the hot corners no longer needed

      – Shamoon
      8 hours ago











    • +1 for addressing the XY problem, though in spirit of SE perhaps the other answer should be the accepted one.

      – Thebluefish
      1 hour ago













    2












    2








    2







    For what it is worth:



    Super+L (Windows key+L) locks your screen.



    I always have the screen blanker off, but it still activates as I press these keys.






    System Settings > Brightness & Lock:

    Turn screen off when inactive for: Never.



    Lock: ON

    Lock screen after: 30 seconds.



    [v] Require my password when waking from suspend.






    share|improve this answer













    For what it is worth:



    Super+L (Windows key+L) locks your screen.



    I always have the screen blanker off, but it still activates as I press these keys.






    System Settings > Brightness & Lock:

    Turn screen off when inactive for: Never.



    Lock: ON

    Lock screen after: 30 seconds.



    [v] Require my password when waking from suspend.







    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered 9 hours ago









    HannuHannu

    2,3531228




    2,3531228












    • It says nothing about the hot corner part, the feature OP is looking for.

      – pomsky
      8 hours ago







    • 1





      Yes? And how come this would not be still a valid answer? Maybe OP didn't know about this.

      – Hannu
      8 hours ago






    • 1





      Thanks @Hannu - you are correct in that I did not know about this. Makes the hot corners no longer needed

      – Shamoon
      8 hours ago











    • +1 for addressing the XY problem, though in spirit of SE perhaps the other answer should be the accepted one.

      – Thebluefish
      1 hour ago

















    • It says nothing about the hot corner part, the feature OP is looking for.

      – pomsky
      8 hours ago







    • 1





      Yes? And how come this would not be still a valid answer? Maybe OP didn't know about this.

      – Hannu
      8 hours ago






    • 1





      Thanks @Hannu - you are correct in that I did not know about this. Makes the hot corners no longer needed

      – Shamoon
      8 hours ago











    • +1 for addressing the XY problem, though in spirit of SE perhaps the other answer should be the accepted one.

      – Thebluefish
      1 hour ago
















    It says nothing about the hot corner part, the feature OP is looking for.

    – pomsky
    8 hours ago






    It says nothing about the hot corner part, the feature OP is looking for.

    – pomsky
    8 hours ago





    1




    1





    Yes? And how come this would not be still a valid answer? Maybe OP didn't know about this.

    – Hannu
    8 hours ago





    Yes? And how come this would not be still a valid answer? Maybe OP didn't know about this.

    – Hannu
    8 hours ago




    1




    1





    Thanks @Hannu - you are correct in that I did not know about this. Makes the hot corners no longer needed

    – Shamoon
    8 hours ago





    Thanks @Hannu - you are correct in that I did not know about this. Makes the hot corners no longer needed

    – Shamoon
    8 hours ago













    +1 for addressing the XY problem, though in spirit of SE perhaps the other answer should be the accepted one.

    – Thebluefish
    1 hour ago





    +1 for addressing the XY problem, though in spirit of SE perhaps the other answer should be the accepted one.

    – Thebluefish
    1 hour ago













    4














    First you need to install a GNOME shell extension called CustomCorner to be able to activate hot-corners.



    Then open the extension's preferences and choose a corner, and select 'Run Command'.
    enter image description here



    In the command box, use the following



    dbus-send --type=method_call --dest=org.gnome.ScreenSaver /org/gnome/ScreenSaver org.gnome.ScreenSaver.Lock


    Alternatively, you can use



    gnome-screensaver-command --lock


    if you have the gnome-screensaver package installed.






    share|improve this answer



























      4














      First you need to install a GNOME shell extension called CustomCorner to be able to activate hot-corners.



      Then open the extension's preferences and choose a corner, and select 'Run Command'.
      enter image description here



      In the command box, use the following



      dbus-send --type=method_call --dest=org.gnome.ScreenSaver /org/gnome/ScreenSaver org.gnome.ScreenSaver.Lock


      Alternatively, you can use



      gnome-screensaver-command --lock


      if you have the gnome-screensaver package installed.






      share|improve this answer

























        4












        4








        4







        First you need to install a GNOME shell extension called CustomCorner to be able to activate hot-corners.



        Then open the extension's preferences and choose a corner, and select 'Run Command'.
        enter image description here



        In the command box, use the following



        dbus-send --type=method_call --dest=org.gnome.ScreenSaver /org/gnome/ScreenSaver org.gnome.ScreenSaver.Lock


        Alternatively, you can use



        gnome-screensaver-command --lock


        if you have the gnome-screensaver package installed.






        share|improve this answer













        First you need to install a GNOME shell extension called CustomCorner to be able to activate hot-corners.



        Then open the extension's preferences and choose a corner, and select 'Run Command'.
        enter image description here



        In the command box, use the following



        dbus-send --type=method_call --dest=org.gnome.ScreenSaver /org/gnome/ScreenSaver org.gnome.ScreenSaver.Lock


        Alternatively, you can use



        gnome-screensaver-command --lock


        if you have the gnome-screensaver package installed.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered 8 hours ago









        pomskypomsky

        35.6k11111143




        35.6k11111143




















            Shamoon is a new contributor. Be nice, and check out our Code of Conduct.









            draft saved

            draft discarded


















            Shamoon is a new contributor. Be nice, and check out our Code of Conduct.












            Shamoon is a new contributor. Be nice, and check out our Code of Conduct.











            Shamoon is a new contributor. Be nice, and check out our Code of Conduct.














            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%2f1148811%2fwith-ubuntu-18-04-how-can-i-have-a-hot-corner-that-locks-the-computer%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

            Canceling a color specificationRandomly assigning color to Graphics3D objects?Default color for Filling in Mathematica 9Coloring specific elements of sets with a prime modified order in an array plotHow to pick a color differing significantly from the colors already in a given color list?Detection of the text colorColor numbers based on their valueCan color schemes for use with ColorData include opacity specification?My dynamic color schemes

            Invision Community Contents History See also References External links Navigation menuProprietaryinvisioncommunity.comIPS Community ForumsIPS Community Forumsthis blog entry"License Changes, IP.Board 3.4, and the Future""Interview -- Matt Mecham of Ibforums""CEO Invision Power Board, Matt Mecham Is a Liar, Thief!"IPB License Explanation 1.3, 1.3.1, 2.0, and 2.1ArchivedSecurity Fixes, Updates And Enhancements For IPB 1.3.1Archived"New Demo Accounts - Invision Power Services"the original"New Default Skin"the original"Invision Power Board 3.0.0 and Applications Released"the original"Archived copy"the original"Perpetual licenses being done away with""Release Notes - Invision Power Services""Introducing: IPS Community Suite 4!"Invision Community Release Notes

            François Viète Contents Biography Work and thought Bibliography See also Notes Further reading External links Navigation menup. 21Google Bookspp. 75–77Google BooksDe thou (from University of Saint Andrews)ArchivedGoogle BooksGoogle BooksGoogle BooksGoogle booksGoogle Bookscc-parthenay.frL'histoire universelle (fr)Universal History (en)ArchivedAdsabs.harvard.eduPagesperso-orange.frArchive.orgChikara Sasaki. Descartes' mathematical thought p.259Google BooksGoogle BooksGoogle Bookspp. 152 and onwardGoogle BooksGoogle BooksScribd.comGoogle Books1257-7979Google BooksGoogle BooksGoogle BooksGoogle BooksGoogle BooksGoogle BooksGallica.bnf.frGoogle BooksGoogle Books"François Viète"Francois Viète: Father of Modern Algebraic NotationThe Lawyer and the GamblerAbout TarporleySite de Jean-Paul GuichardL'algèbre nouvelle"About the Harmonicon"cb120511976(data)1188044800000 0001 0913 5903n82164680ola2013766880073431702w6vt1sb70287374827140948071409480