How can one edit unity bar default apps within a livecd? In other words if you boot ubuntu 12.04 livecd you will see in the unity bar, firefox, libreoffice, Ubuntu software center, etc. Well I need to customize a 12.04 livecd so that upon boot you will see my own selected apps ie: chromium, ubuntu-tweak, etc. Please dont link me to remastersys or myunity or ubuntu-tweak or ccsm. No graphical applications to be used. The iso is being built via chroot meaning i need the actual file(s) location: /usr/share/unity-2d.....something along those lines.
3 Answers
Here is what works for me for customizing a 12.04.1 liveCD:
echo "[com.canonical.Unity.Launcher]
favorites=['nautilus-home.desktop', 'firefox.desktop', 'ubuntu-software-center.desktop', 'otherapp1.desktop', 'otherapp2.desktop']" > /usr/share/glib-2.0/schemas/10_local-unity-launcher.gschema.override
glib-compile-schemas /usr/share/glib-2.0/schemas/
(all in chroot)
- 3,785
thanks for saving me a long search of documents I would not be reading to find the path
#
$ cd /usr/share/glib-2.0/schemas/
#
For customizing a system look, feel, and more this is a good start for overrides but you can do it another way as well I did not test your format but wanted to get to the actual settings and change them myself not override them, so I found another discussion on the subject... http://ubuntu.5.n6.nabble.com/configuring-unity-launcher-for-200-users-tp4977659p4977772.html
which leads you to this answer: https://askubuntu.com/a/65901/112263
These articles should help:
https://help.ubuntu.com/community/LiveCDCustomizationFromScratch
http://www.psychocats.net/ubuntu/minimal (in case you want to really customize your ubuntu from the ground up)
Edit: I had forgotten about this method of creating a disk image from an existing installation. When I had tried this a few years back, I installed Ubuntu on a virtual machine, customized it to my liking, then followed the directions in the tutorial.
Make a live CD/DVD/Bootable flash from your harddisk installation
- 101
- 3