i3lock | improved screen locker
kandi X-RAY | i3lock Summary
kandi X-RAY | i3lock Summary
Simply invoke the i3lock command. To get out of it, enter your password and press enter. On OpenBSD the i3lock binary needs to be setgid auth to call the authentication helpers, e.g. /usr/libexec/auth/login_passwd.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of i3lock
i3lock Key Features
i3lock Examples and Code Snippets
Community Discussions
Trending Discussions on i3lock
QUESTION
This is a follow up to a question that I had before. I know about the DoRectFloat/RationalRect modules and such, but, I've tried to write proper Haskell and it either doesn't compile, or it compiles and doesn't do what I want.
(These are floating windows that I want) What I want is a layout like
How would I go about writing this?
My current Xmonad Config:
...ANSWER
Answered 2021-Jan-28 at 15:37When starting the three windows, use xterm
's -class
option to modify the WM_CLASS
property it attaches to its window, choosing a different and unique class for each of the three. Then you can select for that class in your manage hook to only match the right window.
QUESTION
Using xfce4-keyboard-settings
, I have SuperL
keybound to start rofi using rofi -show drun
, but this prevents me from using SuperL
in combination with any other key combinations, such as Super + L
to lock the screen. rofi
is hijacking the show immediately.
I've tried prepending a sleep to rofi
, ie. sh -c "sleep 1 && rofi -show drun"
, which correctly sleeps and even lets me use Super + L
to lock the screen, but then rofi
loads over the top and starts to interact weirdly (read: undesirably) with the lock screen.
Is there a way that I can have both keyboard shortcuts work as desired without interfering with eachother?
BTW, the lock screen I'm using is i3lock-fancy.
...ANSWER
Answered 2018-Jun-08 at 04:16I solved this following AndreLDM's advice.
I installed xcape, and added xcape -e 'Super_L=Control_L|Escape'
to ~/.config/openbox/autostart
and bound the keyboard shortcut Ctrl+Esc to run rofi. I was then able to keybind Super+L to i3lock-fancy and have both keyboard shortcuts work as I intended. Pressing Super by itself presents my rofi drun menu, and Super+L locks the screen.
QUESTION
I have a lock screen script (via i3lock) that runs correctly in a terminal window, but not when used as a keybind in i3 config.
The script is pretty straightforward:
...ANSWER
Answered 2018-Jun-21 at 12:35I remember something similar... try specifying the absolute path like this, might be that exec
doesn't honor the $PATH
environment variable:
QUESTION
I have the following three lines in my .config/i3/config
file:
ANSWER
Answered 2019-Nov-26 at 11:04I use slock.
I also use it in a small script to lock my machine what is has been suspended. It locks the machine after waking up.
QUESTION
I use i3 window manager and have
...ANSWER
Answered 2019-May-07 at 22:07One possible way to do this, without needing to implement all of xautolock's options in myscript
would be to write your $Locker
as a script or program to determine if the conditions are met to prevent locking. Otherwise, call the screen locker:
QUESTION
I looking to lock my laptop when i close the lid and can't get this working in Ubuntu 16.04.
I've tried this https://github.com/ruudud/i3wm-scripts
seems that this is the solution most commonly suggested on the internet, but it does not work.
The github repo suggests creating a service called i3lock.service that runs (as far as i can tell) before "sleep.target". Please note that i have no clue what that is, and would appreciate some more info about that.
I'm not sure if i'm supposed to just create the file and it should work or it requires some special privileges for that file or what? More detail on that would be needed.
If this solution is incorrect is it possible to be pointed to a better solution to this problem?
Thank you in advance :)
...ANSWER
Answered 2017-May-08 at 18:03In the meen time I switched to Manjaro (much nicer), but this solution should work on both:
Creating a service called lock@.service in /etc/systemd/system with this content:
QUESTION
this is my first post on this forum.
I am trying to get qemu running on my Raspberry Pi 3 with Raspbian stretch installed. My brothers DCP-350C scanner driver is only available precompiled on x86.
I have added i386 arch with sudo dpkg --add-architecture i386
and installed qemu-user binfmt-support. No problems there.
But every time I try to install libc6:i386 I get an install error:
...ANSWER
Answered 2017-Dec-04 at 11:52That kind of error ("libgcc1:i386 Breaks: libgcc1 (!= 1:6.3.0-18) but 1:6.3.0-18+rpi1 is to be installed" and "libgcc1 : Breaks: libgcc1:i386 (!= 1:6.3.0-18+rpi1) but 1:6.3.0-18 is to be installed") is because multiarch support on Debian and Debian derivatives requires that all versions of a package for each architecture that you have installed must have exactly matching versions. So you can have libgcc1:i386 1:6.3.0-18 and libgcc1:armhf 1:6.3.0-18 installed together because the versions match, but not libgcc1:i386 1:6.3.0-18 and libgcc1:armhf 1:6.3.0-18+rpi1 (because the versions don't exactly match).
The problem here is that raspbian rebuilds packages, which is why they have the +rpi1 tag on the end of their version. So what you would need is either
- a repository where the raspbian versions of packages have been built for i386 -- this may well not exist
- or run pure upstream Debian rather than Raspbian -- which you likely don't want to swap to at this point
- or rebuild all the packages for i386 yourself -- which is likely painful and easy to get wrong if you don't know what you're doing.
If it's any consolation I would be somewhat uncertain about whether QEMU could usefully handle emulating a hardware-specific piece of code like a scanner driver (which is probably a plugin to CUPS or other system software) anyway.
A quick google of the scanner model name brought up this webpage: http://support.brother.com/g/b/downloadlist.aspx?c=us_ot&lang=en&prod=dcp350c_all&os=128 which includes a download for source code for the scanner driver and CUPS wrapper driver. If I were you I would try the approach of building that natively for arm.
QUESTION
Java GUI applications only give me a blank window, I tried:
...ANSWER
Answered 2017-Jan-24 at 21:44so finally I found out it is:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install i3lock
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page