kuravih / gllock Goto Github PK
View Code? Open in Web Editor NEWThis project forked from anekos/slock
not so simple opengl based X display locker utility
License: Other
This project forked from anekos/slock
not so simple opengl based X display locker utility
License: Other
Maybe it's just me, but while the animation is lovely while locking, and I still do like and want it while unlocking, I get impatient as I'm ready to get back to work. Sometimes I end up tapping a keyboard shortcut for some other task a couple times during the process waiting for it to finish. What does anyone (and especially the author) think about speeding up the unlock animation/process?
r67.90f8911
Hey folks!
Saw the demo via reddit and loved it. Are there any plans on releasing it to the Arch's User Repository?
Would make installing and updating a bliss.
This amazing project is forked from https://github.com/anekos/slock which is an abandoned repository. This one: https://git.suckless.org/slock/ is the more up-to-date main repository for slock.
Do I have to edit the config.mk and re build every time?
Hey folks!
Loving this gllock
!
It's missing some kind of indicator when typing, so that the user can see that something could happen. Also maybe an indicator for "wrong password" wouldn't be that bad.
With the new systemd-homed, which stores all user information within the home directory, the locker no longer works. Since it can't read the user entry in /etc/shadow, the locker is unable to start. This could be solved by using PAM.
Sadly the slock you used doesn't seem to be the same slock available on suckless software's site, so patching gllock with the PAM patch in there doesn't seem like it's going to work. It may help with the implementation though, but I don't know C.
It constricts where it can be used.
Hi, loved the work, but the high quality GIFs take a lot of size and is making the repository hard to clone on low bandwidth networks. Would you please upload the GIFs to a CDN or imgur and have the links in README?
Thanks!
Please make it so it works sans sudo
Can I bring the shaders from the project into my game and use them?
The shader effect looks great.
Locks fine, can input password then animation begins to unlock, then freezes for ~5s and then ends. No errors are reported.
Nvidia 18.04 LTS Ubuntu.
gllock build options:
CFLAGS = -pedantic -Wall -Os -I. -I/usr/include -I/usr/X11R6/include -DVERSION="0.1-alpha" -DHAVE_SHADOW_H -DSHADER_LOCATION="/root/.gllock" -DFRGMNT_SHADER="circle.fragment.glsl"
LDFLAGS = -s -L/usr/lib -lc -lcrypt -L/usr/X11R6/lib -lX11 -lGL -lGLEW -lpthread
CC = cc
CC gllock.c
gllock.c: In function ‘readpw’:
gllock.c:172:26: warning: implicit declaration of function ‘crypt’ [-Wimplicit-function-declaration]
172 | running = strcmp(crypt(passwd, pws), pws);
| ^~~~~
gllock.c:172:26: warning: passing argument 1 of ‘strcmp’ makes pointer from integer without a cast [-Wint-conversion]
172 | running = strcmp(crypt(passwd, pws), pws);
| ^~~~~~~~~~~~~~~~~~
| |
| int
In file included from gllock.c:15:
/usr/include/string.h:136:32: note: expected ‘const char *’ but argument is of type ‘int’
136 | extern int strcmp (const char *__s1, const char *__s2)
| ~~~~~~~~~~~~^~~~
CC common.c
CC -o gllock
installing executable file to /usr/local/bin
ln: failed to create symbolic link '/root/.gllock': File exists
make: *** [Makefile:45: install] Error 1
When running gllock -v
╰─>$ gllock -v
gllock-0.1-alpha, ? 2019 Kuravi H
Is this the current version?
I am using tilix/fish, it looks like the copyright symbol isn't rendering.
well... that's really it...
it just prints out info, locks, and immediatly unlocks
I think there's a few issues with the Makefile right now:
SHADER_LOCATION
is $(HOME)/.gllock
which evaluates to /root/.gllock
since we need to run make with sudo
. It's unclear if this is the intended location.sudo make install
twice generates the symlink shaders/shaders -> .
sudo make uninstall
only removes the unintentional symlink above.I think merging this pull request might be a good approach to fixing some of these issues.
OpenGL context created.
Version 4.5
Vendor Intel Open Source Technology Center
Renderer Mesa DRI Intel(R) UHD Graphics 620 (Kabylake GT2)
This is all it provides if I run it without sudo. Even after I excluded it in /etc/sudoers. If i run it with sudo it provides the expected result.
On my system, gllock segfaults whenever enter is pressed on the lockscreen, whether the password is entered correctly or not.
Steps to reproduce:
GDB Trace of such a segfault:
gdb_trace.txt
I tried to add symbols to the binary but i had no luck for some reason...
Do I have to edit the config.mk and re build every time?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.