When I close the lid of my laptop, the Wifi should not disconnect automatically











up vote
2
down vote

favorite
2












I am running Ubuntu 16.04 and when the lid of my laptop is closed the wifi disconnects and needs to be turned on manually when the lid is opened.



I have tried the following till now, without any success:




sudo -H gedit /etc/systemd/logind.conf,
Add a line HandleLidSwitch=ignore



IgnoreLid=true in /etc/UPower/UPower.conf




My settings in the power-manager are set to 'Do Nothing'.
Can you please help in identifying the issue?










share|improve this question






















  • When your laptop is suspended pretty much everything is turned off. What you really want is WiFi to be turned back on automatically on resume. Try searching that in ask Ubuntu.
    – WinEunuuchs2Unix
    Sep 27 '16 at 14:49










  • @WinEunuuchs2Unix OP's wifi is disconnecting in spite of the fact that he disabled suspend.
    – negusp
    Sep 27 '16 at 15:08






  • 1




    @patrickyi So right you are. I tend to miss things on the smartphone screen. Even though it's 1920x1080 it's still small. Thanks for pointing it out.
    – WinEunuuchs2Unix
    Sep 28 '16 at 1:41










  • @WinEunuuchs2Unix yup, lol
    – negusp
    Sep 28 '16 at 1:44










  • Any help guys...
    – user2849789
    Oct 1 '16 at 12:00















up vote
2
down vote

favorite
2












I am running Ubuntu 16.04 and when the lid of my laptop is closed the wifi disconnects and needs to be turned on manually when the lid is opened.



I have tried the following till now, without any success:




sudo -H gedit /etc/systemd/logind.conf,
Add a line HandleLidSwitch=ignore



IgnoreLid=true in /etc/UPower/UPower.conf




My settings in the power-manager are set to 'Do Nothing'.
Can you please help in identifying the issue?










share|improve this question






















  • When your laptop is suspended pretty much everything is turned off. What you really want is WiFi to be turned back on automatically on resume. Try searching that in ask Ubuntu.
    – WinEunuuchs2Unix
    Sep 27 '16 at 14:49










  • @WinEunuuchs2Unix OP's wifi is disconnecting in spite of the fact that he disabled suspend.
    – negusp
    Sep 27 '16 at 15:08






  • 1




    @patrickyi So right you are. I tend to miss things on the smartphone screen. Even though it's 1920x1080 it's still small. Thanks for pointing it out.
    – WinEunuuchs2Unix
    Sep 28 '16 at 1:41










  • @WinEunuuchs2Unix yup, lol
    – negusp
    Sep 28 '16 at 1:44










  • Any help guys...
    – user2849789
    Oct 1 '16 at 12:00













up vote
2
down vote

favorite
2









up vote
2
down vote

favorite
2






2





I am running Ubuntu 16.04 and when the lid of my laptop is closed the wifi disconnects and needs to be turned on manually when the lid is opened.



I have tried the following till now, without any success:




sudo -H gedit /etc/systemd/logind.conf,
Add a line HandleLidSwitch=ignore



IgnoreLid=true in /etc/UPower/UPower.conf




My settings in the power-manager are set to 'Do Nothing'.
Can you please help in identifying the issue?










share|improve this question













I am running Ubuntu 16.04 and when the lid of my laptop is closed the wifi disconnects and needs to be turned on manually when the lid is opened.



I have tried the following till now, without any success:




sudo -H gedit /etc/systemd/logind.conf,
Add a line HandleLidSwitch=ignore



IgnoreLid=true in /etc/UPower/UPower.conf




My settings in the power-manager are set to 'Do Nothing'.
Can you please help in identifying the issue?







wireless 16.04 lid






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Sep 27 '16 at 14:45









user2849789

566




566












  • When your laptop is suspended pretty much everything is turned off. What you really want is WiFi to be turned back on automatically on resume. Try searching that in ask Ubuntu.
    – WinEunuuchs2Unix
    Sep 27 '16 at 14:49










  • @WinEunuuchs2Unix OP's wifi is disconnecting in spite of the fact that he disabled suspend.
    – negusp
    Sep 27 '16 at 15:08






  • 1




    @patrickyi So right you are. I tend to miss things on the smartphone screen. Even though it's 1920x1080 it's still small. Thanks for pointing it out.
    – WinEunuuchs2Unix
    Sep 28 '16 at 1:41










  • @WinEunuuchs2Unix yup, lol
    – negusp
    Sep 28 '16 at 1:44










  • Any help guys...
    – user2849789
    Oct 1 '16 at 12:00


















  • When your laptop is suspended pretty much everything is turned off. What you really want is WiFi to be turned back on automatically on resume. Try searching that in ask Ubuntu.
    – WinEunuuchs2Unix
    Sep 27 '16 at 14:49










  • @WinEunuuchs2Unix OP's wifi is disconnecting in spite of the fact that he disabled suspend.
    – negusp
    Sep 27 '16 at 15:08






  • 1




    @patrickyi So right you are. I tend to miss things on the smartphone screen. Even though it's 1920x1080 it's still small. Thanks for pointing it out.
    – WinEunuuchs2Unix
    Sep 28 '16 at 1:41










  • @WinEunuuchs2Unix yup, lol
    – negusp
    Sep 28 '16 at 1:44










  • Any help guys...
    – user2849789
    Oct 1 '16 at 12:00
















When your laptop is suspended pretty much everything is turned off. What you really want is WiFi to be turned back on automatically on resume. Try searching that in ask Ubuntu.
– WinEunuuchs2Unix
Sep 27 '16 at 14:49




When your laptop is suspended pretty much everything is turned off. What you really want is WiFi to be turned back on automatically on resume. Try searching that in ask Ubuntu.
– WinEunuuchs2Unix
Sep 27 '16 at 14:49












@WinEunuuchs2Unix OP's wifi is disconnecting in spite of the fact that he disabled suspend.
– negusp
Sep 27 '16 at 15:08




@WinEunuuchs2Unix OP's wifi is disconnecting in spite of the fact that he disabled suspend.
– negusp
Sep 27 '16 at 15:08




1




1




@patrickyi So right you are. I tend to miss things on the smartphone screen. Even though it's 1920x1080 it's still small. Thanks for pointing it out.
– WinEunuuchs2Unix
Sep 28 '16 at 1:41




@patrickyi So right you are. I tend to miss things on the smartphone screen. Even though it's 1920x1080 it's still small. Thanks for pointing it out.
– WinEunuuchs2Unix
Sep 28 '16 at 1:41












@WinEunuuchs2Unix yup, lol
– negusp
Sep 28 '16 at 1:44




@WinEunuuchs2Unix yup, lol
– negusp
Sep 28 '16 at 1:44












Any help guys...
– user2849789
Oct 1 '16 at 12:00




Any help guys...
– user2849789
Oct 1 '16 at 12:00










4 Answers
4






active

oldest

votes

















up vote
1
down vote













At first I didn't understand your question but then surmised if you are closing your lid and want WiFi to stay on that must mean you have your Laptop docked or have an HDMI monitor attached and the system is suspending the Wifi.



You already edited logind.conf once and need to again. Set the line:



HandleLidSwitchDocked=ignore


Then save the file and reboot. Hopefully this solves the problem. If so mark this as solution by clicking check mark, if not post a comment.






share|improve this answer























  • Sorry but my laptop is neither docked, nor I am using a docking station. I want to close the lid and switch the screen off but still stay connected with the wifi network. Even then I tried this solution and somehow this too doesnt work,
    – user2849789
    Sep 28 '16 at 13:01












  • The screen will switch off regardless of whether sleep is enabled. There is a magnetic sensor within the frame of the screen. You can't keep the wifi on and also use suspend. Is your computer suspending when you close the lid? The wifi shouldn't disconnect if its not suspending.
    – negusp
    Sep 28 '16 at 14:41












  • Nope my computer doesn't suspend as I can play the songs when the lid is closed, but somehow the wifi is switched off and it doesnt even start automatically when I open the lid again
    – user2849789
    Sep 29 '16 at 12:37


















up vote
0
down vote













I had the same issue. What was happening was when I closed my laptop's lid, it went into a suspended state thereby shutting off my wifi (along with some other side effects).

What you can do is change the following:




  1. Go to the System Settings and select Power setting

  2. Change the When the lid is closed option to Do Nothing


That's it. Your wifi won't automatically disconnect now.



PS.

Additionally, you might still want a bit security after you reopen your laptop lid, so make sure you have the Lock turned On for Lock screen after with setting Screen turns off.






share|improve this answer




























    up vote
    0
    down vote













    I had a similar issue with an HP 250 G5. Power manager was also configured to do nothing (except turning off the display). Funny thing was that when I closed the lid, wifi continued to operate. However, as soon as I opened the lid, wifi was switched off.



    I solved this by an acpi triggered script (see e.g. https://forums.fedoraforum.org/showthread.php?291877-Run-a-script-when-laptop-lid-opens-closes and don't forget to make the script executable) which runs "rfkill unblock wifi" whenever I open the lid. I guess you could do the same (maybe at closing the lid or for both events). It is not super clean, as it also activates wifi on such events even when it was turned off before, but it solved my problem.



    Peace out.






    share|improve this answer




























      up vote
      0
      down vote













      this worked for me on an HP Spectre 360 running Ubuntu 18.04:
      https://websiteforstudents.com/keep-ubuntu-17-10-18-04-desktop-running-when-laptop-lid-is-closed/



      The essence of the link is to add Gnome-Tweak to your system. It contains a toggle to Not suspend when lid is closed.






      share|improve this answer










      New contributor




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


















      • While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. - From Review
        – abu_bua
        Nov 24 at 12:03






      • 1




        thanks for the note. I forgot that someone may be reading five years from now and the linked article may be gone. Good catcht
        – jferguson
        Nov 24 at 12:23













      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',
      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%2f830352%2fwhen-i-close-the-lid-of-my-laptop-the-wifi-should-not-disconnect-automatically%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      4 Answers
      4






      active

      oldest

      votes








      4 Answers
      4






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes








      up vote
      1
      down vote













      At first I didn't understand your question but then surmised if you are closing your lid and want WiFi to stay on that must mean you have your Laptop docked or have an HDMI monitor attached and the system is suspending the Wifi.



      You already edited logind.conf once and need to again. Set the line:



      HandleLidSwitchDocked=ignore


      Then save the file and reboot. Hopefully this solves the problem. If so mark this as solution by clicking check mark, if not post a comment.






      share|improve this answer























      • Sorry but my laptop is neither docked, nor I am using a docking station. I want to close the lid and switch the screen off but still stay connected with the wifi network. Even then I tried this solution and somehow this too doesnt work,
        – user2849789
        Sep 28 '16 at 13:01












      • The screen will switch off regardless of whether sleep is enabled. There is a magnetic sensor within the frame of the screen. You can't keep the wifi on and also use suspend. Is your computer suspending when you close the lid? The wifi shouldn't disconnect if its not suspending.
        – negusp
        Sep 28 '16 at 14:41












      • Nope my computer doesn't suspend as I can play the songs when the lid is closed, but somehow the wifi is switched off and it doesnt even start automatically when I open the lid again
        – user2849789
        Sep 29 '16 at 12:37















      up vote
      1
      down vote













      At first I didn't understand your question but then surmised if you are closing your lid and want WiFi to stay on that must mean you have your Laptop docked or have an HDMI monitor attached and the system is suspending the Wifi.



      You already edited logind.conf once and need to again. Set the line:



      HandleLidSwitchDocked=ignore


      Then save the file and reboot. Hopefully this solves the problem. If so mark this as solution by clicking check mark, if not post a comment.






      share|improve this answer























      • Sorry but my laptop is neither docked, nor I am using a docking station. I want to close the lid and switch the screen off but still stay connected with the wifi network. Even then I tried this solution and somehow this too doesnt work,
        – user2849789
        Sep 28 '16 at 13:01












      • The screen will switch off regardless of whether sleep is enabled. There is a magnetic sensor within the frame of the screen. You can't keep the wifi on and also use suspend. Is your computer suspending when you close the lid? The wifi shouldn't disconnect if its not suspending.
        – negusp
        Sep 28 '16 at 14:41












      • Nope my computer doesn't suspend as I can play the songs when the lid is closed, but somehow the wifi is switched off and it doesnt even start automatically when I open the lid again
        – user2849789
        Sep 29 '16 at 12:37













      up vote
      1
      down vote










      up vote
      1
      down vote









      At first I didn't understand your question but then surmised if you are closing your lid and want WiFi to stay on that must mean you have your Laptop docked or have an HDMI monitor attached and the system is suspending the Wifi.



      You already edited logind.conf once and need to again. Set the line:



      HandleLidSwitchDocked=ignore


      Then save the file and reboot. Hopefully this solves the problem. If so mark this as solution by clicking check mark, if not post a comment.






      share|improve this answer














      At first I didn't understand your question but then surmised if you are closing your lid and want WiFi to stay on that must mean you have your Laptop docked or have an HDMI monitor attached and the system is suspending the Wifi.



      You already edited logind.conf once and need to again. Set the line:



      HandleLidSwitchDocked=ignore


      Then save the file and reboot. Hopefully this solves the problem. If so mark this as solution by clicking check mark, if not post a comment.







      share|improve this answer














      share|improve this answer



      share|improve this answer








      edited Sep 28 '16 at 2:12

























      answered Sep 28 '16 at 1:37









      WinEunuuchs2Unix

      40.4k1068150




      40.4k1068150












      • Sorry but my laptop is neither docked, nor I am using a docking station. I want to close the lid and switch the screen off but still stay connected with the wifi network. Even then I tried this solution and somehow this too doesnt work,
        – user2849789
        Sep 28 '16 at 13:01












      • The screen will switch off regardless of whether sleep is enabled. There is a magnetic sensor within the frame of the screen. You can't keep the wifi on and also use suspend. Is your computer suspending when you close the lid? The wifi shouldn't disconnect if its not suspending.
        – negusp
        Sep 28 '16 at 14:41












      • Nope my computer doesn't suspend as I can play the songs when the lid is closed, but somehow the wifi is switched off and it doesnt even start automatically when I open the lid again
        – user2849789
        Sep 29 '16 at 12:37


















      • Sorry but my laptop is neither docked, nor I am using a docking station. I want to close the lid and switch the screen off but still stay connected with the wifi network. Even then I tried this solution and somehow this too doesnt work,
        – user2849789
        Sep 28 '16 at 13:01












      • The screen will switch off regardless of whether sleep is enabled. There is a magnetic sensor within the frame of the screen. You can't keep the wifi on and also use suspend. Is your computer suspending when you close the lid? The wifi shouldn't disconnect if its not suspending.
        – negusp
        Sep 28 '16 at 14:41












      • Nope my computer doesn't suspend as I can play the songs when the lid is closed, but somehow the wifi is switched off and it doesnt even start automatically when I open the lid again
        – user2849789
        Sep 29 '16 at 12:37
















      Sorry but my laptop is neither docked, nor I am using a docking station. I want to close the lid and switch the screen off but still stay connected with the wifi network. Even then I tried this solution and somehow this too doesnt work,
      – user2849789
      Sep 28 '16 at 13:01






      Sorry but my laptop is neither docked, nor I am using a docking station. I want to close the lid and switch the screen off but still stay connected with the wifi network. Even then I tried this solution and somehow this too doesnt work,
      – user2849789
      Sep 28 '16 at 13:01














      The screen will switch off regardless of whether sleep is enabled. There is a magnetic sensor within the frame of the screen. You can't keep the wifi on and also use suspend. Is your computer suspending when you close the lid? The wifi shouldn't disconnect if its not suspending.
      – negusp
      Sep 28 '16 at 14:41






      The screen will switch off regardless of whether sleep is enabled. There is a magnetic sensor within the frame of the screen. You can't keep the wifi on and also use suspend. Is your computer suspending when you close the lid? The wifi shouldn't disconnect if its not suspending.
      – negusp
      Sep 28 '16 at 14:41














      Nope my computer doesn't suspend as I can play the songs when the lid is closed, but somehow the wifi is switched off and it doesnt even start automatically when I open the lid again
      – user2849789
      Sep 29 '16 at 12:37




      Nope my computer doesn't suspend as I can play the songs when the lid is closed, but somehow the wifi is switched off and it doesnt even start automatically when I open the lid again
      – user2849789
      Sep 29 '16 at 12:37












      up vote
      0
      down vote













      I had the same issue. What was happening was when I closed my laptop's lid, it went into a suspended state thereby shutting off my wifi (along with some other side effects).

      What you can do is change the following:




      1. Go to the System Settings and select Power setting

      2. Change the When the lid is closed option to Do Nothing


      That's it. Your wifi won't automatically disconnect now.



      PS.

      Additionally, you might still want a bit security after you reopen your laptop lid, so make sure you have the Lock turned On for Lock screen after with setting Screen turns off.






      share|improve this answer

























        up vote
        0
        down vote













        I had the same issue. What was happening was when I closed my laptop's lid, it went into a suspended state thereby shutting off my wifi (along with some other side effects).

        What you can do is change the following:




        1. Go to the System Settings and select Power setting

        2. Change the When the lid is closed option to Do Nothing


        That's it. Your wifi won't automatically disconnect now.



        PS.

        Additionally, you might still want a bit security after you reopen your laptop lid, so make sure you have the Lock turned On for Lock screen after with setting Screen turns off.






        share|improve this answer























          up vote
          0
          down vote










          up vote
          0
          down vote









          I had the same issue. What was happening was when I closed my laptop's lid, it went into a suspended state thereby shutting off my wifi (along with some other side effects).

          What you can do is change the following:




          1. Go to the System Settings and select Power setting

          2. Change the When the lid is closed option to Do Nothing


          That's it. Your wifi won't automatically disconnect now.



          PS.

          Additionally, you might still want a bit security after you reopen your laptop lid, so make sure you have the Lock turned On for Lock screen after with setting Screen turns off.






          share|improve this answer












          I had the same issue. What was happening was when I closed my laptop's lid, it went into a suspended state thereby shutting off my wifi (along with some other side effects).

          What you can do is change the following:




          1. Go to the System Settings and select Power setting

          2. Change the When the lid is closed option to Do Nothing


          That's it. Your wifi won't automatically disconnect now.



          PS.

          Additionally, you might still want a bit security after you reopen your laptop lid, so make sure you have the Lock turned On for Lock screen after with setting Screen turns off.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Nov 7 '17 at 21:16









          gaganshera

          1012




          1012






















              up vote
              0
              down vote













              I had a similar issue with an HP 250 G5. Power manager was also configured to do nothing (except turning off the display). Funny thing was that when I closed the lid, wifi continued to operate. However, as soon as I opened the lid, wifi was switched off.



              I solved this by an acpi triggered script (see e.g. https://forums.fedoraforum.org/showthread.php?291877-Run-a-script-when-laptop-lid-opens-closes and don't forget to make the script executable) which runs "rfkill unblock wifi" whenever I open the lid. I guess you could do the same (maybe at closing the lid or for both events). It is not super clean, as it also activates wifi on such events even when it was turned off before, but it solved my problem.



              Peace out.






              share|improve this answer

























                up vote
                0
                down vote













                I had a similar issue with an HP 250 G5. Power manager was also configured to do nothing (except turning off the display). Funny thing was that when I closed the lid, wifi continued to operate. However, as soon as I opened the lid, wifi was switched off.



                I solved this by an acpi triggered script (see e.g. https://forums.fedoraforum.org/showthread.php?291877-Run-a-script-when-laptop-lid-opens-closes and don't forget to make the script executable) which runs "rfkill unblock wifi" whenever I open the lid. I guess you could do the same (maybe at closing the lid or for both events). It is not super clean, as it also activates wifi on such events even when it was turned off before, but it solved my problem.



                Peace out.






                share|improve this answer























                  up vote
                  0
                  down vote










                  up vote
                  0
                  down vote









                  I had a similar issue with an HP 250 G5. Power manager was also configured to do nothing (except turning off the display). Funny thing was that when I closed the lid, wifi continued to operate. However, as soon as I opened the lid, wifi was switched off.



                  I solved this by an acpi triggered script (see e.g. https://forums.fedoraforum.org/showthread.php?291877-Run-a-script-when-laptop-lid-opens-closes and don't forget to make the script executable) which runs "rfkill unblock wifi" whenever I open the lid. I guess you could do the same (maybe at closing the lid or for both events). It is not super clean, as it also activates wifi on such events even when it was turned off before, but it solved my problem.



                  Peace out.






                  share|improve this answer












                  I had a similar issue with an HP 250 G5. Power manager was also configured to do nothing (except turning off the display). Funny thing was that when I closed the lid, wifi continued to operate. However, as soon as I opened the lid, wifi was switched off.



                  I solved this by an acpi triggered script (see e.g. https://forums.fedoraforum.org/showthread.php?291877-Run-a-script-when-laptop-lid-opens-closes and don't forget to make the script executable) which runs "rfkill unblock wifi" whenever I open the lid. I guess you could do the same (maybe at closing the lid or for both events). It is not super clean, as it also activates wifi on such events even when it was turned off before, but it solved my problem.



                  Peace out.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Mar 24 at 21:31









                  Mik

                  1




                  1






















                      up vote
                      0
                      down vote













                      this worked for me on an HP Spectre 360 running Ubuntu 18.04:
                      https://websiteforstudents.com/keep-ubuntu-17-10-18-04-desktop-running-when-laptop-lid-is-closed/



                      The essence of the link is to add Gnome-Tweak to your system. It contains a toggle to Not suspend when lid is closed.






                      share|improve this answer










                      New contributor




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


















                      • While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. - From Review
                        – abu_bua
                        Nov 24 at 12:03






                      • 1




                        thanks for the note. I forgot that someone may be reading five years from now and the linked article may be gone. Good catcht
                        – jferguson
                        Nov 24 at 12:23

















                      up vote
                      0
                      down vote













                      this worked for me on an HP Spectre 360 running Ubuntu 18.04:
                      https://websiteforstudents.com/keep-ubuntu-17-10-18-04-desktop-running-when-laptop-lid-is-closed/



                      The essence of the link is to add Gnome-Tweak to your system. It contains a toggle to Not suspend when lid is closed.






                      share|improve this answer










                      New contributor




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


















                      • While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. - From Review
                        – abu_bua
                        Nov 24 at 12:03






                      • 1




                        thanks for the note. I forgot that someone may be reading five years from now and the linked article may be gone. Good catcht
                        – jferguson
                        Nov 24 at 12:23















                      up vote
                      0
                      down vote










                      up vote
                      0
                      down vote









                      this worked for me on an HP Spectre 360 running Ubuntu 18.04:
                      https://websiteforstudents.com/keep-ubuntu-17-10-18-04-desktop-running-when-laptop-lid-is-closed/



                      The essence of the link is to add Gnome-Tweak to your system. It contains a toggle to Not suspend when lid is closed.






                      share|improve this answer










                      New contributor




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









                      this worked for me on an HP Spectre 360 running Ubuntu 18.04:
                      https://websiteforstudents.com/keep-ubuntu-17-10-18-04-desktop-running-when-laptop-lid-is-closed/



                      The essence of the link is to add Gnome-Tweak to your system. It contains a toggle to Not suspend when lid is closed.







                      share|improve this answer










                      New contributor




                      jferguson 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 Nov 24 at 12:20





















                      New contributor




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









                      answered Nov 24 at 3:00









                      jferguson

                      11




                      11




                      New contributor




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





                      New contributor





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






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












                      • While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. - From Review
                        – abu_bua
                        Nov 24 at 12:03






                      • 1




                        thanks for the note. I forgot that someone may be reading five years from now and the linked article may be gone. Good catcht
                        – jferguson
                        Nov 24 at 12:23




















                      • While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. - From Review
                        – abu_bua
                        Nov 24 at 12:03






                      • 1




                        thanks for the note. I forgot that someone may be reading five years from now and the linked article may be gone. Good catcht
                        – jferguson
                        Nov 24 at 12:23


















                      While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. - From Review
                      – abu_bua
                      Nov 24 at 12:03




                      While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. - From Review
                      – abu_bua
                      Nov 24 at 12:03




                      1




                      1




                      thanks for the note. I forgot that someone may be reading five years from now and the linked article may be gone. Good catcht
                      – jferguson
                      Nov 24 at 12:23






                      thanks for the note. I forgot that someone may be reading five years from now and the linked article may be gone. Good catcht
                      – jferguson
                      Nov 24 at 12:23




















                      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.





                      Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                      Please pay close attention to the following guidance:


                      • 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%2f830352%2fwhen-i-close-the-lid-of-my-laptop-the-wifi-should-not-disconnect-automatically%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

                      Ellipse (mathématiques)

                      Quarter-circle Tiles

                      Mont Emei