Coder Social home page Coder Social logo

pokoy's People

Contributors

hngt avatar matmatyk avatar rjc avatar ttygde avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

pokoy's Issues

Support for ACPI suspend.

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!

Feature request: lock screen during break

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

Flash detection

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

Segfault on Gentoo ?

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)

Time between breaks has to be <60 minutes?

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?

Changing font to Droid Sans

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

Undocumented dependencies and unknown CFLAGS

I like your application.

However when installing it on my LinuxMint 13 distribution I had to install the following to be able to run make:

  • libx11-xcb-dev
  • libxcb-keysyms1-dev
  • libcxb-iccm4-dev
  • libxcb-screensaver0-dev

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!

Support for multiple screen

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.

Weird time

After I suspended my laptop yesterday and resumed today, I got some weird times from pokoy:

$ pokoy 
34:59
-56176:71581852:50

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.