DEV Community

Christophe Colombier
Christophe Colombier

Posted on

i3lock alternatives

i3lock is the default screen lock that comes with i3wm

they are other options, I simply list them. Make your own opinions.

i3lock fancy

https://github.com/meskarune/i3lock-fancy

i3lock with more feature:

This is an i3lock bash script that takes a screenshot of the desktop, blurs the background and adds a lock icon and text

i3lock-color

https://github.com/Raymo111/i3lock-color

many features, mostly a configurable version of i3lock.

betterlockscreen

https://github.com/betterlockscreen/betterlockscreen

fast and sweet looking lockscreen for linux systems with effects!

xsecurelock

https://github.com/google/xsecurelock

X11 screen lock utility with security in mind

xss-lock

https://bitbucket.org/raymonad/xss-lock

Use external locker as X screen saver.

slock

https://tools.suckless.org/slock/

  • suckless
  • so very basic, but that's the idea of suckless movements.

Further readings

Once again, interesting further readings are available on Arch Linux wiki pages:

Oldest comments (3)

Collapse
 
sanixdarker profile image
darker

i rather prefer i3lock !
This is my config :

BLANK='#00000000'
CLEAR='#ffffff22'
DEFAULT='#8800FF'
TEXT='#8800FF'
WRONG='#880000'
VERIFYING='#bb00bb'
KEYDOWN='#28FF49'

i3lock  --insidever-color=$CLEAR  \
    --ringver-color=$VERIFYING   \
    --insidewrong-color=$CLEAR   \
    --ringwrong-color=$WRONG     \
    --inside-color=$BLANK        \
    --ring-color=$DEFAULT        \
    --line-color=$BLANK          \
    --separator-color=$DEFAULT   \
    --verif-color=$TEXT          \
    --wrong-color=$TEXT          \
    --time-color=$TEXT           \
    --date-color=$TEXT           \
    --layout-color=$TEXT         \
    --keyhl-color=$KEYDOWN       \
    --bshl-color=$WRONG          \
    --screen 1                   \
    --blur 7                     \
    --clock                      \
    --time-str="%H:%M:%S"        \
    --keylayout 1
Enter fullscreen mode Exit fullscreen mode

the output is awesome with a blurring effect !

Collapse
 
ccoveille profile image
Christophe Colombier • Edited

me too, i3lock is my favorite, but I wanted to provide alternatives.

thanks for the extract of your config, I will try it.

Collapse
 
ccoveille profile image
Christophe Colombier

I might be wrong but it seems to be option for

GitHub logo Raymo111 / i3lock-color

The world's most popular non-default computer lockscreen.

i3lock-color

Language count Top language Repo size Open issues Closed issues Open PRs Closed PRs Contributors Latest release Commits Latest commit AUR release ver AUR git ver AUR votes GitHub forks GitHub stars GitHub watchers Discord server Maintained

The world's most popular non-default computer lockscreen.

A modern version of i3lock with color functionality and other features.

i3lock-color in action

NEW: Official Discord server at discord.gg/FzVPghyDt2

i3lock is a simple screen locker like slock. After starting it, you will see a white screen (you can configure the color/an image). You can return to your screen by entering your password.

Many little improvements have been made to i3lock over time:

  • i3lock forks, so you can combine it with an alias to suspend to RAM (run "i3lock && echo mem > /sys/power/state" to get a locked screen after waking up your computer from suspend to RAM)
  • You can specify either a background color or an image (JPG or PNG), which will be displayed while your screen is locked. Note that i3lock is not an image manipulation software. If you need to resize the image to fill the screen, you can use something like…

not that's a problem, but it's not available on "regular" i3lock

GitHub logo i3 / i3lock

improved screen locker

i3lock - improved screen locker

i3lock is a simple screen locker like slock After starting it, you will see a white screen (you can configure the color/an image). You can return to your screen by entering your password.

Many little improvements have been made to i3lock over time:

  • i3lock forks, so you can combine it with an alias to suspend to RAM (run "i3lock && echo mem > /sys/power/state" to get a locked screen after waking up your computer from suspend to RAM)

  • You can specify either a background color or a PNG image which will be displayed while your screen is locked. Note that i3lock is not an image manipulation software. If you need to resize the image to fill the screen or similar, use existing tooling to do this before passing it to i3lock.

  • You can specify whether i3lock should bell upon a wrong password.

  • i3lock uses PAM…