Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JDownloader support? #354

Closed
guihkx opened this issue May 21, 2017 · 4 comments
Closed

JDownloader support? #354

guihkx opened this issue May 21, 2017 · 4 comments

Comments

@guihkx
Copy link

guihkx commented May 21, 2017

Specifications

  • Hardcode-Tray version : v3.6.6
  • Distribution : Arch Linux
  • Gtk version : gtk2 2.24.31 / gtk3 3.22.15
  • Inkscape version : Not installed
  • Cairo version : 1.14.8
  • Sni-qt version: Not installed
  • Application name : JDownloader
  • Application version : v2
@bilelmoussaoui
Copy link
Owner

As far as i can tell, JDownloader usesjdownloader-panel as a tray icon. So Hardcode-Tray is not needed at all...

@guihkx
Copy link
Author

guihkx commented May 21, 2017

Actually, by browsing through JDownloader's code, I've found out that they generate the tray icon "on the fly"... In case somebody get here through Google, a rather easy workaround for the ugly tray icon would be:

  1. Back-up the original icon first (assuming your JDownloader path is located at /home/YOU/.jd/):
cd $HOME/.jd/themes/standard/org/jdownloader/images/logo/
mv jd_logo_128_128.png jd_logo_128_128.png.bak
  1. Create a symlink to your new icon. (in this example, I'll be using the icon from the amazing Papirus icon theme):
ln -s /usr/share/icons/Papirus-Dark/64x64/apps/jdownloader.svg $HOME/.jd/themes/standard/org/jdownloader/images/logo/jd_logo_128_128.svg

Don't worry, it will work just fine with SVG.

  1. Restart JDownloader. It should look like this:

screenshot_2017-05-21_08-47-34

Unfortunately, since I use the Dark version of Papirus, there's no monochrome/grey icon for JDownloader yet, so it doesn't look as good as some other programs, but at least it does look much better than the original icon. There's also an optional in JDownloader to make it a grey icon. Follow these steps to activate it and then restart JDownloader. It should be in greyscale now:

screenshot_2017-05-21_08-47-13

Also, for some reason, the tray icon has no transparency... 🤔. But that was happening using the old icon as well, so... I don't know & I don't care.

@guihkx guihkx closed this as completed May 21, 2017
bilelmoussaoui added a commit that referenced this issue May 21, 2017
@bilelmoussaoui
Copy link
Owner

@guihkx I've added JDownloader support (which does the steps you explained below). It should work well if your theme has a jdownloader-indicator icon

@guihkx
Copy link
Author

guihkx commented May 21, 2017

Great! Thank you! I'll ask the guys from Papirus if they can make one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants