Tags: #Arch Linux #mega #megasync #XFCE4
Arch Linux: Megasync Missing Icon in XFCE4
Posted on April 6, 2017
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, to 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