Guillaume Quintin writes:
> Neale Pickett, where are you in your investigations ? Could be X the
> problem ?
I stopped my investigation when Anselm accepted the xprop patch. Now
status scripts will be just another background process with an X
connection (like xterm), and there should be no need
"Michael Brown" writes:
> Seems the problem has something to do with xsetroot's whitespace
> handling...
Then it's probably working like bourne shell. Observe:
$ argcount () { echo $#; }
$ argcount 1 2 3
3
$ argcount "1 2 3"
1
$ argcount $(echo 1 2 3)
3
$ argcou
On Dec 16, 2008, at 10:48 AM, Guillaume Quintin wrote:
On Tue, 16 Dec 2008 12:38:17 -0500
Jeremy Jay wrote:
Here's some simple C code I wrote to handle setting the
xprop without using xsetroot. At the moment it just
spawns the same shell scripts I used before, but it may
be useful for those
On Tue 16 Dec 2008 - 07:48PM, Guillaume Quintin wrote:
> IMHO it is too complicated. Moreover that's exactly the solution
I'm not using the glib bindings so there isn't that much complexity,
and there is really only 1 method to handle, the rest are very simple
(i've actually already coded them).
Guillaume,
hg tip contains Neale's x property based status feed approach which I
agree with after some thought. I think there are no open issues
anymore and no need for popen, SIGALRM and spawn2 etc.
Try it, I'm going to do a new release tomorrow.
Kind regards,
Anselm
2008/12/16 Guillaume Quint
On Tue, 16 Dec 2008 12:38:17 -0500
Jeremy Jay wrote:
> Here's some simple C code I wrote to handle setting the
> xprop without using xsetroot. At the moment it just
> spawns the same shell scripts I used before, but it may
> be useful for those having issues with xsetroot...
>
> If anyone is in
Here's some simple C code I wrote to handle setting the
xprop without using xsetroot. At the moment it just
spawns the same shell scripts I used before, but it may
be useful for those having issues with xsetroot...
If anyone is interested, this is the beginings of a
libnotify-aware status script
Try
text=`{date}^" "^`{uptime}
xsetroot -name $"text
Kind regards,
Anselm
2008/12/16 Michael Brown :
> These work:
> xsetroot -name test
> xsetroot -name `{echo test}
>
> These don't:
> xsetroot -name `{date}
> xsetroot -name `{echo test test}
> xsetroot -name `{echo 'test test'}
> xsetroot -nam