分页: 1 / 1
一段无聊的shell
发表于 : 2009-02-06 22:34
由 gududehuo
while true;do
yuanlaistr=`xsel -p`;
[ "$yuanlaistr"x != ""x ] && [ "$houlaistr" != "$yuanlaistr " ] && houlaistr="$yuanlaistr"; echo "$houlaistr" | xsel -i -b
sleep 1
done
功能:实时把选中的文字复制到剪贴板
看
xiooli帖子时,发现xsel挺有意思,有没事干就写这个,实时复制选中的文本(不用点右键复制)
Re: 一段无聊的shell
发表于 : 2009-02-06 23:23
由 eexpress
Re: 一段无聊的shell
发表于 : 2009-02-11 20:23
由 vbs100
确实很无聊 在linux中选中的文本直接按mouse中键就粘贴进去了
Re: 一段无聊的shell
发表于 : 2009-02-11 20:39
由 bones7456
Re: 一段无聊的shell
发表于 : 2009-02-12 18:12
由 cnkilior
你看阿姨被你气的。。
Re: 一段无聊的shell
发表于 : 2009-02-16 16:34
由 JustinLei
Re: 一段无聊的shell
发表于 : 2009-02-16 17:11
由 lerosua
大家都是来水一下的
Re: 一段无聊的shell
发表于 : 2009-02-18 14:35
由 sadly
Re: 一段无聊的shell
发表于 : 2009-02-21 13:47
由 solcomo
好神奇
..居然还有这种功能