[gzlug][OT]打扰各位了。想请问,Linux下有没有倒计时的工具呢?

70 views
Skip to first unread message

青月

unread,
Oct 28, 2012, 10:55:56 AM10/28/12
to gz...@googlegroups.com
hi,all:
我目前的环境:
slackwre 14 + kde

linux下有没有倒数计时的工具呢?就是设置某个日期,然后显示距离该日期的剩余天数。
本机使用。最好不需要联网。

想了想,算不得什么技术。就加OT了。打扰各位了:)


Franks Wu

unread,
Oct 28, 2012, 10:57:42 AM10/28/12
to gz...@googlegroups.com
apt-cache search countdown

2012/10/28 青月 <liushuiwu...@gmail.com>



--
您收到此邮件是因为您订阅了 Google 网上论坛的“广州 GNU/Linux 用户组”论坛。
要向此网上论坛发帖,请发送电子邮件至 gz...@googlegroups.com
要取消订阅此网上论坛,请发送电子邮件至 gzlug+un...@googlegroups.com
若有更多问题,请通过 http://groups.google.com/group/gzlug?hl=zh-CN 访问此网上论坛。

Bill Chen (CHEN, Zhechuan)

unread,
Oct 28, 2012, 11:01:10 AM10/28/12
to gz...@googlegroups.com
extra/kdeplasma-addons-applets-timer
arch package

Best Regards,
Bill Chen (CHEN Zhechuan)


2012/10/28 青月 <liushuiwu...@gmail.com>:

张腾蔚

unread,
Oct 28, 2012, 11:49:07 AM10/28/12
to gz...@googlegroups.com

KDE的那个插件只能倒计小时,不能倒计天,好像不能满足楼主的要求

best regards
Aten

Zhanrui Liang

unread,
Oct 28, 2012, 2:53:40 PM10/28/12
to gz...@googlegroups.com
你要好看的、一直开着放在桌面的?还是时不时打开看一下的(应该不是这个了)? 
高考倒计时吧,哈哈。

2012/10/28 青月 <liushuiwu...@gmail.com>

Ma Xiaojun

unread,
Oct 28, 2012, 8:09:16 PM10/28/12
to gz...@googlegroups.com
On 10/28/12 9:55 AM, ���� wrote:
> hi��all��
> ��Ŀǰ�Ļ�����
> slackwre 14 + kde

XTerm���еİɣ�

> linux����û�е����ʱ�Ĺ����أ���������ij�����ڣ�Ȼ����ʾ��������ڵ�ʣ
> ������
> ����ʹ�á���ò���Ҫ����

�킀Shell�_����Σ�
https://gist.github.com/3970545
Ȼ����������@�ӈ��У�
xterm -bg white -fg black -T 'Reminder' -geometry 30x5+888+111 -e
./countdown.sh
�������{�̺��˾Ϳ��Ըむdesktop�ļ��ˣ�

> �����룬�㲻��ʲô�������ͼ�OT�ˡ����Ÿ�λ��:)

���X��OT

Liutos

unread,
Oct 28, 2012, 9:12:03 PM10/28/12
to gz...@googlegroups.com
手机闹钟来得实际~

在 2012年10月29日 上午8:09,Ma Xiaojun <damag...@gmail.com>写道:
On 10/28/12 9:55 AM, 青月 wrote:
> hi,all:
> 我目前的环境:
> slackwre 14 + kde

XTerm總有的吧?

> linux下有没有倒数计时的工具呢?就是设置某个日期,然后显示距离该日期的剩
> 余天数。
> 本机使用。最好不需要联网。

來個Shell腳本如何?
https://gist.github.com/3970545
然後你可以像這樣執行:

xterm -bg white -fg black -T 'Reminder' -geometry 30x5+888+111 -e
./countdown.sh
(參數調教好了就可以搞個desktop文件了)


> 想了想,算不得什么技术。就加OT了。打扰各位了:)

我覺得不用OT


--
您收到此邮件是因为您订阅了 Google 网上论坛的“广州 GNU/Linux 用户组”论坛。
要向此网上论坛发帖,请发送电子邮件至 gz...@googlegroups.com
要取消订阅此网上论坛,请发送电子邮件至 gzlug+un...@googlegroups.com
若有更多问题,请通过 http://groups.google.com/group/gzlug?hl=zh-CN 访问此网上论坛。




--
Liutos Love Linux LaTeX Lisp Ling

我的GitHub主页:https://github.com/Liutos

Ma Xiaojun

unread,
Oct 28, 2012, 9:29:32 PM10/28/12
to gz...@googlegroups.com
On 10/28/12 8:12 PM, Liutos wrote:
> �ֻ���������ʵ�ʡ�

���f�IJ��o���?���ǘ����Ć��}���Linux�£�Slackwae + KDE�h����LOL

小花喵

unread,
Oct 29, 2012, 12:06:13 AM10/29/12
to gz...@googlegroups.com
自己写个SHELL不就好了。

~盛开如夏莲,美丽动人~
~شکوفه مانند لوتوس تابستان، زیبا~
Me.Sina 
小花(Jyu..)谨上



在 2012年10月29日 上午9:29,Ma Xiaojun <damag...@gmail.com>写道:
On 10/28/12 8:12 PM, Liutos wrote:
> 手机闹钟来得实际~

你說的不無道理,但是樓主的問題限於Linux下,Slackwae + KDE環境,LOL

青月

unread,
Oct 29, 2012, 12:35:21 AM10/29/12
to gz...@googlegroups.com
apt啊。这个已经提到环境了:)

在 2012年10月28日 下午10:57,Franks Wu <frank...@gmail.com>写道:
apt-cache search countdown

青月

unread,
Oct 29, 2012, 12:35:48 AM10/29/12
to gz...@googlegroups.com
无尽的羡慕arch党中。。。

青月

unread,
Oct 29, 2012, 12:36:06 AM10/29/12
to gz...@googlegroups.com
确实这样子:(

在 2012年10月28日 下午11:49,张腾蔚 <ate...@gmail.com>写道:

KDE的那个插件只能倒计小时,不能倒计天,好像不能满足楼主的要求


青月

unread,
Oct 29, 2012, 12:36:52 AM10/29/12
to gz...@googlegroups.com
嗯。是的。放桌面上的。
高考啊?那成为历史了:D

青月

unread,
Oct 29, 2012, 12:37:33 AM10/29/12
to gz...@googlegroups.com
唔,我直接从kde-apps下载的小工具

在 2012年10月29日 上午8:09,Ma Xiaojun <damag...@gmail.com>写道:
XTerm總有的吧?

> linux下有没有倒数计时的工具呢?就是设置某个日期,然后显示距离该日期的剩
> 余天数。
> 本机使用。最好不需要联网。

來個Shell腳本如何?
https://gist.github.com/3970545
然後你可以像這樣執行:
xterm -bg white -fg black -T 'Reminder' -geometry 30x5+888+111 -e
./countdown.sh
(參數調教好了就可以搞個desktop文件了)

青月

unread,
Oct 29, 2012, 12:38:06 AM10/29/12
to gz...@googlegroups.com
随身携带,的确很实际。不过跟意愿不太接近了:P

在 2012年10月29日 上午9:12,Liutos <mat.l...@gmail.com>写道:
手机闹钟来得实际~

青月

unread,
Oct 29, 2012, 12:51:37 AM10/29/12
to gz...@googlegroups.com

青月

unread,
Oct 29, 2012, 12:52:02 AM10/29/12
to gz...@googlegroups.com
赞同+1

青月

unread,
Oct 29, 2012, 12:52:26 AM10/29/12
to gz...@googlegroups.com
这个,这个,不会。。。

在 2012年10月29日 下午12:06,小花喵 <she....@gmail.com>写道:
自己写个SHELL不就好了。

青月

unread,
Oct 29, 2012, 12:54:42 AM10/29/12
to gz...@googlegroups.com
END :

从kde-apps下载了 simplecountdown。已经安装好了
附上截图链接一张
http://imagebin.org/233726

Thanks All :)

PS:标题怎么样能置为solved呢?

JunLe Li

unread,
Oct 29, 2012, 1:03:35 AM10/29/12
to gz...@googlegroups.com
2012/10/29 青月 <liushuiwu...@gmail.com>:
> END :
> PS:标题怎么样能置为solved呢?

无法设置。

另外,你连帖也太多了吧?虽然我明白回复引用很麻烦……
gmail 有没有工具让一次回复引用多个人的话?

Liutos

unread,
Oct 29, 2012, 1:10:54 AM10/29/12
to gz...@googlegroups.com
抱歉我跑题了~

不知道楼主的需要用cron可以满足不?倒计时其实也可以转换成定时器功能吧~

在 2012年10月29日 上午9:29,Ma Xiaojun <damag...@gmail.com>写道:
On 10/28/12 8:12 PM, Liutos wrote:
> 手机闹钟来得实际~


你說的不無道理,但是樓主的問題限於Linux下,Slackwae + KDE環境,LOL
--
您收到此邮件是因为您订阅了 Google 网上论坛的“广州 GNU/Linux 用户组”论坛。
要向此网上论坛发帖,请发送电子邮件至 gz...@googlegroups.com
要取消订阅此网上论坛,请发送电子邮件至 gzlug+un...@googlegroups.com
若有更多问题,请通过 http://groups.google.com/group/gzlug?hl=zh-CN 访问此网上论坛。

青月

unread,
Oct 29, 2012, 1:15:29 AM10/29/12
to gz...@googlegroups.com
毕竟我提的问题,看到别人回复了。总得回复。

那个能同时回复多人邮件的工具,我也想。如果要不另开thread,讨论讨论。一个个的回复的确不太好:(

Ma Xiaojun

unread,
Oct 29, 2012, 1:58:06 AM10/29/12
to gz...@googlegroups.com
锟斤拷锟絏锟斤拷前锟斤拷l锟斤拷Shell锟絖锟斤拷锟斤拷锟給視锟剿★拷锟斤拷
https://gist.github.com/3970545

青月

unread,
Oct 29, 2012, 1:59:01 AM10/29/12
to gz...@googlegroups.com
不是吧。我都挨个回复的啊

在 2012年10月29日 下午1:58,Ma Xiaojun <damag...@gmail.com>写道:
感覺我前面發的Shell腳本被無視了……
https://gist.github.com/3970545

JunLe Li

unread,
Oct 29, 2012, 2:01:50 AM10/29/12
to gz...@googlegroups.com
这个`clear`,感觉……好……那个啥

另外,代码令我想起来wget里面那些进度条,是怎么实现的?在终端的行内实现动态效果。

--

LiJ...@gmail.com | Public Key | Twitter | SinaWeibo


2012/10/29 青月 <liushuiwu...@gmail.com>:

Ma Xiaojun

unread,
Oct 29, 2012, 11:33:51 AM10/29/12
to gz...@googlegroups.com
On 10/29/12 1:01 AM, JunLe Li wrote:
> ���`clear`���о������á����Ǹ�ɶ
>
> ���⣬��������������wget������Щ�����������ôʵ�ֵģ����ն˵�����ʵ�ֶ�̬Ч��


��һ�f�ҵ��������ˣ��ڲ��Q�е���r�£��п����ַ�����ã�������
http://stackoverflow.com/questions/1508490/how-can-i-erase-the-current-line-printed-on-console-in-c-i-am-working-on-a-lin

JunLe Li

unread,
Oct 29, 2012, 12:54:11 PM10/29/12
to gz...@googlegroups.com
2012/10/29 Ma Xiaojun <damag...@gmail.com>:

> On 10/29/12 1:01 AM, JunLe Li wrote:
>> 这个`clear`,感觉……好……那个啥
>>
>> 另外,代码令我想起来wget里面那些进度条,是怎么实现的?在终端的行内实现动态效果。
>
>
> 你一說我倒想起來了,在不換行的情況下,有控制字符可以用,參考:
> http://stackoverflow.com/questions/1508490/how-can-i-erase-the-current-line-printed-on-console-in-c-i-am-working-on-a-lin

Clear!

Reply all
Reply to author
Forward
0 new messages