Re: [dev] [slock] Configure OOM killer as non-root

2014-07-08 Thread Danilo
install", this happens automatically. Cheers, Danilo

Re: [dev] [slock] Configure OOM killer as non-root

2014-07-08 Thread Danilo
Oh, never mind that stupid question. Sorry about bothering you, when setting the suid bit I forgot to change the owner to root, so of course that didn't help... Have a nice day, Danilo Am Di, 8. Jul 2014, um 11:42, schrieb Danilo: > Hi all > > In commit ba3acfc, a patch has b

[dev] [slock] Configure OOM killer as non-root

2014-07-08 Thread Danilo
someone help me out here? Thanks, Danilo

[dev] [dwm] Chromium "open in new tab" - windows switch places

2012-02-17 Thread Danilo
, I'm using the pertag patch, but I doubt it has something to do with that. Danilo

Re: [dev] dwm battery level alarm system

2011-01-26 Thread Danilo Bargen
echo 'on' > /proc/acpi/ibm/light && sleep 1 echo 'off' > /proc/acpi/ibm/light fi # Update every 30s sleep 30s done & It beeps 3 times and flashes the ThinkLight every 30s, in case the battery level is below 5%. --Danilo

Re: [dev] wmii put computer to sleep/suspend

2011-01-26 Thread Danilo Bargen
A progress bar? When I suspend my laptop using "acpitool -s", it takes about 2 seconds. No time for a progressbar. Danilo On Thu, Jan 27, 2011 at 1:47 AM, Rob wrote: > I prefer tux on ice, I get a nice progress bar and the ability to > cancel hibernation.

Re: [dev] dwm battery level alarm system

2011-01-26 Thread Danilo Bargen
hat illuminates your keyboard. So the following bash script is quite useful for alarms, as I won't notice a simple message in the notification bar. [danilo@t410 ~]$ cat /usr/local/bin/thinklight #!/bin/bash if [ -z $1 ]; then echo 'Argument missing [on|off|blink]' exit 1 el

Re: [dev] dwm battery level alarm system

2011-01-26 Thread Danilo Bargen
already using a battery notification. I keep forgetting to look at it... Thanks anyways. Also thanks Antoni for your idea, looks interesting too. But I think I just found another solution. As I'm using a Thinkpad laptop, I'll just start flashing the Thinklight-LED[1]. Should be enough

[dev] dwm battery level alarm system

2011-01-26 Thread Danilo Bargen
some warning sound that gets played even if the volume is turned down. Does anyone here already have a feasible solution for that problem? If not, what do you think would be the best approach? Cheers Danilo

Re: [dev] wmii put computer to sleep/suspend

2011-01-26 Thread Danilo Bargen
2011/1/20 Kurt H Maier : > pm-suspend acpitool also supports suspending. > -s, --suspend suspend to memory (sleep state S3), if supported > -S suspend to disk (sleep state S4), if supported

Re: [dev] Recent vain attempts at suckless Web applications

2011-01-20 Thread Danilo Bargen
> What's the point of it being in Python? It's several times the size of > bloated bash! We are trying to make things suck less here, not more. Reading Python sucks a lot less than reading bloated non-modular Bash :) But that's a matter of opinion. Cheers

Re: [dev] Recent vain attempts at suckless Web applications

2011-01-20 Thread Danilo Bargen
get my tweets after the page pulled them from Twitter?". I especially like fetch-tweets.sh. Would be cool to turn this into a nice Python script though. Danilo

[dev] Slock: Logging patch

2010-11-11 Thread Danilo Bargen
Hello all In case anyone is interested: I've added logging capabilities to Slock. The patch is attached. It will enable logging of all locks, unlocks and failed unlock attempts to ~/.slock.log, if compiled with the ENABLE_LOGGING flag. --Danilo diff -up /tmp/slock-0.9/config.mk sloc