Ubuntu 7.10 从0开始 - 基本配置及常用软件安装(1)
下面这些是我整理的, 希望对你有用.
系统休眠被唤醒后,无线网卡失效的解决
打开/etc/default/acpi-support 将 # Add services to this list to stop them before suspend and restart them in # the resume process. STOP_SERVICES=""
修改为 # Add services to this list to stop them before suspend and restart them in # the resume process. STOP_SERVICES="networking" 增加networking即可
新建的文件夹不能改名
来源:http://forum.ubuntu.com.cn/about78092.html&sid=72c169d7736cc3698e7d9afc7530147b
编辑scim文件
sudo gedit /etc/X11/xinit/xinput.d/scim
改成这样:
#GTK_IM_MODULE=xim #QT_IM_MODULE=xim GTK_IM_MODULE=scim QT_IM_MODULE=scim
安装skype
http://www.skype.com/download/skype/linux/beta/
下载后,双击安装
安装Opera
打开http://www.opera.com下载Linux版双击安装即可
支持7z格式
sudo apt-get install p7zip-full
视频播放器
sudo apt-get install mplayer
sudo apt-get install w32codecs 未找到
sudo apt-get install mplayer mozilla-mplayer totem-xine
sudo apt-get install libxine-extracodecs 未找到
sudo apt-get install gstreamer0.10-ffmpeg gstreamer0.10-plugins-ugly gstreamer0.10-plugins-ugly-multiverse gstreamer0.10-pitfdll gstreamer0.10-plugins-bad gstreamer0.10-plugins-bad-multiverse
其中,w32codecs可以在这里下载http://www.debian-multimedia.org/pool/main/w/w32codecs/,下载后双击安装. 你会发现可以播放rmvb了.
音频播放器
sudo apt-get install audacious
sudo apt-get install audacious-plugins audacious-plugins-extra
sudo apt-get install audacious-plugins-extra-console 未找到, 暂时我还用不到, 就没继续找
wine(一个Windows模拟器, 可以直接运行Windows程序, 比如魔兽争霸3等游戏都是可以的)
sudo apt-get install wine
JDK
sudo apt-get install sun-java6-jdk
Eclipse
到http://www.eclipse.org下载Linux版即可, 之后解压缩, 就可以使用了.
制作iso文件
sudo apt-get install mkisofs
然后在终端输入mkisofs -o target.iso ./filetopack, 就能把filetopack文件夹里的所有文件打包成target.iso文件了.
连结Windows VPN
sudo apt-get install network-manager-gnome network-manager-pptp
安装完成后, 鼠标点击屏幕右上角的通知区域中的网络连接图标, 会发现可以建立VPN连接了.
不小心给Firefox安装了GCJ插件,如何卸载
GCJ是开源的Java, 按理说可以用Sun Java运行的程序, 都能在GCJ上运行, 但是我的照片网站Smugmug就不行, 必须使用Sun Java运行图片上传工具. 但是我又不知道, 就安装了GCJ插件, 所以导致无法上传照片. 解决方法很简单.
sudo rm /usr/lib/firefox/plugins/libgcjwebplugin.so
sudo rm /usr/lib/mozilla-firefox/plugins/libgcjwebplugin.so
重启Firefox即可
摄像头驱动
添加源
deb http://blognux.free.fr/debian unstable main
然后更新
sudo apt-get update
安装easycam2程序
sudo apt-get install easycam2
安装之后在Applications/Graphics里面有Camorama Webcam Viewer, 打开就能看到图像了。
不过我的摄像头工作不正常,严重偏色,基本上就是黑白的,怎么调都不行。
调整磁盘分区容量
以LiveCD进入系统,选择System/Administration/Partition Editor就能改变分区容量了。使用方法跟PQMagic差不多
安装字体
大家可以参考http://www.fwolf.com/blog/post/170, 上面是说如何安装Windows XP的宋体到Ubuntu中, 已经写的很详细了.
但是我觉得既然到Ubuntu中了,安装Windows字体也没意思,不如装文泉驿字体。这是个开源的字体,目前有宋体和黑体两种。
显示效果也是非常不错。
到http://wenq.org/index.cgi?BitmapSong下载文泉驿宋体, 到http://wenq.org/index.cgi?ZenHei下载黑体, 之后双击安装即可.
如果你需要安装额外的字体, 可以这么做:
sudo mkdir /usr/share/fonts/myfonts
sudo cp ~/fonts/* /usr/share/fonts/myfonts/
cd /usr/share/fonts/myfonts/
sudo mkfontdir
sudo mkfontscale
sudo fc-cache -fv
就能在System/Preference/Appearance中选择你刚才安装的字体了.
如果安装新字体后,新装的字体预览为方块,应该是字体权限问题,对你是拒绝读的。用chmod命令修改一下字体文件的属性即可。
cd /usr/share/fonts/myfonts/
chmod 644 *
为了测试字体的应用范围,我打开了System/Preference/Appearance, 调整了Application Font字体为Windows的宋体,字号22号,字体应用生效后,我就再也无法打开Appearance设置了。论坛发帖询问无果。今天突然想到,如果我把昨天安装的Windows字体删掉, 系统找不到指定字体会不会就恢复了原来的10号字呢?我把Windows字体删掉后,重启。果然又能进入Appearance设置了。终于把字号改了过来。
这儿有两篇文章可以参考一下, 按照我上面说的方法安装字体是没问题的,只是分享两篇文章看看
http://forum.ubuntu.org.cn/viewtopic.php?t=18638
http://hi.baidu.com/tttws/blog/item/bbf95dc6fa702d199d163ddc.html
安装VirtualBox
http://www.virtualbox.org下载安装包,双击安装
安装之后要设置权限才能运行
sudo chmod 777 /dev/vboxdrv
原文是sudo chmod 660 /dev/vboxdrv,但是还不能启动虚拟机,干脆我就改成777了。
sudo chgrp vboxusers /dev/vboxdrv
打开System/Administration/User and Groups,点击Manage Groups,找到vboxusers,按Properties,将当前桌面用户前打勾,按OK退出,就能启动VirtualBox中的虚拟机了。
但是现在虚拟机没法加载USB设备,说Host机没安装正确的USB设备,但是我的本本的USB是好的。我怀疑还是权限什么的不对
查了一下资料, 说Ubuntu 7.10默认是禁止usbfs的, 所以这里要打开
sudo gedit /etc/init.d/mountdevsubfs.sh
找到
# Magic to make /proc/bus/usb work
#mkdir -p /dev/bus/usb/.usbfs
#domount usbfs "" /dev/bus/usb/.usbfs -obusmode=0700,devmode=0600,listmode=0644
#ln -s .usbfs/devices /dev/bus/usb/devices
#mount -rbind /dev/bus/usb /proc/bus/usb
将后面4行前面的#去掉, 重启Ubuntu
# Magic to make /proc/bus/usb work
mkdir -p /dev/bus/usb/.usbfs
domount usbfs "" /dev/bus/usb/.usbfs -obusmode=0700,devmode=0600,listmode=0644
ln -s .usbfs/devices /dev/bus/usb/devices
mount -rbind /dev/bus/usb /proc/bus/usb
安装VirtualBox的详细过程请参考:《Step 1: Getting VirtualBox up and running》(请用代理打开)
- ← Previous
页面中同时存在VBScript和Javascript时请注意 - Next →
Ubuntu 7.10 从0开始 - 安装系统(简述)