<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh-Hans-CN">
	<id>https://wiki.linuxsa.org/index.php?action=history&amp;feed=atom&amp;title=Linux%E5%AE%9A%E6%97%B6%E4%BC%91%E6%81%AF%E8%84%9A%E6%9C%AC</id>
	<title>Linux定时休息脚本 - 版本历史</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.linuxsa.org/index.php?action=history&amp;feed=atom&amp;title=Linux%E5%AE%9A%E6%97%B6%E4%BC%91%E6%81%AF%E8%84%9A%E6%9C%AC"/>
	<link rel="alternate" type="text/html" href="https://wiki.linuxsa.org/index.php?title=Linux%E5%AE%9A%E6%97%B6%E4%BC%91%E6%81%AF%E8%84%9A%E6%9C%AC&amp;action=history"/>
	<updated>2026-04-23T11:07:13Z</updated>
	<subtitle>本wiki上该页面的版本历史</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>https://wiki.linuxsa.org/index.php?title=Linux%E5%AE%9A%E6%97%B6%E4%BC%91%E6%81%AF%E8%84%9A%E6%9C%AC&amp;diff=597&amp;oldid=prev</id>
		<title>2021年11月16日 (二) 02:49 Evan</title>
		<link rel="alternate" type="text/html" href="https://wiki.linuxsa.org/index.php?title=Linux%E5%AE%9A%E6%97%B6%E4%BC%91%E6%81%AF%E8%84%9A%E6%9C%AC&amp;diff=597&amp;oldid=prev"/>
		<updated>2021-11-16T02:49:58Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[category:desktop]] [[category:devops]]  &lt;br /&gt;
=定时休息=&lt;br /&gt;
&lt;br /&gt;
==notify-send使用方法==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
notify-send 命令用于在桌面上弹出气泡提示，使用了 zenity 命令用于显示图形窗口&lt;br /&gt;
&lt;br /&gt;
仅发送通知内容：&lt;br /&gt;
&lt;br /&gt;
notify-send &amp;quot;Notification!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
发送带标题通知内容：&lt;br /&gt;
&lt;br /&gt;
notify-send &amp;quot;Title&amp;quot; &amp;quot;Notification!&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
发送带标题、带图片的通知内容：&lt;br /&gt;
&lt;br /&gt;
notify-send /home/notification.png &amp;quot;title&amp;quot; &amp;quot;Notification!&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=R=&lt;br /&gt;
&lt;br /&gt;
[https://blog.csdn.net/qq_35503971/article/details/105031099  【护眼】Ubuntu定时休息]&lt;br /&gt;
&lt;br /&gt;
==我的脚本 ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
cat ~/apps/eye.sh &lt;br /&gt;
#!/bin/bash&lt;br /&gt;
#50,51  * *  * *  /home/evan/apps/eye.sh&lt;br /&gt;
&lt;br /&gt;
export DISPLAY=:0.0;notify-send -u normal -t 50000 -i appointment-new &amp;#039;1分钟后锁屏&amp;#039; &amp;#039;注意休息，善待眼睛、善待颈椎&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Evan</name></author>
	</entry>
</feed>