存档

文章标签 ‘ubuntu’

Chrome已发布Linux下测试版

2010年3月9日 没有评论

Google已经发布了Linux平台的Chrome浏览器,用户可以从http://www.google.com/chrome?platform=linux&hl=zh-CN下载安装。目前是测试版,适用于 Linux(Debian/Ubuntu/Fedora/openSUSE).

chrome

Linux版Chrome默认使用AR PL UKai CN字体,挺好看的

喜欢Chrome的理由正如Google自己说的那样:

高速:程序启动快,载入网页快
简单:高效、易用性的设计

阅读全文…

分类: 程序人生 标签: , , ,

【转】Ubuntu设置固定ip

2010年3月5日 没有评论

首先设置IP

sudo gedit /etc/network/interfaces

将其内容删除

加上一下内容

auto lo

iface lo inet loopback

auto etho

iface etho inet static

阅读全文…

分类: 程序人生 标签: ,

vim打开文件结尾输出^M解决方法及Ubuntu安装dos2unix方法

2010年1月15日 1 条评论

Ubuntu系统打开Windows下生成的文本文件,会在每行的末尾出现’^M’

原因就是Windows和Linux的回车符是不同的

在Windows下回车符是\r\n回车换行

在Linux下回车符是\n

最简单、最常用的解决方法是使用dos2unix命令转换:dos2unix filename

Ubuntu下dos2unix和unix2dos命令在tofrodos包中

安装:apt-get install tofrodos

分类: 编程技术 标签: , ,

ubuntu firefox flash乱码解决方法

2009年10月19日 没有评论

打开etc/fonts/conf.d/49-sansserif.conf,改成下面的就好了。
<fontconfig>
<!–

If the font still has no generic name, add sans-serif

–>

<match target=”pattern”>
<test qual=”all” name=”family” compare=”not_eq”>
<string>文泉驿正黑</string>
</test>
<test qual=”all” name=”family” compare=”not_eq”>
<string>文泉驿正黑</string>
</test>

<test qual=”all” name=”family” compare=”not_eq”>
<string>monospace</string>
</test>

<edit name=”family” mode=”append_last”>
<string>文泉驿正黑</string>
</edit>
</match>
</fontconfig>

ubuntu终端设置ll别名(alias)及不同文件显示不同颜色

2009年10月19日 没有评论

1,在redhat系统中可以方便的使用ll列出文件及目录的详细信息,但是ubuntu并没有这个命令,需要使用ls -l来列出详细视图。
2,ls列出的文件应该是不同颜色显示的,但是我的终端上都是一样的颜色,不知道怎么回事,需要ls –color=auto才可以。
我们可以使用alias别名来定义ll命令实现这一功能。
方法为:
编辑~/.bashrc,添加:

阅读全文…

分类: 默认分类 标签: ,