Re: Silly question

"Francisco J. Guidi Moggia" <[email protected]> Tue, 26 Aug 2003 14:49:01 -0400
Newsgroups gmane.linux.hardware.sony
Message-ID <[email protected]>
--TB36FDmn/VVEgNH/
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Aug 26, 2003 at 08:35:46PM +0430, [email protected] wrote:
> Hi,
>=20
> A silly question:  Anyone knows how I can get to the GNOME logout=20
> dialog from command line?  I want to attach it to power button=20
> through acpid, with no luck yet.
You could try to kill "gnome-session" manually under two ways, I think:
With acpid trap the event and do a "killall gnome-session"

or make a script to kill the proccess, something like this:

logout.sh
ps -u user |awk '$4=3D=3D"gnome-session" {printf $1}' |kill -9

where user is your username. This should fetch gnome-session PID and send
a SIGKILL signal to it.


Don't know if this works, just occur to me, never test it.

Greetings,
--=20
Francisco J. Guidi Moggia
[email protected]
http://www.guidi.com

--TB36FDmn/VVEgNH/
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/S6udZC4WAbFE+VsRAvC/AJ9KwHKiK+fBnlkyogwR8DeEFF6FnwCgsyTl
WXQnTfAS/H3Ev4cpEWQMZ2g=
=ETxZ
-----END PGP SIGNATURE-----

--TB36FDmn/VVEgNH/--