由于3还没写完,所以不好再往下编,但是总有软件安装要记录的,所以先放这里吧……
星际译王:
安装包:stardict
牛津字典:stardict-oxford-gb
其他未被Ubuntu收录的词典下载地址:http://stardict.sourceforge.net/Dictionaries.php
安装驱动
sudo lrm-manager
安装驱动
代码:
sudo apt-get update
sudo apt-get install linux-restricted-modules-$(uname -r)
sudo apt-get install xorg-driver-fglrx fglrx-control
sudo apt-get install xserver-xgl
sudo depmod -a
配置驱动
sudo dpkg-reconfigure xserver-xorg
在选择驱动时,选择fglrx。 或者用
sudo aticonfig --initial -f
以上方法只能两者择一。LCD显示器的推荐用第二种。 然后
sudo aticonfig --ovt=Xv
并且
sudo gedit /etc/X11/xorg.conf
添加两段
Section "Extensions"
Option "Composite" "Enable"
EndSection
Section "ServerFlags"
Option "AIGLX" "off"
EndSection
注意,上面这一段非常重要 重启系统 确认是否正常运行
fglrxinfo
display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: RADEON 9600 Generic
OpenGL version string: 2.0.6011 (8.28.8)
安装Mplayer
sudo apt-get install mplayer-fonts mplayer mplayer-skins mozilla-mplayer
linux 下mplayer 中文字幕配置
修改 ~/.mplayer/config
# Write your default config options here!
# 视频输出以xv模式,启用视频加速
vo=xv
# 字幕字体文件
font = /usr/share/fonts/zh_CN/TrueType/hei.ttf
# 字幕编码 (使用TTF字体时使用)
subcp = cp936
# 0 不自动缩放; 1 按电影高度缩放; 2 按宽度; 3 按对角线
subfont-autoscale = 2
# 字幕字体大小
subfont-text-scale = 4
# 设置OSD元素的自动绽放系数
subfont-osd-scale = 6
font=/home/simsun.ttf
subcp=cp936
subfont-autoscale=1 #这是控制自动装载字幕的,2和0都是不自动
subfont-text-scale=7#字体大小
有时侯用命令行的没有字幕,可以试一试快捷键“v”,和 “b”
用GUI时,还要在GUI设置中指定相应字体,字体编码用Unicode,字幕编码用GB2312,或者修改~/.mplayer/gui.conf:
sub_auto_load = "yes"
sub_cp = "cp936"
font_name = "/usr/share/fonts/wenquanyi/wqy-zenhei/wqy-zenhei.ttf"
font_encoding = "unicode"
解决无法从nautilus中打开文件的问题:
编辑 /usr/share/applications/mplayer.desktop
找到这句
Exec=gmplayer %U
修改成
Exec=gmplayer %f
或者将%U去掉
保存退出
解决gFTP乱码
修改/usr/bin/gftp:
sudo gedit /usr/bin/gftp
在#!/bin/sh之后另起一行,加上
export LANG=zh_CN
保存
执行:
sudo locale-gen zh_CN
fcitx
SCIM不好用,改fcitx, 安装:
sudo apt-get install im-switch fcitx
sudo im-switch -s fcitx -z default
im-switch -s fcitx -z default #注意:不加sudo
完成设置最好重启一下X,输入法就生效了
某些情况下可能,在安装了fcitx输入法以後可能会出现和SCIM并存的问题,解决方法如下:
sudo gedit /usr/lib/gtk-2.0/2.10.0/immodule-files.d/scim-gtk2-immodule.immodules
将内容改为如下:
# automatically generated by dh_gtkmodules, do not edit
“/usr/lib/gtk-2.0/2.10.0/immodules/im-scim.so”
“scim” “SCIM Input Method” “scim” “/usr/share/locale” “ja:ko”
#就是将最後一行中的"ja:ko:zh"修改为"ja:ko",这样修改以後,scim在中文环境下将不被启动
修改配置,配置文件为:~/.fcitx/config
gedit ~/.fcitx/config
修改热键,变成和极点一样用右Shift切换中英文状态:
中英文快速切换键=R_SHIFT
第二三候选词选择键=L_CTRL#原本为SHIFT,为了避免和R_SHIFT冲突而改
主窗口隐藏模式=1#输入法关闭时隐藏输入条
是否自动隐藏输入条=1#没有输入时隐藏候选窗口
首次显示输入条=0
保存后在输入法开启时按Ctrl F5即可生效
如此一来就很好用了
修改Locale
1.编辑/var/lib/locales/supported.d/*
格式参考 /usr/share/i18n/SUPPORTED
sudo gedit /var/lib/locales/supported.d/local
sudo gedit /var/lib/locales/supported.d/zh
如:
zh_CN.UTF-8 UTF-8
en_US.UTF-8 UTF-8
zh_CN.GBK GBK
2.生成locale(自动保存在/usr/lib/locale/中)
sudo locale-gen
3.修改locale
vi /etc/environment
把
LANG="zh_CN.UTF-8"
改成
LANG="zh_CN.GBK"
4.重新启动或切换下运行级别,查看locale
root@1006:~# locale
5.登陆界面的选项里
默认语言也要相应改选成 zh_CN.GBK,这样ubuntu就完全被中文化了。
locale-gen zh_CN.GBK也可生成
fcitx的配置中也要把编码改成GBK(由于fcitx不支持GB18030,所以只有用GBK了)...
在Nautilus中添加右键启动终端功能
cp /usr/bin/gnome-terminal ~/.gnome2/nautilus-scripts/
解决WINE的乱码问题
建立文件wine.reg,输入以下内容:
REGEDIT4
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\FontSubstitutes]
"Arial"="WenQuanYi Zhenhei"
"Arial CE,238"="WenQuanYi Zhenhei"
"Arial CYR,204"="WenQuanYi Zhenhei"
"Arial Greek,161"="WenQuanYi Zhenhei"
"Arial TUR,162"="WenQuanYi Zhenhei"
"Courier New"="WenQuanYi Zhenhei"
"Courier New CE,238"="WenQuanYi Zhenhei"
"Courier New CYR,204"="WenQuanYi Zhenhei"
"Courier New Greek,161"="WenQuanYi Zhenhei"
"Courier New TUR,162"="WenQuanYi Zhenhei"
"FixedSys"="WenQuanYi Zhenhei"
"Helv"="WenQuanYi Zhenhei"
"Helvetica"="WenQuanYi Zhenhei"
"MS Sans Serif"="WenQuanYi Zhenhei"
"MS Shell Dlg"="WenQuanYi Zhenhei"
"MS Shell Dlg 2"="WenQuanYi Zhenhei"
"System"="WenQuanYi Zhenhei"
"Tahoma"="WenQuanYi Zhenhei"
"Times"="WenQuanYi Zhenhei"
"Times New Roman CE,238"="WenQuanYi Zhenhei"
"Times New Roman CYR,204"="WenQuanYi Zhenhei"
"Times New Roman Greek,161"="WenQuanYi Zhenhei"
"Times New Roman TUR,162"="WenQuanYi Zhenhei"
"Tms Rmn"="WenQuanYi Zhenhei"
然后执行如下命令:
Aug 04, 2022 01:32:01 AM
We all know how trustworthy Maruti service is and there are millions of cars that are sold by this company not just in India but all across the world which makes them more reliable. At the same time, as a company they also have their own Insurance for every car they sell and put on the road for travel. Maruti Insurance Renewal Even if you don’t have a car from their company you can still buy Insurance policy for your vehicle. It is towards Maruti Insurance Renewal in online from Brooking service providing no claim bonus on policies. All good things come to an end at one point. It is the same for Insurance for any vehicle that you buy from any vendor or Insurance service provider.
Sep 08, 2022 06:25:56 PM
Chhattisgarh State Department of School Education (Elementary Level Primary Education) and other private school teaching staff of the state have designed and suggested CG Board 4th Class Model Paper 2023 with sample answers along with Mock Test and Practice Questions for Term1 & Term 2 Exams of the Course to All Languages and Subjects. CG Board Model Paper Class 4 Every 4th Standard Student of SCERT & NCERT Syllabus Studying in Government or Private schools of Hindi Medium, English Medium and Urdu Medium can download and practice the CGBSE STD-4 Question Paper 2023 Pdf for Part-A, Part-B, Part-C and Part-D exam.