Closed syco closed 5 years ago
This looks to me like a duplicate of issue #1790, even though it's a different flavour and version of Ubuntu. What happens if you run: gvfs-set-attribute "/home/syco/SparkleShare" metadata::custom-icon-name org.sparkleshare.SparkleShare
in a terminal?
Hi, here's the output
$ gvfs-set-attribute "/home/syco/SparkleShare" metadata::custom-icon-name org.sparkleshare.SparkleShare
This tool has been deprecated, use 'gio set' instead.
See 'gio help set' for more info.
$ echo $?
0
Sounds like we should use "gio set" to set the right folder icon in the future. But this probably isn't the issue as the commands exit normally.
Hi, gyus! Could you please point us to where the gvfs-set-attribute
could be replaced with gio
so that we can workaround this issue. Is that is in some bash script it could be easily replaced on a working system.
@olegstepura you may not need to do that. On my Ubuntu 18.04 LTS system, SparkleShare is actually running despite always throwing the gvfs-set-attribute
error. Bug #1845 may mean you're just not seeing the SS Icon on your task bar at the top. If you try clicking your mouse cursor over the bar to the left of the first of your icons at the right end of your taskbar, you may see the SS menu drop down.
I'm asking because it does not run for me on ubuntu 18.04. I was thinking gvfs-set-attribute
was the exact reason.
Ok, I found that it's inside compiled code, not easily editable in runtime https://github.com/hbons/SparkleShare/blob/036e5369f30a44de0d6577ab54160a031a0ec2c8/SparkleShare/Linux/Controller.cs#L50
I commented out the whole body of SetFolderIcon()
and compiled all the stuff on linux according to https://github.com/hbons/SparkleShare/blob/master/SparkleShare/Linux/README.md (will propose some readme changes since it was not so straightforward). Now it works for me. Shows version 3.28
The only issue is missing tray icon (just empty space where you can click and see SparkleShare tray menu)
Ok, commenting out seem to be useless. I reverted my change and compiled again and SparkleShare still runs. So flatpak version might be broken in some other place.
But I'm still missing icon in tray, @hbons what could that be?
I'm running Ubuntu 18.04/gnome
Can you try the latest flatpak version? See my comments here: https://github.com/hbons/SparkleShare/issues/1778#issuecomment-405030652
I tried compiling it from latest master and icon appeared
Wonderful! Closing this now, but feel free to reopen if it still doesn't appear in the next version.
Well, actually this issue was about flatpak version so I would wait for someone to confirm if it works. (I'm currently not going to check it since manually compiled version works)
Try the latest version on Flathub: https://flathub.org/apps/details/org.sparkleshare.SparkleShare
@hbons which version does it have?
Upd: Ah, I checked on flathub, it's 3.28.0
Hi, I installed sparkleshare with the following command:
but when I start it from the command line it terminates with the following message:
log file tells the same story:
journal:
Any help? Thanks