感谢支持
我们一直在努力

Ubuntu7.10 使用配置笔记

 Ubuntu7.10 下3D桌面 


sudo apt-get update -y


sudo apt-get install compizconfig-settings-manager xserver-xgl


重启,OK


测试当前显卡帧数:glxgears


beryl


wget http://ubuntu.beryl-project.org/root@lupine.me.uk.gpg -O- | sudo apt-key add –


sudo apt-get install beryl-manager -y


 


Ubuntu目录结构
/ 根目录

├boot/ 启动文件。所有与系统启动有关的文件都保存在这里
│ └grub/ Grub引导器相关的文件

├dev/ 设备文件
├proc/ 内核与进程镜像

├mnt/ 临时挂载
├media/ 挂载媒体设备

├root/ root用户的$HOME目录
├home/
│ ├user/ 普通用户的$HOME目录
│ └…/

├bin/ 系统程序
├sbin/ 管理员系统程序
├lib/ 系统程序库文件
├etc/ 系统程序和大部分应用程序的全局配置文件
│ ├init.d/ SystemV风格的启动脚本
│ ├rcX.d/ 启动脚本的链接,定义运行级别
│ ├network/ 网络配置文件
│ ├X11/ 图形界面配置文件

├usr/
│ ├bin/ 应用程序
│ ├sbin/ 管理员应用程序
│ ├lib/ 应用程序库文件
│ ├share/ 应用程序资源文件
│ ├src/ 应用程序源代码
│ ├local/
│ │ ├soft/ 用户程序
│ │ └…/ 通常使用单独文件夹
│ ├X11R6/ 图形界面系统

├var/ 动态数据

├temp/ 临时文件
├lost+found/ 磁盘修复文件

Ubuntu7.10 kibadock


deb http://download.tuxfamily.org/3v1deb feisty eyecandy


deb-src http://download.tuxfamily.org/3v1deb feisty eyecandy


# Import Trevino’s GPG key:


$ wget http://download.tuxfamily.org/3v1deb/DD800CD9.gpg -O- | sudo apt-key add –


# $ sudo apt-get update


# $ sudo apt-get install kiba-dock


# $ sudo apt-get install kiba-dock-dev


# $ sudo apt-get install kiba-plugins

Ubuntu7.10下编译源代码AWN
昨天用deb包安装的awn,一切顺利,今天正好看到有编译awn的文章,马上试了一下,第一次成功编译源代码哦,还是小激动了会,嘿嘿,以下步骤:
1。下载awn源码(https://launchpad.net/awn/0.2/0.2.1/+download/avant-window-navigator-0.2.1.tar),解压。
2。安装bzr环境
$sudo apt-get install bzr
3。安装编译需要的依赖包
$sudo apt-get install build-essential autotools-dev libxdamage-dev libxcomposite-dev libgnome2-common libgnome2-dev libgnome-desktop-dev libgnome-vfs-dev libgtk2.0-dev libwnck-dev libgconf2-dev libglib2.0-dev libdbus-glib-1-dev libgnomevfs2-0 libgnome-desktop-2 libgnome2-0 libwnck-common python-gtk2 python-gconf bzr gnome-common python-dev python-gtk2-dev python-cairo-dev python-gconf python-gnome2-dev
4。进入解压后的目录
cd ~/Desktop/avant-window-navigator-0.2.1
5。开始编译
./configure
/make
sudo make install


删除awn的办法
   1. 通过deb包安装的,可以直接输入下面的命令删除awn
          sudo apt-get remove avant-window-navigator-bzr awn-core-applets-bzr
          sudo apt-get autoremove
   2. 编译安装的,需要打开终端,输入以下的命令
          cd ~/avant-window-navigator
          sudo make uninstall
      并删除下列的文件/目录
          sudo rm -f /usr/local/bin/awn*
          sudo rm -f /usr/local/bin/avant*
          sudo rm -rf /usr/local/lib/awn
          sudo rm -f /usr/local/share/locale/*/LC_MESSAGES/avant-window-navigator.mo
          sudo rm -f /usr/local/share/applications/avant*
          sudo rm -f /usr/local/share/applications/awn*
          sudo rm -rf /usr/local/share/avant-window-navigator
          sudo rm -f /usr/local/lib/libawn*
          sudo rm -rf /usr/local/include/libawn
          sudo rm -f /usr/local/lib/libawn*
          sudo rm -f /usr/local/lib/pkgconfig/awn.pc
          sudo rm -rf /usr/local/share/awn-core-applets
          sudo rm -rf /usr/local/lib/python2.5/site-packages/awn/

 Ubuntu7.10用源
deb http://ubuntu.cn99.com/ubuntu gutsy main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu gutsy main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu gutsy-backports main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu gutsy-backports main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu gutsy-proposed main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu gutsy-proposed main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu gutsy-security main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu gutsy-security main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu gutsy-updates main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu gutsy-updates main restricted universe multiverse



deb http://tw.archive.ubuntu.com/ubuntu gutsy main restricted universe multiverse
deb http://tw.archive.ubuntu.com/ubuntu gutsy-security main restricted universe multiverse
deb http://tw.archive.ubuntu.com/ubuntu gutsy-updates main restricted universe multiverse
deb http://tw.archive.ubuntu.com/ubuntu gutsy-backports main restricted universe multiverse
deb http://tw.archive.ubuntu.com/ubuntu gutsy-proposed main restricted universe multiverse
deb-src http://tw.archive.ubuntu.com/ubuntu gutsy main restricted universe multiverse
deb-src http://tw.archive.ubuntu.com/ubuntu gutsy-security main restricted universe multiverse
deb-src http://tw.archive.ubuntu.com/ubuntu gutsy-updates main restricted universe multiverse
deb-src http://tw.archive.ubuntu.com/ubuntu gutsy-backports main restricted universe multiverse
deb-src http://tw.archive.ubuntu.com/ubuntu gutsy-proposed main restricted universe multiverse


deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ gutsy main restricted universe multiverse
deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ gutsy main restricted universe multiverse
deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ gutsy-updates main restricted universe multiverse
deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ gutsy-updates main restricted universe multiverse
deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ gutsy-backports main restricted universe multiverse
deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ gutsy-backports main restricted universe multiverse
deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ gutsy-security main restricted universe multiverse
deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ gutsy-security main restricted universe multiverse


beryl sources
deb http://ubuntu.beryl-project.org feisty main

Ubuntu7.10 下中文输入(SCIM)
Lesson1.Ubuntu 7.10安装中文输入
1. sudo gedit /etc/apt/sources.list 打开sources.list文件。
2. 更改软件源
#CN99
deb http://ubuntu.cn99.com/ubuntu gutsy main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu gutsy main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu gutsy-backports main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu gutsy-backports main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu gutsy-proposed main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu gutsy-proposed main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu gutsy-security main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu gutsy-security main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu gutsy-updates main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu gutsy-updates main restricted universe multiverse
#上海交大
deb http://ftp.sjtu.edu.cn/ubuntu/ feisty main multiverse restricted universe
deb http://ftp.sjtu.edu.cn/ubuntu/ feisty-backports main multiverse restricted universe
deb http://ftp.sjtu.edu.cn/ubuntu/ feisty-proposed main multiverse restricted universe
deb http://ftp.sjtu.edu.cn/ubuntu/ feisty-security main multiverse restricted universe
deb http://ftp.sjtu.edu.cn/ubuntu/ feisty-updates main multiverse restricted universe
deb http://ftp.sjtu.edu.cn/ubuntu-cn/ feisty main multiverse restricted universe
deb-src http://ftp.sjtu.edu.cn/ubuntu/ feisty main multiverse restricted universe
deb-src http://ftp.sjtu.edu.cn/ubuntu/ feisty-backports main multiverse restricted universe
deb-src http://ftp.sjtu.edu.cn/ubuntu/ feisty-proposed main multiverse restricted universe
deb-src http://ftp.sjtu.edu.cn/ubuntu/ feisty-security main multiverse restricted universe
deb-src http://ftp.sjtu.edu.cn/ubuntu/ feisty-updates main multiverse restricted universe
#cn99的设置
deb http://ubuntu.cn99.com/ubuntu-cn/ feisty main restricted universe multiverse
替换原来的sources.list文件内容。
3. sudo apt-get update 执行系统更新。
4. 打开 System–系统管理–Language Support。 选中Chinese,点击应用ubuntu会自动安装中文输入法。
需要重启,输入法才能正常使用。ctrl+space 就可以启动 scim了。


Ubuntu 7.10 Scim输入框不能光标跟随解决方法


# im-switch -s scim -z default
# sudo apt-get install scim-qtimm
# sudo apt-get install scim scim-pinyin scim-tables-zh im-switch scim-qtimm scim-bridge scim-bridge-client-gtk scim-bridge-client-qt scim-bridge-agent


编辑im-switch生成的scim配置文件
# gksu gedit /etc/X11/xinit/xinput.d/scim


将默认的 GTK_IM_MODULE=scim 修改为 GTK_IM_MODULE=”scim-bridge”。保存退出.


在scim输入法中进行了如下设定:
scim设置->全局设置->将预编辑字符串嵌入到客户端中 前的勾去掉
scim设置->gtk->嵌入式候选词标的勾去掉


重启scim
打开终端,输入 pkill scim
然后输入 scim -d


OK。

 Ubuntu7.10下状态栏中没有SCIM图标的解决


在台式机上装的ubuntu更新安装完成后


用默认Ctrl+空格却打不开scim


状态栏上也没有图标


查看language support和scim的设置没有问题


google一下找到解决办法


system-preferences-sessions-add


name:Input method


command:scim -d


查看当前语言:locale


安装scim-qtimm:sudo apt-get install scim-qtimm


在所有程序中使用scim:im-switch -z en_US -s scim


重启OK.

赞(0) 打赏
转载请注明出处:服务器评测 » Ubuntu7.10 使用配置笔记
分享到: 更多 (0)

听说打赏我的人,都进福布斯排行榜啦!

支付宝扫一扫打赏

微信扫一扫打赏