After seeing so many requests for a dark theme, I configured my own. It uses the "Black Eye" UserInterfaceSetting and a matching colorscheme I configured for the rest of the window.
I have not found anywhere it looks strange or where you cant read the text. **Edit The Menu Customizer has some troubles with text in selected fields not being readable...
I hope someone finds good use for it :)
This method will keep your current settings and add dark theme ontop (SOOO many thanks to Georgeto for this alternative method! Awesome work man!)
- Go to
Settings -> Settingsand select theAdvanced Settingscategory from the list on the left. - Enter
LookAndFeelThemeinto the search field. - Only the setting
GraphicalUserInterfaceSettings: Look and Feel Themeshould remain. Set its value toBLACK_EYE. - Go to
File -> Backup -> Backup all settingsand make a backup of your JDownloader settings. - Make a copy of the backup, because we are going to modify it in the next step.
- Open the backup with the zip archiver of your choice (e.g. 7-Zip).
- Copy the content of the config folder into the opened backup. If asked, confirm overwriting exisiting files. (laf is the dark theme, menus_v2 are the toolbars (THESE WILL CHANGE THE BOTTOM TOOLBARS, See Issue #26), images are the white icons)
- Save the modified backup, if your archiver does not to that automatically.
- Go to
File -> Backup -> Restore Settingsand choose the modified backup. - JD2 will restart now.
If your running Mac OSX and want the top bar to follow the dark theme, run this command in a terminal:
defaults write org.jdownloader.launcher NSRequiresAquaSystemAppearance 0(Thanks @elliotttate for supplying the command!)
Thanks to @L0sha for figuring out this next step!
-
You will notice that every other row is hard to read, as said in issue #16. To fix this, we need to replace the file org.jdownloader.settings.GraphicalUserInterfaceSettings.json in "./cfg". If you don't want to replace your Settings.json file, find and change this line to "false" and you've fixed it
"packagesbackgroundhighlightenabled": true,. Or, if you want to go the GUI route, go intoSettings -> Settingsand thenAdvancedand search forBackground. Look for the settingGraphicalUserInterfaceSettings: Packages Background Highlightand untick that box. Then restart JD2. -
The tray tool tip is completly broken when using this dark theme. I have not managed to fix this and so decided to disable it altogether. This is done as such: In ./cfg, replace the file org.jdownloader.gui.jdtrayicon.TrayExtension.json and your done. If you wish to edit the file yourself instead, open it in your editor and locate the line
"tooltipenabled": true,(for me, it was on line 4) and set it to "false". Then restart JD2. Or, going GUI, go toSettings -> Settingsand thenAdvancedand search forTray Tool. Then untick theTray: Tool Tipcheckbox and restart JD2.
Now you got a Dark theme for JD2!
This will require us to dig a little deeper.
- Go to
pathtoyourjdownloaderinstall\libs\laf - Make a copy of
syntheticaBlackEye.jarand paste in the same directory - In this example, we rename
syntheticaBlackEye.jartosyntheticaBlackEye.jar.bak(you could edit any theme you want, but you have to use the exact name of the theme you replace. This time, I edited the Blackeye) - Choose which version of the progressbar images you wish to use. (If you want an animation, edit them individually, each image is one frame of the animation. If you only want a solid color or still image, just edit one image and then make copies and rename them accordingly so JD2 can show them)
- Now open our .jar file with a program like WinRAR or 7Zip. NOT THE BACKUP .JAR!!!
- Navigate in the file to
/de/javasoft/plaf/synthetica/blackeye/images/ - Paste our edited progressbar images here. Overwrite the once already there.
7.1. This is also where you can paste the flatbuttons
7.2 If you don't like the blue outline JD2 uses to show the focused section, paste the focusbutton to get a nice dark outline instead.
- Close 7Zip and restart JD2
Your Done! Well done, have a cookie ^^ Many thanks to @Bims0n for creating both the dark and green animated progress bars and also the dark outlines!
-
I've found the images used (and imo, OVERUSED) by JDownloader 2 to be either in the theme .jar file or in the directory
.\themes\standard\org\jdownloader\images. -
Strange thing I found, if I pasted a new theme.jar file here, with its own name, JD2 could not find it in its list of themes. Anybody know where the file containing the theme list is?
Download tab
Linkgrabber tab
Settings page
(Thanks to elliotttate for this part!)
To get the top bar to show up with the dark theme, you'll also need to run this in terminal:
defaults write org.jdownloader.launcher NSRequiresAquaSystemAppearance 0
Downloads
Linkgrabber
Green Progressbar