Vorta: Tray icon missing on Ubuntu Budgie 19.04

Created on 25 Jun 2019  路  24Comments  路  Source: borgbase/vorta

When installing the flatpak version, after starting Vorta, it shows up in the tray but the icon is missing:

vorta-missing-tray-icon

To Reproduce
Steps to reproduce the behavior:

  1. Install flatpak and launch vorta.

Desktop (please complete the following information):

  • OS: Ubuntu Budgie 19.04
linux flatpak low bug

All 24 comments

Could please install Vorta via pip3 install --user vorta (you might have to execute sudo apt install python3-pip first) and find out if the icon is there missing too?

@Hofer-Julian On my previous operating install (I had to reinstall yesterday) I used the pip3 installation and the tray icon showed up perfectly. On this OS install I tried the flatpak and the icon is missing.

Okay!

Please run flatpak run com.borgbase.Vorta --foreground and post the output of the terminal here.

Here's the output:

Gtk-Message: 11:47:48.582: Failed to load module "canberra-gtk-module"
Gtk-Message: 11:47:48.583: Failed to load module "canberra-gtk-module"
2019-06-25 11:47:48,603 - vorta.i18n - DEBUG - Loading translation failed for ['en', 'en-US', 'en-Latn-US'].
2019-06-25 11:47:48,606 - apscheduler.scheduler - INFO - Scheduler started
2019-06-25 11:47:48,608 - apscheduler.scheduler - INFO - Added job "VortaScheduler.create_backup" to job store "default"
2019-06-25 11:47:48,608 - vorta.scheduler - DEBUG - New job for profile EzyRhinox was added.
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
2019-06-25 11:47:49,236 - vorta.borg.borg_thread - INFO - Running command /app/bin/borg --version

I didn't see the error message I expected, but please still try to run:
flatpak run --own-name='org.kde.*' com.borgbase.Vorta

The only output from that was:

Gtk-Message: 12:42:12.224: Failed to load module "canberra-gtk-module"
Gtk-Message: 12:42:12.224: Failed to load module "canberra-gtk-module"

But no tray icon?

Correct, still no icon.

Okay, I will test it myself on Ubuntu Budgie 19.04 when I have time

I could reproduce the issue on Ubuntu Budgie 19.04.

I am also having issues with the tray icon while using Flatpak, though I am using Manjaro Gnome instead of Ubuntu Budgie.
When installed using pip install vorta, the tray icon works as expected, but not when it's installed via flatpak.

I do have some differences to @drohm's problems, though.

  1. Vorta reports the error failed to register service "org.kde.StatusNotifierItem-3-1" when ran via flatpak with the --foreground flag.
  2. Using flatpak run --own-name='org.kde.*' com.borgbase.Vorta did fix my issues.

There is another difference between the pip and the flatpak version that I found, namely that the flatpak version also prints the error Qt: Session management error: None of the authentication protocols specified are supported.

Perhaps these findings help you in finding the root cause.

Quick note for this issue, I upgraded to Ubuntu Budgie 19.10 and the issue still exists.

In v0.6.24 (via Flatpak test channel on Debian), I still had to run with --own-name='org.kde.*' for the tray icon to show up. Should this be org.kde.* instead of org.KDE.*?

In v0.6.24 (via Flatpak test channel on Debian), I still had to run with --own-name='org.kde.*' for the tray icon to show up. Should this be org.kde.* instead of org.KDE.*?

@elhutchi yes, I think this change is necessary as well. The next flatpak update will include this change. After you've updated, please report if it solves your problem.

@Hofer-Julian Thanks, I can confirm https://github.com/flathub/com.borgbase.Vorta/pull/17 has fixed the tray icon in GNOME, but I realized this issue was actually for Ubuntu Budgie. Sorry for hijacking it.

@Hofer-Julian I tried the solution that @elhutchi mentioned but I still cannot get the icon to show. Have you been able to get the icon to show properly in the tray using this method?

@drohm do you use the newest flatpak version?
Please runflatpak updatein the commandline

@Hofer-Julian I'm using the latest version, 0.6.23.

If you haven't yet, still update. The version number hasn't changed

@Hofer-Julian I had to install the latest version of 0.6.23 by running the command in the pull request above. Otherwise the latest version from the stable branch didn't work without the extra --own-name='org.kde.*' argument.

And when I run flatpak remote-info flathub com.borgbase.Vorta the last update was related to the previous pull request. Is flathub updated? (I'm not sure how the publishing works.)

@Hofer-Julian I have been running flatpak update daily and it's not showing any updates (Nothing to do.)

@elhutchi, could you provide the commands to run to get the version you're running so I can test that as well? I uninstalled the version from the main flathub repo so I can try this, but wasn't sure which commands to run.

I think all I had to do was run the command in this comment:

flatpak install --user https://dl.flathub.org/build-repo/16469/com.borgbase.Vorta.flatpakref

@elhutchi Yea, I tried that but its not working for me:

error: Can't load uri https://dl.flathub.org/build-repo/16469/com.borgbase.Vorta.flatpakref: Server returned status 404: Not Found
Was this page helpful?
0 / 5 - 0 ratings

Related issues

philipkozeny picture philipkozeny  路  7Comments

cerebrux picture cerebrux  路  7Comments

ThomasWaldmann picture ThomasWaldmann  路  3Comments

brokenpip3 picture brokenpip3  路  13Comments

penyuan picture penyuan  路  5Comments