Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I would like to create a custom Ubuntu image based on Natty using Ubuntu Customization Kit. I also want to customize the icons appearing on the Unity Launcher.

I can change the icons on my desktop system with the following command:

gsettings set com.canonical.Unity.Launcher favorites "['firefox.desktop', 'nautilus-home.desktop', 'libreoffice-writer.desktop']"

I tried to run this command from the UCK console while creating the Live CD, but it doesn’t seem to work.

Do you have any ideas how I could solve this?

share|improve this question
1  
I don't know a fix for this, but I do know why it didn't work: Running gsettings as root doesn't work and that's how UCK or any other tool like this runs all the commands... –  Alin Andrei Jun 28 '11 at 20:45
    
    
Toros, have you found a solution? ( Question 156932 may be related) –  LovinBuntu Oct 3 '12 at 21:11
    
After check, shhac's answer did the trick for me (except i used 10_local-unity-launcher.gschema.override, but com.canonical.Unity.gschema.override will probably also work). –  LovinBuntu Oct 3 '12 at 23:15
add comment

2 Answers 2

I'm surprised nobody has answered this yet, it is done in a schema so you make an override and re-compile.

echo "[com.canonical.Unity.Launcher]
favorites=['firefox.desktop', 'nautilus-home.desktop', 'libreoffice-writer.desktop']" > /usr/share/glib-2.0/schemas/com.canonical.Unity.gschema.override

glib-compile-schemas /usr/share/glib-2.0/schemas/

You can probably edit the xml and re-compile for the same result but I've not managed to get this to work yet (trial and error is tedious when you're trying to make live cd/usbs).

share|improve this answer
    
This doesn't seem to work for ubuntu 13.10 ... did they change anything regarding this? –  harald Nov 14 '13 at 12:28
add comment

Have you tried either APTonCD or Remastersys?

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.