PDA

View Full Version : Making a theme, a blind man feeling an elephant.



Islington
April 19th, 2008, 12:30 AM
So I wanted to make a gnome theme from scratch (read: learning experience with character building) and I started with the tutorials on the gnome site. Unfortunately this means:

1) I type something out/tweak a setting/color/image.
2) I save the file in gedit/gimp
3) I have to rearchive
4) Delete old theme by same name
5) install updated theme.
6) cry with frustration as the tweak is just a little off.
7) repeat 1-6

all this just to test every minor change? Please tell me there is a quick way to see the changes made? Also I put this here because the desktop thread has a lot of desktop perfectionists.Also would appreciate any other resources for theme building.

Mazza558
April 19th, 2008, 12:33 AM
I've seen many themes show off their widgets using a program called "widget factory" - I don't know what it is, but it might be what you're looking for..?

Islington
April 19th, 2008, 12:59 AM
spot on for the widget factory! dhanyavad. :)

geoken
April 19th, 2008, 01:00 AM
Yeah, you're definately doing it the super long way. When you drag the archived theme onto the gnome theme manager all gnome's doing is taking that archive and extracting it into the ".themes" directory in your home folder.

The quick way to make themes is to directly edit the files in that directory. For example, if you have a theme called myTheme, you'll have the folder /home/username/.themes/myTheme. Just go to that folder and directly edit the theme. When you make a change just save that change, then switch to a different theme and switch back (aka. refresh the theme) and you'll be able to review the new change you made.

LeoSolaris
April 19th, 2008, 01:01 AM
I always just edited what was in the archive, then when I want to put the new file or what ever in, I save it in the same folder as the archive, then use the archive manager to open the archive, and add it to the already existing archive. It has always asked if I want to replace the pre-existing file. I yes that and then close the archive manager. I uninstall then reinstall the theme to make the changes work. That works for me with the login theme I mod.

LeoSolaris
April 19th, 2008, 01:05 AM
Yeah, you're definately doing it the super long way. When you drag the archived theme onto the gnome theme manager all gnome's doing is taking that archive and extracting it into the ".themes" directory in your home folder.

The quick way to make themes is to directly edit the files in that directory. For example, if you have a theme called myTheme, you'll have the folder /home/username/.themes/myTheme. Just go to that folder and directly edit the theme. When you make a change just save that change, then switch to a different theme and switch back (aka. refresh the theme) and you'll be able to review the new change you made.

Sounds much easier... I'll try that from now on. Shave a few steps off my old way.

Leo

klange
April 19th, 2008, 01:07 AM
Edit, save, switch to a different theme and (before it even loads), switch back to your new theme. Fairly simple. Also, +1 for TWF - you can also hack it for RGBA if you're using Murrine-svn.

Islington
April 19th, 2008, 01:08 AM
Yeah, you're definately doing it the super long way. When you drag the archived theme onto the gnome theme manager all gnome's doing is taking that archive and extracting it into the ".themes" directory in your home folder.

The quick way to make themes is to directly edit the files in that directory. For example, if you have a theme called myTheme, you'll have the folder /home/username/.themes/myTheme. Just go to that folder and directly edit the theme. When you make a change just save that change, then switch to a different theme and switch back (aka. refresh the theme) and you'll be able to review the new change you made.

Ah, now thats a more logical way..


I havent actually been able to compile murrine svn.

Bubba64
April 19th, 2008, 01:51 AM
Or try this it is kinda cool for Firefox themes
http://labs.mozilla.com/2007/12/personas-for-firefox/

Mr. Picklesworth
April 19th, 2008, 03:58 AM
Rather than working in the .Themes directory, the safer and tidier route would be to create a symlink in .Themes leading to your work. (Create Link in Nautilus). That's how I deal with panel applets, anyway...