Notices


Reply
Thread Tools
Posts: 254 | Thanked: 95 times | Joined on Feb 2010 @ New Delhi, India
#911
Hi,

I have just started using video - live wallpaper.... and even though it eats battery slightly faster, it's a pretty cool thing. I was wondering if it is possible to include the video wallpaper option in Plastic theme pack??
 
Posts: 172 | Thanked: 193 times | Joined on Nov 2009 @ Germany
#912
Originally Posted by shazosbourne View Post
I wanted a slightly different blue so I adjusted the CSS in /opt/usr/share/themes/blackplastictheme-themedir/css/colors.css but those widgets have kept their "DarkBlue" colour setting.
Make sure you also changed the color in "/opt/usr/share/themes/blackplastictheme-themedir/gtk-2.0/gtkrc".

After that run "hildon-theme-cacher /opt/usr/share/themes/blackplastictheme-themedir" to regenerate the gtkrc.cache.
 
d-iivil's Avatar
Posts: 2,154 | Thanked: 2,186 times | Joined on Dec 2009 @ Hellsinki, Finland
#913
Originally Posted by shazosbourne View Post
Hey D-Ilvil,

Do you happen to know where the text colour for the Personal Dataplan Monitor and IP address widgets comes from?

I wanted a slightly different blue so I adjusted the CSS in /opt/usr/share/themes/blackplastictheme-themedir/css/colors.css but those widgets have kept their "DarkBlue" colour setting.

I'm also wanting to make those widgets transparent but haven't heard back from the author about where the files are.

Cheers
Instead edit these files (you need to edit all three, search for the active text color):
/opt/plastic-schemes/DarkBlue/css/colors.css
/opt/plastic-schemes/DarkBlue/gtk2.0/gtkrc
/opt/plastic-schemes/DarkBlue/colors.config

And then run the Plastic Theme Setup again selecting the DarkBlue -scheme to use.
__________________
If you're rich and you think I deserve a cold beer, you may donate one or two :-P

80's style stadium rock is back - FIRENOTE
Hi-Octane heavy metal - FORCE MAJEURE
 

The Following User Says Thank You to d-iivil For This Useful Post:
Posts: 2,014 | Thanked: 1,581 times | Joined on Sep 2009
#914
Originally Posted by D-Iivil View Post
Okay,

here's short how-to about converting ANY other theme to act like Plastic Scheme. Things needed in this turorial:
ON DEVICE:
rootsh (install from extras)

1. you must have the theme installed onto the phone which you want to convert to be Plastic Scheme
2. locate the theme (type these into terminal):
Code:
sudo gainroot
cd /usr/share/themes/
ls
That will output you directories of themes you have installed like this:
Code:
Nokia-N900:/opt/usr/share/themes# ls
Default                     alpha
Emacs                       beta
MurrinaNightOrange          blackplastictheme-themedir
Raleigh                     default
Nokia-N900:/opt/usr/share/themes#
In this case we shall make the default NSeries theme to be Plastic Scheme. It's directory is called "alpha".

3. Create a directory for the scheme under /opt/plastic-schemes/, you can name the direcotry to what you want, name of the directory is shown as scheme name in Plastic Theme Setup. Type this into xterm:
Code:
mkdir /opt/plastic-schemes/NSeries
4. Copy the contents of the theme to /opt/plastic-schemes/NSeries/ (or what ever you decided to name the directory in previous step), type these into terminal:
Code:
cp -rf /usr/share/themes/alpha/* /opt/plastic-schemes/NSeries/
That's the easy part. Now we need to manually edit one file so that the theme will actually work as scheme. You can use what ever editor you want, I prefer leafpad since it can be easily be launched from terminal. Edit this file:
/opt/plastic-schemes/NSeries/gtk-2.0/gtkrc

If you're using leafpad too, then the command to edit this file would be:
Code:
leafpad /opt/plastic-schemes/NSeries/gtk-2.0/gtkrc
When you have the gtkrc-file opened into some editor, locate these three lines (they are almost at the beginning of the file):
Code:
pixmap_path "/usr/share/themes/alpha/images"
gtk-theme-name = "Nokia Nseries"
gtk-icon-theme-name = "hicolor"
Replace those three lines with these:
Code:
pixmap_path "/usr/share/themes/blackplastictheme-themedir/images"
gtk-theme-name = "Black Plastic Theme"
gtk-icon-theme-name = "black-plastic-icons"
When done, save the file and close the text editor and return to terminal. Next we need to search and replace all entries of "Nokia Sans" with "Droid Sans" in few files. Copy and paste these commands into terminal (you still must be gainrooted), these are both one-lines, the forum software seems to automaticly break the lines... but copy-paste works here:
Code:
perl -pi -e "s/Nokia Sans/Droid Sans/g" /opt/plastic-schemes/NSeries/gtk-2.0/gtkrc
perl -pi -e "s/Nokia Sans/Droid Sans/g" /opt/plastic-schemes/NSeries/css/colors.css
Finally we need to remove some unwanted files. Type these into terminal:
Code:
rm -rf /opt/plastic-schemes/NSeries/backgrounds/theme_bg.desktop
rm -rf /opt/plastic-schemes/NSeries/index.theme
rm -rf /opt/plastic-schemes/NSeries/matchbox
rm -rf /opt/plastic-schemes/NSeries/matchbox2
That's it!

Now the NSeries -theme will be shown @ Plastic Theme Setup and you can customize it same way like all other schemes.

I personally use openssh-server and WinSCP -program where transferring and editing files is much easies when you can do all this with GUI.
Would a symlink work rather than copying?
__________________
Class .. : Power Poster, Potential Coder
Humor .. : [*********] Alignment: Chaotic Evil
Patience : [***-------] Weapon(s): +2 Logic Mace
Agro ... : |*****-----] Relic(s) : G1, N900

 
Posts: 98 | Thanked: 16 times | Joined on Jun 2010
#915
Question. When converting a theme to work for plastic theme, how do you know which directory the theme is in? For instance, you said that the NSeries theme was in the "alpha". How did you know that? Because I'm trying to do the same for my other themes but don't know which directory names to use.
 
d-iivil's Avatar
Posts: 2,154 | Thanked: 2,186 times | Joined on Dec 2009 @ Hellsinki, Finland
#916
Originally Posted by Bratag View Post
Would a symlink work rather than copying?
Not really since some files needs to be left out and we really don't want to mess with the "original" files in case something goes wrong, so copy is safer.


@dagee, if you go into any folder located at /usr/share/themes/ and edit file called "index.theme" you will see
__________________
If you're rich and you think I deserve a cold beer, you may donate one or two :-P

80's style stadium rock is back - FIRENOTE
Hi-Octane heavy metal - FORCE MAJEURE
 
Posts: 176 | Thanked: 122 times | Joined on Apr 2010
#917
pleego is truly amazing, i love it.
i wish the background was a bit darker, but great color scheme nonetheless.
thanks



ps where's coffee?

Last edited by magullo; 2010-08-17 at 08:42. Reason: added pleego image
 
Posts: 229 | Thanked: 36 times | Joined on Jan 2010 @ Bulgaria
#918
Originally Posted by magullo View Post
pleego is truly amazing, i love it.
i wish the background was a bit darker, but great color scheme nonetheless.
thanks

ps where's coffee?
Coffee is in Addon Pack 1.
Regards.
 

The Following User Says Thank You to jorjino For This Useful Post:
Posts: 184 | Thanked: 11 times | Joined on Mar 2010 @ sjdm,bulacan,philippines
#919
Hi!
How can i copy the layouts in your virtual keyboard to another themes? For example, i want the color highlight when i press a letter in virtual keyboard.What are the files i need to copy?
(like i did, i copy the TaskSwitcherNotificationThumbnail.png to another theme. But this time, i want to copy the keyboard layouts to an0ther theme)
Sorry, im just newbie in optimizing n900.
 
Posts: 458 | Thanked: 136 times | Joined on Jul 2010 @ Holland
#920
Originally Posted by D-Iivil View Post
After playing around a bit I have to give up with this. It's impossible to use light buttons since main font that's also light will not be visible on some situations. Sorry.
You can't change the font color?
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 01:17.