[SOLVED] Clear notification command...

Please post suggestions for improvement of Cinnamon on:
https://github.com/linuxmint/Cinnamon
Post Reply
User avatar
invex
Level 3
Level 3
Posts: 161
Joined: Sun Aug 14, 2016 12:38 pm

[SOLVED] Clear notification command...

Post by invex »

Is there a command to clear notifications in the panel?

TIA
Last edited by invex on Sun Jul 26, 2020 10:38 am, edited 1 time in total.
Cosmo.
Level 23
Level 23
Posts: 17817
Joined: Sat Dec 06, 2014 7:34 am

Re: Clear notification command...

Post by Cosmo. »

When you click the notification, you will see the option to clear them altogether.
User avatar
invex
Level 3
Level 3
Posts: 161
Joined: Sun Aug 14, 2016 12:38 pm

Re: Clear notification command...

Post by invex »

Thank you but I meant a shell command.
Cosmo.
Level 23
Level 23
Posts: 17817
Joined: Sat Dec 06, 2014 7:34 am

Re: Clear notification command...

Post by Cosmo. »

There is none - to my knowledge.
vilmos
Level 1
Level 1
Posts: 9
Joined: Mon Jan 06, 2014 6:48 am

Re: Clear notification command...

Post by vilmos »

Hello,

I am also interested in this feature.
User avatar
invex
Level 3
Level 3
Posts: 161
Joined: Sun Aug 14, 2016 12:38 pm

Re: [SOLVED] Clear notification command...

Post by invex »

This script works:

#!/bin/bash
xdotool mousemove 2543 1224
xdotool click 1
sleep 0.1
xdotool key "Tab"
sleep 0.1
xdotool key "Return"

I added it as a bottom left hot corner.
Very convenient
User avatar
smurphos
Level 17
Level 17
Posts: 7332
Joined: Fri Sep 05, 2014 12:18 am
Location: Britisher
Contact:

Re: Clear notification command...

Post by smurphos »

In Cinnamon 4.6 - Mint 20 there is a keyboard shortcut to clear notifications - Shift-Super-C by default.
For custom Nemo actions, useful scripts for the Cinnamon desktop, and Cinnamox themes visit my Github pages.
User avatar
invex
Level 3
Level 3
Posts: 161
Joined: Sun Aug 14, 2016 12:38 pm

Re: Clear notification command...

Post by invex »

Thank you *very* much!
Post Reply

Return to “Cinnamon”