您的位置:首页 > Web前端

Fedora 7下常用软件及字体的安装方法介绍

2007-09-22 15:21 561 查看
From: http://linux.ccidnet.com/art/3067/20070724/1154169_1.html
发布时间:2007.07.25 06:38 来源:赛迪网 作者:snake
给Fedora 7添加livna的yum仓库和多媒体软件包,freshrpm的更新太慢,我现在不用了
# wget http://rpm.livna.org/livna-release-7.rpm # rpm -ivh livna-release-7.rpm

安装多媒体解码器

# yum -y install gstreamer-plugins*
# yum install -y ffmpeg mjpegtools

安装多媒体播放器VLC

yum -y install videolan-client
执行
运用程序 -->影音-->VideoLan CLient
<现在的FC7下的livna的vlc包有问题,主要是dts的类库在libdca里被删除了,不知道为什么,大家再等等吧,也可以自己去网上下载vlc的源码进行编译>

安装多媒体播放器xmms

yum install xmms* -y
执行
应用程序-->影音-->音频播放器

安装多媒体播放器amarok

yum install -y amarok
执行
应用程序-->影音-->amarok

要支持mp3的话需要安装xine才可以,xine的支持见下面

安装多媒体播放器xine

yum install -y xine
执行
应用程序-->影音-->xine

按照下面的方法安装mplayer的codecs就可以支持win32codecs了

安装realplayer 10 gold for linux

首先确信安装了compat-libstdc++-33 ,如果没有用
yum -y install compat-libstdc++-33
到这里下载realplayer10
# wget http://www.real.com/realcom/R?href=...yer10GOLD%2Erpm # rpm -ivh RealPlayer10GOLD.rpm
执行
应用程序-->影音-->realplayer 10

安装mplayer for linux

还是建议有经验的用户用源码自己编译,这样比较灵活。这里只给初学者介绍yum的安装方法
yum install -y mplayer

安装mplayer for linux

还是建议有经验的用户用源码自己编译,这样比较灵活。这里只给初学者介绍yum的安装方法
yum install -y mplayer
之后需要下载w32codecs解码器
# wget http://www1.mplayerhq.hu/MPlayer/re...0061022.tar.bz2 # tar jxvf all-20061022.tar.bz2
# cd all-20061022
# mv * /usr/lib/codecs
ok 搞定

==========================================================

安装windows字体

复制你wndows的字体到Linux目录,windows字体通常存放在windows/Fonts或者winnt/Fonts目录下,你可以把整个目录复制到linux的/usr/share/fonts/目录下

重启x即可

如果想安装嵌入点阵字体的中文下载http://ftp.chinalinuxpub.com/fonts/linuxsong.tgz
解压缩到/usr/share/fonts/linuxsong目录下,重启x即可
之后把默认字体都设置成
系统-->首选项-->字体
除了等宽字体用Vera Sans YuanTi Mono外全部用Vera Sans YuanTi ,字体大小根据你实际显示效果调整,我通常设置成10号字体
======================================

安装多媒体播放器audacious

# yum install -y audacious
执行
应用程序-->影音-->Audacious

安装桌面录像程序istanbul

yum install -y istanbul
执行
应用程序-->影音-->Istanbul Desktop Session Recorder

评论:我用的很少,能用,但是很不稳定,经常crash,录像的质量很差,没仔细研究过,谁有时间研究一下

安装桌面录像程序byzanz

# yum -y install byzanz
执行byzanz-recod [参数] 文件名

给gnome的桌面右键菜单添加“打开终端”

yum install -y nautilus-open-terminal
退出重新登录x即可

在FC7上打开compiz特效

首先安装Nvdia或者Ati的3D驱动
nvidia现在的驱动不能驱动某些nv的卡,需要暂时用beta版本的
# wget http://us.download.nvidia.com/XFree....14.06-pkg1.run # chmod +x NVIDIA-Linux-x86-100.14.06-pkg1.run
# ./NVIDIA-Linux-x86-100.14.06-pkg1.run
之后修改你的/etc/X11/xorg.conf的内容为(记得先备份)
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder3) Wed Sep 20 16:56:19 PDT 2006
# Xorg configuration created by pyxf86config

Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
ModulePath "/usr/lib/xorg/modules/extensions/nvidia"
ModulePath "/usr/lib/xorg/modules"
EndSection

Section "Module"
SubSection "extmod"
Option "omit xfree86-dga" # don't initialise the DGA extension
EndSubSection
Load "glx"
EndSection

Section "InputDevice"

# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"### Comment all HorizSync and VertSync values to use DDC:
### Comment all HorizSync and VertSync values to use DDC:
### Comment all HorizSync and VertSync values to use DDC:
### Comment all HorizSync and VertSync values to use DDC:
### Comment all HorizSync and VertSync values to use DDC:
### Comment all HorizSync and VertSync values to use DDC:
### Comment all HorizSync and VertSync values to use DDC:
### Comment all HorizSync and VertSync values to use DDC:
### Comment all HorizSync and VertSync values to use DDC:
### Comment all HorizSync and VertSync values to use DDC:
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection

Section "Monitor"

Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
### Comment all HorizSync and VertSync values to use DDC:
HorizSync 30.0 - 110.0
VertRefresh 50.0 - 150.0
Option "DPMS"
EndSection

Section "Device"

# Enable 32-bit ARGB GLX Visuals
Identifier "Videocard0"
Driver "nvidia"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
Option "DisableGLXRootClipping" "True"
Option "AddARGBGLXVisuals" "True"
# Uncomment me if you get black screens with Compiz
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection

Section "Extensions"
Option "Composite" "Enable"
EndSection

执行 系统-->首选项-->Desktop Effects
然后点Enable Desktop Effects
如果不报错,重启x就可以看到特效了

FC7开启桌面特效后的快捷键

默认基本快捷键
* 打开主菜单 = Alt + F1 * 运行 = Alt + F2
* 显示桌面 = Ctrl + Alt + d
* 最小化当前窗口 = Alt + F9
* 最大化当前窗口 = Alt + F10
* 关闭当前窗口 = Alt + F4
* 截取全屏 = Print Screen
* 截取窗口 = Alt + Print Screen 默认特殊快捷键
* 窗口展示 = F12
* 切换窗口 = Alt + Tab
* 旋转3D桌面 = Ctrl + Alt + 左/右箭头(也可以把鼠标放在标题栏或桌面使用滚轮切换)
* 旋转3D桌面( 活动窗口跟随) = Ctrl + Shift + Alt + 左/右箭头
* 手动旋转3D桌面 = Ctrl + Alt + 左键单击并拖拽桌面空白处
* 窗口透明/不透明 = possible with the “transset” utility or Alt + 滚轮
* 放大一次 = 超级键 + 右击
* 手动放大 = 超级键 + 滚轮向上
* 手动缩小 = 超级键 + 滚轮向下
* 移动窗口 = Alt + 左键单击
* 移动窗口时贴住边框 = 左键开始拖动后再 Ctrl + Alt
* 调整窗口大小 = Alt + 中击 * Bring up the window below the top window = Alt + middle-click
* 动态效果减速 = Shift + F10
* 水纹 = 按住 Ctrl+超级键
* 雨点 = Shift-F9
* 桌面展开= Ctrl + Alt + 下箭头,然后按住 Ctrl + Alt 和左/右箭头选择桌面

在FC7上编译安装最新的MPlayer-1.0rc1

1 下载mplayer的源码包
wget http://www1.mplayerhq.hu/MPlayer/re...-1.0rc1.tar.bz2 2 解压缩
# tar jxvf MPlayer-1.0rc1.tar.bz2
3 编译
# cd MPlayer-1.0rc1
# ./configure --prefix=/usr/local/mplayer --with-codecsdir=/usr/lib/codecs --enable-gui --language=zh_CN ;make;make install
4 下载皮肤和字体并安装
# wget http://www.mplayerhq.hu/MPlayer/ski...yer-1.1.tar.bz2 # wget http://www.mplayerhq.hu/MPlayer/con...12-ming.tar.bz2 # tar jxvf DVDPlayer-1.1.tar.bz2
# tar jxvf gb2312-ming.tar.bz2
# cd gb2312-ming/gbsn00lp16
# cp * /usr/local/mplayer/share/mplayer/font/
# cd ../..
# mkdir /usr/local/mplayer/share/mplayer/skins/default ; cp -a DVDPlayer/* /usr/local/mplayer/share/mplayer/skins/default
5 下载解码器
wget http://www1.mplayerhq.hu/MPlayer/re...0061022.tar.bz2 解压缩后将全部解码器复制到/usr/lib/codecs目录下

安装xlock,一个root可用screen lock

在gnome下如果用root登录x,那么默认的screen lock是无法锁住桌面的,我们可以使用xlock来完成这个任务
yum install -y xlockmore

FC7下安装adobe pdf reader

虽然FC7下带了很多免费的pdf浏览器,但是我想没有哪个功能上可以和adobe相比了
wget http://ardownload.adobe.com/pub/ado....0.8-1.i386.rpm rpm -ivh AdobeReader_chs-7.0.8-1.i386.rpm

执行 打开
/usr/local/Adobe/Acrobat7.0/bin/acroread
找到这行
echo $mfile| sed 's/libgtk-x11-/([0-9]*/).0.so.0./([0-9]/)00./([0-9]*/)/|/(.*/)//1/2/3/g'
替换成
echo $mfile| sed 's/libgtk-x11-/([0-9]*/).0.so.0./([0-9]*/)00./([0-9]*/)/|/(.*/)//1/2/3/g'
应用程序-->图像-->Adobe Reader

安装jre运行环境

到http://www.java.com/zh_CN/download/manual.jsp 下载Linux RPM(自解压文件)
# chmod +x jre-6u1-linux-i586-rpm.bin
# ./jre-6u1-linux-i586-rpm.bin
# rpm -ivh jre-6u1-linux-i586-rpm.bin
# cd ~/.mozilla/plugins
# ln -sf /usr/java/latest/plugin/i386/ns7/libjavaplugin_oji.so .
# cd /etc/profile.d
# vi jre.sh
export JAVA_HOME=/usr/java/latest
export JAVA_BIN=$JAVA_HOME/bin
export CLASSPATH=$CLASSPATH:$JAVA_HOME:$JAVA_HOME/lib
export PATH=$JAVA_BIN:$PATH

alternatives --install /usr/bin/java java /usr/java/jre1.5.0_09/bin/java 2
[root@localhost profile.d]# alternatives --config java

共有 2 个程序提供“java”。

选择 命令
-----------------------------------------------
*+ 1 /usr/lib/jvm/jre-1.4.2-gcj/bin/java
2 /usr/java/latest/bin/java

按 Enter 来保存当前选择[+],或键入选择号码:2

安装BT客户端Azureus 2.5.0.4

参考上面的帖子安装jre,然后执行
# wget http://torrents.aelitis.com:88/file...4_linux.tar.bz2 # tar jxvf Azureus_2.5.0.4_linux.tar.bz2
# mv azureus /usr/local
# cd /usr/local/azureus/
# ./azureus

fc7下安装电骡

yum install -y amule
执行
应用 程序-->Internet-->Amule

替换FC6默认的中文输入法为fcitx

2 个附件
下载附件http://www.chinalinuxpub.com/down.php?downid=10
# rpmbuild --rebuild fcitx-3.5-070112.src.rpm
# cd /usr/src/redhat/RPMS/i386
# rpm -ivh fcitx-3.5-070112.i386.rpm
创建/etc/X11/xinit/xinput.d/fcitx
# /etc/X11/xinit/xinput.d/fcitx
XIM=fcitx
XIM_PROGRAM=fcitx
gnome-im-settings-daemon >/dev/null

# alternatives –install /etc/X11/xinit/xinputrc xinputrc /etc/X11/xinit/xinput.d/fcitx 100
# alternatives --config xinputrc

共有 4 个程序提供“xinputrc”。

选择 命令
-----------------------------------------------
1 /etc/X11/xinit/xinput.d/none.conf
2 /etc/X11/xinit/xinput.d/xim.conf
3 /etc/X11/xinit/xinput.d/scim.conf
*+ 4 /etc/X11/xinit/xinput.d/fcitx

按 Enter 来保存当前选择[+],或键入选择号码:4

重启x即可
附件config.tgz是我自己的配置文件,如果需要下载后解压缩,覆盖到~/.fcitx目录下

用livna的totem-xine替换fc6自带的totem

首先卸载系统自带的totem,如果按照上面的帖子安装了其他一些播放器可能会存在依赖关系,把所有和totem有关的包全部卸载掉,例如
# rpm -e totem totem-mozplugin totem-plparser
之后执行
# yum install totem-xine* -y
两个totem的执行文件都是totem但是后者的兼容性要好的多,可以播放vcd dvd mp3 wmv rm 呵呵赶紧试试吧。当然了记得参考上面的帖子,把解码器放在/usr/lib/codecs目录下哦。

比compiz更炫的主题beryl

执行yum install aquamarine bdock beryl-core beryl-dbus beryl-manager beryl-plugins beryl-settings beryl-vidcap emerald emerald-themes heliodor

配置:
系统-->首选项-->更多首选项-->Emerald Theme Manager
系统-->首选项-->更多首选项-->Beryl Setting Manager
启动
beryl-manager

(责任编辑:凌云通)
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: