Given some simple notify-send command inside a bash script such as

notify-send "test"

How can I make a determinate window gain focus when the user clicks that notification? I thought playing around with the -a switch would do something, but I can't get it to work either on GNOME Shell and XFCE .

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.