首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > Java > Relax your eyes while programming!

Relax your eyes while programming!

  • 资源大小:3.96 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:1次
  • 资源积分:1积分
  • 标      签:

资 源 简 介

A simple program that runs full screen every specified number of minutes and reminds you to take a break and relax your eyes. Very crude, very simple. Developed for unix platform but can be used on windows with minimal tweaks. Source code tips Some handy things to notice in the source code * 1) the crontab /20 trick lets you run your program every X minutes * 2) env DISPLAY=:0 lets you run an GUI app in crontab * 3) Scrin.java runs a fullscreen app using native java * 4) a lock file in the shell script lets your check for multiple instances of the application. have fun coding BUT take care of your eyes! :)

文 件 列 表

crontab
readme.txt
runscreen.sh
screen.properties
Scrin$1.class
Scrin$2.class
Scrin.class

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP
0.163512s