摘要: 配置文件为:~/.config/usr-dirs.dirs(阅读此文件内容以获得更多信息)我现在的文件内容为:# This file is written by xdg-user-dirs-update# If you want to change or add directories, just edit the line you're# interested in. All local changes will be retained on the next run# Format is XDG_xxx_DIR="$HOME/yyy", where yyy is 阅读全文
posted @ 2011-05-22 17:45 UniMouS 阅读(1393) 评论(0) 推荐(0) 编辑
摘要: 如题,64位的Ubuntu 11.04如何安装flash palyer:sudo add-apt-repository ppa:sevenmachines/flashsudo apt-get updatesudo apt-get install flashplugin64-installer参考:http://sushubh.net/4130-adobe-flash-player 阅读全文
posted @ 2011-05-21 01:26 UniMouS 阅读(1293) 评论(0) 推荐(1) 编辑
摘要: 一、关于ls命令每次使用ls -l来查看文件大小的时候都会十分的郁闷,因为全部是以字节为单位的,如下:$ ls -ltotal 1872-rw-r--r-- 1 unimous unimous 1282497 May 17 23:32 10.1.1.72.7974.pdf-rw-r--r-- 1 unimous unimous 626075 May 17 23:32 stockman.pdf-rw-r--r-- 1 unimous unimous 10 May 17 23:32 testfile只要加上-h参数就可以解决这个问题,如下:$ ls -lhtotal 1.9M-rw-r--r-- 阅读全文
posted @ 2011-05-17 23:49 UniMouS 阅读(3453) 评论(0) 推荐(0) 编辑
摘要: 我发现了一种设置终端仿真器窗口默认大小和位置的方法。(一)原理:Ubuntu下的终端仿真器默认为:gnome-terminal,通过执行gnome-terminal命令,即可打开终端仿真器。它的--geometry参数用来修改启动的行列数与窗口坐标。执行:$ gnome-terminal --help-window-optionsUsage: gnome-terminal [OPTION...]Window options; if used before the first --window or --tab argument, sets the default for all windows 阅读全文
posted @ 2011-05-17 22:51 UniMouS 阅读(3259) 评论(0) 推荐(0) 编辑
摘要: 执行代码:sudo vi /usr/share/vte/termcap/xterm找到::co#80:it#8:li#24:\更改80(列数)和24(行数)即可我将我的改为了::co#90:it#8:li#46:\(注:至于为什么,容我以后慢慢研究) 阅读全文
posted @ 2011-05-17 17:59 UniMouS 阅读(3009) 评论(0) 推荐(0) 编辑
摘要: diff:比较两个文件diff(difference)实用工具用来对两个文件进行比较,显示两者所有的不同之处,但并不改变任何一个文件的内容。这对比较两封信、两个报告或程序源代码的两个版本很有帮助。diff实用工具带上-u(unified output format,统一输出格式)选项后,执行结果将首先说明要比较的两个文件,其中一个用正号(+)表示,另一个用负号(-)表示。如图所示,负号代表文件color.1,正号代表文件color.2。$ cat color.1redgreenyellowpinkpurpleorange$ cat color.2redbluegreenyelloworange 阅读全文
posted @ 2011-03-02 14:18 UniMouS 阅读(4250) 评论(0) 推荐(0) 编辑
摘要: 系统:Ubuntu 10.10 64-bit1. Virtualbox的安装:首先将以下语句添加到/etc/apt/sources.listdeb http://download.virtualbox.org/virtualbox/debian maverick contrib然后输入命令:sudo apt-key add oracle_vbox.ascsudo apt-get updatesudo apt-get install virtualbox-4.02. 解决不能使用USB设备的方法:首先下载安装Oracle VM VirtualBox Extension Pack;然后点击菜单&q 阅读全文
posted @ 2011-02-15 23:32 UniMouS 阅读(1590) 评论(0) 推荐(0) 编辑
摘要: from: http://tombuntu.com/index.php/2008/02/15/open-rar-archives-in-ubuntu/Downloaded a file compressed in the RAR format and found that Archive Manager couldn’t open it? RAR support can’t be included in Ubuntu by default because it’s proprietary, but installing it is simple. There are two options f 阅读全文
posted @ 2011-02-14 13:26 UniMouS 阅读(527) 评论(0) 推荐(0) 编辑
摘要: 1. /opt 目录1. 第一印象:/opt目录是用来安装linux发行版本自带的软件之外的第三方软件的,就如同windows操作系统中的X:\Program Files文件夹一样。根据FHS标准规定,所有的第三方软件都必须安装在/opt目录中。2. Attention:并不是第三方软件的所有文件都全部放在/opt目录中,软件中的静态文件(如字体文件、剪贴画文件、数据库文件等)应存放在/opt目录中,可变文件应存放在/var/opt目录中,与主机配置相关的文件应存放在/etc/opt目录中。除了/opt,/var/opt,/etc/opt这三个地方,第三方软件的文件一般不应该放在别的地方,但是 阅读全文
posted @ 2011-01-18 21:11 UniMouS 阅读(2388) 评论(3) 推荐(0) 编辑
摘要: 2011年考研历程2011年01月15日 星期六 08:30-11:30 政治 - 乱吹;2011年01月15日 星期六 14:00-17:00 英语 - 瞎蒙;2011年01月16日 星期日 08:30-11:30 数学 - 不会;2011年01月16日 星期日 14:00-17:00 计算机综合 - 哎,终于来了一门我感觉考的好点的……看来今年没戏了……2011年01月17日 星期一 奔波了一天,下午终于回到了可爱的家。终于可以上上那稍微好一点的中国电信ADSL了,不必在忍受可恶的校园网了。收拾了下我的小桌子,便在这写下了这篇流水帐似的随笔。决定再战一年,希望明年能再重新写出一份风格完全不 阅读全文
posted @ 2011-01-17 23:32 UniMouS 阅读(279) 评论(3) 推荐(0) 编辑
摘要: 谨以此片文章献给我最近申请的这个博客:http://www.cnblogs.com/unimous/.试试看博客的代码高亮显示#include <stdio.h> void main() { printf( "Hello World\n" ); }#include <stdio.h> void main() { printf( "Hello World\n" ); }#include <stdio.h> void main() { printf( "Hello World\n" ); }#inclu 阅读全文
posted @ 2011-01-12 14:43 UniMouS 阅读(394) 评论(0) 推荐(0) 编辑
摘要: 经历了长期的徘徊,忽然看到了一个同学在好久之前给我发的一封邮件里提到了博客园,于是便进来了,发现……这里是我目前见过的最好的博客网站了……虽然来到这里晚了点,希望这里能够留下我的脚步。也祝愿博客园能够越办越好! 阅读全文
posted @ 2011-01-12 14:19 UniMouS 阅读(140) 评论(0) 推荐(1) 编辑

版权所有 © 2011-2012 方一曙

Copyright © 2011-2012 Fang Yishu (UniMouS)