摘要: 一、pythonxy在安装之后向 .py文件的右键菜单添加了 "Edit with IDLE"和"Run in interactive mode"两个条目。对应注册表项有:\HKEY_CLASSES_ROOT\Python.File\shell\Edit with IDLE\command 值为:"D:\devenv\Python27\pythonw.exe" "D:\devenv\Python27\Lib\idlelib\idle.pyw" -e "%1"\HKEY_CLASSES_ROOT\ 阅读全文
posted @ 2013-03-16 17:51 shankun 阅读(1026) 评论(0) 推荐(0)
摘要: 偶尔发现有chm文件打开后内容无法显示的现象,并非文件错误,而是存放文件的绝对路径名太长引起的。换到短路径的目录里就显示正常了。还有,文件路径中不能有#字符,还有的需要在文件右键属性里“解除锁定”。 阅读全文
posted @ 2011-12-03 19:54 shankun 阅读(192) 评论(0) 推荐(0)
摘要: 由于我不需要屏保,就不劳烦 xscreensaver 和 xlockmore 之流了,遂使用超轻量级的 slock。 sudo pacman -S slock 后无需设置,敲 $ slock 命令即黑屏锁定,输入密码,回车后解锁。 阅读全文
posted @ 2010-06-29 01:46 shankun 阅读(322) 评论(0) 推荐(0)
摘要: wqy-zenhei post install message==> Special Note: By default, we disabled the embedded bitmaps, so that the characters will be displayed as Anti-aliased glyphs. For those who want to use bitmap font rendering (for 9pt-12pt), you can modify the enclosed 44-wqy-zenhei.conf and change the line <ed 阅读全文
posted @ 2010-05-10 17:10 shankun 阅读(710) 评论(0) 推荐(0)
摘要: 其实是 wiki 的内容摘要:  $ sudo mkdir -p /etc/rc.d/vmware.d/{rc{0..6},init}.d  $ sudo mkdir/etc/rc.d/vmware.d/init.d  $ sudo pacman -S kernel26-headers  $ sudo sh /路径/vmware-workstation-full-7.1.0-xxx.xx.bund... 阅读全文
posted @ 2010-04-10 13:56 shankun 阅读(1557) 评论(0) 推荐(0)
摘要: 1. 嫌firefox-i18n体积太大,不用pacman -S,用这个中文语言包xpi代替。 2. firefox 的某些版本,如 Namoroka 版,对某些网页(如skydrive.live.com)不兼容,只需修改一个键值。 在地址栏输入 about:config 后将 general.useragent.extra.firefox 这一项的键值里的 Namoroka 改为 Firef... 阅读全文
posted @ 2010-03-19 13:06 shankun 阅读(176) 评论(0) 推荐(0)
摘要: 1. lrcdis 由于源里的ncmpcpp 编译时没有加上歌词功能,从 http://code.google.com/p/lrcdis/ 找来一个歌词下载和显示的脚本,支持多种输出模式。e.g. 使用 cli 模式输出,把一个 urxvt 改造成歌词秀。添加一个快捷方式,名字就叫“歌词秀”好了。命令如下:Exec=urxvt -override-redirect -dep... 阅读全文
posted @ 2010-01-25 22:48 shankun 阅读(1043) 评论(0) 推荐(0)
摘要: 在 原贴 的基础上继续更新。一、从windows 6.0+以硬盘方式安装:下载343.5M的安装镜像 archlinux-2009.08-core-x86_64.iso 和最新版的grub4dos解压 grldr 和 grldr.mbr 这两个文件到C:\目录下,用 easybcd 软件或 bcdedit 工具添加 grub 启动项:管理员身份运行CMD.exe> bcdedit /create /d “Grub4DOS” /application bootsector得到一个guid项{xxx}值接着运行下面的命令,将下面命令里面的{GUID}替换为上面得到的那个字符串,> bc 阅读全文
posted @ 2010-01-25 18:03 shankun 阅读(3588) 评论(0) 推荐(0)
摘要: wine 一个1.1版本的搜狗浏览器: $ ln -s 文件夹路径/SogouExplorer/ .wine/drive_c/Program\ Files/SogouExplorer $ wine "C:\Program Files\SogouExplorer\SogouExplorer.exe" -proxyPID:8PORT:8081CPORT:8082PAC:http:/... 阅读全文
posted @ 2010-01-12 21:07 shankun 阅读(1569) 评论(0) 推荐(0)
摘要: 对 拆分版 的天气预报部分做了改动,换用百度搜索上国家气象局发布的信息。.conkyrc : Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->bac... 阅读全文
posted @ 2010-01-02 17:51 shankun 阅读(2069) 评论(1) 推荐(1)