百度空间 | 百度首页 
 
文章列表
 
您正在查看 "linux idiot(日常)" 分类下的文章

2009-07-13 15:34
一、      对vim配置文件的编辑:
:scriptnames   发现配置文件的位置
:edit ~/.vimrc 编辑该配置文件
vim说明文件的阅读:
CTRL-] 跳转到当前光标所在单词对应的主题
CTRL-O 回到前一个位置
复制一个样板vimrc文件(unix):
:!cp -i $VIMRUNTIME/vimrc_example.vim ~/.vimrc
复制一个样板vimrc文件:
:set compatible?
查看vim配置文件的所在位置:
:scriptnames 或 :version
拷贝vimtutor,并重命名:
vim -u NONE -c `e $VIMRUNTIME/tu
类别:linux idiot(日常) | 评论(1) | 浏览()
 
2008-12-05 14:23
1. 中文字体:
(1)先把系统按照以前kde3/gnome的安装方式,装上中文环境和字体,wqy自动被安装。可以搜搜其他帖子。
(2)修改/etc/fonts/conf.d/ 中的三个文件:
主要是:WenQuanYi Bitmap Song 放在适当位置。

29-language-selector-zh.conf
<fontconfig>

    <match target="font" >
        <test name="family" compare="contains" >
         
类别:linux idiot(日常) | 评论(0) | 浏览()
 
2008-12-03 10:37
xrandr --output VGA --mode 1024x768 --output LVDS --auto
这是从笔记本切换到VGA端口的,
可以用xrandr来看到你有那些端口接了显示器,

其中:
--output VGA --mode 1024x768
指定vga端口的分辨率位1024x768

--ouput LVDS --auto
指定LVDS端口的分辨率为自动调节

需要根据xrandr的结果来适当替换VGA和LVDS,以及你需要的分辨率。

如果是intel的显卡,用这个命令是可以即插即用的,不用注销X。
类别:linux idiot(日常) | 评论(0) | 浏览()
 
2008-11-21 16:08
文中提到的 Flash.ocx gdi32.dll.so 在我机器本地。没有的话,从ubuntu中文论坛wine版置顶中下。

1. 安装wine
USE="alsa dbus jpeg oss xml" emerge -av wine

2. winecfg配置wine
运行winecfg,它自己会配置很多。我就把里面声音那个选了alsa。

3. 中文字体支持:
(1) 设置中文字体:
把下面的代码体保存为zh.reg,然后终端执行regedit zh.reg。从Windows目录下的Fonts里的simsun.ttc复制到/home/user/.wine/drive_c/windows/fonts里面。
代码:
REGEDIT4

[HKEY
类别:linux idiot(日常) | 评论(0) | 浏览()
 
2008-11-18 21:55
说明:在 gentoo 上,安装cdrkit 可以安装好 cdrecord .

先简单说下刻录:
用法 cdrecord dev=/dev/cdrw   /mnt/w_d/ubuntu.iso 即可!
其中 /dev/cdrw 是你的刻录设备名。

------------------------------------------------------------------------------------------
下面转载 对 cdrecord 和 mkisofs 的更多介绍:

如何在Linux下刻录数据光盘
在Linux下实现光盘刻录的软件最 著名的工具是cdrecord。我们重点说明cdrecord,mkisofs的用法,以用如何配置SCSI与IDE设备。许
类别:linux idiot(日常) | 评论(0) | 浏览()
 
2008-08-05 17:54

三、其他配置:
1.
关于USE的经验:
出现xx问题,常常是由于编译其依赖的东西时,某个USE没有设。而USE是啥呢,每个软件包都有USE标志,可以通过emerge
-pv package
查看所有的USE标志。

类别:linux idiot(日常) | 评论(0) | 浏览()
 
2008-08-05 17:53

Gentoo Handbook Notes: (Only Important Notes & for Bakeup)

一、Installing Gentoo
1.
设置代理:

export ftp_proxy="http://xxx:xxx@proxy.bupt.edu.cn:8080"
export http_proxy="http://xxx:xxx@proxy.bupt.edu.cn:8080

类别:linux idiot(日常) | 评论(0) | 浏览()
 
2008-06-05 13:32
一、源的配置:
在 /etc/pacman.conf 中写上如下:(里面列出了四个源,sjtu的那个源是我现在用的,其他的被注释掉了)。
然后 pacman -Sy 同步软件列表等信息。 pacman -Su 升级。
#
# REPOSITORIES
#   - can be defined here or included from another file
#   - pacman will search repositories in the order defined here.
#   - local/custom mirrors can be added here or in separate files
#

[current]
#Server = http://mirror.bjtu.edu
类别:linux idiot(日常) | 评论(0) | 浏览()
 
2008-06-03 18:05
1. conky
这个在桌面上透明的显示各种系统信息,很cool
将文档中那个包解压,将.fonts/中的.conkyrc 放于家目录下,将.fonts也放于家目录下。
安装你的发行版的conky,然后运行之就OK了。
类别:linux idiot(日常) | 评论(0) | 浏览()
 
2008-05-07 14:12

1. 包管理器必备命令: apt-... +   dpkg

Debian is one of the earliest Linux distribution around. It caught the public's fancy because of the ease of installing and uninstalling applications on it. When many other linux distributions were

类别:linux idiot(日常) | 评论(0) | 浏览()
 
     
 
 
文章分类
 
     
 
文章存档
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
     
 
最新文章评论
   

呵呵,看了受益匪浅~谢谢
 

谢谢,受益匪浅!
 
 

这个插件在哪下载呢?Q33362028
 
     


©2009 Baidu