OldSam

Metacity Themes

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

1
Score 53.3%
Description:

My experiment in tiling in metacity themes.
The top, sides and bottom is tiled.
A few pixmaps added in the gtk for the top panel and menus.
The only issue is I added to many tiled images that when it is a very small window some of the tiled images will not fit but it causes no issues.
A great tutorial to place images and tile them for the frames for anyone interested.
It also has inactive frames which lightened the colors a bit.
Of course feel free to change it as much as you like, this was just an experiment I did.
The next one will be the one I'll use for my system which will be an antique old feel to it, in which I'll add the metacity, gtk, wallpaper and icons files I am going to make for it.

Andrewtheshort

9 years ago

Hi, it is a wonderful theme, but I have a problem with the green color of window titles and control buttons..
Do you think you could do another one version but with for example bright yellow collor?

Report

C

samriggs

9 years ago

all you have to do is go into the metacity folder get the buttons, bring them into gimp use the magic wand to highlight the green and change it to yellow instead.
This was just an experiment I did for tiling, I am currently working on a medieval theme you'll probably like better, I knocked out some of the images so it makes everything fit better, the metacity theme is complete I am working on the gtk file now, which I am using a lot of pixmaps instead of murrine gtk I am using the ubuntulooks engine instead.
Once I get this done I'll upload without the icons package I will make for it later on. Maybe I'll upload the metacity file tonight with the gtk to let you have a look and add the gtk after I'm finished it.

Report

C

samriggs

9 years ago

I added the new theme here
http://gnome-look.org/content/show.php?content=128869
Have fun :)

Report

Padster

9 years ago

good job. i like the style and also, it helped me out, too. i wanted tiling on the sides of my Digital theme, and used your code on it. thanks, and congrats on the theme :-)

Report

C

samriggs

9 years ago

Thanks Padster
I was going to use this one for my theme but it didn't turn out like I wanted it to so I put it up for others to fool around with. I started another one with a medeval theme to it and hopefully it will work out.
As far as the sides go treat them the same as the titlebar for images and tiling, example, if you wanted a image to stay halfway on the sidebar and not be tiled it would be something like this:
<image filename="side_image.png" height="height" width="object_width" x="0" y="(height + object_height) /2" />
that way you get the total height plus the image height divide it by 2 or half and it should go in the middle no matter what.
I might be off I'm a bit tired but it should be something like that.
Glad you enjoy it.
Aslo a workaround I'm working on for the new theme when there is too many images like this one and the title is long and knocks out some of the images, place the image on the right last in the xml in order. they hopefully will knock out part of the title and show the image instead, I haven't tested this yet but it should work, the metacity xml file works like C programming in that way that the last thing takes over the one above it (as far as images go), or if you not familar with C then think layers, the last one written would be in front.
Hopefully this can fix the bug of the right images going away in smaller windows.

Report

Padster

9 years ago

a medieval theme sounds cool.
i should learn how t code metacity themes... i don't really know how to write them, just change things and copy and paste code.

Report

C

samriggs

9 years ago

I just started a month ago myself but I used to program quite a bit in C, C++, PHP and a few other languages, there all pretty much the same once you know one.
Maybe I'll put up a tutorial soon for metacity that goes into the areas that the main tutorial does not show you too much about, like tiling and placing images and how to figure out the math where to place theme etc etc.
I know I could of used it and I only found the small tutorial that was in your theme that Isiah showed in tiling. The rest I figured out on my own.
I'll add a link when I get it done. :)

Report

psycholinuxuser

9 years ago

nice theme

Report

12345678910
11
product-maker Brahimsalem Apr 16 2013 9 excellent
product-maker kraks May 04 2011 3 bad
product-maker Base: 4 x 5.0 Ratings
Padster
Jul 27 2010
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
1
updated Jul 25 2010
added Jul 25 2010
downloads 24h
0
mediaviews 24h 0
pageviews 24h 1
System Tags linux unix