debian常规设置

安装kde:
#apt-get install kde

To install KDE later, first make sure that tasksel and aptitude are installed:
#apt-get install aptitude tasksel

Then, install the kde-desktop task:
#aptitude --without-recommends  install ~t^standard$ ~t^desktop$ ~t^kde-desktop$


安装中文
# apt-get install kde-i18n-zh*

安装ibus:
#apt-get install ibus  ibus-pinyin



安装sudo:
#apt-get install sudo
#vim /etc/sudoers
在root    ALL=(ALL) ALL  下
添加一行   tony    ALL=(ALL) ALL

安装网络小图标:
#apt-get install knetworkmanager

无线设置:
安装完kde桌面后,是不能像gnome桌面那样自动连接无线网络的.首先安装  sudo apt-get install knetworkmanager,然后进行配置一下.
系统设置--->(在常规里面点)网络设置--->网络管理--->无线--->添加--->先选择 connect automatically,然后点scan--->如果你觉得树状图不好看,可以在view那项里面选择细节(默认是map).最后从列表里面找到你要连接的无线网络并连接它吧.(注意保存啊,否则下次重启机器你就又得重新设置了)

安装chkconfig
#apt-get install chkconfig

安装gcc:
#apt-get install gcc

安装make:
#apt-get install make

关掉一些tty:
#vim /etc/inittab
注释掉不需要的tty,就可以了。

添加一些新的菜单项,和设置快捷键:
点击左下角掉kde图标,右击,选择菜单编辑器,在里面都可以进行设置。

安装flash-player:
1. 下载install_flash_player_10_linux.tar.gz
2. 解压缩
3. $cp libflashplayer.so ~/.mozilla/plugins/
4. 可能需要加可执行权限

安装amarok(音乐播放器):
Amarok can be installed by installing the amarok package. For example, using apt-get:
apt-get install amarok
Amarok plays media via Phonon multimedia framework. You can choose either VLC, Xine or GStreamer Phonon backend. VLC backend 0.3.1 or later version is currently recommended (testing/unstable only) . In case of problems, try all backends to see which works best for you.
VLC
apt-get install phonon-backend-vlc
Xine
apt-get install phonon-backend-xine
GStreamer
apt-get install phonon-backend-gstreamer
To enable MP3 support, see MP3 on Debian.
Installing MP3 support on Debian Lenny (stable)
Xine
You will need to install "libxine1-ffmpeg"
sudo apt-get install libxine1-ffmpeg
GStreamer
sudo apt-get install gstreamer0.10-plugins-ugly
This should be applicable to Debian testing and unstable as well.

解决浏览器中没有声音:
$sudo apt-get remove pulseaudio --purge
删除pulseaudio就不会出现声卡独占现象了
sudo apt-get install linux-headers-<"version">
uname -r 查看当前内核版本,或者ls /boot看看有哪些内核。
(我也不知道究竟是第一个方法发生了效果,还是第二个方法发生了效果,反正我两个都做后,重启才起作用,估计是第一个吧。)

修改/etc/environment:
add:
if [ `tty | grep tty` ]; then
     export LANG="en_US.UTF-8"
else
     export LANG="zh_CN.UTF-8"
fi

安装chkconfig:
$sudo apt-get install chkconfig

猜你喜欢

转载自greybeard.iteye.com/blog/1148993
今日推荐