摘要: 在conkyrc脚本文件中,添加以下命令(添加到任何你想显示cowthink的位置)${color1}${execi 30 fortune | cowthink -f default.cow }${font} 阅读全文
posted @ 2012-11-09 18:03 Mr.Shadow 阅读(185) 评论(0) 推荐(0) 编辑
摘要: Linux Mint有一个非常有意思的小功能叫mint-fortune,就是每次从桌面上打开一个新的终端窗口时,会打印一幅ASCII图画,图画里一个小动物或思考或感叹。首先让我们了解一下这是怎么实现的。这个小功能的核心是一个叫fortune的程序实现的,它的作用是当调用的时候,随机打印一段话,fortune程序 包含在fortune-mod包中。另外一个重要的部分是由程序cowsay实现的,它的作用则是打印一个正在思考的小动物,cowsay程序包含在 cowsay包中。这两个程序都有许多选项来微调它们的功能,待会儿我们将用到这两个程序。我们再看看Linux Mint是如何在打开终端窗口时实现打 阅读全文
posted @ 2012-11-09 16:19 Mr.Shadow 阅读(212) 评论(0) 推荐(0) 编辑
摘要: I recently updated ubuntu using the automatic update and it broke my network services. Luckily, after a lot of research and history I found the solution and want to post it for everyone who runs into this issue.For starters after the upgrade when turning the computer on I got the message "Waiti 阅读全文
posted @ 2012-11-09 10:21 Mr.Shadow 阅读(728) 评论(0) 推荐(0) 编辑
摘要: 编辑器加载中...一、检测pppoeconf软件是否安装 $ dpkg -s pppoeconf出现如下说明已安装:{{Package: pppoeconfStatus: install ok installedPriority: optionalSection: netInstalled-Size: 340Maintainer: Ubuntu Developers Architecture: allVersion: 1.19ubuntu1Depends: whiptail-provider | whiptail, ppp (>= 2.4.2+20040428-2) | pppoe (& 阅读全文
posted @ 2012-11-09 10:09 Mr.Shadow 阅读(213) 评论(0) 推荐(0) 编辑