openKylin论坛

 找回密码

ubuntu-defaults-builder的使用教程 [复制链接]

关于ubuntu-defaults-builder的使用

很简单wiki上写的已经很清晰了,以下是两个相关网页:
http://www.mattfischer.com/blog/?p=113
https://wiki.ubuntu.com/DesktopTeam/Specs/Oneiric/LocalizedCDImageTools
下面是转老外的相关邮件:

=== 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


楼主
发表于 2013-3-11 10:22:24
回复

使用道具 举报

ubuntu-defaults-builder的使用教程 [复制链接]

沙发
沙发
 楼主| 发表于 2013-3-11 10:23:17
回复

使用道具 举报

ubuntu-defaults-builder的使用教程 [复制链接]

鼓励好贴
板凳
发表于 2013-3-30 14:04:08
回复

使用道具 举报

openKylin

GMT+8, 2024-5-6 00:38 , Processed in 0.018752 second(s), 17 queries , Gzip On.

Copyright ©2022 openKylin. All Rights Reserved .

ICP No. 15002470-12 Tianjin

快速回复 返回顶部 返回列表