You are not logged in.
Hello there,
I have been using some suckless programs now for quite a while (dwm, dmenu)
and created a system with them.
Now I have come to establish some kind of screen lock using slock.
This is what I have done:
git clone [url]http://git.suckless.org/slock[/url]
sudo make install
slock -v
slock-1.4however running slock with no arguements gives me
slock
slock: getgrnam nogroup: group entry not foundI have no idea in which direction I have to investigate.
greets, ohm
Last edited by ohm (2017-05-12 08:19:46)
Offline
slock is in [community], why aren't you installing it with makepkg/pacman?
And if you read the PKGBUILD, you will see what has to change: https://git.archlinux.org/svntogit/comm … ages/slock
Offline
I customized dwm by editing config.h a lot, so I wanted to have config.h at hand in dmenu and slock as well.
Maybe slock will just run fine enough without changes. I think I also have to read more about PKGBUILD to understand better.
Sorry for my kraut english ![]()
Offline
get https://git.archlinux.org/svntogit/comm … ages/slock, edit the prepare section and then use makepkg
Your current problem is that there's no "nogroup" in arches /etc/group but "nobody", so to go with the stock config.def.h, you'll have to add such group (while the stock package just alters the group slock uses)
Online
Maybe slock will just run fine enough without changes.
You say this despite clear evidence to the contrary. The revision in the PKGBUILD addressess the specific issue you are facing.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
From the context I'm pretty sure he meant "without personal changes to the config.def.h" (so he can just use the repo build and be happy) - slock has no user configuration feature beyond editing the config.def.h source, that is in this case: choose the used colors.
Online
seth is right, the only thing I marked for future customization is the "turn display red" feature on keystrokes.
I have now installed it via pacman and there is no error message. For now it runs just fine enough.
Before I go back to change things in config.h I will have to go deeper into reading documentation like PKGBUILD / user,group administration etc. This problem shows that I am a newbie for sure ![]()
Thanks for the hints into the right directions to all of you.
Offline
Please remember to mark your thread as [Solved] by editing your first post and prepending it to the title.
Offline
[...]mark your thread as [Solved][...]
done and one step taken deeper into the rabbit hole
Offline
Oops - sorry for misunderstanding. Note I also build my own slock as I want to change a few things - but using the PKGBUILD is still the right way of doing this.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline