Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

[SOLVED] xautolock seems to do nothing

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
6 posts • Page 1 of 1
Author
Message
vrghost
n00b
n00b
Posts: 64
Joined: Fri Oct 03, 2003 1:05 pm
Location: London

[SOLVED] xautolock seems to do nothing

  • Quote

Post by vrghost » Thu Nov 21, 2024 7:33 pm

Trying to set up xautolock to lock the screen, and before even putting it in any startup script, I seem to struggle to get it to work at all.

emergege xautolock:

Code: Select all

*  x11-misc/xautolock
      Latest version available: 2.2_p7
      Latest version installed: 2.2_p7
      Size of files: 43 KiB
      Homepage:      http://www.ibiblio.org/pub/Linux/X11/screensavers/
      Description:   An automatic X screen-locker/screen-saver
      License:       GPL-2
The problem is, I don't seem to be able to get it to lock my screen, but I don't get any error messages or any updated logs (that I can see)

In an X session with qtile

I started it in a terminal with

Code: Select all

xautolock -time 2 -locker "betterscreenlocker -l"
Waited for five minutes, still not locked
Started a second terminal, and ran

Code: Select all

xautolock -locknow -locker "betterscreenlocker -l"
But nothing seems to happen.

I use xorg-server 21.1.14
* x11-base/xorg-server
Latest version available: 21.1.14
Latest version installed: 21.1.14
Size of files: 4,900 KiB
Homepage: https://www.x.org/wiki/ https://gitlab.freedesktop.org/xorg/xserver/xorg-server
Description: X.Org X servers
License: MIT
Any ideas?

Betterscreenlocker works by the way, have a shortcut for that using the same command, I am happy to try anything at this stage
Last edited by vrghost on Sat Nov 23, 2024 5:30 pm, edited 1 time in total.
Top
CaptainBlood
Advocate
Advocate
User avatar
Posts: 4237
Joined: Sun Jan 24, 2010 9:38 am

  • Quote

Post by CaptainBlood » Thu Nov 21, 2024 8:39 pm

what package provides

Code: Select all

betterscreenlocker
?

Thks 4 ur attention, interest & support.
USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. "
Top
Weezer
n00b
n00b
Posts: 32
Joined: Fri Apr 19, 2024 9:43 am

Re: xautolock seems to do nothing

  • Quote

Post by Weezer » Fri Nov 22, 2024 10:53 am

vrghost wrote:
I started it in a terminal with

Code: Select all

xautolock -time 2 -locker "betterscreenlocker -l"
Waited for five minutes, still not locked
Started a second terminal, and ran

Code: Select all

xautolock -locknow -locker "betterscreenlocker -l"
After the first command has been run, the second command should simply be:

xautolock -locknow

Due to the fact that xautolock is already running an instance and you are invoking it "now".

You could also add an "&" after your first command to release the terminal:

xautolock -time 2 -locker "betterscreenlocker -l" &

Then you can test without opening a second terminal (you will have to manually kill it however).

I don't use betterscreenlocker but as long as it is working properly there shouldn't be any issues. If you run lightdm you could try 'dm-tool lock', also.

Just a thought or two ;)
Top
Banana
Administrator
Administrator
User avatar
Posts: 2397
Joined: Fri May 21, 2004 12:02 pm
Location: Germany
Contact:
Contact Banana
Website

  • Quote

Post by Banana » Fri Nov 22, 2024 2:36 pm

CaptainBlood wrote:what package provides

Code: Select all

betterscreenlocker
?

Thks 4 ur attention, interest & support.
Maybe it should be betterlockscreen? https://www.portagefilelist.de/?fs=bett ... en#panchor
Forum Guidelines

PFL - Portage file list - find which package a file or command belongs to.
My delta-labs.org snippets do expire
Top
Weezer
n00b
n00b
Posts: 32
Joined: Fri Apr 19, 2024 9:43 am

  • Quote

Post by Weezer » Fri Nov 22, 2024 4:28 pm

Banana wrote:
CaptainBlood wrote:what package provides

Code: Select all

betterscreenlocker
?

Thks 4 ur attention, interest & support.
Maybe it should be betterlockscreen? https://www.portagefilelist.de/?fs=bett ... en#panchor
Disregard absolutely everything I suggested - HaHaHa! :oops:
Top
vrghost
n00b
n00b
Posts: 64
Joined: Fri Oct 03, 2003 1:05 pm
Location: London

  • Quote

Post by vrghost » Sat Nov 23, 2024 5:29 pm

Sorry, PEBKAC, somehow I had gotten the name of the program back to front
As soon as I had fixed the spelling it started working
Top
Post Reply

6 posts • Page 1 of 1

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic