#1 2020-05-07 04:58:13

weerdoh
Member
Registered: 2020-05-07
Posts: 9

Taskbar icon looks ugly in Cinnamon (Linux Mint)

Hi there again,

I noticed that the task bar icon looks pretty ugly:

Link to image

I've already experienced something similar with JDownloader in the past, but somehow they fixed it in a recent update. There seems to be an issue with the handling of transparency of icons of Java applications in Cinnamon.

Any ideas howto change the icon, fix this issue or disable the display of the icon (don't need it anyway)?

Thanks in advance!

Last edited by weerdoh (2020-05-07 05:10:44)

#2 2020-05-07 06:04:45

ds
Founder / Developer
From: Freiburg, Germany
Registered: 2016-06-15
Posts: 293

Re: Taskbar icon looks ugly in Cinnamon (Linux Mint)

weerdoh wrote:

There seems to be an issue with the handling of transparency of icons of Java applications in Cinnamon.

Yes, this is a bug in Java.

weerdoh wrote:

Any ideas howto change the icon, fix this issue or disable the display of the icon (don't need it anyway)?

You can disable the icon by starting GeneralSync with the following command line options:

/path/to/generalsync --no-tray --daemon

GeneralSync will then silently run in the background, to view the dashboard simply start GeneralSync again (you don't need to specify the parameters again).

As GeneralSync is usually started automatically, you should set these options using your distribution's tool to edit auto-started applications; in most distributions, that tool is called "Startup Applications".

#3 2020-05-07 06:40:25

weerdoh
Member
Registered: 2020-05-07
Posts: 9

Re: Taskbar icon looks ugly in Cinnamon (Linux Mint)

WOW.. now that's what I call a quick and competent reply!

Thank you big time, sir!

One additional question: Am I right to assume that I can put the GS folder anywhere I like? Any recommendations? I don't like having applications laying around in my user folder wink

#4 2020-05-07 07:01:07

ds
Founder / Developer
From: Freiburg, Germany
Registered: 2016-06-15
Posts: 293

Re: Taskbar icon looks ugly in Cinnamon (Linux Mint)

weerdoh wrote:

One additional question: Am I right to assume that I can put the GS folder anywhere I like? Any recommendations? I don't like having applications laying around in my user folder wink

As long as you keep GeneralSync in a separate folder and user-writable, GeneralSync does not care where it lives. It should even automatically update its autostart entry if you execute it once at the new location. If the location is not user-writable, GeneralSync will still work but automatic updates will fail.

As for recommendations: I'd create an 'application' folder in the home folder, containing the GeneralSync folder as well as folders of other software not installed with a package manager. That way, you are guaranteed to not affect your distribution's package manager.

If you don't want to see that application folder, you could name it ~/.applications – most graphical file managers will not display folders starting with a dot unless you toggle hidden files with Ctrl+H.

#5 2020-05-07 07:06:52

weerdoh
Member
Registered: 2020-05-07
Posts: 9

Re: Taskbar icon looks ugly in Cinnamon (Linux Mint)

I always have hidden files visible so it will make everything look even a bit more messy, but your ~/.applications suggestion is a great idea. I will follow that. Thank you!

#6 2020-05-07 08:02:51

ds
Founder / Developer
From: Freiburg, Germany
Registered: 2016-06-15
Posts: 293

Re: Taskbar icon looks ugly in Cinnamon (Linux Mint)

weerdoh wrote:

I always have hidden files visible so it will make everything look even a bit more messy

In that case, you can also make it "~/.local/applications" wink

#7 2020-05-07 10:11:01

weerdoh
Member
Registered: 2020-05-07
Posts: 9

Re: Taskbar icon looks ugly in Cinnamon (Linux Mint)

Ahhh, yes! I like that idea! tongue

I have one hopefully last question/problem:
When I added your "/path/to/generalsync --no-tray --daemon" string to my autostart, I noticed that there already was an entry for GS to start automatically. I deleted it but it keeps reappearing and so everytime I boot, the daemon AND the application is launched and I have to close the application manually. How can I prevent that?

#8 2020-05-07 15:48:38

ds
Founder / Developer
From: Freiburg, Germany
Registered: 2016-06-15
Posts: 293

Re: Taskbar icon looks ugly in Cinnamon (Linux Mint)

weerdoh wrote:

I noticed that there already was an entry for GS to start automatically. I deleted it but it keeps reappearing and so everytime I boot

GeneralSync will refresh its autostart entry automatically whenever it is started (that way, it is possible to move the GeneralSync folder). You have thus multiple options to alter its startup parameters:

  1. Edit the autostart entry generated by GeneralSync. Current versions of GeneralSync will attempt to preserve your changes.

  2. Disable the auto-generated autostart entry, and create a new one managed by you.

  3. If preserving your changes does not work, you can also edit the autostart file using a text editor (by default: ~/.config/autostart/GeneralSync.desktop) and remove the line

    X-GeneralSync-AutoUpdateOnLaunch=true

    If that line is not present, GeneralSync will not alter the file.

#9 2020-05-07 21:00:57

weerdoh
Member
Registered: 2020-05-07
Posts: 9

Re: Taskbar icon looks ugly in Cinnamon (Linux Mint)

Thanks a bunch!!

Board footer