Linux: Megasync Missing Icon

Megasync is an official program to sync files to a Mega account. Sometimes its icon is missing in the notification area…

System Check

Automated start of the megasync program sometimes seems to be so quick, that it starts before the notification area is ready. It can be checked by:

# ps ax | grep megasync
  878 ?        Sl     0:00 megasync

Solution

The solution is pretty simple. Delay the start of the megasync program. Edit the ~/.config/autostart/megasync.desktop file as follows:

[Desktop Entry]
Type=Application
Version=1.0
GenericName=File Synchronizer
Name=MEGASync
Comment=Easy automated syncing between your computers and your MEGA cloud drive.
TryExec=sh -c "sleep 20 && megasync &"
Exec=sh -c "sleep 20 && megasync &"
Icon=mega
Terminal=false
Categories=Network;System;
StartupNotify=false
X-GNOME-Autostart-Delay=20

And that’s, ladies & gentlemen, it 🙂

Advertisements
This entry was posted in Linux and tagged , , , . Bookmark the permalink.