Can I get the text of notifications in a command line script? Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)How to read dbus-monitor output?How can I get desktop notifications on irssi?Is it possible to have better Skype notifications?How to force a new Notification in notify-osd to show up without waiting for the earlier one to exit?How can I reset the notifications?Messaging menu turn blue for no reasonIs there a way to change how KDE Connect or Gnome DE handles notifications?Reduce the time for notificationsWhy are my notifications crashing cinnamon?How to restart indicator-notifications from command line?

Was Kant an Intuitionist about mathematical objects?

Should a wizard buy fine inks every time he want to copy spells into his spellbook?

What would you call this weird metallic apparatus that allows you to lift people?

Does the Mueller report show a conspiracy between Russia and the Trump Campaign?

Why is it faster to reheat something than it is to cook it?

Tips to organize LaTeX presentations for a semester

Random body shuffle every night—can we still function?

What is the difference between a "ranged attack" and a "ranged weapon attack"?

How much damage would a cupful of neutron star matter do to the Earth?

Can two person see the same photon?

Differences to CCompactSize and CVarInt

Would color changing eyes affect vision?

How does light 'choose' between wave and particle behaviour?

Did any compiler fully use 80-bit floating point?

Sally's older brother

How to force a browser when connecting to a specific domain to be https only using only the client machine?

What adaptations would allow standard fantasy dwarves to survive in the desert?

A term for a woman complaining about things/begging in a cute/childish way

I can't produce songs

What is the difference between CTSS and ITS?

Mounting TV on a weird wall that has some material between the drywall and stud

RSA find public exponent

A proverb that is used to imply that you have unexpectedly faced a big problem

retrieve food groups from food item list



Can I get the text of notifications in a command line script?



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)How to read dbus-monitor output?How can I get desktop notifications on irssi?Is it possible to have better Skype notifications?How to force a new Notification in notify-osd to show up without waiting for the earlier one to exit?How can I reset the notifications?Messaging menu turn blue for no reasonIs there a way to change how KDE Connect or Gnome DE handles notifications?Reduce the time for notificationsWhy are my notifications crashing cinnamon?How to restart indicator-notifications from command line?



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















There is information which only appears in a notification for an app I'm using (specifically, the open port number in the private internet access app). Super+V will show me the notification from when the app started, so the information has to be laying around somewhere. Anyone know of a way to extract the notification text to use in a script? Some dbus message I can send to get the text perhaps? Some file the desktop stores the notifications in? Or a way to replace the standard notification app with one that could log the info somewhere?









share




























    0















    There is information which only appears in a notification for an app I'm using (specifically, the open port number in the private internet access app). Super+V will show me the notification from when the app started, so the information has to be laying around somewhere. Anyone know of a way to extract the notification text to use in a script? Some dbus message I can send to get the text perhaps? Some file the desktop stores the notifications in? Or a way to replace the standard notification app with one that could log the info somewhere?









    share
























      0












      0








      0








      There is information which only appears in a notification for an app I'm using (specifically, the open port number in the private internet access app). Super+V will show me the notification from when the app started, so the information has to be laying around somewhere. Anyone know of a way to extract the notification text to use in a script? Some dbus message I can send to get the text perhaps? Some file the desktop stores the notifications in? Or a way to replace the standard notification app with one that could log the info somewhere?









      share














      There is information which only appears in a notification for an app I'm using (specifically, the open port number in the private internet access app). Super+V will show me the notification from when the app started, so the information has to be laying around somewhere. Anyone know of a way to extract the notification text to use in a script? Some dbus message I can send to get the text perhaps? Some file the desktop stores the notifications in? Or a way to replace the standard notification app with one that could log the info somewhere?







      command-line notification





      share












      share










      share



      share










      asked 3 mins ago









      user1160711user1160711

      34113




      34113




















          0






          active

          oldest

          votes












          Your Answer








          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "89"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1135648%2fcan-i-get-the-text-of-notifications-in-a-command-line-script%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Ask Ubuntu!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1135648%2fcan-i-get-the-text-of-notifications-in-a-command-line-script%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Are there any comparative studies done between Ashtavakra Gita and Buddhim?How is it wrong to believe that a self exists, or that it doesn't?Can you criticise or improve Ven. Bodhi's description of MahayanaWas the doctrine of 'Anatta', accepted as doctrine by modern Buddhism, actually taught by the Buddha?Relationship between Buddhism, Hinduism and Yoga?Comparison of Nirvana, Tao and Brahman/AtmaIs there a distinction between “ego identity” and “craving/hating”?Are there many differences between Taoism and Buddhism?Loss of “faith” in buddhismSimilarity between creation in Abrahamic religions and beginning of life in Earth mentioned Agganna Sutta?Are there studies about the difference between meditating in the morning versus in the evening?Can one follow Hinduism and Buddhism at the same time?Are there any prohibitions on participating in other religion's practices?Psychology of 'flow'

          Where else does the Shulchan Aruch quote an authority by name?Parashat Metzora+HagadolPesach/PassoverShulchan Aruch UTF-8Anonymous glosses in the Shulchan AruchWhy is the Shulchan Aruch definitive?Siman 32, Kitzur Shulchan Aruch: UntranslatedLitvaks/Yeshivish and Shulchan AruchBuying a Shulchan AruchEnglish version of SHULCHAN ARUCHIs there any place where Shulchan Aruch rules with the Rosh against the Rif and Rambam?Are there practices where Sepharadim do not hold by Shulchan Aruch?5th part of the shulchan aruch

          fallocate: fallocate failed: Text file busy in Ubuntu 17.04? Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)defragmenting and increasing performance of old lubuntu system with swap partitionIssue with increasing the root partition from the swapthis /usr/bin/dpkg returned error || ubuntu-16.04, 64bitDefault 17.04 swap file locationHow to Resize Ubuntu 17.04 Zesty Swap file size?Ubuntu freezes from online formsMy Laptop is not starting after upgrade ubuntu 16.04 (Kernel 4.8.0-38 to 04.10.0-36)hcp: ERROR: FALLOCATE FAILED!Not sure my swap is being usedWine 3.0 asking for more virtual free swap