Dropbox is not showing in the tray when I log into Gnome with Wayland. It’s running, but not showing in the tray. I installed a tray extension to gnome (Tray icons reloaded). If I restart the Dropbox service (using systemctl restart --user dropbox.service
) it start to show in the tray. This is my Dropbox NixOS configuration:
{ config, pkgs, ... }:
with pkgs; {
environment.systemPackages = with pkgs; [
dropbox-cli
];
networking.firewall = {
allowedTCPPorts = [ 17500 ];
allowedUDPPorts = [ 17500 ];
};
systemd.user.services.dropbox = {
description = "Dropbox";
wantedBy = [ "graphical-session.target" ];
environment = {
QT_PLUGIN_PATH = "/run/current-system/sw/" + pkgs.qt5.qtbase.qtPluginPrefix;
QML2_IMPORT_PATH = "/run/current-system/sw/" + pkgs.qt5.qtbase.qtQmlPrefix;
};
serviceConfig = {
ExecStart = "${pkgs.dropbox.out}/bin/dropbox";
ExecReload = "${pkgs.coreutils.out}/bin/kill -HUP $MAINPID";
KillMode = "control-group"; # upstream recommends process
Restart = "on-failure";
PrivateTmp = true;
ProtectSystem = "full";
Nice = 10;
};
};
systemd.user.services.dropbox.enable = true;
}