Quick Link: OzOS, "The Reality Different"| A cafelinux.org development project.
Digg This!
Pages: [1] 2   Go Down
  Print  
Author Topic: HowTo easily make or change an e17 theme  (Read 4852 times)
 
0 Members and 25 Guests are viewing this topic.
Rui Pais
Architect
*****
Offline Offline

OS Used: OzOS, Ubuntu, Debian (Olds: Fedora,Gentoo)
Posts: 995



View Profile
« on: November 07, 2007, 09:14:32 pm »

Hi all,
this is a mini How-to on e17 themes

"Doing"/change a theme is extremely simple. 

Pick a theme upon which you want to base or make changes.
If you pretend to build a fresh theme i suggest one use a recent default. edj
(under /opt/e17/share/enlightenment/data/themes/ or /usr/share/enlightenment/data/themes/).
Another well done themes, usually updated and extremely easy to tune are Guliverts's Simply-White and Milky:
http:www0.get-e.org/Themes/E17/

- copy the theme you want to change or base to your home directory.

- now decompress it, doing (replace <the_theme_name> by the name of the theme you are using, of course):
Code:
edje_decc <the_theme_name>.edj

- on the new created folder, change the name for your new theme if you want to do deep changes and create a "new", or leave it as it is, if you prefer.

- go to new folder and edit build. sh (one line bash code), replacing the old edj name by new one or simply something that distinguish from the original (avoid numeration, since the Themes Window list only shows names until a dot, so my_theme-0. 1 and my_theme-0. 2 will be all my_theme-0).

- change/edit any images/pics/icons to what you prefer.  Keep the names of original files or you have to edit the list of files on the edc file that call them.

- everything is controlled by edc files, usually named according to what they do/control.  Read edc code for deep changes.  Even without coding one can understand it and do changes here and there.  It's a mix of formating instructions in C style. . .

- to compile the new version, just run from the theme folder:

Code:
./build.sh

if you are recompiling a running theme:

Code:
./build.sh && enlightenment_remote -restart

or a 'Enlightenment -> Restart' from the menus.


Even if one cant understand fully how a theme is build or the edc code, can at least tweak it to they taste.

Hope someone find this useful
Rui
Smiley
« Last Edit: January 17, 2008, 08:22:49 am by Rui Pais » Logged

I must have a prodigious quantity of mind; it takes me as much as a week sometimes to make it up.
- M. T.
Rui Pais
Architect
*****
Offline Offline

OS Used: OzOS, Ubuntu, Debian (Olds: Fedora,Gentoo)
Posts: 995



View Profile
« Reply #1 on: November 21, 2007, 05:36:50 am »

So, no one want to show/suggest new themes?

I use this space for inform that i update my BlackEmerald.
It's now based on default e17 theme (base code), with graphical ideas from Black theme and my one of old BlackEmerald.

It fixes the following bugs/annoyances:
On xfce-terminal (at least) open a new tab and then close create a bad incorrect shadow when dropshadow is enabled.
On Run Command, the name of apps disappear on the white background.
The About Enlightenment was not legible at all.

i post some pics of before and after Smiley

This update it's available by installing e17-cvs latest deb.
Check System tab on theme selector.



@RAV TUX,
Jozef i don't know if you noted, but, although BlackEmerald it's not enabled by default it's included automatically as a system theme, with the default one (a step closer Wink).



Screenshot-15.jpg
Re: HowTo easily make or change an e17 theme
* Screenshot-15.jpg (105.25 KB, 1383x801 - viewed 255 times.)
Screenshot-18.jpg
Re: HowTo easily make or change an e17 theme
* Screenshot-18.jpg (104.63 KB, 1044x691 - viewed 239 times.)
Screenshot-19.jpg
Re: HowTo easily make or change an e17 theme
* Screenshot-19.jpg (57.82 KB, 996x495 - viewed 221 times.)
Logged

I must have a prodigious quantity of mind; it takes me as much as a week sometimes to make it up.
- M. T.
smartboyathome
Universal Maven
*****
Online Online

OS Used: Ubuntu Linux or Arch Linux, depending on the computer
Posts: 258


Haha I gotchu!


View Profile
« Reply #2 on: November 21, 2007, 05:52:19 am »

Sorry, I like the theme I am using now, that is all.  Your theme is very good too, though.  :)
Logged
Tux Aubrey
Architect
*****
Online Online

OS Used: OzOS, Ubuntu
Posts: 655



View Profile
« Reply #3 on: November 21, 2007, 05:53:35 am »

Very cool, Rui Pais, and thank you for this post.  I started following it by modifying Carbon-14 - but I will need more practice before I go public with anything!

I will also have a go at some OzOs-style themes when I have done a few more Visual Concepts and we narrow-in on logo and color schemes (Thanks for your comments on those , BTW)

Logged

Rui Pais
Architect
*****
Offline Offline

OS Used: OzOS, Ubuntu, Debian (Olds: Fedora,Gentoo)
Posts: 995



View Profile
« Reply #4 on: November 21, 2007, 06:04:03 am »

Sorry, I like the theme I am using now, that is all.  Your theme is very good too, though.  Smiley

Thanks Smiley
It's essentially based on work of many others, just little tweaked by me.


Very cool, Rui Pais, and thank you for this post.  I started following it by modifying Carbon-14 - but I will need more practice before I go public with anything!

I will also have a go at some OzOs-style themes when I have done a few more Visual Concepts and we narrow-in on logo and color schemes (Thanks for your comments on those , BTW)

Good, i will look with great expectation for your Carbon-14 tuned one.
Thank you, for your work on graphical side.
We probably will endup doing/tweak something for your final work.

« Last Edit: November 21, 2007, 06:07:59 am by Rui Pais » Logged

I must have a prodigious quantity of mind; it takes me as much as a week sometimes to make it up.
- M. T.
smartboyathome
Universal Maven
*****
Online Online

OS Used: Ubuntu Linux or Arch Linux, depending on the computer
Posts: 258


Haha I gotchu!


View Profile
« Reply #5 on: November 24, 2007, 08:01:07 am »

I am now editing your theme to work out some of the "bugs" that plague me. Wink Will post when done Smiley

EDIT: Here is the first version of it. It can be downloaded here.
« Last Edit: November 24, 2007, 09:47:39 pm by smartboyathome » Logged
Tux Aubrey
Architect
*****
Online Online

OS Used: OzOS, Ubuntu
Posts: 655



View Profile
« Reply #6 on: November 25, 2007, 03:33:38 pm »

Hi all

I have been modifying a theme (Black Emerald) from inside a new OzOS/Xubuntu install.  After the mods, I cd to the new theme directory and when I do

Quote
./build.sh


I get "Permission denied".

If I then do
Quote
sudo ./build.sh

I get a

Quote
sudo: ./build.sh: command not found

Any ideas on what I could be missing here?  (This has worked for me on an early e17 cvs build)

Logged

RAV TUX[BANNED]
Architect
*****
Offline Offline

OS Used: OzOS
Posts: 2610


RAV TUX is official BANNED! BRUNT BEANS! & EXILED!


View Profile
« Reply #7 on: November 25, 2007, 05:16:32 pm »

I am now editing your theme to work out some of the "bugs" that plague me. Wink Will post when done Smiley

EDIT: Here is the first version of it. It can be downloaded here.
I'm downloading this now to try later.
Logged

Linux Foundation Associate Member
smartboyathome
Universal Maven
*****
Online Online

OS Used: Ubuntu Linux or Arch Linux, depending on the computer
Posts: 258


Haha I gotchu!


View Profile
« Reply #8 on: November 25, 2007, 08:08:49 pm »

Just to let everyone know, that one only takes care of the About, Teme about, and menu readability bugs which make them hard to read (the about is still a little hard to read).
Logged
Rui Pais
Architect
*****
Offline Offline

OS Used: OzOS, Ubuntu, Debian (Olds: Fedora,Gentoo)
Posts: 995



View Profile
« Reply #9 on: November 26, 2007, 06:06:59 pm »

Hi all

I have been modifying a theme (Black Emerald) from inside a new OzOS/Xubuntu install.  After the mods, I cd to the new theme directory and when I do
 

I get "Permission denied".

If I then do
I get a

Any ideas on what I could be missing here?  (This has worked for me on an early e17 cvs build)


Hi, Aubrey, sorry this late answer Sad

maybe some permissions got lost on copy process ...
try from your theme folder:
Code:
chmod +x build.sh
and then
Code:
./build.sh
again.

hth
Logged

I must have a prodigious quantity of mind; it takes me as much as a week sometimes to make it up.
- M. T.
RAV TUX[BANNED]
Architect
*****
Offline Offline

OS Used: OzOS
Posts: 2610


RAV TUX is official BANNED! BRUNT BEANS! & EXILED!


View Profile
« Reply #10 on: November 27, 2007, 07:29:06 am »

Just to let everyone know, that one only takes care of the About, Teme about, and menu readability bugs which make them hard to read (the about is still a little hard to read).
The about Theme is a nice fix, also the theme wallpaper seems tweaked. It looks great  Afro

snapshot4.png
Re: HowTo easily make or change an e17 theme
* snapshot4.png (446.56 KB, 1280x1024 - viewed 218 times.)
Logged

Linux Foundation Associate Member
smartboyathome
Universal Maven
*****
Online Online

OS Used: Ubuntu Linux or Arch Linux, depending on the computer
Posts: 258


Haha I gotchu!


View Profile
« Reply #11 on: November 27, 2007, 09:22:58 am »

Oh yeah, I forgot a set a new wallpaper as default (the old one was for widescreens, this one is for fullscreens).
Logged
Rui Pais
Architect
*****
Offline Offline

OS Used: OzOS, Ubuntu, Debian (Olds: Fedora,Gentoo)
Posts: 995



View Profile
« Reply #12 on: November 29, 2007, 05:19:59 pm »

Hi guys,
yes i only have widescreens now... no way to test other formats Sad
Note that this is just a wallpaper i choose (almost random, just because of the black crystal image, because i use slideshow module my desktop is always changing, i never get bored  Tongue)
For Oz we have to concentrate and integrate all in one look, that must have more to do we "nature"  feels... and will have the advantage that, well chosen background, they can be relatively good on any monitor formats (desert images, faraway vegetation, horizon lines, sky images, textures, and so on...)

Jozef what do you think we get a set of pics on nature (Aubrey can easily get some nice ones from Australian landscapes) and set them rotating with slideshow module?
It's very cool and impressive (some time i talks to friends in front of computer, and i'm always being interrupted with "Oh, thats nice", "that one i had seen it yet", "Ooh look this one so cool" ...  Cheesy)


Thanks for the tips on fonts smartboyathome. I included them default BlackTheme with a mention on About theme Smiley

Here some pics of rusted theme, a warm/redish version of BlackEmerald:

rusted1.jpg
Re: HowTo easily make or change an e17 theme
* rusted1.jpg (268.43 KB, 1680x1050 - viewed 179 times.)
Screenshot-28.jpg
Re: HowTo easily make or change an e17 theme
* Screenshot-28.jpg (221.95 KB, 1680x1050 - viewed 167 times.)
Screenshot-29.jpg
Re: HowTo easily make or change an e17 theme
* Screenshot-29.jpg (76.58 KB, 1680x1050 - viewed 178 times.)
« Last Edit: December 01, 2007, 02:55:35 am by Rui Pais » Logged

I must have a prodigious quantity of mind; it takes me as much as a week sometimes to make it up.
- M. T.
Bro.Tiag
Universal Maven
*****
Online Online

OS Used: OzOs on Debian GNU/Linux
Posts: 286



View Profile
« Reply #13 on: February 06, 2008, 07:44:38 am »

Nice HowTo Rui.

Since this is a section regarding making new themes for e17 I'm wandering how to go 'bout having a default theme (not Bling Bling) without having to use the dialog box.   I know that you folk are not keen on *. debs (fair play to ya's, I also prefer the cvs) but most folk I know want to install via them.   So my question is if I were to make a *. deb of a custom theme is there some post install script I could add to my control. tar. gz to set my custom theme on the first boot up?

Cheers
Logged
Rui Pais
Architect
*****
Offline Offline

OS Used: OzOS, Ubuntu, Debian (Olds: Fedora,Gentoo)
Posts: 995



View Profile
« Reply #14 on: February 06, 2008, 09:22:00 am »

Nice HowTo Rui.
Thanks Smiley

Since this is a section regarding making new themes for e17 I'm wandering how to go 'bout having a default theme (not Bling Bling) without having to use the dialog box.   I know that you folk are not keen on *. debs (fair play to ya's, I also prefer the cvs) but most folk I know want to install via them.   So my question is if I were to make a *. deb of a custom theme is there some post install script I could add to my control. tar. gz to set my custom theme on the first boot up?

Cheers

Well, right now either e17-cvs as my themes (e17-themes) are available as deb packages... but i understand what you mean Wink
(btw, one thing that e17-cvs would be useful it's to repo creators create they updated debs. dev install e17 from cvs with e17-cvs and then package all into a usual binary with a minimal postinstall, should be easy)

To your question... well i don't see any problem. Just make the postinstall script mv default.edj to other location (on OzOS i renamed to BlingBling.edj, so users can get it back if they prefer) and copy your theme to it's place as default.edj.
The only caution/note to make it's, do not make symlinks (i tried that way i it plains segfault e17).

hth
Logged

I must have a prodigious quantity of mind; it takes me as much as a week sometimes to make it up.
- M. T.
Tags:
Pages: [1] 2   Go Up
  Print  
 
Jump to:  

Quick Link: OzOS, "The Reality Different"| A cafelinux.org development project.
Powered by SMF | SMF © 2006-2008, Simple Machines LLC | Page created in 0.216 seconds with 23 queries.