Linux - Laptop and NetbookHaving a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I've seen this on a Leonovo forum where someone was having similar problems with a couple of Leonovo's
Enter your firmware settings and..
Bodge99
Thanks for this. I disabled the Secure Boot before I installed Antix, and it has remained disabled ever since.
The other setting, or similar, does not feature.
Distribution: Artix, Slackware, Devuan etc. No systemd!
Posts: 368
Rep:
Hi,
Klaas:
Try this
Create a file called testsuspend. Place the following into it and save it in your home directory.
Code:
#!/bin/bash
dm-tool lock
sudo echo -n mem | sudo tee /sys/power/state
sleep 5
sudo service network-manager restart
Right click on the desktop and select "Create Launcher"
In "Name", call it Sleep .
To the right of "Command", click on the icon and browse to your home directoy. Click on "testsuspend" and then the "Open" button.
Now click on the "Create" button.
Double click on the new desktop icon named "Sleep" and click on the "Mark Executable" button in the "Untrusted application launcher"
Create a file called testsuspend. Place the following into it and save it in your home directory.
Code:
#!/bin/bash
dm-tool lock
sudo echo -n mem | sudo tee /sys/power/state
sleep 5
sudo service network-manager restart
Right click on the desktop and select "Create Launcher"
In "Name", call it Sleep .
To the right of "Command", click on the icon and browse to your home directoy. Click on "testsuspend" and then the "Open" button.
Now click on the "Create" button.
Double click on the new desktop icon named "Sleep" and click on the "Mark Executable" button in the "Untrusted application launcher"
Bodge99
Hey Bodge, that is exactly the sort of thing I was thinking bout in the absence of a button- telepathy ;-) This script works in that clicking on it makes the screen go black, but immediately afterwards it goes back to the desktop, this time with a prompt for the password.
Distribution: Artix, Slackware, Devuan etc. No systemd!
Posts: 368
Rep:
Hi,
I've been looking at power states and suspend functionality on some of the kit I've got here or otherwise got access to.
Most of the time, it works flawlessly (different computers are using systemd suspend, pm-suspend or pm-suspend-hybrid).
What I did find, on two Linx 10 tablets (identical Mint 19.2 installations and firmware revisions) is that one worked with systemd suspend and the other didn't.
The only difference is the mainboard revision (one is rev 1.1 and the other rev. 1.2).
I cannot get the rev 1.2 Linx 10 to suspend by any mechanism in Mint 19.2 Xfce4. I'll retry later with Devuan and see if that works.
I've been looking at power states and suspend functionality on some of the kit I've got here or otherwise got access to.
Most of the time, it works flawlessly (different computers are using systemd suspend, pm-suspend or pm-suspend-hybrid).
What I did find, on two Linx 10 tablets (identical Mint 19.2 installations and firmware revisions) is that one worked with systemd suspend and the other didn't.
The only difference is the mainboard revision (one is rev 1.1 and the other rev. 1.2).
I cannot get the rev 1.2 Linx 10 to suspend by any mechanism in Mint 19.2 Xfce4. I'll retry later with Devuan and see if that works.
dm-tool lock forces a login screen on return from suspend. If you want to, place a '#' at the beginning of the line to disable this part.
sudo echo -n mem | sudo tee /sys/power/state This is the effective "working part" of suspend. Other "stuff" is done by systemd.
Bodge99
No, that does not do the trick, it still comes up with that prompt. I even deleted the "old" desktop shortcut and created a new one following the addition of the #, but to no avail, the password prompt reappears all the same.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.