On Wed 08 May 2019 at 08:33:05 (-0400), Greg Wooledge wrote:
> On Tue, May 07, 2019 at 11:23:46PM +0200, Esteban L wrote:
> > pid=$(pgrep -u $username nautilus)
>
> This may produce more than one value.
> The script you've got is not designed to handle the case where pgrep finds
> more than one p
On Tue, May 07, 2019 at 11:23:46PM +0200, Esteban L wrote:
> pid=$(pgrep -u $username nautilus)
This may produce more than one value.
> dbus=$(grep -z DBUS_SESSION_BUS_ADDRESS /proc/$pid/environ | sed
> 's/DBUS_SESSION_BUS_ADDRESS=//' )
This one tries to use the value of $pid but if that variabl
On Tuesday 07 May 2019 07:56:35 pm Dan Ritter wrote:
> Gene Heskett wrote:
> > I've had a problem, I think with dbus that smells a bit like this.
> >
> > I've a bash script that sends inotifywait to watch the mail dir in
> > /var, and when one of the files is closed after writing and incoming
> >
Gene Heskett wrote:
> I've had a problem, I think with dbus that smells a bit like this.
>
> I've a bash script that sends inotifywait to watch the mail dir in /var,
> and when one of the files is closed after writing and incoming mail to
> it, returns to my script with the name of the file an
level). What's the saying about the "devil you
> know?" =)
>
> Thanks again!
>
>
> -Original Message-
> From: Dan Ritter
> To: Esteban L
> Cc: debian-user
> Subject: Re: notify-send script messed up my environment
> Date: Tue, 7 May 2019
To: Esteban L
Cc: debian-user
Subject: Re: notify-send script messed up my environment
Date: Tue, 7 May 2019 18:12:01 -0400
Esteban L wrote:
> I stepped in poo, and broke a cardinal sin, trying a script that I
> didn't 100% understand. Now my environment is a little bit jacked.
&g
Esteban L wrote:
> I stepped in poo, and broke a cardinal sin, trying a script that I
> didn't 100% understand. Now my environment is a little bit jacked. Not
> bad, still generally functioning.
>
> I was trying to get notifications to run from the command line, namely
> crontab. No easy task, a
Hello,
I stepped in poo, and broke a cardinal sin, trying a script that I
didn't 100% understand. Now my environment is a little bit jacked. Not
bad, still generally functioning.
I was trying to get notifications to run from the command line, namely
crontab. No easy task, at least, not as easy a
8 matches
Mail list logo