i3lock

26 июля 2019 2658 admin

i3lock настройка

Имеется:
1. NetBSD
2. Огромное желание настроить блокировщик экрана

Будем использовать i3lock - довольно простой блокировщик.

Установка стандартная:

1. либо из исходников:

cd /usr/pkgsrc/x11/i3lock
make
make install


2. либо из бинарников:

pkg_add http://ftp.netbsd.org/pub/pkgsrc/packages/NetBSD/amd64/8.1/All/i3lock-2.8nb2.tgz


Настройка (в примере - от root)..будем делать не совсем стандартно ;)
Не сидите под root'ом!

В профиле пользователя создаем файл со следующим содержимым:
echo "i3lock -i /root/some_image.png" >> i3lock.sh

Ключ -i позволяет подгружать в локер картинку.
Формат картинок: .PNG

Делаем этот файл исполняемым:
chmod +x i3lock.sh

Дальше прописываем команду запуска в меню IceWM (так как я использую IceWM):
prog ScreenLock i3lock /root/i3lock.sh

Всё. Теперь можно лочить экран с меню IceWM.
  • 1

Другие новости по теме:

Другие новости по теме:
    Написал: mike
      2.03.2020 - 19:31 | Комментарий: 1
    забыли слеш в командк "cd usr/pkgsrc/x11/i3lock", перед usr/pkgsrc/x11/i3lock
    [Цитировать]
    Написал: admin
      20.11.2020 - 16:01 | Комментарий: 2
    аха, спасибо. Исправили)
    [Цитировать]

    Добавление комментария

    Имя:
    Пароль:
    Email:
    Код:
    captcha
    Введите код:

    Последнии комментарии
    library initialization failed - unable to allocate file descriptor table - out of memory
    Автор Wilburn (28.12.2025)
    great points altogether, you simply received a emb...
    library initialization failed - unable to allocate file descriptor table - out of memory
    Автор Vicente (27.12.2025)
    Spot on with this write-up, I actually believe tha...
    library initialization failed - unable to allocate file descriptor table - out of memory
    Автор Harley (27.12.2025)
    Have you ever considered creating an e-book or gue...
    library initialization failed - unable to allocate file descriptor table - out of memory
    Автор Collette (27.12.2025)
    You're so interesting! I don't believe I've truly ...
    library initialization failed - unable to allocate file descriptor table - out of memory
    Автор Tia (25.12.2025)
    Everyone loves what you guys are up too. This type...
    library initialization failed - unable to allocate file descriptor table - out of memory
    Автор Helena (25.12.2025)
    Good day! This post could not be written any bette...
    library initialization failed - unable to allocate file descriptor table - out of memory
    Автор Crystle (25.12.2025)
    Hello it's me, I am also visiting this web page re...
    library initialization failed - unable to allocate file descriptor table - out of memory
    Автор Mathias (25.12.2025)
    Usually I do not learn article on blogs, but I wou...
    library initialization failed - unable to allocate file descriptor table - out of memory
    Автор Princess (25.12.2025)
    Good replies in return of this difficulty with gen...
    library initialization failed - unable to allocate file descriptor table - out of memory
    Автор Bettina (24.12.2025)
    It's actually a great and helpful piece of informa...
     Популярные
       
    Календарь
    « Декабрь »
    Пн Вт Ср Чт Пт Сб Вс
    1 2 3 4 5 6 7
    8 9 10 11 12 13 14
    15 16 17 18 19 20 21
    22 23 24 25 26 27 28
    29 30 31
    Облако тегов
    Яндекс.Метрика