Prevent wi-fi to turn off when laptop's lid is closed

 Clash Royale CLAN TAG#URR8PPP
Clash Royale CLAN TAG#URR8PPP up vote
0
down vote
favorite
even though I set in the settings when the laptop is on AC to do nothing when the lid is closed, I also selected on gnome-tweak-tool to not suspend but, the wireless still turns off. 
How can I make the Wi-Fi working with the lid closed, on AC? I'm on Ubuntu 17.10
wireless internet power-management
add a comment |Â
up vote
0
down vote
favorite
even though I set in the settings when the laptop is on AC to do nothing when the lid is closed, I also selected on gnome-tweak-tool to not suspend but, the wireless still turns off. 
How can I make the Wi-Fi working with the lid closed, on AC? I'm on Ubuntu 17.10
wireless internet power-management
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
even though I set in the settings when the laptop is on AC to do nothing when the lid is closed, I also selected on gnome-tweak-tool to not suspend but, the wireless still turns off. 
How can I make the Wi-Fi working with the lid closed, on AC? I'm on Ubuntu 17.10
wireless internet power-management
even though I set in the settings when the laptop is on AC to do nothing when the lid is closed, I also selected on gnome-tweak-tool to not suspend but, the wireless still turns off. 
How can I make the Wi-Fi working with the lid closed, on AC? I'm on Ubuntu 17.10
wireless internet power-management
wireless internet power-management
edited Feb 12 at 23:01
asked Feb 10 at 2:17
sticsk
2391621
2391621
add a comment |Â
add a comment |Â
 1 Answer
 1
 
active
oldest
votes
up vote
0
down vote
There is a tool missing in the default setup named GNOME Tweaks. This option sets the one you want to disable. The suspend is what kills the wifi.

Command line method:
Do nothing when on battery:
gsettings set org.gnome.settings-daemon.plugins.power lid-close-battery-action blank
Do nothing when on power:
gsettings set org.gnome.settings-daemon.plugins.power lid-close-ac-action blank
 
 
 
 
 
 
 I did the same thing on Ubuntu 17.10 and looks like after I open the laptop's lid, everything is freezing but i can still hear audio
 â sticsk
 Feb 12 at 22:56
 
 
 
add a comment |Â
 1 Answer
 1
 
active
oldest
votes
 1 Answer
 1
 
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
There is a tool missing in the default setup named GNOME Tweaks. This option sets the one you want to disable. The suspend is what kills the wifi.

Command line method:
Do nothing when on battery:
gsettings set org.gnome.settings-daemon.plugins.power lid-close-battery-action blank
Do nothing when on power:
gsettings set org.gnome.settings-daemon.plugins.power lid-close-ac-action blank
 
 
 
 
 
 
 I did the same thing on Ubuntu 17.10 and looks like after I open the laptop's lid, everything is freezing but i can still hear audio
 â sticsk
 Feb 12 at 22:56
 
 
 
add a comment |Â
up vote
0
down vote
There is a tool missing in the default setup named GNOME Tweaks. This option sets the one you want to disable. The suspend is what kills the wifi.

Command line method:
Do nothing when on battery:
gsettings set org.gnome.settings-daemon.plugins.power lid-close-battery-action blank
Do nothing when on power:
gsettings set org.gnome.settings-daemon.plugins.power lid-close-ac-action blank
 
 
 
 
 
 
 I did the same thing on Ubuntu 17.10 and looks like after I open the laptop's lid, everything is freezing but i can still hear audio
 â sticsk
 Feb 12 at 22:56
 
 
 
add a comment |Â
up vote
0
down vote
up vote
0
down vote
There is a tool missing in the default setup named GNOME Tweaks. This option sets the one you want to disable. The suspend is what kills the wifi.

Command line method:
Do nothing when on battery:
gsettings set org.gnome.settings-daemon.plugins.power lid-close-battery-action blank
Do nothing when on power:
gsettings set org.gnome.settings-daemon.plugins.power lid-close-ac-action blank
There is a tool missing in the default setup named GNOME Tweaks. This option sets the one you want to disable. The suspend is what kills the wifi.

Command line method:
Do nothing when on battery:
gsettings set org.gnome.settings-daemon.plugins.power lid-close-battery-action blank
Do nothing when on power:
gsettings set org.gnome.settings-daemon.plugins.power lid-close-ac-action blank
answered Feb 10 at 2:38
Rinzwind
198k25380512
198k25380512
 
 
 
 
 
 
 I did the same thing on Ubuntu 17.10 and looks like after I open the laptop's lid, everything is freezing but i can still hear audio
 â sticsk
 Feb 12 at 22:56
 
 
 
add a comment |Â
 
 
 
 
 
 
 I did the same thing on Ubuntu 17.10 and looks like after I open the laptop's lid, everything is freezing but i can still hear audio
 â sticsk
 Feb 12 at 22:56
 
 
 
I did the same thing on Ubuntu 17.10 and looks like after I open the laptop's lid, everything is freezing but i can still hear audio
â sticsk
Feb 12 at 22:56
I did the same thing on Ubuntu 17.10 and looks like after I open the laptop's lid, everything is freezing but i can still hear audio
â sticsk
Feb 12 at 22:56
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1004730%2fprevent-wi-fi-to-turn-off-when-laptops-lid-is-closed%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password