To make CopyQ work on Debian with GNOME, but not appear as minimized in the taskbar and not show a tray icon after reboot, you need to configure both CopyQ and GNOME's startup behavior. Here’s how you can achieve this:
If not already installed:
bashsudo apt update sudo apt install copyq
To prevent CopyQ from appearing in the taskbar (even when minimized), you can run it as a background process.
Create a script to launch CopyQ in the background:
bashnano ~/.config/autostart/copyq.desktop
Add the following content:
ini[Desktop Entry] Type=Application Name=CopyQ (Hidden) Exec=copyq --start-server StartupNotify=false NoDisplay=true
--start-server ensures CopyQ runs in the background without a GUI window.NoDisplay=true prevents it from appearing in the taskbar or launcher.Save and make it executable:
bashchmod +x ~/.config/autostart/copyq.desktop
bashmkdir -p ~/.config/systemd/user/ nano ~/.config/systemd/user/copyq.service
ini[Unit] Description=CopyQ clipboard manager (hidden) [Service] ExecStart=/usr/bin/copyq --start-server Restart=always [Install] WantedBy=default.target
bashsystemctl --user enable --now copyq.service
If CopyQ still appears in the taskbar:
wmctrl to force it to run as a background process:
bashsudo apt install wmctrl
~/.config/autostart/copyq.desktop):
bashExec=sh -c 'copyq --start-server && sleep 2 && wmctrl -r "CopyQ" -b add,skip_taskbar'
ps aux | grep copyq), but not visible in the taskbar or tray.sudo apt install copyq.desktop file or systemd service with --start-serverwmctrl or NoDisplay=true in .desktop file