当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 1 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : [转]ubuntu-defaults-builder的使用教程
帖子发表于 : 2013-05-13 17:05 

注册: 2013-04-25 21:39
帖子: 10
系统: ubuntu
送出感谢: 0 次
接收感谢: 0 次
转自:http://www.ubuntukylin.com/ukylin/forum.php?mod=viewthread&tid=18&extra=
很简单wiki上写的已经很清晰了,以下是两个相关网页:
http://www.mattfischer.com/blog/?p=113
https://wiki.ubuntu.com/DesktopTeam/Spe ... ImageTools
下面是转老外的相关邮件:

=== Get started ===

* Install ubuntu-defaults-builder:
sudo apt-get install ubuntu-defaults-builder

* Create the default dir:
ubuntu-defaults-template ubuntukylin-default-settings-0.1

=== In the ubuntukylin-default-settings-0.1 directory ===

* edit depends.txt to tweak installed package:
- using ubuntu-defaults-zh-cn as a basis, I added some fonts, pinyin and wubi input methods, firefox/tb translations, unity-china-music-scope, smplayer ... dropped libreoffice langpacks though since that will be replace by wps)

* set a wallpaper image:
- copy your image over desktop/background.jpg

* set default applications:
- edit desktop/default-applications.txt to list your changes, in those cases I listed the types associated to totem /usr/share/applications/defaults.list in and assigned them to smplayer

* i18n directory to defines the keyboard/langpacks/language to install/use
- keyboard.txt has the default keymap, I didn't specify enough since I'm not sure what is the one you want to use, it should default to an us layout
- langpacks.txt has the translation sets to install, I listed en and zh-hans
- language.txt: is the default language of the image, I set it to zh_CN

* icons:
should contain custom icons if you have any to add

* multimedia:
you can tweak the online music stations there

* ubiquity-slideshow:
that's the directory to use if you want to use your custom slides for the installer slideshow

* unity:
you can add programs to your default launcher there

* webbrowser:
you can tweak bookmarks, searchgengine, startpage there

* hooks:
you can do custom hooks there, I'm using it to remove totem, since the tools doesn't support dropping packages by default, and you want to install smplayer instead

=== Build the Image ===

* build the deb:
- just use "dpkg-buildpackage" (or debuild) in the ubuntu-defaults-builder-0.1 directory, that will give you a deb

* run ubuntu-defaults-image to build the iso

ubuntu-defaults-image --package ./ubuntukylin-default-settings_0.1_all.deb --components main,restricted,universe

That should give you a livecd.ubuntu.iso you can boot


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 1 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 1 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译