[ Content | Sidebar ]

Posts tagged ubuntu

DNS Flusher 2.0.3 在ubuntu下不能用了

升级了一下版本,竟然不能用了,查了一下,原来是文件名大小写的问题…
插件目录的chrome.manifest

overlay	chrome://browser/content/browser.xul		chrome://dnsFlusher/content/dnsFlusher.xul
 
#这里应当改成
#overlay	chrome://browser/content/browser.xul		chrome://dnsFlusher/content/dnsflusher.xul
 
overlay	chrome://navigator/content/navigator.xul	chrome://dnsFlusher/content/dnsFlusher.xul
 
#应当改成
#overlay	chrome://navigator/content/navigator.xul	chrome://dnsFlusher/content/dnsflusher.xul
 
content	dnsFlusher									chrome/content/dnsFlusher/
 
skin	dnsFlusher		classic/1.0					chrome/skin/classic/dnsFlusher/
Copy Code 

修改之后重启firefox就可以了
作者肯定是用win系统,文件名不区分大小写,所以不会有问题,其他linux,mac就会找不到文件了..

谷歌音乐shell版

2009.10.15 update
其实需要两个包支持

sudo apt-get install uni2ascii
sudo apt-get install gawk
Copy Code 

———————————
一个可以快速听歌的东东,虽说是练手之作,但是当特别想听某首歌硬盘里又没的时候还是挺方便的~

这个脚本可以将谷歌音乐的的搜索结果显示到终端(支持关键词高亮和分页),选择某一歌曲的序号之后,脚本会获取该曲目的播放地址,并调用播放器播放,咔咔,就是这么简单

脚本运行需要uni2ascii这个包的支持,没有可以apt-get一下,播放器调用ubuntu自带的rhythmbox,可以根据情况修改

#使用方法
google_music.sh "周杰伦 花海"
Copy Code 

下载点这里

截图:

2009-8-23 13-43-01

screenshot:thunder on ubuntu

安装参考:

http://www.linuxdiyf.com/viewarticle.php?id=84561

http://www.linux-wiki.cn/index.php/Wine%E8%BF%85%E9%9B%B75%E6%88%96Gigaget

screenshot_006.jpg

screenshot_005.jpg

ubuntu8.10安装备忘(2)

安装vmware player

https://help.ubuntu.com/community/VMware/Player

——————————————————
copy了一份xp的虚拟机过来,打开时报错

Could not open virtual Machine: “Directory” Dictionary problem.

解决方法:删除目录下的xxx.vmsd文件

—————————————————–
同步虚拟机与ubuntu的hosts文件,方便测试

共享/etc目录给虚拟xp,在xp下面挂载网络驱动器
写一个”同步host.bat”

copy z:\hosts C:\WINDOWS\system32\drivers\etc\

安装yuidoc

sudo apt-get install python-setuptools
sudo apt-get install python-dev

sudo easy_install Pygments
sudo easy_install SimpleJSON
sudo easy_install Cheetah

ubuntu8.10安装备忘(1)

硬盘安装

http://ilovemac.cn/articles/play-with-hardy-install-hd.html

硬盘安装找不到分区

http://forum.ubuntu.org.cn/viewtopic.php?f=77&t=162170

添加更新源

http://datalinks.blog.sohu.com/80279400.html

中文输入法

http://wiki.ubuntu.org.cn/%E4%B8%AD%E6%96%87%E8%BE%93%E5%85%A5%E6%B3%95fcitx

apache无法访问fat分区(403error)

挂载时把uid指定为apacheuid