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.

How to make Unity Launcher backlight use one colour? I want my launcher backlight all coloured with blue..

share|improve this question
1  
An excellent question. I'm sure any answers posted here will be useful to people trying to achieve a more consistent color scheme on their desktop. –  Christopher Kyle Horton Oct 27 '11 at 7:15
    
This does not directly anser your question, but in this OMG!Ubuntu! post, they really do get their Unity launcher very blue. –  Rasmus Dec 5 '11 at 9:28

1 Answer 1

You will need the Gimp to do that.

First, we need to backup some launcher icons.

Open a terminal:

cd && mkdir launchericons
cd /usr/share/unity/4/
sudo cp launcher_icon_back_54.png launcher_icon_back_54.png.old
sudo cp launcher_icon_glow_62.png launcher_icon_glow_62.png.old
sudo cp launcher_icon_edge_54.png launcher_icon_edge_54.png.old
sudo cp launcher_icon_shine_54.png launcher_icon_shine_54.png.old

Now, we copy these 4 files to our newly created folder launchericons:

sudo cp launcher_icon_back_54.png launcher_icon_glow_62.png launcher_icon_edge_54.png  launcher_icon_shine_54.png ~/launchericons/

Ok. Files are backed up and copied to our home folder.
If you haven't already done so, install the Gimp:

sudo apt-get install gimp

Start Gimp:

Alt+F2gimp

Go to "File" -> "Open" . Open your folder "launchericons" and select the first png: launcher_icon_back_54.png .

Now, we have to choose the colour we want to use:

click on "Foreground & Background colors" (screenshot)enter image description here

Select the color you want (see the arrows, you can also use the eyedropper (circled) to select a blue anywhere on your desktop). enter image description here

Make sure you write down somewhere the HTML notation of your selected color.

Now select in the Toolbox the "Bucket Fill Tool" and click in your launcher png in Gimp's main window (the little one):enter image description here

Save the changed png, and repeat the same process with the other 3 png's.

Then, copy all 4 files back to /usr/share/unity/4/:

sudo cp launcher_icon_back_54.png launcher_icon_glow_62.png launcher_icon_edge_54.png  launcher_icon_shine_54.png /usr/share/unity/4/

Logout and login back to unity and your backlights are now blue.

share|improve this answer
    
I attempted to try this on my Precise box, but the bucket tool doesn't seem to actually recolor the image. I'd have tried using the Colorize tool under Color instead anyway, but GIMP shows an error message saying "Colorize operates only on RGB color layers." Ideas on a workaround? –  Christopher Kyle Horton Dec 7 '11 at 19:28
    
Found a solution: go to Image > Mode and select RGB. (Source) –  Christopher Kyle Horton Dec 7 '11 at 19:35
    
Also of note: by following this solution, GIMP will need root privileges in order to overwrite the launcher icon files when you save the changed versions. To do this, run gksudo gimp from Alt+F2 or a Terminal window. –  Christopher Kyle Horton Dec 7 '11 at 19:41
    
...okay, just tried it all out and it works (to some extent). I'm getting some of the icons as purplish, so I'm thinking there's still some color blending being done by Unity with the normal backlight color. Here's a picture of what I ended up with –  Christopher Kyle Horton Dec 7 '11 at 19:51

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.