PDA

View Full Version : Metacity Themer beta release (Screenshots inside)



days_of_ruin
February 23rd, 2009, 01:26 AM
EDIT: Metacity Themer 0.2 release, read more here.https://launchpad.net/mct/+announcements

UbuntuNerd
February 23rd, 2009, 01:52 AM
Im about to try this there are a few things i like to change in my current theme.:)

MetalMusicAddict
February 23rd, 2009, 02:15 AM
Great! You have a message on the Ubuntu-Art mailing list. Please don't post the full-size images here though. Thumbnails that link to full-size would be better.

days_of_ruin
February 23rd, 2009, 02:49 AM
Great! You have a message on the Ubuntu-Art mailing list. Please don't post the full-size images here though. Thumbnails that link to full-size would be better.

Sorry, I guess the first one could've been smaller.But I wanted the screenshots in the post itself so its easier to read.(Not "see attachment 2" etc)

Neon Lights
February 23rd, 2009, 04:13 AM
do haz problemz. XD

I hit open, it opens to my ~./themes...but then, I can't open anything there in the program. (open button is grayed out no matter what I select).

wat I'z doin wrong? D:

days_of_ruin
February 23rd, 2009, 04:17 AM
do haz problemz. XD

I hit open, it opens to my ~./themes...but then, I can't open anything there in the program. (open button is grayed out no matter what I select).

wat I'z doin wrong? D:

Are you sure you have metacity themes installed there?NOT gtk themes.They have to be folders to not archives.

UbuntuNerd
February 23rd, 2009, 04:38 AM
same here no matter what I do I can't select anything?

days_of_ruin
February 23rd, 2009, 04:47 AM
I guess I didn't make this clear enough.
You select ~/.themes/themeyouwantotedit folder.
Don't double click on any folder.You should see a preview of the theme on the
right side of the dialog.See the first screenshot again.

UbuntuNerd
February 23rd, 2009, 05:03 AM
Ok I got it now is working good I like it good job man :) I will explore this further I'll let you know how it goes.

days_of_ruin
February 23rd, 2009, 05:06 AM
Ok I got it now is working good I like it good job man :) I will explore this further I'll let you know how it goes.

Okay:D

Neon Lights
February 23rd, 2009, 05:09 AM
Gahhh, still can't get it to work, feeling like an idiot here >.< I hit open, I select the folder of one of the themes (not an archive, has a metacity-1 folder in it). I don't see the preview though. Even downloaded the Vrey theme just to see if it was a problem with the themes. :/ no go.

days_of_ruin
February 23rd, 2009, 05:14 AM
Gahhh, still can't get it to work, feeling like an idiot here >.< I hit open, I select the folder of one of the themes (not an archive, has a metacity-1 folder in it). I don't see the preview though. Even downloaded the Vrey theme just to see if it was a problem with the themes. :/ no go.

Mind posting a screenshot?Also try running it from the command line to see
if there is any output.

Neon Lights
February 23rd, 2009, 05:22 AM
Sure, here ya go.
I'm on Jaunty, I wonder if that would be affecting anything?
No terminal output.

days_of_ruin
February 23rd, 2009, 05:31 AM
Sure, here ya go.
I'm on Jaunty, I wonder if that would be affecting anything?
No terminal output.

Try this:
cd pathtometacitythemerfolder
cd src
python theme_test.py Vrey

That should print "Valid".

Neon Lights
February 23rd, 2009, 05:44 AM
Try this:
cd pathtometacitythemerfolder
cd src
python theme_test.py VreyThat should print "Valid".
Yep. Says "Valid".

days_of_ruin
February 23rd, 2009, 05:52 AM
Yep. Says "Valid".

So the open button is grayed out?And none of the themes open?

days_of_ruin
February 23rd, 2009, 05:55 AM
Replace src/main.py with the attached file and try again and post the output.

Neon Lights
February 23rd, 2009, 06:05 AM
Replace src/main.py with the attached file and try again and post the output.
No difference, no output (other than murrine complaining about the theme using deprecated things)
And yeah, none of the themes open, grayed out Open button.

days_of_ruin
February 23rd, 2009, 06:16 AM
Oops I forgot to change the right thing, try again.

Neon Lights
February 23rd, 2009, 06:36 AM
Yay! That works perfectly. :] Thanks!

Orlsend
February 23rd, 2009, 11:37 AM
I will be trying this out, would be cool if you enabled the translations at launchpad.

days_of_ruin
February 23rd, 2009, 05:30 PM
I will be trying this out, would be cool if you enabled the translations at launchpad.

Do you know of any good tutorials for using translations in pygtk?

days_of_ruin
February 23rd, 2009, 10:29 PM
Yay! That works perfectly. :] Thanks!

It really should have worked without the changes I made.Must be something
in jaunty.

Btw please post the new output.

Neon Lights
February 24th, 2009, 06:29 AM
It really should have worked without the changes I made.Must be something
in jaunty.

Btw please post the new output.
Guess soo.

No output for most themes, however when opening the Doka theme, it gives out
Valid
Traceback (most recent call last):
File "/home/person/Desktop/0.1-beta/src/main.py", line 909, in on_toolbar_open_clicked
self.open()
File "/home/person/Desktop/0.1-beta/src/main.py", line 944, in open
self.load_theme(self.theme_file)
File "/home/person/Desktop/0.1-beta/src/main.py", line 986, in load_theme
self.TE = TE2.Theme(theme_file,restore)
File "/home/person/Desktop/0.1-beta/src/TE2.py", line 92, in __init__
self.load()
File "/home/person/Desktop/0.1-beta/src/TE2.py", line 283, in load
self.make_drawops('~FOO_do~',True)
File "/home/person/Desktop/0.1-beta/src/TE2.py", line 513, in make_drawops
tag = self.root[i].tag
File "/usr/lib/python2.5/xml/etree/ElementTree.py", line 224, in __getitem__
return self._children[index]
IndexError: list index out of range
and doesn't open it.


Also noticed, it doesn't show the preview of the theme in the file browser. It opens a side pane like it should, but it's empty.

days_of_ruin
February 25th, 2009, 05:57 PM
Do you know of any good tutorials for using translations in pygtk?

Never mind I found one.I am now working on making this translatable.:guitar:


I am also working on make a deb for this, what category should this go in?
I am thinking accessories or graphics.

Interpreter
February 25th, 2009, 06:03 PM
Subscribed to this, kraut translator waiting.....

Orlsend
February 25th, 2009, 07:36 PM
Never mind I found one.I am now working on making this translatable.:guitar:


I am also working on make a deb for this, what category should this go in?
I am thinking accessories or graphics.

Well I know for sure you will have a full Spanish translation.

ricsi-pontaz
February 26th, 2009, 10:33 PM
Hi!

I think this program is a good idea!
I can translate it to hungarian if you want. :)

days_of_ruin
February 26th, 2009, 11:03 PM
Hi!

I think this program is a good idea!
I can translate it to hungarian if you want. :)

Thanks.I will be releasing a deb and uploading the translation template
soon stay tuned.

days_of_ruin
March 1st, 2009, 05:12 AM
I uploaded the translation template but it has to wait for review (https://translations.launchpad.net/mct/trunk/+imports).
You can download it anyway you just can't translate it inside launchpad yet.

When some of the translations are ready I will make the next release 0.1.3.
It adds some new features including copying and pasting drawops child elements.

Interpreter
March 1st, 2009, 09:48 AM
No worries with the review part..."normal".

days_of_ruin
March 3rd, 2009, 01:42 AM
The translation template is now uploaded!
https://translations.launchpad.net/mct/trunk

Orlsend
March 3rd, 2009, 07:36 AM
Cool now its time to work!

ricsi-pontaz
March 3rd, 2009, 08:30 PM
I finished the translation. ;)

Orlsend
March 4th, 2009, 08:55 AM
I did too for spanish. When will the .deb be released?

Flimm
March 4th, 2009, 03:06 PM
This is one awesome project. I can't tell you how excited I was to see dynamic preview generation for Metacity themes. This is something which I was hoping to include in Epidermis (https://launchpad.net/epidermis), but as I didn't know C, I couldn't examine the code in the appearance app. Now I can examine your code (thanks for making it free, by the way) and see if I can make Epidermis better. If you want other developers on your project, give me a shout, I'll send stuff in once exams are over. For example, I could help you make a deb.

ricsi-pontaz
March 5th, 2009, 04:39 PM
We wait for the Metacity Themer 0.1.3 :) :popcorn:

Flimm
March 5th, 2009, 04:45 PM
I packaged Metacity Themer into a .deb, you can get it from my PPA (https://launchpad.net/~flimm/+archive/ppa/) and you can get the code from my bazaar branch (https://code.launchpad.net/~flimm/mct/packaging) at Launchpad. It's the latest version from upstream, I labeled it as 0.1beta1 , but I don't know if that's correct.
EDIT: I've corrected it to 0.9~alpha1 , it's now ready to be merged!

days_of_ruin
March 5th, 2009, 05:01 PM
I packaged Metacity Themer into a .deb, you can get it from my PPA (https://launchpad.net/~flimm/+archive/ppa/) and you can get the code from my bazaar branch (https://code.launchpad.net/~flimm/mct/packaging) at Launchpad. It's the latest version from upstream, I labeled it as 0.1beta1 , but I don't know if that's correct.

I wouldn't do that.My last commit had a lot of bugs.Wait till I upload my latest commit.

Flimm
March 5th, 2009, 05:33 PM
I wouldn't do that.My last commit had a lot of bugs.Wait till I upload my latest commit.
OK, I've subscribed to the branch, so I'll know when you're ready.

days_of_ruin
March 5th, 2009, 05:39 PM
OK, I've subscribed to the branch, so I'll know when you're ready.

Don't make a deb as soon as its released.I want people to just get a copy of the branch and test it for bugs.

days_of_ruin
March 6th, 2009, 01:01 AM
I have uploaded a new pot file so there are now a few more strings to translate.

Btw the latest commit I posted message is wrong.Translations are working.

ricsi-pontaz
March 8th, 2009, 08:27 PM
Any news about the project?

days_of_ruin
March 9th, 2009, 12:03 AM
Any news about the project?

* I am done working on the icons.:D (Check out by going to the launchpad page
* metacity-themer can now open themes from the command line.
* You can copy and paste draw ops child elements (image,line,rectangle etc..) from one window to another.

* Improved the about dialog.

I will *probably* be releasing a .deb this week.
But I am not going to include translations that aren't complete so translators please help finish them.

ricsi-pontaz
March 9th, 2009, 07:38 AM
* I am done working on the icons.:D (Check out by going to the launchpad page
* metacity-themer can now open themes from the command line.
* You can copy and paste draw ops child elements (image,line,rectangle etc..) from one window to another.

* Improved the about dialog.

I will *probably* be releasing a .deb this week.
But I am not going to include translations that aren't complete so translators please help finish them.

Good job! Thanks \\:D/

days_of_ruin
March 17th, 2009, 06:25 PM
Metacity Themer 0.2 Released!
Get it from source or the ppa
https://launchpad.net/mct/+announcement/2241

ricsi-pontaz
March 17th, 2009, 09:39 PM
Cool! :)

I wrote a blog post about it on the hungarian ubuntu Loco's website

days_of_ruin
March 17th, 2009, 11:21 PM
Cool! :)

I wrote a blog post about it on the hungarian ubuntu Loco's website

Nice! It looks like a good post altho I can't understand it.
You should do one in english.:P

ricsi-pontaz
March 18th, 2009, 02:13 PM
I've got a problem. Somebody installed Metacity Themer 0.2b, but when he want to start it, he got an error message:


Traceback (most recent call last):
File "/usr/bin/metacity-themer", line 4, in
import dl
ImportError: No module named dl

Do you know the solution?

days_of_ruin
March 18th, 2009, 04:22 PM
I've got a problem. Somebody installed Metacity Themer 0.2b, but when he want to start it, he got an error message:



Do you know the solution?

dl is part of the python standard library.I don't know why he doesn't have it.What ubuntu version and python version is he using?

ricsi-pontaz
March 20th, 2009, 11:15 AM
dl is part of the python standard library.I don't know why he doesn't have it.What ubuntu version and python version is he using?

The Ubuntu verison is 8.10 and the python is the default in the system, so 2.5.2-11.1ubuntu1

TheDexter1111
March 23rd, 2011, 08:21 AM
sorry to bring up an old topic... should probably start a new one, but ill try here first..

I've downloaded the 'metacity-themer_0.2-0ubuntu0~ppa1_all.deb' but when i double click on it I get this

Error: Dependency is not satisfiable: python2.5 (>= 2.5.2)

am i just a complete noob or is their a way to remedy this...?

im on Lucid 10.04
cheers for any help :)

23dornot23d
March 23rd, 2011, 08:44 AM
What version of python do you have installed ?

sudo apt-get install python

may sort you out if you do not have it installed ......

TheDexter1111
March 23rd, 2011, 08:55 AM
dave@laptop:~$ python
Python 2.6.5 (r265:79063, Apr 16 2010, 13:09:56)
[GCC 4.4.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>

so it looks like its 2.6.5 not 2.5.2... surely the newer version would suffice?

23dornot23d
March 23rd, 2011, 09:29 AM
Error: Dependency is not satisfiable: python2.5 (>= 2.5.2)

I agree .... the error states python needs to be greater or equal to 2.5.2
and you have 2.6.5 so it should be ok .......


Have you tried installing it from the PPA .... (https://launchpad.net/%7Efreshapplepy/+archive/ppa)

may give you a better error report from here ,,, looking back through this old thread there
was a problem with python ..... ( and I cannot see that it was resolved on here )

TheDexter1111
March 23rd, 2011, 10:38 AM
hmmm how? i have followed the instructions on Isaiah's page.. I added the 2 lines to the sources list.. as strangly:

dave@laptop:~$ sudo apt-get-repository ppa:freshapplepy/ppa
sudo: apt-get-repository: command not found

so I added the lines manually, did the 'key' thing


dave@laptop:~$ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 90300295
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /etc/apt/secring.gpg --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver keyserver.ubuntu.com --recv-keys 90300295
gpg: requesting key 90300295 from hkp server keyserver.ubuntu.com
gpg: key 90300295: "Launchpad PPA for Isaiah Heyer" not changed
gpg: Total number processed: 1
gpg: unchanged: 1


now what? where/how do i install it>? there is no link on his page to download.

sorry, im not to savy with installing packages yet :P but thank you for your help so far :)

TheDexter1111
March 23rd, 2011, 10:39 AM
sorry, double posted

23dornot23d
March 23rd, 2011, 11:18 AM
There appears to be a problem with that package ...... I have just tried it myself and even installed python 2.5.2

and it still throws up that error .......... sorry ....

( Installing the PPA it should have appeared in Synaptic Package Manager after a update and it did not appear to be there )


http://img39.imageshack.us/img39/1710/pyerror.jpg


The original author of this package needs to look at it .........

Its nothing you have done wrong ..... the package appears to be broken.

TheDexter1111
March 23rd, 2011, 11:43 AM
ok no worries then.. I thought it would appear in synaptic too but no dice.. anyway, thank you for your help, its much appreciated :D

moongia
March 31st, 2011, 10:28 AM
iam i missing some thing iam getting this err,with ubuntu 10.10 32bit


nik@LINUX:~$ metacity-themer
Traceback (most recent call last):
File "/usr/local/bin/metacity-themer", line 17, in <module>
from metacity_themer import main, utils
File "/usr/local/lib/python2.6/dist-packages/metacity_themer/__init__.py", line 115, in <module>
from metacity_themer.main import main
File "/usr/local/lib/python2.6/dist-packages/metacity_themer/main.py", line 30, in <module>
import metacity
ImportError: No module named metacity
nik@LINUX:~$

Flimm
April 1st, 2011, 01:27 AM
Try installing python-metacity:

sudo apt-get install python-metacity

23dornot23d
April 1st, 2011, 04:50 AM
I have just done that too .....

sudo apt-get install python-metacity

even after installing the python-metacity I am getting the error I had previously .....

Error: Dependency is not satisfiable: python2.5 (>= 2.5.2)

but it does not say anything about the wrong architechture .... is it ok on Ubuntu 10.10 ... 64 bit ...
on the install screen ...... was just when I re-read the ppa ...... that I noticed it ...........
is there a way it can work for 64 bit ....... too ...... ?

Downloaded it from here now and ran the python setup (https://launchpad.net/mct/+download) too but no luck yet .....

but there is a build folder now for 64 bit ... still no luck in running it ....

Got it - now ..... may have been due to not having GLADE installed .......

To run it the command I used is below .... after downloading and using the python scripts in it .....

keith@keith-Aspire-7730ZG:~/Downloads/metacity-themer-0.2.1/build/scripts-2.6$ python metacity-themer

http://img28.imageshack.us/img28/1517/deb1.jpg


There is another build too 0-2.2 ...... will see if I can find the python source for it .....

Will still not install from ppa ..... in Software Centre .... as that version is 0.2.2

Still comes up with this error

Error: Dependency is not satisfiable: python2.5 (>= 2.5.2)

Yet I am running the version 0.2.1 .... now on Ubuntu 10.10 .... 64 bit .....

Question about what files it opens (https://answers.launchpad.net/mct/+question/98563)

Not managed to open a Theme yet with it ......