LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 12-27-2020, 10:34 AM   #1
screamin4vengence
LQ Newbie
 
Registered: Apr 2020
Posts: 7

Rep: Reputation: Disabled
Question 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!
 
Old 12-27-2020, 12:13 PM   #2
michaelsavage
Member
 
Registered: Apr 2019
Distribution: Linux Mint
Posts: 59

Rep: Reputation: 11
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.
 
Old 12-27-2020, 03:04 PM   #3
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
screen lock after inactivity and suspend in artix openrc with herbstluftwm

Quote:
Originally Posted by screamin4vengence View Post
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?
 
Old 12-28-2020, 01:24 AM   #4
screamin4vengence
LQ Newbie
 
Registered: Apr 2020
Posts: 7

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by michaelsavage View Post
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!
 
  


Reply

Tags
screen locks, window manager



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Artix Linux w/ OpenRC, Awesome Window Manager... riced dmenu, librewolf, termite, fish MattMadness Linux - Member Desktop Screenshots 2 12-08-2020 12:10 AM
LXer: Why Vim fans love the Herbstluftwm Linux window manager LXer Syndicated Linux News 0 12-21-2019 07:50 AM
How to suspend after idle or inactivity period without desktop environment or X? ineloquucius Linux - Newbie 7 12-30-2018 04:12 PM
LXer: SDR meets AI in a mash-up of Jetson TX2, Artix-7, and 2×2 MIMO LXer Syndicated Linux News 0 07-18-2018 07:21 PM
lock the console after 5 minutes of inactivity. pinga123 Linux - Newbie 13 09-16-2010 02:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration