Gentoo Archives: gentoo-user

From: Arturo 'Buanzo' Busleiman <buanzo@××××××××××.ar>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] where to place command to be executed on X.org start
Date: Tue, 31 Jul 2007 13:45:38
Message-Id: 46AF3B0A.5000602@buanzo.com.ar
In Reply to: Re: [gentoo-user] where to place command to be executed on X.org start by Peter Ruskin
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA512
3
4 Peter Ruskin wrote:
5 > Yes, but but when you log in to a non-X terminal you can still log
6 > in - all you get is a message like "xmodmap: unable to open
7 > display ''".
8
9 Then execute those commands with a conditional test of the $DISPLAY env var...
10
11 test -n "$DISPLAY" && some_command_to_run_if_$DISPLAY_has_content
12
13 - --
14 Arturo "Buanzo" Busleiman - Consultor Independiente en Seguridad Informatica
15 SHOW DE FUTURABANDA - Sabado 18 de Agosto 2007 (Speed King, Capital Federal)
16 Entradas anticipadas a traves de www.futurabanda.com.ar - Punk Rock Melodico
17
18
19 -----BEGIN PGP SIGNATURE-----
20 Version: GnuPG v1.4.7 (GNU/Linux)
21 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
22
23 iD8DBQFGrzsKAlpOsGhXcE0RCgYFAJ0cgUsOKM1OPqndRZyaHiaXBYabegCfURrF
24 BB0+BtLtMTsKMepBZ5j/lEA=
25 =ThOQ
26 -----END PGP SIGNATURE-----
27 --
28 gentoo-user@g.o mailing list