ttygde / pokoy Goto Github PK
View Code? Open in Web Editor NEWLightweight daemon that helps prevent RSI and other computer related stress
License: GNU General Public License v2.0
Lightweight daemon that helps prevent RSI and other computer related stress
License: GNU General Public License v2.0
Reported previously in #7 (comment). This happens on my PC too.
Hi,
I find your program very useful. A little glitch though… It always wrongfully thinks I should start with taking a break when my computer returns from sleep (ACPI suspend to RAM, in my case). Could you please implement support for such a scenario?
Thanks a bunch!
Hi.
At first, thank you for the great program. I tried several alternatives, but this one looks optimal.
However there is one feature that i miss: when break has begun, i can't lock screen and walk away.
All i can do is to skip break and then lock screen or leave it unlocked.
None of them is really good. So is it possible to add ability to lock a screen during break (by key press, like 's' or 'p') without skipping it?
Thanks anyway
Hi there,
Would it be possible to detect a running flash video?
Useful to pause pokoy when watching Flash videos such as on Vimeo or YouTube.
What is your opinion?
Regards,
Robert
Hi there,
I've tried to execute pokoy (git 18/11/2014) on Gentoo Linux but it segfault directly.
Here's the gdb output :
admin@Gentoo-VM2 ~> gdb pokoy
GNU gdb (Gentoo 7.7.1 p1) 7.7.1
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
http://bugs.gentoo.org/.
Find the GDB manual and other documentation resources online at:
http://www.gnu.org/software/gdb/documentation/.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from pokoy...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/pokoy
warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need "set solib-search-path" or "set sysroot"?
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7303780 in __stpcpy_chk () from /lib64/libc.so.6
(gdb) bt full
#0 0x00007ffff7303780 in __stpcpy_chk () from /lib64/libc.so.6
No symbol table info available.
#1 0x0000000000401fe9 in ?? ()
No symbol table info available.
#2 0x00007ffff722cdb5 in __libc_start_main () from /lib64/libc.so.6
No symbol table info available.
#3 0x0000000000402989 in ?? ()
No symbol table info available.
(gdb)
Hey there,
I just thought I'd let you know that Pokoy segfaults when the XDG_RUNTIME_DIR environment variable is not set.
Hey, I want to take a break every 2 hours,so 120 mins.
I added the line break 120:00 10:00 10:00
But when I start pokoy with this config and inquire the time till the next break, it gives me the strange output of 7140:119:58... What is that supped to mean?
Hi @ttygde,
Thanks very much for pokoy! It is a very helpful application to not remain focused on the screen for too long. :)
I have one question. I would like to use Droid Sans as my default font. I created the following config file but it is not applying Droid Sans. Do you have any idea how to use an Xft font?
Thanks very much for your help!
Robert
~ cat ~/.pokoyrc
# pokoy config file
# Default settings. Uncomment to change.
#show_bar true
#show_timer true
#enable_skip true
#enable_postpone true
#idle_time 10:00
#sleep_time 30:00
#break 35:00 5:00 2:00
#break 5:00 0:10 0:00
# Example settings. They are not default.
#font -*-terminus-*-*-*-*-32-*-*-*-*-*-*-*
font Droid Sans:Regular:pixelsize=12:antialias=true:hinting=true:autohint=true
#block MPlayer
However when installing it on my LinuxMint 13 distribution I had to install the following to be able to run make:
Furthermore I had to change the CFLAGS
row to:
CFLAGS = -std=gnu1x -02
After this it compiled, installed and runs beautifully,
Please change the Makefile and add this to your doc, in your own words, so that more people than C programmers can install this easily. Maybe a configure file could do it?
As you probably understand I am not a C programmer. I got help.
Thanks!
Is there any support for multiple screens that I haven't realised, or is it maybe a feature that could be considered?
When I have two screens connected and pokoy
blanks the screen, I get a black window in the middle of the two:
+--------+--------+
| +----|----+ |
| |XXXX|XXXX| |
| |XXXX|XXXX| |
| +----|----+ |
+--------+--------+
Instead it would be nice to have the app blanking all connected screens separatly, with the same message and progress visible on all.
After I suspended my laptop yesterday and resumed today, I got some weird times from pokoy
:
$ pokoy
34:59
-56176:71581852:50
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.