UCK全新打造属于自己的xubuntu livecd.pdf

上传人:大张伟 文档编号:8941095 上传时间:2021-01-26 格式:PDF 页数:11 大小:177.85KB
返回 下载 相关 举报
UCK全新打造属于自己的xubuntu livecd.pdf_第1页
第1页 / 共11页
UCK全新打造属于自己的xubuntu livecd.pdf_第2页
第2页 / 共11页
UCK全新打造属于自己的xubuntu livecd.pdf_第3页
第3页 / 共11页
UCK全新打造属于自己的xubuntu livecd.pdf_第4页
第4页 / 共11页
UCK全新打造属于自己的xubuntu livecd.pdf_第5页
第5页 / 共11页
点击查看更多>>
资源描述

《UCK全新打造属于自己的xubuntu livecd.pdf》由会员分享,可在线阅读,更多相关《UCK全新打造属于自己的xubuntu livecd.pdf(11页珍藏版)》请在三一文库上搜索。

1、利用 UCK 打造属于自己的xubuntu livecd 以xubuntu 9.04 环境为例 准备好已经下载的xubuntu-9.04-desktop-i386.iso livecd 镜像 在新立得中搜索安装最新版的UCK 启动UCK 开始制作 开 选择中文语言包(zh) 选择livecd 启动界面语言(zh_CN) 选择桌面环境others(因为我们制作的是 xubuntu livecd) 选择你下载 的 xubuntu9.04 镜像文件 问是否自定义cd,我们选择yes 问是否删除wubi 安装程序,根据自己的需要选择 yes/no 小技巧: 1.在此过程中你可以查看当你的用户名下的tm

2、p 文件夹下生成了 remaster-root/ect/apt/sources.list 文件, 赶紧用你认为最快的源替换掉此sources.list 文件,以加快下载语言包的速度 2.因为我们在制作的过程中要经常修改文件,在终端中输入命令 sudo thunar,以获得直接修改文件的权 限 等待出现构建界面,其中有三个选项 1.打开包管理器(Run package manager) 2.打开一个终端(Run console application) 3.继续构建(Continue building) 这时我们就要用到小技巧2,打开 remaster-root/ect/apt/sources.

3、list 文件修改软件源 根据需要加入ibus 输入法源: 输 deb jaunty main 现在我们点击构建界面中的Run console application 打开终端输入 打 gpg -keyserver -recv 21C022AA985E0E11 gpg -export -armor 21C022AA985E0E11 | sudo apt-key add - 更新包信息 sudo apt-get update 关闭打开的终端,然后点击Run package manager 打开新立得 打 在新立得中选择标记以便彻底删除来删除你不用的软件包,我删除的包如下 scim 输入法(sci

4、m,scim-modules-socket),gnome-orca,aumix,orage,游戏(gnome-games,gnome-games- data),abiword,gnumeric,gnumeric-common,gnumeric-doc,mousepad,thunderbird,thunderbird-locale-zh- cn,thunderbird-locale-zh-tw, transmission-common,蓝牙(bluetooth,bluez,bluez-alsa,bluez-cups,bluez-gnome,bluez- gstreamer,libbluetoot

5、h3),xchat,xchat-common,pidgin,pidgin-data,totem,totem-common,xsane,xsane- common,listen,打印相关(hplip,hplip-data,cups,cups-bsd,cups-client,cups-common,cupsddk,cupsddk- drivers,xfprint4),xubuntu-docs,nvidia 显卡(nvidia-173-modaliases,nvidia-180-modaliases,nvidia-71- modaliases,nvidia-96-modaliases) 更新 sud

6、o apt-get upgrade 根据自己的喜好在新立得或终端安装你需要的文件 安装中文语言支持包 安 sudo apt-get install language-pack-gnome-zh language-pack-gnome-zh-base language-pack-zh language- pack-zh-base 安装文档查看器 Evince 的中文支持 的 sudo apt-get install xpdf-chinese-simplified xpdf-chinese-traditional poppler-data 安装编辑器 安 sudo apt-get install

7、leafpad 安装下载工具 安 sudo apt-get install multiget 安装chm 阅读器 阅 sudo apt-get install chmsee 安装中文输入法ibus sudo apt-get install ibus python-ibus ibus-pinyin ibus-gtk ibus-qt4 安装Gstreamer 多媒体引擎解码器 多 sudo apt-get install gstreamer0.10-ffmpeg gstreamer0.10-pitfdll gstreamer0.10-plugins-bad-multiverse gstreamer

8、0.10-plugins-ugly gstreamer0.10-plugins-ugly-multiverse gstreamer0.10-esd 配置电影播放器 配 sudo apt-get install smplayer smplayer-themes mozilla-mplayer libmatroska0 配置音乐播放器 配 sudo apt-get install gstreamer0.10-fluendo-mpegdemux gstreamer0.10-gnonlin libasound2-plugins 安装 RAR zip 压缩/解压缩程序 解 sudo apt-get in

9、stall unrar p7zip-full cabextract 安装词霸星际译王 安 sudo apt-get install stardict stardict-common 然后把词典文件解压到以下路径即可 然 remaster-root/usr/share/stardict/dic 目录下 目 安装编译器 安 sudo apt-get install build-essential autoconf automake cvs subversion 安装linuxqq、flash插件、文泉驿字体和 w32codecs 包 包 把下载的deb 包拷贝的 remaster-root 下,执

10、行 sudo dpkg -i *.deb 如果提示缺少依赖包就用sudo apt-get install 缺少包安装,然后再执行 sudo dpkg -i *.deb 安装完成后删除remaster-root 下的deb 包 包包 添加flash 独立播放器,解决 flash乱码 并把独立flash 可运行文件(flashplayer)考入 usr/bin下 修改/etc/fonts/conf.d/49-sansserif.conf 把xxx中间的字符替换为文泉驿正黑 中 自动卸载不用的包 自 sudo apt-get autoremove s 对已经删除的安装包留下的残余文件(配置文件)执行

11、下面的命令进行清理: 对 dpkg -l |grep rc|awk print $2 |tr n |sudo xargs dpkg -P - d 清除缓存文件 清 sudo apt-get clean s 修改声音文件和登录界面 修 把声音文件doorbell.wav,startup.wav 拷入/usr/sounds/ 把MoheganGDM_3(我的登录界面主题)拷入/usr/share/gdm/themes 并删除该文件夹下不用的登录界面 并 修改/etc/gdm/gdm.conf-custom 参考文件: 参 # GDM Configuration Customization file

12、. # # This file is the appropriate place for specifying your customizations to the # GDM configuration. If you run gdmsetup, it will automatically edit this # file for you and will cause the daemon and any running GDM GUI programs to # automatically update with the new configuration. Not all configu

13、ration # options are supported by gdmsetup, so to modify some values it may be # necessary to modify this file directly by hand. # # Older versions of GDM used the gdm.conf file for configuration. If your # system has an old gdm.conf file on the system, it will be used instead of # this file - so ch

14、anges made to this file will not take effect. Consider # migrating your configuration to this file and removing the gdm.conf file. # # To hand-edit this file, simply add or modify the key=value combination in # the appropriate section in the template below. Refer to the comments in the # /usr/share/

15、gdm/defaults.conf file for information about each option. Also # refer to the reference documentation. # # If you hand edit a GDM configuration file, you should run the following # command to get the GDM daemon to notice the change. Any running GDM GUI # programs will also be notified to update with

16、 the new configuration. # # gdmflexiserver -command=UPDATE_CONFIG # # e.g, the Enable key in the debug section would be debug/Enable. # # You can also run gdm-restart or gdm-safe-restart to cause GDM to restart and # re-read the new configuration settings. You can also restart GDM by sending # a HUP

17、 or USR1 signal to the daemon. HUP behaves like gdm-restart and causes # any user session started by GDM to exit immediately while USR1 behaves like # gdm-safe-restart and will wait until all users log out before restarting GDM. # # For full reference documentation see the gnome help browser under #

18、 GNOME|System category. You can also find the docs in HTML form on # http:/www.gnome.org/projects/gdm/ # # NOTE: Lines that begin with # are considered comments. # # Have fun! daemon security xdmcp gui greeter SoundOnLoginFile=/usr/share/sounds/doorbell.wav SoundOnLoginSuccess=true SoundOnLoginSucce

19、ssFile=/usr/share/sounds/startup.wav GraphicalTheme=MoheganGDM_3 GraphicalThemes= chooser debug servers 修改壁纸 修 把壁纸(xfce-stripes.png)拷入/usr/share/xfce4/backdrops并删除不用的壁纸 并 修改/etc/xdg/xubuntu/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml 参考文件 参 修改字体设置 修 /etc/xdg/xfce4/Xft.xrdb 参考修改 参 Xft.antialia

20、s: 1 Xft.hinting: 1 Xft.rgba: none Xft.hintstyle: hintslight Xft.dpi: 96 X 修改xfce4.6 菜单 菜菜 在/usr/share/desktop-directories 下的文件其他中加入 NoDisplay=true,也可删除不用的文件 修改/usr/share/applications 下的文件名称及是否显示 例如 编辑/usr/share/applications/gnome-app-install-xfce.desktop使 Name=添加/删除. 在菜单中就会显示为中文”添加/删除.” 编辑/usr/shar

21、e/applications/qt4config.desktop,即“Qt 4 设置”,在文件内容最后加入 NoDisplay=true 在菜单中就不会显示了 (注: 修改/etc/xdg/menus/xfce-applications.menu文件,也可以调整菜单显示) 在/etc/xdg/xubuntu/xfce4/panel/下为QQ 和终端添加 launcher-4.rc和launcher-5.rc,内容分别为 内 QQ: : Global MoveFirst=false ArrowPosition=0 Entry 0 Name=腾讯QQ Icon=/usr/share/tencent

22、/qq/qq.png Exec=/usr/bin/qq Terminal=false StartupNotify=false S 终端: 终 Global MoveFirst=false ArrowPosition=0 Entry 0 Name=终端 终 Icon=Terminal Exec=xfce4-terminal Terminal=false StartupNotify=false S 编辑 编 /etc/xdg/xubuntu/xfce4/panel/xfce4-menu-1.rc 修改为 修 use_default_menu=false menu_file=/etc/xdg/xub

23、untu/menus/xfce-applications.menu icon_file=/usr/share/pixmaps/xubuntu-logo.png show_menu_icons=true button_title=开始 开 show_button_title=true s 编辑 编 /etc/xdg/xubuntu/xfce4/panel/places-2.rc 修改为 修 show_button_icon=true show_button_label=false label=位置 位 show_icons=true show_volumes=true mount_open_vo

24、lumes=true show_bookmarks=true show_recent=true show_recent_clear=true show_recent_number=10 search_cmd= s 编辑 编 /etc/xdg/xubuntu/xfce4/panel/clock-5.rc 修改为 修 DigitalFormat=%R TooltipFormat=%Y %B %d %A ClockType=3 ShowFrame=false ShowSeconds=false ShowMilitary=true ShowMeridiem=false TrueBinary=false

25、 FlashSeparators=false F 编辑 编 /etc/xdg/xubuntu/xfce4/panel/panels.xml 修改为 修 编辑xsettings.xml主要是修改 IconThemeName的值为 Tango 编辑/etc/xdg/xubuntu/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml文件如下 编辑/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml如下 好了,现在可以点击Continue building 了 等待构建完成吧 完成后将在remaster

26、-new生成一个 livecd.iso 镜像文件 现在可以用虚拟机测试一下,看看是否能正常工作 如果正常,那恭喜你成功了,呵呵 现在是否想安装呢,呵呵,这儿提供linux 下的硬盘安装 安装 安 1)用你喜欢的文本编辑器打开/boot/grub/menu.lst 文件,加入如下内容 文 title Install Xubuntu 9.04 root (hd0,6) kernel (hd0,6)/vmlinuz boot=casper iso-scan/filename=/livecd.iso irqpoll quiet splash ro automatic- ubiquity locale=

27、zh_CN.UTF-8 noprompt - initrd (hd0,6)/initrd.gz boot 注: (hd0,6)指的就是我的fat32 分区,根据你自己的情况修改 2)挂载你制作的livecd.iso sudo mount -o loop livecd.iso /mnt 从/mnt/casper 中拷贝initrd.gz和vmlinuz 到你的 fat32分区的硬盘根目录下,livecd.iso 也放在此处 3)现在可以启动电脑了,安装了 注意启动后,出现安装界面,点击退出安装(因为此时还安装不了),进入桌面环境,在终端中输入 sudo umount -l /isodevice,现在就可以安装了,安装过程就不介绍了,网上搜一下 QQ:115781665

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 科普知识


经营许可证编号:宁ICP备18001539号-1