Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
12-27-2020, 11:34 AM
|
#1
|
LQ Newbie
Registered: Apr 2020
Posts: 7
Rep:
|
screen lock after inactivity and suspend in artix openrc with herbstluftwm
Hello, I'm almost done with my first window manager setup. This is the last piece that needs to be done.
I use physlock to manually lock screen. And I use the command "loginctl suspend" to suspend.
I've already check session lock on the arch wiki, but it assumes that you use systemd. Quite confusing to me.
So what I want to do is that the screen will lock and go blank after inactivity. Also, I want it to lock after my computer wakes from suspension.
I really appreciate anyone who can help me on this. Thanks!
|
|
|
12-27-2020, 01:13 PM
|
#2
|
Member
Registered: Apr 2019
Distribution: Linux Mint
Posts: 61
Rep:
|
It's is hard to understand what you want. Please explain what you have already completed and what you want for the end result in a clear matter. People are more willing to help if they understand the issue. What is your OS? How much RAM do you have? What is you swap space? That is some of the information needed.
|
|
|
12-27-2020, 04:04 PM
|
#3
|
LQ Addict
Registered: Dec 2013
Posts: 19,872
|
screen lock after inactivity and suspend in artix openrc with herbstluftwm
Quote:
Originally Posted by screamin4vengence
Hello, I'm almost done with my first window manager setup. This is the last piece that needs to be done.
I use physlock to manually lock screen. And I use the command "loginctl suspend" to suspend.
I've already check session lock on the arch wiki, but it assumes that you use systemd. Quite confusing to me.
So what I want to do is that the screen will lock and go blank after inactivity. Also, I want it to lock after my computer wakes from suspension.
I really appreciate anyone who can help me on this. Thanks!
|
It sounds like your main problem is specific to openrc, or rather the difficulty to find good wiki & howto for it.
Does openrc, or artix, have their own forums?
|
|
|
12-28-2020, 02:24 AM
|
#4
|
LQ Newbie
Registered: Apr 2020
Posts: 7
Original Poster
Rep:
|
Quote:
Originally Posted by michaelsavage
It's is hard to understand what you want. Please explain what you have already completed and what you want for the end result in a clear matter. People are more willing to help if they understand the issue. What is your OS? How much RAM do you have? What is you swap space? That is some of the information needed.
|
Sorry for not being specific. I've solved the first problem myself by putting "xss-lock physlock +resetsaver" in my xinirc. I figure it out with this
https://wiki.archlinux.org/index.php...ement#xss-lock
The only problem left is I want physlock to run when I suspend the computer. I use "loginctl suspend" to suspend. So, I want physlock to run after that. But I couldn't find any info on how to do this.
Thanks!
|
|
|
All times are GMT -5. The time now is 08:22 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|