hbons / SparkleShare

Share and collaborate by syncing with any Git repository instantly. Linux, macOS, and Windows.
https://sparkleshare.org
Other
4.88k stars 579 forks source link

Sparkleshare incorrectly identifies fluxbox as Gnome and fails to start #1897

Open goodevilgenius opened 5 years ago

goodevilgenius commented 5 years ago

What happened:

Installed SparkleShare. Ran under Fluxbox from command-line (sparkleshare start).

Instead, the following was printed to the console, and the application stopped:

18:21:30 Environment | SparkleShare 3.28.0
18:21:30 Environment | Git LFS 2.6.1
18:21:30 Environment | Git 2.20.1
18:21:30 Environment | GNOME (Linux 4.20.6.200)
18:21:30 Cmd | ssh | ssh-keygen -t rsa -b 4096 -P "" -C "coalmine (SparkleShare)" -f "2019-03-05_18h21.key"
18:21:30 Auth | Created key pair: 2019-03-05_18h21.key
18:21:30 Cmd | gio set "/home/drj/SparkleShare" metadata::custom-icon-name org.sparkleshare.SparkleShare
18:21:30 Environment | GTK+ 3.24.1

(process:20287): GLib-GIO-CRITICAL **: 18:21:30.821: g_application_get_is_remote: assertion 'application->priv->is_registered' failed
18:21:30 Environment | Arguments: start
AppIndicator not installed.

The same text was in the logs.

What I expected to happen:

It would start, and SparkleShare would appear in my system tray.

This happens when:

  1. Run under fluxbox
belonesox commented 4 years ago

Same problem in Fedora 30, with lot of "appindicator packages" installed.

$ sparkleshare 
16:45:52 Environment | SparkleShare 3.28.0
16:45:52 Environment | Git LFS 2.10.0
16:45:52 Environment | Git 2.21.0
16:45:52 Environment | GNOME (Linux 5.3.15.200)
16:45:52 Cmd | gio set "/home/stas/SparkleShare" metadata::custom-icon-name org.sparkleshare.SparkleShare
16:45:52 Environment | GTK+ 3.24.11

(process:7644): GLib-GIO-CRITICAL **: 16:45:52.420: g_application_get_is_remote: assertion 'application->priv->is_registered' failed
AppIndicator not installed.

$ rpm -qa | grep appindi
libappindicator-sharp-12.10.0-24.fc30.x86_64
libappindicator-gtk3-devel-12.10.0-24.fc30.x86_64
gnome-shell-extension-appindicator-30-8.fc30.noarch
libappindicator-sharp-devel-12.10.0-24.fc30.x86_64
libappindicator-gtk3-12.10.0-24.fc30.x86_64
belonesox commented 4 years ago

May be this can be workaround

sparkleshare --status-icon=gtk 

(I still failed to make checkout, but SH show initialization dialog)