您的位置:首页 > 运维架构 > Linux

Linux Tips 之 Post-Installation Fine Tuning

2005-04-21 21:54 417 查看
Acroread 7:
Add XIM=xim to begining of acroread or it will conflict with SCIM (Fedora Core 3)

grep:
export GREP_OPTIONS='--color=always'
This environment variable is passed to "grep" as options.
GREP_COLOR will control the highlighting color being used.
NOTICE: running "man" with option "-k" depends on the behaviour of "grep" so this applies too. This may lead to some problems because "color code" is just inserted into the plain text, the output is indeed being changed. Try "man -k aio" and then "man -k aio | grep io_".

less:
Edit /etc/profile.d/less.sh, add line "export LESSCHARSET=utf-8" in order to make "less" display UTF-8 encoded Chinese text
The config file is FC3-dependent. /etc/profile might be a better place for a "portable" solution

RealPlay10:
Disable esd in gconf ; /desktop/gnome/sound/enable_esd (uncheck) or realplay will not start (Ubuntu Hoary 5.04)
RealPlay10 (by HellWolf)
在运行一次realplay后,编辑~/.realplayerrc,在[helix]部分添加:
代码:
[helix]
SoundDriver=2
...
该项指定realplayer使用alsa声音驱动,而不是oss驱动。

Xorg:
Edit /etc/X11/Xsessions, add line
. "$1/$F"
after line
echo "$1/$F"
in function run_parts()
otherwise configs in /etc/X11/Xsessions.d/* would not function properly (Ubuntu Hoary 5.04)
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息