手机版
你好,游客 登录 注册 搜索
背景:
阅读新闻

Kubuntu 8.04.1配置

[日期:2008-10-06] 来源:Linux公社  作者:Linux [字体:大 中 小]

4.安装文件管理器krusader
  apt-get install krusader
当然Kde自带的文件管理器Dolphin也不错,不过krusader是双栏的

5.安装电影播放器
(1)mplayer

sudo apt-get install smplayer smplayer-themes mplayer-nogui
下载win32codecs
解压后移动到/usr/lib/win32下面

(2)realplayer
直接去官网下载安装,安装比较简单

6.安装音乐播放器

kde自带了amarok播放器
到http://www.kde-apps.org/content/show.php/lrcShow-II?content=71983
下载其歌词插件
如果出现中文mp3标签乱码的现象,则按如下方式解决:

安装Python-mutagen
音乐目录下:sudo find . -iname "*.mp3" -execdir mid3iconv -e GBK {} \;

7.安装编译工具
sudo apt-get install build-essential autoconf automake1.9 cvs subversion

8.安装ftp工具
sudo filezilla
支持sftp,并且还能修编码方式

9.安装飞鸽传书
http://code.google.com/p/qipmsg/downloads/list
下载qipmsg软件包安装即可

10.安装聊天工具pidgin
去http://cnpidgin.cn/download.html下载
三个deb文件(pidgin,pidgin-data,libpurple0)
dpkg -i 安装,提示缺一些库,根据提示安装即可

11.安装飞信
http://www.libfetion.cn/Linux_demoapp_download.html
Ubuntu scim 无法输入中文:
安装: scim-bridge-client-qt4

12.安装wine
(1)http://www.winehq.org/site/download下载
open a terminal window:
$wget -q http://wine.budgetdedicated.com/apt/387EE263.gpg -O- | sudo apt-key add -
For Ubuntu Hardy (8.04):
$sudo wget http://wine.budgetdedicated.com/apt/sources.list.d/hardy.list -O /etc/apt/sources.list.d/winehq.list

Then update APT's package information by running 'sudo apt-get update'.

If you are using Ubuntu, you can now install Wine by clicking this link. Alternatively, you can install by going to Applications->Add/Remove and searching for Wine.

(2)下载wine的辅助工具
A. winetricks
http://www.kegel.com/wine/winetricks

Also, some winetricks "packages" require the cabextract tool to be installed. The cabextract tool is for extracting Microsoft cabinet files, also called .CAB files. Linux users can usually get it via their distribution's package management system, or visit http://www.cabextract.org.uk/ to download.

Using winetricks:
$sh winetricks

相关的介绍见:http://wiki.winehq.org/winetricks

然后可以用wine装一些win下的应用程序了
(3)安装win下的应用程序
可以比较顺利的装上qq2008,Source Insight以及office 2003
wine出来的迅雷用起来还是有点问题

13.字体
可以将XP下的字体拷贝到linux下面使用
    * 拷贝3个字体文件(simsun.ttc tahoma.ttf tahomabd.ttf)到

/usr/share/fonts/zh_CN/TrueType/目录
命令:

sudo mkdir -p /usr/share/fonts/zh_CN/TrueType/
sudo cp /media/hda1/windows/fonts/simsun.ttc /usr/share/fonts/zh_CN/TrueType/
sudo cp /media/hda1/windows/fonts/tahoma.ttf /usr/share/fonts/zh_CN/TrueType/
sudo cp /media/hda1/windows/fonts/tahomabd.ttf /usr/share/fonts/zh_CN/TrueType/
sudo chmod 644 /usr/share/fonts/zh_CN/TrueType/*
cd /usr/share/fonts/zh_CN/TrueType/
sudo mkfontscale
sudo mkfontdir

    * 更新linux字体列表,命令:

sudo fc-cache /usr/share/fonts/zh_CN/TrueType/

注:wqy字体已经能够凑和了

14.VIM
安装vim-full
将code_complete.vim插件放在~/.vim/plugin目录下
在~下新建一文件.vimrc,内容是:

au BufRead,BufNewFile *.py,*.pyw,*.c,*.h set shiftwidth=4
au BufRead,BufNewFile *.py,*.pyw,*.c,*.h set softtabstop=4
au BufRead,BufNewFile *.py,*.pyw,*.c,*.h set tabstop=4
au BufRead,BufNewFile *.py,*.pyw set expandtab
au BufRead,BufNewFile *.c,*.h set noexpandtab
au BufRead,BufNewFile Makefile* set noexpandtab
highlight BadWhitespace ctermbg=red guibg=red
au BufRead,BufNewFile *.py,*.pyw match BadWhitespace /^\t\+/
au BufRead,BufNewFile *.py,*.pyw,*.c,*.h set textwidth=79
au BufNewFile *.py,*.pyw,*.c,*.h set fileformat=unix

syntax enable
autocmd bufnewfile *.py call setline(1,'#! /usr/bin/env python') |
    \ call setline(2,'# -*- coding: utf-8 -*-') |
    \ call setline(3,'') |
    \ call setline(4,'') |
    \ call setline(5,'') |
    \ exe "normal G"

autocmd bufnewfile *.sh call setline(1,'#!/bin/bash') |
    \ call setline(2,'') |
    \ exe "normal G"

linux
相关资讯       Kubuntu  Ubuntu教程 
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款