Skip to content

Allow to set tooltip in command applet#691

Merged
vkareh merged 1 commit intomate-desktop:masterfrom
develheini:command-applet-tooltip
Mar 17, 2026
Merged

Allow to set tooltip in command applet#691
vkareh merged 1 commit intomate-desktop:masterfrom
develheini:command-applet-tooltip

Conversation

@develheini
Copy link
Contributor

This patch allows the script for the Command applet to display additional information when the cursor is moved over the applet. This is done by setting the Key "Tooltip" in the scripts output. Example output:

[Command]
Output=Ok
Tooltip=All checks successful!

Copy link
Member

@vkareh vkareh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This works well on my side.

Easiest way of testing is by making this the command (with newlines and all):

echo "[Command]
Output=foo
Icon=mate
Tooltip=All checks successful!"
``

@vkareh
Copy link
Member

vkareh commented Mar 16, 2026

Another thing - I didn't even know that using a GKeyFile as the command output was possible. Any chance you can add a README under the command applet directory, or some sort of help file? Doesn't need to be in this PR, it can be done after too.

@vkareh vkareh merged commit 9bbc48a into mate-desktop:master Mar 17, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants