{"id":5933,"date":"2016-06-05T19:56:47","date_gmt":"2016-06-05T19:56:47","guid":{"rendered":"http:\/\/ubuntuhandbook.org\/?p=5933"},"modified":"2016-06-05T19:58:21","modified_gmt":"2016-06-05T19:58:21","slug":"recent-notifications-ubuntu-16-04","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2016\/06\/recent-notifications-ubuntu-16-04\/","title":{"rendered":"[Quick Tip] View Recent Notifications in Ubuntu 16.04"},"content":{"rendered":"<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2016\/05\/notifyosd-icon.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2016\/05\/notifyosd-icon.png\" alt=\"notification history\" width=\"245\" height=\"250\" class=\"alignleft size-full wp-image-5869\" \/><\/a><\/p>\n<p><b>This is quick tutorial for those who want to view the desktop notifications history in Ubuntu 16.04 LTS.<\/b><\/p>\n<p>It can be done by either <i>enabling logging notifications<\/i> for Notify-OSD, or using <i><a href=\"https:\/\/launchpad.net\/recent-notifications\" target=\"_blank\">Recent Notifications<\/a><\/i>, a simple system panel applet.<\/p>\n<p><b>View recent notifications via an indicator applet:<\/b><\/p>\n<p>There&#8217;s a GNOME applet that displays a list of recent notifications on system panel.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2016\/06\/recent-notifications.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2016\/06\/recent-notifications.jpg\" alt=\"list of notifications\" width=\"541\" height=\"315\" class=\"aligncenter size-full wp-image-5934\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2016\/06\/recent-notifications.jpg 541w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2016\/06\/recent-notifications-450x262.jpg 450w\" sizes=\"auto, (max-width: 541px) 100vw, 541px\" \/><\/a><\/p>\n<p>To install the applet, go to:<\/p>\n<p style=\"text-align:center;\"><a href='http:\/\/ppa.launchpad.net\/jconti\/recent-notifications\/ubuntu\/pool\/main\/i\/indicator-notifications\/' class='arconix-button arconix-button-medium arconix-button-gray' target=\"_blank\" >Download indicator-notifications GTK 3<\/a><\/p>\n<p>Select install the latest version of:<\/p>\n<ul>\n<li><code>indicator-notifications_x.x.x~xenial_amd64.deb<\/code> for 64-bit Ubuntu 16.04<\/li>\n<li><code>indicator-notifications_x.x.x~xenial_i386.deb<\/code> for 32-bit Ubuntu 16.04<\/li>\n<\/ul>\n<p>There&#8217;s also a GTK2 version available for download at <a href=\"http:\/\/ppa.launchpad.net\/jconti\/recent-notifications\/ubuntu\/pool\/main\/i\/indicator-notifications-gtk2\/\" target=\"_blank\">this page<\/a>.<\/p>\n<p>Once installed, log out and log in back to see the applet on panel.<\/p>\n<p>Tips: <\/p>\n<p><i>1. The applet displays up to 5 messages, to change the number of visible items, edit the config file: &#8216;usr\/share\/glib-2.0\/schemas\/net.launchpad.indicator.notifications.gschema.xml&#8217;<\/i><\/p>\n<p><i>2. To remove the applet, use Synaptic Package Manager or run command <code>sudo apt remove indicator-notifications<\/code> in terminal<\/i><\/p>\n<p><b>Enable Logging notifications:<\/b><\/p>\n<p>Another way is to log notifications history into a file. Here&#8217;s how to do it for single user in Ubuntu 16.04:<\/p>\n<p>1. Open terminal (Ctrl+Alt+T), run command to open (or create if not exist) a user-local script:<\/p>\n<pre style=\"border:none;\">gedit ~\/.pam_environment<\/pre>\n<p>When the file opens, paste the line below and save it.<\/p>\n<pre style=\"border:none;\">LOG DEFAULT=1<\/pre>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2016\/06\/enable-cache.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2016\/06\/enable-cache-450x231.jpg\" alt=\"Enable Logging Notifications\" width=\"450\" height=\"231\" class=\"aligncenter size-medium wp-image-5935\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2016\/06\/enable-cache-450x231.jpg 450w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2016\/06\/enable-cache-600x308.jpg 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2016\/06\/enable-cache.jpg 667w\" sizes=\"auto, (max-width: 450px) 100vw, 450px\" \/><\/a><\/p>\n<p>2. After restart your computer, a new file <b>&#8220;notify-osd.log&#8221;<\/b> will be created in <b>user&#8217;s Home -> .cache<\/b> folder that logs notifications history.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2016\/06\/notifyosd-log.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2016\/06\/notifyosd-log-450x205.jpg\" alt=\"notifyosd-log\" width=\"450\" height=\"205\" class=\"aligncenter size-medium wp-image-5936\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2016\/06\/notifyosd-log-450x205.jpg 450w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2016\/06\/notifyosd-log-600x273.jpg 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2016\/06\/notifyosd-log.jpg 919w\" sizes=\"auto, (max-width: 450px) 100vw, 450px\" \/><\/a><\/p>","protected":false},"excerpt":{"rendered":"<p>This is quick tutorial for those who want to view the desktop notifications history in Ubuntu 16.04 LTS. It can be done by either enabling logging notifications for Notify-OSD, or using Recent Notifications, a simple system panel applet. View recent notifications via an indicator applet: There&#8217;s a GNOME applet that displays a list of recent [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[589,590],"class_list":["post-5933","post","type-post","status-publish","format-standard","hentry","category-howtos","tag-notification-history","tag-recent-notifications"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/5933","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/comments?post=5933"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/5933\/revisions"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=5933"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=5933"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=5933"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}