Score:1

Run desktop app in the background

cn flag

I have coded a small desktop utility for Ubuntu and I would like to run it in the "background".

For "background" I mean the app icon will appear in the top menu bar only and not when I switch tabs.

enter image description here

I have google around, but I did not find anything. Does this comes from the framework I am using or from the Unity launcher? Unfortunately I do not know the name of this

This is my .desktop file:

[Desktop Entry]
Version=1.0
Name=Warp
Comment=Warp Linux gui client for Cloudflare Warp.
Exec=/usr/local/bin/warp-gui
Icon=/usr/share/icons/Humanity/apps/32/warp-gui.jpeg
Terminal=false
Type=Application
Categories=Utility;Network;
MimeType=x-scheme-handler/warp-cli;
StartupNotify=false
vanadium avatar
cn flag
It is up to the programmer, i.e., you in this case, to enable the possibility for the app to "skip the taskbar" while minimizing, and eventually display a tray icon. You probably will have more luck with your question on a forum that is more specialized on programming.
N0rbert avatar
zw flag
What are your Ubuntu version and desktop environment?
Score:1
zw flag

For Ubuntu 20.04 LTS you can use special application named AllTray, its purpose is:

Dock any program into the system tray

You can install it with

sudo apt-add-repository universe
sudo apt-get update
sudo apt-get install alltray

and then configure it launch your application. See man alltray locally (or online) for details.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.