Deviation Actions

killhellokitty's avatar

DeLorean-Dark-Eclipse-Theme_1

Published:
23 Comments
28K Views
A theme for Eclipse to blend in with the DeLorean-Dark-Theme.

*NEW* DeLorean-Dark-Eclipse-3.8 Theme Available Here.

Requirements:
  • Eclipse Juno

  • DeLorean-Dark-Theme (3.4 OR 3.6)

Installation:
  • Download the delorean-dark-eclipse-theme zip archive, and unzip it into the directory of your choice.
  • After unpacking the archive you will find 4 png image files and a delorean-dark-eclipse folder.
  • Copy the delorean-dark-eclipse folder into '/usr/share/eclipse/dropins/'
  • Copy the 4 png image files, and paste them directly into '/usr/share/eclipse/plugins/org.eclipse.platform_4.2.1.v201209141800/images'
  • The numbering of the 'org.eclipse.platform*' file may be different than the above and will likly change with an update. In which case you will need to paste the png images again into the 'org.eclipes.platform*' folder.

Bugs:
    When hovering over a tab it turns white. I haven't been able to find the fix for this.


**Troubleshooting Today Eclipse has decided it cant find the delorean-dark-eclipse theme.
Here is what I did: I went into '/usr/share/eclipse/plugins/org.eclipse.platform_4.2.1.v201209141800/css' and I made a copy of 'e4_default_gtk.css' (default Gtk Theme for eclipse). next I went into the delorean-dark-eclipse folder and located and unpacked the delorean-dark-eclipse.jar archive. inside the archive I located the 'delorean-dark-eclipse.css'. I selected all the contents of that file and pasted them into the e4_default_gtk.css'. (Remember I already made a backup of this file). And of course I had previously pasted the included png image files into the '*/images' folder. Restart Eclipse and select the Gtk theme as default.
This is a dirty fix. I'm not proud of it. But it seems to be working.
***It looks like the problem may be the activator.class file. This is funny but i cant for the life of me figure out how to make the changes to activator.java and then compile it into a .class file. LOL!
****I just restarted Eclipse for about the 10th time this morning and suddenly it sees the delorean-dark-eclipse theme again. It did however bark about the signatures being off, so I deleted the PROK.SF inside the jar archive and i deleted everything after line#11 in the MANIFEST.MF. I don't use this application. But I am surprised at how its handling this theme. I m sure its my fault..anyway. Try any of the above mentioned way to get this theme installed and working within eclipse.

*****I can also provide a copy of earlier Gtk2 theme that may work better, since it is written with a Theme-Engine, rather than all Pixmaps. Let me know if anyone would like that.


Feel free to ask any questions you may have
© 2012 - 2021 killhellokitty
Comments23
Join the community to add your comment. Already a deviant? Log In
cannot verify signature block file META-INF/PROK
killhellokitty's avatar
This is very old.  I dont believe it will work anymore.  Sorry
nacho20u's avatar
This beautiful it would try on my xubuntu
****

Cannot complete the install because one or more required items could not be found.
Software being installed: Jeeeyul's Themes 1.7.4.201307160945 (net.jeeeyul.eclipse.themes.feature.feature.group 1.7.4.201307160945)
Missing requirement: Jeeeyul's Themes 1.7.4.201307160945 (net.jeeeyul.eclipse.themes.feature.feature.group 1.7.4.201307160945) requires 'org.eclipse.xtend2.lib 0.0.0' but it could not be found

****

When drag-n-drop'n Jeeeyul Eclipse Theems (via the link www.deviantart.com/users/outgo…

Ideas? Or do we (I) need to wait till they fix such (seems because ADT Android stuff was updated, broke the build of this related app, to this theme).

*crying*
Great job, thanks!

I had same problems with signed jar stuff so here is how I fixed it:

# test it first:
# jarsigner -verbose -verify delorean-dark-eclipse.jar
jarsigner: java.lang.SecurityException: cannot verify signature block file META-INF/PROK

# Let's unpack that jar, remove signature info and pack it again:
# mkdir unsigned
# cp delorean-dark-eclipse.jar unsigned/
# cd unsigned/
# unzip delorean-dark-eclipse.jar
# rm delorean-dark-eclipse.jar
# rm -f META-INF/PROK.*
# rm -f META-INF/MANIFEST.MF
# jar cf delorean-dark-eclipse.jar *
# jarsigner -verify delorean-dark-eclipse.jar
jar is unsigned. (signatures missing or not parsable)
Good! :)

Now you can overwrite signed jar in dropins:
# cp delorean-dark-eclipse.jar <eclipse path>eclipse/dropins/delorean-dark-eclipse/eclipse/plugins/delorean-dark-eclipse.jar
Where <eclipse path> is wherever you have your eclipse installed.

I tried only with eclipse juno. Eclipse does not seem to have problems with the jar being unsigned in this case.

Aleksey
Electroschlampe's avatar
Works as well fine with the new Kepler version!
killhellokitty's avatar
Hey, sorry I have been away. I gather that this will fix the signature problem. I will give it a go, and see what happens. I really apreciate all the your help!
Icon-Master-W's avatar
cannot verify signature block file META-INF/PROK
What does this mean?
punjog's avatar
/opt/eclipse for me, because I installed eclipse there.
maybe ~/eclipse ?
gacasd's avatar
I'm realy like this theme but it wont work on my juno on W7. I'm getting error:

!ENTRY org.eclipse.jface 4 2 2013-03-20 11:03:37.241
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jface".
!STACK 0
java.lang.SecurityException: cannot verify signature block file META-INF/PROK
at sun.security.util.SignatureFileVerifier.processImpl(Unknown Source)
at sun.security.util.SignatureFileVerifier.process(Unknown Source)
at java.util.jar.JarVerifier.processEntry(Unknown Source)
at java.util.jar.JarVerifier.update(Unknown Source)
....

I think it the problem in the path of the Activator class

Bundle-Activator: k.eclipse.deloreandark.Activator

path is: k.eclipse.junodark.Activator

but I'm not sure.
Please help. [link]
WegDamit's avatar
Hmm..

Doesnt work on my ubuntu with eclipse Juno:

ava.lang.SecurityException: cannot verify signature block file META-INF/PROK
at sun.security.util.SignatureFileVerifier.processImpl(SignatureFileVerifier.java:220)
at sun.security.util.SignatureFileVerifier.process(SignatureFileVerifier.java:193)
at java.util.jar.JarVerifier.processEntry(JarVerifier.java:305)
at java.util.jar.JarVerifier.update(JarVerifier.java:216)
at java.util.jar.JarFile.initializeVerifier(JarFile.java:345)
at java.util.jar.JarFile.getInputStream(JarFile.java:412)
at sun.net.www.protocol.jar.JarURLConnection.getInputStream(JarURLConnection.java:162)
at java.net.URL.openStream(URL.java:1037)
at org.eclipse.e4.ui.css.swt.internal.theme.ThemeEngine.setTheme(ThemeEngine.java:368)
at org.eclipse.e4.ui.css.swt.internal.theme.ThemeEngine.setTheme(ThemeEngine.java:333)
at org.eclipse.e4.ui.css.swt.internal.theme.ThemeEngine.restore(ThemeEngine.java:475)


Look like it conflict with some of my many extensions as i got many more "early startup" message in the .log file.

If anybody got some hint on what is the root cause of that error?
this is awesome. the problems you're having in your .jar look like eclipse is breaking when it goes to load the theme and verify the files are good by comparing to the checksums in your manifest file. perhaps the checksums are bad? also, are you still working on this? it looks fantastic, and i was wondering if you're going to keep going. it'd be nice to fix the white tabs. i'd like to help fix it, but i don't know anything about custom eclipse themes. can you give me any direction on how/what/where to fix the white tabs?
Thank you for the plugin. Though it does not work on my MAC, it gives me enough hints to do so. I modified your css file for my MAC and it works. I posted the results at [link] with a link to this site. Again, thank you.[link]
killhellokitty's avatar
You are welcome. I'm glad that you found the plugin useful. Nice job of porting it to MAC!
Cheers!
Thank you for posting this. Though the theme does not work on my MAC, the plugin gives me enough hints to update my eclipse mac css file and get some of the same effect. I posted what I did at [link] with a link to this page. Again, thank you.[link]
Don
lei00's avatar
Amazing work, bravo :)
killhellokitty's avatar
Thank you very much!
lei00's avatar
You're very welcome :)
killhellokitty's avatar
Glad I could help. I think you mean /USR/share/eclipse/...
The plugins directory must be there, it contains eclipse's gui as far as i can tell.
indeed314's avatar
Yea, that's what I meant, I couldn't figure out how to edit comments. Though it only holds the dropins directory. Eclipse is installed and has been run a few times. I'm running Juno, with Gnome 3.6 and Fedora 18 Beta.

[root@localhost eclipse]# pwd
/usr/share/eclipse
[root@localhost eclipse]# ls -lha
total 20K
drwxr-xr-x. 3 root root 4.0K Dec 4 18:24 .
drwxr-xr-x. 281 root root 12K Dec 4 19:12 ..
drwxr-xr-x. 32 root root 4.0K Nov 26 04:37 dropins
[root@localhost eclipse]#


I did a "find / -name org.eclipse.platform*" and I have a ...

/usr/lib64/eclipse/plugins/org.eclipse.platform_4.2.1.v20121126-1152

I will try that out.
indeed314's avatar
Ok, I got it to work.... I just appended the css file from your jar to this file...

/usr/lib64/eclipse/plugins/org.eclipse.platform_4.2.1.v20121126-1152/css/e4_default_gtk.css

And placed the images in the images dir.
killhellokitty's avatar
Thats great! I'm glad you got it working. I never would have thought to look in /usr/lib64...
indeed314's avatar
You have taken some of my pain away. Finding a decent dark theme for Gnome.. etc was difficult to say the least. I'm trying to get this installed with eclipse, but have no plugins directory in /etc/share/eclipse.... Any suggestions?
Join the community to add your comment. Already a deviant? Log In