MEGAsync icon indicating copy to clipboard operation
MEGAsync copied to clipboard

Gnome-shell integration

Open charlesjt opened this issue 7 years ago • 15 comments

It would be great to have better integration with gnome-shell through an integrated indicator and taking action through notifications. Gnome has an extensions platform that can be useful to distribute the integration without having to modify the current usability of Megasync for other DE.

charlesjt avatar May 24 '17 19:05 charlesjt

+1 for this. I use Debian Jessie which has gnome shell 3.14.4 which does not have the new message tray icons on the bottom left but has the unviewable message tray. When you make the message tray appear and click the MEGAsync icon the status popup appears and the message tray closes leaving no real way to close the status popup easily. You have to open settings and close settings for example to make the status popup go away, click the desktop does to work.

screenshot from 2017-06-08 08-57-30 screenshot from 2017-06-08 08-59-04

Regardless of the new message tray icons at the bottom left in new gnome shell versions I would still prefer having MEGAsync at the top right as it's a nice position where the MEGAsync popup doesn't protrude over anything (like my dock which is on the left for example).

SabeBarker avatar Jun 08 '17 01:06 SabeBarker

Understood. Thanks for the inputs. We'll consider improving integration with gnome-shell. The popup issue is a rather different issue. We'll try to reproduce it and find a fix.

polmr avatar Jun 08 '17 07:06 polmr

It looks like the legacy systray is completely disappearing from Gnome Shell. I updated a tonne of packages last night and it's gone, along with the ability to open MEGASync.

Edit: I was able to find a Shell extension that put the tray icons at the top. So it's all good.

hemebond avatar Nov 14 '17 20:11 hemebond

We have just released new version of MEGAsync in which the main UI does not act as a popup in case systray is missing (it'll be listed as any other window) in order to counter-act that. In any case, you can allways execute MEGAsync again and, if running, it'll show the main window. However, using TopIcons extension is the preferred way.

polmr avatar Nov 14 '17 23:11 polmr

+1 for Gnome Shell integration feature.

sT331h0rs3 avatar Jan 01 '18 12:01 sT331h0rs3

MEGAsync has stopped showing up even with the TopIcon extension.

hemebond avatar Jan 01 '18 21:01 hemebond

@hemebond, MEGAsync does work with TopIcons. See attached screenshot: image However you might want to try TopIconsPlus instead (https://extensions.gnome.org/extension/1031/topicons/)

polmr avatar Jan 02 '18 11:01 polmr

@polmr I'm already using Topicons Plus but tested with Topicons to be sure. The MEGAsync tray icon It was there back in November but has since disappeared and won't come back.

hemebond avatar Jan 02 '18 12:01 hemebond

What's your OS?

polmr avatar Jan 02 '18 15:01 polmr

Debian buster/sid. On a whim I killed/exited MEGAsync and started it again and now the icon shows. So I guess MEGAsync is starting before Topicons Plus and so isn't registering or something.

Edit: that doesn't actually seem to be the case since after even after a reboot the Pidgin tray icon is visible but the MEGAsync icon is not. Even though there is a notification right below the tray saying MEGAsync has started.

hemebond avatar Jan 02 '18 19:01 hemebond

These issues stemming from the removal of the system tray icons in Gnome could be fixed a few different ways.

Personally I think I'd prefer a MEGAsync systemd service, where MEGAsync is started at boot (if you enable the service) and doesn't show the interface at boot. If you've enabled the service you have implicitly agreed to this.

Otherwise there could be a setting in the UI that disables showing the UI at bootup (while still autostarting in the background at boot).

Either of these options covers the issue of the user specifically choosing this behavior instead of it being the default.

austinbutler avatar Oct 25 '18 16:10 austinbutler

Sorry if I'm being ignorant, but shouldn't it be fairly simple to just set a --no-systray flag or something if we prefer to forgo the extension, and just run the interface as a regular windowed application?

+1 for the systemd service suggestion, though.

imyxh avatar Jan 23 '19 23:01 imyxh

Icon appears in systray with extensions like topicons plus, tray icons, etc, but once one restarts gnome-shell on XOrg (Alt-F2, r), it disappears. I also think a systemd service (and a dedicated gnome extension) would go a long way into making this service very popular.

coxackie avatar Apr 05 '19 09:04 coxackie

Changing the exec line to Exec=sh -c 'sleep 2 && megasync &' along with this systray extension resolves this.

elken avatar Oct 28 '20 06:10 elken

I am using MegaCmd instead as I didn't like the Qt dependency and how it looked on Gnome, and also being unable to minimize the window.

Read MegaCmd documentation

Download MegaCmd rpms file

Basic steps to sync folder once MegaCmd is installed --!:

  1. $ mega-cmd
  2. MegaCmd$ login [email protected]
  3. Type password as requested
  4. MegaCmd$ sync /localpath /remotepath
  5. MegaCmd$ quit --only-shell (to keep MegaServer sync)

jonaramos avatar Aug 17 '22 09:08 jonaramos