Fork me on GitHub

Announcement

The oneye project has been discontinued. You might not expect further fixes and support from us. All community related systems are set to read-only mode. Though feel free to download and use oneye as-is or even fork it over at GitHub.

#1 2015-06-18 02:53:55

Wolfy
Member
Registered: 2015-05-12
Posts: 313

Tackling themes

I think I'm almost ready to work on getting some of the old themes working.  I have a couple of questions though.

Am I right in assuming that in most cases- no code should be changed as long as the images have the right name and are in the right locations?

Also, am I right in assuming that if the theme does not contain the requested image, it will automatically look for it in the "default theme"?

If these assumptions are correct then all it should require to get many of the old eyeos themes working is to reorganize the images. I am not immediately concerned with attempting to save custom configs as part of the theme, but (borrowing an idea from an old eyeos theme contributor) I have extracted a standalone version of all the images and the (hopefully) most relevant eyeLogin and eyeX codes from the default theme of a standard oneye 0.9.6 installation.  This will form a sort of template. Some of the old themes do contain code and I will be looking at whether the custom code is functional and/or necessary on a case by case basis. Eventually, I will include config files and whatever else may be needed.

Once I have figured out the exact procedure for building a oneye theme, I can create an instructional type document/pdf to go with the template.


Wolfy
https://www.facebook.com/groups/oneye/
Currently accepting new users...  http://www.OS1.hawkwolf.net
onEye admins: OS1 is a beta testing hotbed. Non-core apps available upon request.

Offline

#2 2015-06-18 03:55:15

Wolfy
Member
Registered: 2015-05-12
Posts: 313

Re: Tackling themes

yay, my first test was the eyeUbuntu theme, and it seems to be working, however, I simply ignored a bunch of css files.  I'm not sure if that's going to cause unforeseen problems in the future or not.  In particular. this theme had a category of images called, scalable, and they are in the SVG format.  I don't know if they are working properly.  I think so, but not sure. 

Speaking of scalability again, I also discovered that, whether by accident or design, the default bg image does not scale, only a custom bg image.  Can we get the default bg image to scale as well? Otherwise, certain themes, such as the eyeUbuntu and my own HawkWolf Network theme which I haven't yet created, will have to somehow treat the default bg as though it were custom.


Wolfy
https://www.facebook.com/groups/oneye/
Currently accepting new users...  http://www.OS1.hawkwolf.net
onEye admins: OS1 is a beta testing hotbed. Non-core apps available upon request.

Offline

#3 2015-06-18 07:56:01

Wolfy
Member
Registered: 2015-05-12
Posts: 313

Re: Tackling themes

Upon thinking about it, I realize that the theme is only about half functional at this point.  None of the svgs, odd sizes or obsolete apps will be called upon by the current oneye code.  I guess I'll need to make a few more "adjustments".


Wolfy
https://www.facebook.com/groups/oneye/
Currently accepting new users...  http://www.OS1.hawkwolf.net
onEye admins: OS1 is a beta testing hotbed. Non-core apps available upon request.

Offline

#4 2015-06-19 18:35:13

Wolfy
Member
Registered: 2015-05-12
Posts: 313

Re: Tackling themes

Is scaling the default bg image going to be possible or is that a no-go?  It looks so much better scaled.


Wolfy
https://www.facebook.com/groups/oneye/
Currently accepting new users...  http://www.OS1.hawkwolf.net
onEye admins: OS1 is a beta testing hotbed. Non-core apps available upon request.

Offline

#5 2015-06-19 21:03:24

lars-sh
Administrator
From: near Hamburg, Germany
Registered: 2011-07-14
Posts: 731
Website

Re: Tackling themes

You're right. Image are taken from the default theme, I in case the current theme is missing them.
As you can see at https://github.com/oneye/oneye/blob/mas … /theme.xml it's even possible to define a base theme, from which to include higher level CSS commands to minimize the need to define basic things for each theme again and again.
I guess you mean using "background-size: cover;" on that default background, am I right?


Best regards,
Lars Knickrehm

The oneye project.

Offline

#6 2015-06-20 03:52:57

Wolfy
Member
Registered: 2015-05-12
Posts: 313

Re: Tackling themes

I'm not sure how you accomplished it, but it was the last update I installed a few days ago. Basically, I would like the default bg image to fit the screen.  Currently, only a custom bg image will change its size to fit. It doesn't matter if the default image is just a colorful pattern, but Ubuntu theme has a stylized birds head and neck as default.  On my current "half-sized", tiny resolution, all I get is the head in the bottom corner (unless I select it as a custom).


Wolfy
https://www.facebook.com/groups/oneye/
Currently accepting new users...  http://www.OS1.hawkwolf.net
onEye admins: OS1 is a beta testing hotbed. Non-core apps available upon request.

Offline

#7 2015-06-20 06:58:37

Wolfy
Member
Registered: 2015-05-12
Posts: 313

Re: Tackling themes

This next bit is tangenitally related to the themes. I found it slightly confusing that eyeNav and eyeIframize use the same icon. May I get a permanent change to eyeIframize.xml?  Would you consider changing the icon from eyeNav.png to eyeFrame.png, and for now, you can simply copy eyeNav and change it's name to eyeFrame.  In other words, if you don't have an alternative icon to use for eyeFrame, you can use the same icon with two names.  This is so that when making (or converting) a theme, the admin can use two different icons or the same icon as desired. I would make a request through github, but I'm still not that familiar with how it works.


Wolfy
https://www.facebook.com/groups/oneye/
Currently accepting new users...  http://www.OS1.hawkwolf.net
onEye admins: OS1 is a beta testing hotbed. Non-core apps available upon request.

Offline

#8 2015-06-20 07:13:02

Wolfy
Member
Registered: 2015-05-12
Posts: 313

Re: Tackling themes

I found a version of eyeos1.9 but it's too similar to oneye to be of use.  What I could really use, for testing purposes only, is a copy of eyeos1.6.  That way I could get a better visual of what the theme was originally supposed to look like.  I'm thinking most of these old themes are from around the time of 1.5 or 1.6.  Anybody have a zipped up original copy or know where to find one?


Wolfy
https://www.facebook.com/groups/oneye/
Currently accepting new users...  http://www.OS1.hawkwolf.net
onEye admins: OS1 is a beta testing hotbed. Non-core apps available upon request.

Offline

#9 2015-06-20 09:45:31

Wolfy
Member
Registered: 2015-05-12
Posts: 313

Re: Tackling themes

Sorry for the flood of posts again.  I'm still plugging along half blind on this Ubuntu theme when I realized there is some problem with the login screen code. 

Originally, I realized that to change the bg image of the login screen you have to change the default plus bg image.  This is a bit of a hassle, but I can gloss over it.

Today I also noticed that the favicon will only load from default plus.  Now to be honest, I saw the correct favicon load once, but no matter what I did it would not load a second time.  I renamed the favicons in both default and default plus themes (effectively disabling them) then cleared cache and reloaded the login screen.  The proper favicon would not appear again until I copied it into the default plus theme.

It seems to be hardcoded somehow to pull from default plus.


Wolfy
https://www.facebook.com/groups/oneye/
Currently accepting new users...  http://www.OS1.hawkwolf.net
onEye admins: OS1 is a beta testing hotbed. Non-core apps available upon request.

Offline

#10 2015-06-20 17:51:57

Wolfy
Member
Registered: 2015-05-12
Posts: 313

Re: Tackling themes

Well, I got about 90% of the Ubuntu theme figured out. I just finished renaming a few things and  deleting the unused images and obsolete categories. If possible I think I should change the color(s) of the bottom dock bar. The blues do not match the browns and oranges of the rest of the theme.  Is that possible to change with the theme?


Wolfy
https://www.facebook.com/groups/oneye/
Currently accepting new users...  http://www.OS1.hawkwolf.net
onEye admins: OS1 is a beta testing hotbed. Non-core apps available upon request.

Offline

#11 2015-06-20 19:48:59

Wolfy
Member
Registered: 2015-05-12
Posts: 313

Re: Tackling themes

Although a few issues are still unanswered and unresolved at this point, I'm moving on to Vista theme.  There were two of them, so I combined them and kept what I thought was the best parts of both. If the requested changes go through I can make the minor changes later.


Wolfy
https://www.facebook.com/groups/oneye/
Currently accepting new users...  http://www.OS1.hawkwolf.net
onEye admins: OS1 is a beta testing hotbed. Non-core apps available upon request.

Offline

#12 2015-06-20 22:28:18

Wolfy
Member
Registered: 2015-05-12
Posts: 313

Re: Tackling themes

Aha, I just figured out how to change the login screen's behavior using the default user settings. If I save a theme as the default user, the login screen gets set that way for all users- until changed.  Which is pretty odd when I have ubuntu selected for default user, vista selected for root, and default-plus set for Guest, etc.  It's a little clunky but effective.  I'm personally planning to block the free users from changing their theme and other system display settings, so in the long run it probably won't matter to me. 

PS- Though I would still like to see a prefs routine for the login screen, in this case, getting the default bg image to "fit to size" on both screens is even more important for getting the themes to look their best.

Last edited by Wolfy (2015-06-20 23:12:13)


Wolfy
https://www.facebook.com/groups/oneye/
Currently accepting new users...  http://www.OS1.hawkwolf.net
onEye admins: OS1 is a beta testing hotbed. Non-core apps available upon request.

Offline

Board footer

Powered by FluxBB