I have just tried to use notify-send on my 13.10 machine and can't get it to work without using sudo with it.   I don't know what details can I provide with this issue.   My notify-osd version :   $ ii  notify-osd      0.9.35+13.10.20130917.1-0ubuntu1-leolik~ppa0  amd64        daemon that displays passive pop-up notifications   On regular version for 13.10 there was the same issue.  EDIT   $ ll /usr/bin/notify-send -rwxr-xr-x 1 root root 14720 wrz 10 16:12 /usr/bin/notify-send
Problem  sudo notify-send Test "Hello World"   Displays a notification as expected.  notify-send Test "Hello World"   Does not display a notification.  Further information  Ubuntu version 16.04.  The notifications appear to use notify-osd instead of notification-daemon. Running notify-send appears to launch a notify-osd process under the user that ran notify-send. I'm not sure what dbus is.   No error messages  There are no errors in the syslog. When I run the following code no error messages occur.   #include &lt;libnotify/notify.h&gt; #include &lt;stdio.h&gt; int main() {     gboolean x = notify_init ("Hello world!");     printf( "notify_init: %d\n", x );     NotifyNotification * Hello = notify_notification_new ("Hello world", "This is an example notification.", "dialog-information");     GError *err = NULL;     x = notify_notification_show (Hello, &amp;err);     printf( "notify_notification_show: %d\n", x );     if(err != NULL) {         printf("Error detected!\n");         printf("Error message:%s\n", err-&gt;message);     }     else {         printf("No error detected.\n");     }     g_object_unref(G_OBJECT(Hello));     notify_uninit();     return 0; }   I do not know what I'm doing. Thanks for the help.  Python Notify  In the past, I've used a python program that has working notifications. I tested a hello world notification and it works without sudo!   #!/usr/bin/env python # -*- coding: utf-8 -*- import gi gi.require_version('Notify', '0.7') from gi.repository import Notify  Notify.init("test") n = Notify.Notification.new('test', 'test2') n.set_urgency(Notify.Urgency.CRITICAL)     n.show()   Code from   I am not sure why this works. The python Notify is just wrapping the library used in the C example. I'd prefer not to use python but will if I must.  Edit  The problem occurred again. Resolved by adding urgency critical.
Identifying a thin, black, worm-like creature with a hammer-shaped head I came across the creature shown in the photo below yesterday evening while walking the dogs. At first, I thought it was an earthworm, but a flashlight revealed it to be something I had never seen before.    It is approximately 12 inches (300 mm) in length and about 1/3 of an inch (10 mm) in diameter at its maximum. It is pitch black and very shiny—like piano black. It moves very slowly, using a snake-like motion. It had a very strange head, like a hammerhead shark.  I live in Durban, South Africa, if that helps to narrow down the possibilities.  Can anyone help in identifying this creature? Story identification: Old man has hacker neighbor who mysteriously dies Does anyone know this story? It was a novelette published with another one (I don't remember what it was) in . The premise was that the narrator is an old man whose neighbor, a hacker, dies under mysterious circumstances. A younger woman who is an expert in computer security is hired by the police to investigate what happened, and she has a fling with the narrator. After a while she dies as well, and the narrator realizes that it is an evil force that comes through electric lines is responsible for the killings. The title has interesting formatting in that it ends with a square (much like a command prompt cursor: [_] ) How can I increment a date by one day in Java? HTML/Javascript: how to access JSON data loaded in a script tag with src set How to "grep" for line length in a given range? Creation of a matrix Centering vertically in table cell I'm new with LaTeX and I'm trying to make a table with the elements centered vertically and horizontally. I've searched for this question, it seems like most people were trying to do things a little more complicated than this, resulting in complicated answers I couldn't understand. The table below is already centered horizontally, but the elements are aligned to the top of the cells instead of the center. How do I fix this?      \begin{tabular}{*{5}{|c}|}         \hline         $p$ &amp; $q$ &amp; $p \land q$ &amp; $p \lor q$ &amp; $p \to q$\\         \hline         T &amp; T &amp; T &amp; T &amp; T\\         \hline         T &amp; F &amp; F &amp; T &amp; F\\         \hline         F &amp; T &amp; F &amp; T &amp; T\\         \hline         F &amp; F &amp; F &amp; F &amp; T\\         \hline     \end{tabular} Salesforce - Maximum simultaneous requests callout limit Salesforce says      Maximum simultaneous requests to URLs with the same host for a callout   request is 20   Statement is very simple to read but it is not very clear as to what it means. Can anyone explain what this statement means and how can i reproduce this exception in my Sandbox?     Once more thing what is the difference between simultaneous and   concurrent? Are both same or different? Why is the sum of two random variables a convolution? For long time I did not understand why the "sum" of two random variables is , whereas a mixture density function sum of $f(x)$ and $g(x)$ is $p\,f(x)+(1-p)g(x)$; the arithmetic sum and not their convolution. The exact phrase "the sum of two random variables" appears in google 146,000 times, and is elliptical as follows. If one considers an RV to yield a single value, then that single value can be added to another RV single value, which has nothing to do with convolution, at least not directly, all that is is a sum of two numbers. An RV outcome in statistics is however a collection of values and thus a more exact phrase would be something like "the set of coordinated sums of pairs of associated individual values from two RV's is their discrete convolution"...and can be approximated by the convolution of the density functions corresponding to those RV's. Even simpler language: 2 RV's of $n$-samples are in effect two n-dimensional vectors that add as their vector sum.           Please show the details of how the sum of two random variables are a convolution and a sum. What happens to Bucky's arm at the end of Infinity War? Bucky (Winter Soldier) has a metal arm (possibly made from vibranium?) but it's an attachment to his body as far as I understand. Why, when Thanos destroys half of the universe at the end of Infinity War, does his metallic arm also disappear with him? Shouldn't it be left behind as his gun did? Most of the time, I use good and well interchangeably. However, on many occasions I would find well or good a misfit. Please suggest the proper usage. I want to disable the internal Microphone on my laptop and the internal Webcam completely that they're no longer selectable, and no longer available?  I will only use my external Webcam, and my external (USB) headset.  The internal audio should still be available for playback. In the sentence      It's one of the best films that has/have ever been made   What should the verb agreement be? I  just got these 10 e-mails 5 hours ago from do-not-reply@stackexchange.com:      Recently, you asked a question on [X] Stack Exchange, but you haven't verified your email address yet.      Click on the following link to verify your email and set a password so that you can log in.      Here, [X] refers to all of the following:    GameDevelopment.SE SharePoint.SE Unix.SE  Skeptics.SE Japaneese.SE HomeImprovement.SE SciFi.SE PersonalFinanceMoney.SE  DatabaseAdmins.SE  TeX.SE    I haven't posted on any of these except for TeX.SE, but that was not recently, and through my real account.   =   I asked about this , and was told that someone seems to be impersonating me by using my email. Is it possible for staff to stop this?   Also, I'm pretty surprised there is no measure to stop people from using emails to existing SE accounts (see for example, on wordpress.com, if you use an e-mail which has an existing account on wp.com, you are asked to log in.).    EDIT:  I just got 2 more emails an hour ago for SharePoint.SE, and for AmateurRadio.SE. If an element has a unique right inverse, is it invertible? Following , I would like to know what exactly it means for a tag to be marked as blocked (formerly blacklisted) on a Stack Exchange site.  Does it mean I can't use that tag on my question? What are the reasons for blocking a tag? Who can block tags? Why am I being prompted to remove a tag from a question I'm editing? There are similar questions for  and , but I'm after a Windows solution here.  The problem is as follows: I want to write several (js) script files in a folder, and have a  program monitor that folder for file changes and new files being added, and run a command whenever that happens (to compile them all into one single file).  The solution has to:   Monitor both file changes and new files being added, in a folder. Run a command only if there is any change.   It would be best if it either is a built-in solution (like a JScript or VBscript snippet), or something that does not require installation. How to change symbol for footnote in minipage \renewcommand method does not work  \documentclass{article} \renewcommand{\thefootnote}{\arabic{footnote}} \begin{document}  \begin{minipage}{1.3\textwidth}  test this\footnote{abc} \end{minipage}  \end{document}   In the following example the footnote number is incorrect. Why?  \documentclass{article} \renewcommand{\thempfootnote}{\arabic{mpfootnote}} \begin{document} \begin{minipage}{.5\textwidth} test this\footnotemark \footnotetext{abc} \end{minipage} \end{document} I want to see if my process makes a lot of context switches. I also want to see how manpulating task groups affects the number of context switches. Does the Darkness spell block vision? In discussing , I came to realize that the real question was whether Darkness blocks vision or merely creates "darkness".    Per the wording of the spell:     Magical darkness spreads from a point you choose within range to fill a 15-foot-radius sphere for the duration. The darkness spreads around corners. A creature with darkvision can’t see through this darkness, and nonmagical light can’t illuminate it. (emphasis mine)   Normal darkness is defined in the game as creating a heavily obscured area and the only description added to the darkness is that it is magical, which (to me) just means that it is created by magic and is subject to the magical rules.    Darkvision is defined in the game as basically being able to see in darkness as if they were seeing in dim light. So, the text "darkvision can’t see through this darkness" merely means that it affects darkvision in the same way it affects normal vision. (See earlier versions of the spell below, which had similar wordings.)    I see nothing there that implies it is a barrier to vision, just an active  and utter absence of illumination.    Previous editions have varying descriptions.  and  give accurate accountings of the various versions.   The 1e Wizard version seems to actually imply a sphere of opaque blackness that even blocks infra/ultravision, while the 1e Cleric version is a reversal of the Light spell and creates totally normal darkness, with no block to special visions.   The 2e version is similar to the 1e Cleric spell. It creates an area of darkness "equal to an unlit interior room".   The 3.0e version comes closest to the 5e version. It "causes an object   to radiate darkness out to a 20-foot radius. Not even creatures who can normally see in the dark (such as with darkvision) can see in an area shrouded in magical darkness." Still no reference to any sort of opacity and the wording makes it clear that darkvision is being treated specifically here.   3.5e Darkness is similar, although instead of darkness, it creates "shadowy illumination". This affects darkvision as well as normal vision.   4e doesn't have a Darkness spell, but rather a Cleric Utility called Veil of Darkness, which creates "a zone that is heavily obscured and blocks line of sight." So, finally, a reference to opacity, in "blocks line of sight", although I question if opacity was the intent.