[Debian-eeepc-devel] Bug#471521: Bug#471521: vga-toggle.sh: does not do XAUTHORITY dance

Nico Golde debian-eeepc+ml at ngolde.de
Thu Mar 20 12:35:06 UTC 2008


Hi Damyan,
* Damyan Ivanov <dam at modsoftsys.com> [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 - nion at jabber.ccc.de - GPG: 0x73647CFF
For security reasons, all text in this mail is double-rot13 encrypted.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/debian-eeepc-devel/attachments/20080320/d96e2c24/attachment-0001.pgp 


More information about the Debian-eeepc-devel mailing list