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

No tray icon on Fedora/Gnome #116

Closed
ruffson opened this issue Feb 13, 2020 · 8 comments
Closed

No tray icon on Fedora/Gnome #116

ruffson opened this issue Feb 13, 2020 · 8 comments

Comments

@ruffson
Copy link

ruffson commented Feb 13, 2020

Hi there,
sadly there is no tray icon on Fedora31 with Gnome 3.34.3 and Signal version 1.31.0.
I have enabled the extensions KStatusNotifierItem/AppIndicator (aka ubuntu/gnome-shell-extension-appindicator) and TopIcons Plus.
Is there a way to enable is? Do I have to install yet another gnome extension to make it work? Any help is appreciated!s

@bermeitinger-b
Copy link
Collaborator

You have to run it with flatpak run org.signal.Signal --use-tray-icon.

@ruffson
Copy link
Author

ruffson commented Feb 14, 2020

You have to run it with flatpak run org.signal.Signal --use-tray-icon.

Thank you @bermeitinger-b. Is there a way to make this the defaul so I can call it like that when I open the .desktop file via Gnome?

@mlaradji
Copy link

mlaradji commented Feb 22, 2020

@ruffson Edit the .desktop (for me it's in /var/lib/flatpak/app/org.signal.Signal/current/active/export/share/applications/org.signal.Signal.desktop) file and change:

Exec=/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=signal --file-forwarding org.signal.Signal @@u %U @@

to

Exec=/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=signal --file-forwarding org.signal.Signal @@u %U @@ --use-tray-icon

You can also add the flag --start-in-tray like:

Exec=/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=signal --file-forwarding org.signal.Signal @@u %U @@ --use-tray-icon --start-in-tray

Note that launching the shortcut from the start menu (on KDE) does not reflect the change immediately, and I had to launch the desktop shortcut from Dolphin first (not sure why, but probably due to some sort of caching).

@ruffson
Copy link
Author

ruffson commented Feb 24, 2020

Thank you!

@MaCroX95
Copy link

MaCroX95 commented Apr 4, 2020

I don't see tray icon with --use-tray-icon option. It works on my deb-installed beta package but not on the flatpak one.

@cachandlerdev
Copy link

cachandlerdev commented Sep 1, 2022

Unfortunately, the issue with this fix is that it has to be reapplied every time the app updates. Are there any plans to make this default behavior in the future?

Edit: Apparently this can also be enabled via an environment variable in Flatseal, rather than manually changing the Signal.desktop file. Just add SIGNAL_USE_TRAY_ICON=1.

@Earthling-Z3R0
Copy link

I didn't see a tray icon either using the above string but it worked for me when I changed it to this:

Exec=/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=signal-desktop --file-forwarding --use-tray-icon org.signal.Signal @@u %U @@

@awkto
Copy link

awkto commented Nov 22, 2023

On the latest flatpak, I get this error when trying to add the '--use-tray-icon' option

error: Unknown option --use-tray-icon

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

No branches or pull requests

7 participants