Hi Damyan,
* Damyan Ivanov <[EMAIL PROTECTED]> [2008-03-20 09:46]:
> -=| Trent W. Buck, Thu, Mar 20, 2008 at 04:55:05PM +1100 |=-
> > On Wed, Mar 19, 2008 at 04:50:49PM +0200, Damyan Ivanov wrote:
> > > [...] sets XAUTHORITY to /home/root/.Xauthority.
[...] 
> I guess it is not very hard to spot a running Gnome, Xfce, KDE or
> whatever and use their notification services, falling back to aosd_cat.
> 
> Back to the original problem, notify() does not do anything when the
> display number printed by `who' contains no dots. :0 fails, :0.0 works.
> My experience showed that :0.0 only appears if I have some
> gnome-terminals running and if they are set to start 'login shells' (the
> default). This may explain why it worked for me. If I set gnoem-terminal
> to not start 'login shells', then it does not work here too.
> 
> What does the output of `who' look like for you?

At least not here. I use openbox and start it using startx 
opening aterms then. It contains the dot. Well as long as a 
terminal is open, if none is open there is no display set in 
who. I talked about this problem at the FOSDEM with an xorg 
developer and he told me that there is no sane way to get 
the X displays. He asked me to write a mail to the xorg 
developers list to point them to the factt that this is 
needed for valid reasons. This has not been done yet because 
this is a subscriber-only list and I don't really want to 
subscribe just to send one mail. Anyone subscribed on 
the xorg list?

Kind regards
Nico
-- 
Nico Golde - http://www.ngolde.de - [EMAIL PROTECTED] - GPG: 0x73647CFF
For security reasons, all text in this mail is double-rot13 encrypted.

Attachment: pgpdKu9LAHOM3.pgp
Description: PGP signature

Reply via email to