Page 1 of 1

Create a New Theme

PostPosted: Sun Nov 22, 2009 11:27 pm
by Jonathan
I have tried to create a nice default theme in OpenShot, but of course, graphics are very subjective. If you would like to create your own theme (or tweak an existing one), follow these easy steps:

Step 1) Locate the /openshot/themes/ folder. Make a copy of the "blue_glass" folder. Call this new folder whatever you want to.
Step 2) Using Gimp (or any image editor) modify the images in this folder to your liking.
Step 3) Next time you run OpenShot, go to /Edit/Preferences, and change your theme to your new folder.

Congratulations, you have just created your first custom OpenShot theme. Now, if you are a good artist, and created something truly original and beautiful, please upload your theme folder (as a TAR) to this forum. The best themes will be considered for packaging in OpenShot! Good luck!

Re: Create a New Theme

PostPosted: Wed Oct 13, 2010 5:01 am
by clicker4721
You refer to the '~/.openshot/themes/' folder, yes? That location was sort of vague. Regardless, in my '~/.openshot/' folder, I don't have a themes folder... :-/

EDIT: Oh...I see I was resurrecting a dead thread. Still, I would like to contribute a theme that meshes with the new Ubuntu themes, and need instructions. :-)

Re: Create a New Theme

PostPosted: Wed Oct 13, 2010 8:38 am
by Andy
Not sure where you get ~/.openshot/themes/, the instructions above refer to /openshot/themes/

Re: Create a New Theme

PostPosted: Mon Dec 13, 2010 3:55 pm
by cecilia
Andy wrote:Not sure where you get ~/.openshot/themes/, the instructions above refer to /openshot/themes/
it's in your home directory.
mine is:
/home/cecilia/.openshot
to see it you have to unhide hidden files.

and there are no themes in that directory. at least there are none in mine. I am still a very new OpenShot user.

themes are in here:
/usr/share/pyshared/openshot/themes

however, to save and write files TO the themes directory you need to "Open as Administrator" - right click to access that in the Nautilus menu

Re: Create a New Theme

PostPosted: Tue Dec 14, 2010 4:31 pm
by Cenwen
All is right. :lol:

And i will add :
Code: Select all
sudo mv mynewtheme /usr/share/pyshared/openshot/themes

This command will move your new theme in the good folder and after you could choose it easily like the others.

Re: Create a New Theme

PostPosted: Fri Feb 10, 2012 10:16 pm
by hanspb
If I make a copy of a theme folder in /openshot/themes/ and just give it a new name, say I copy the contents of the blue_glass folder into a new folder called blue_glass_test, shouldn't then a new theme called blue_glass_test show up in the themes list next time I run OpenShot?

Re: Create a New Theme

PostPosted: Sun Feb 12, 2012 11:19 am
by Cenwen
Exactly. :D

Re: Create a New Theme

PostPosted: Sun Feb 12, 2012 4:31 pm
by hanspb
But nothing happens here. I made a copy of the Fresher theme folder, because I wanted to try to make a variety of it. But since the new theme name doesn't show up, there's not much point in starting to make changes either. :( Strange.

Re: Create a New Theme

PostPosted: Sun Feb 12, 2012 9:19 pm
by Andy
hanspb wrote:If I make a copy of a theme folder in /openshot/themes/ and just give it a new name, say I copy the contents of the blue_glass folder into a new folder called blue_glass_test, shouldn't then a new theme called blue_glass_test show up in the themes list next time I run OpenShot?


Yes, it should. The code is quite simple, it looks for folders in the themes directory and appends them to the list:

Code: Select all
for dir in os.listdir(self.project.THEMES_DIR):
         self.cmbThemes.append_text(dir)


Is this your installed version of OpenShot you are trying to do this with, or with a local source code copy?

Re: Create a New Theme

PostPosted: Sun Feb 12, 2012 10:50 pm
by hanspb
It is installed the normal way from PPA.

Re: Create a New Theme

PostPosted: Mon Feb 13, 2012 5:06 pm
by Cenwen
Yes I confirm it should without any problems. :D
I've created just some few themes for the 2.0 version without no complications at this level.

How have you create the copy ?

If you are not sure, you should try with a copy of the trunk in your home. Like this, you could test easily your creation.
See here how to get this copy : http://openshotusers.com/help/1.3/en/ar01s29.html

Re: Create a New Theme

PostPosted: Mon Feb 13, 2012 6:42 pm
by hanspb
First of all, my installation is in /usr/share/pyshared/openshot/.

In the themes folder, I made a new folder called Fresher_test. Then I copied the contents of the Fresher folder into this new one. This was done as root in Nautilus (gksu nautilus).
I even tried it on two different systems, one running Mint 9 and the other Mint 11.

Re: Create a New Theme

PostPosted: Mon Feb 13, 2012 9:17 pm
by Andy
Are the permissions on the new folder the same as the others?

Re: Create a New Theme

PostPosted: Mon Feb 13, 2012 10:26 pm
by hanspb
Yes, exactly the same. drwxr-xr-x

Edit: I tried Cenwen's suggestion about getting a copy of the source code, and it works there, a new theme folder does show up in the list. :o