You are not logged in.

#1 2012-09-17 18:29:43

dontbugme
Banned
Registered: 2011-11-04
Posts: 166
Website

[SOLVED] XFCE - no internal automatic screen locking?

Hello, Arch lovers & XFCE users!

I can't see an option "Lock screen after..." in XFCE power manager, only turning screen off or hibernating. Is it really impossible to make XFCE automatically lock screen after some amount of time, by XFCE settings only, not i.e. by xscreensaver's ones (I prefer xlock), or I've just watched inattentively through various XFCE settings? I'm really confused not to see that option with others in power manager. My XFCE version is 4.10.

Last edited by dontbugme (2012-09-21 13:51:53)

Offline

#2 2012-09-18 02:40:27

ajaykumar
Member
From: India
Registered: 2010-08-04
Posts: 34
Website

Re: [SOLVED] XFCE - no internal automatic screen locking?

Hi dontbugme,

I am using XFCE4 and I am using it from pretty long time in various distros. The xlock feature which I have seen includes,

Lock Screen when Suspend/Hibernate

which is present in the XFCE4.10 Arch package. And You can set the time for Suspend/Hibernate when inactive. Hence, I guess you can use xlock as lock screen after some time smile

With regards,
Ajay Kumar G


With regards,
Ajay Kumar G
Nanos Gigantum Humeris Insidentis

Offline

#3 2012-09-18 19:38:59

dontbugme
Banned
Registered: 2011-11-04
Posts: 166
Website

Re: [SOLVED] XFCE - no internal automatic screen locking?

Yes, ajaykumar, XFCE power manager can lock screen when suspending/hibernating, I knew it smile
But I need to lock my screen without suspend/hibernate, i.e. 10 minutes of inactivity till auto-locking with xflock4 (system and monitor power are still there), then, on 30th minute - suspending or hibernating.

Offline

#4 2012-09-18 20:04:36

Quill
Member
Registered: 2012-08-30
Posts: 37

Re: [SOLVED] XFCE - no internal automatic screen locking?

dontbugme wrote:

... I need to lock my screen without suspend/hibernate, i.e. 10 minutes of inactivity ...

I recently started using xfce (about 3 days ago) and have been seeking the same answer.

Offline

#5 2012-09-18 21:01:35

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

Re: [SOLVED] XFCE - no internal automatic screen locking?

Unless you really prefer an "internal" function for this, you could use xautolock and put something like this in your ~/.xinitrc:

xautolock -time 10 -locker xlock &

Offline

#6 2012-09-18 21:36:07

progandy
Member
Registered: 2012-05-17
Posts: 5,322

Re: [SOLVED] XFCE - no internal automatic screen locking?

anonymous_user wrote:

Unless you really prefer an "internal" function for this, you could use xautolock and put something like this in your ~/.xinitrc:

xautolock -time 10 -locker xlock &

XFCE does not contain a timed screenlock. You'll have to use xscreensaver or xautolock. I chose xautolock, i3lock and a custom xflock4:

% cat /usr/local/bin/xflock4
#!/bin/sh
xautolock -locknow

| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |

Offline

#7 2012-09-20 19:27:32

dontbugme
Banned
Registered: 2011-11-04
Posts: 166
Website

Re: [SOLVED] XFCE - no internal automatic screen locking?

progandy wrote:

XFCE does not contain a timed screenlock. You'll have to use xscreensaver or xautolock. I chose xautolock, i3lock and a custom xflock4

Thanks! If it is the only way - let it be so.

Last edited by dontbugme (2012-09-20 19:28:06)

Offline

Board footer

Powered by FluxBB