Skip to content

Vinylwalk3r/JDownloader-2-Dark-Theme

Repository files navigation

JDownloader 2 Dark Theme

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 :)

Installing

Dark theme

This method will keep your current settings and add dark theme ontop (SOOO many thanks to Georgeto for this alternative method! Awesome work man!)

  1. Go to Settings -> Settings and select the Advanced Settings category from the list on the left.
  2. Enter LookAndFeelTheme into the search field.
  3. Only the setting GraphicalUserInterfaceSettings: Look and Feel Theme should remain. Set its value to BLACK_EYE.
  4. Go to File -> Backup -> Backup all settings and make a backup of your JDownloader settings.
  5. Make a copy of the backup, because we are going to modify it in the next step.
  6. Open the backup with the zip archiver of your choice (e.g. 7-Zip).
  7. 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)
  8. Save the modified backup, if your archiver does not to that automatically.
  9. Go to File -> Backup -> Restore Settings and choose the modified backup.
  10. 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!

  1. 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 into Settings -> Settings and then Advanced and search for Background. Look for the setting GraphicalUserInterfaceSettings: Packages Background Highlight and untick that box. Then restart JD2.

  2. 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 to Settings -> Settings and then Advanced and search for Tray Tool. Then untick the Tray: Tool Tip checkbox and restart JD2.

Now you got a Dark theme for JD2!

Adding Custom Assets

This will require us to dig a little deeper.

  1. Go to pathtoyourjdownloaderinstall\libs\laf
  2. Make a copy of syntheticaBlackEye.jar and paste in the same directory
  3. In this example, we rename syntheticaBlackEye.jar to syntheticaBlackEye.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)
  4. 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)
  5. Now open our .jar file with a program like WinRAR or 7Zip. NOT THE BACKUP .JAR!!!
  6. Navigate in the file to /de/javasoft/plaf/synthetica/blackeye/images/
  7. 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.

  1. 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!

Notes and Oddities

  • 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?

Assets_List

Gallery:

UI

Download tab

Must have taken a wrong turn :/

Linkgrabber tab

Must have taken a wrong turn :/

Settings page

Must have taken a wrong turn :/

Mac

(Thanks to elliotttate for this part!) Must have taken a wrong turn :/ 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

Reorganised Toolbars

Downloads

Must have taken a wrong turn :/

Linkgrabber

Must have taken a wrong turn :/

Custom Stuff

Green Progressbar

Must have taken a wrong turn :/

About

A dark theme for the download manager JDownloader 2

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •