Packaging light-themes for Debian

Asked by Adnan Hodzic on 2011-01-21

Hello everyone,

I'm packaging light-themes as part of implementing Unity into Debian.

So far this whole "tailoring" process went on perfectly from every possible aspect, until I switched control buttons back to right side. Now no matter what I do within metacity file I end up having "square" edges on the right side, or with "close" button in the middle: http://foolcontrol.org/img/square%20edges.png

Can anyone give me some pointers, since this is preventing me from completing the overall process.

Thanks,

Adnan

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu light-themes Edit question
Assignee:
No assignee Edit question
Solved by:
James Schriver
Solved:
2011-01-22
Last query:
2011-01-22
Last reply:
2011-01-22
mycae (mycae) said : #1

The only thing I can think of is that somehow your images' alpha channels are being lost or modified; but I am certainly no expert in theming.

Do the individually installed files in the built deb have the correct form?

If you have an online code repository, where someone can just pull down the package and try compiling it, this might make it easier for others to assist you.

Adnan Hodzic (fooctrl) said : #2

Let me add that everything works fine, building the package works fine and installs fine. If window control buttons remain on the same side, then there won't be square buttons, everything will look great.

This problem occurs when I change debian/gconf-defaults file from:
/apps/metacity/general/button_layout close,minimize,maximize:
to
/apps/metacity/general/button_layout :minimize,maximize,close

to change window controls from left to right, that's when the problem I described above arises. Until I change the sides, it's all working and looking great.

Best James Schriver (dashua) said : #3

Metacity has been patched (debian/patches/13_better_support_for_button_layout.patch) to fix this issue back in 10.04.

Adnan Hodzic (fooctrl) said : #4

It works perfectly, thanks!

Adnan Hodzic (fooctrl) said : #5

Thanks James Schriver, that solved my question.

James Schriver (dashua) said : #6

No problem. Glad I could help.