[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to redirect messages in ~/.xsession-errors to a FIFO device?



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Fri, Apr 06, 2018 at 03:18:08PM +0200, Mikhail Morfikov wrote:
> Basically, all messages returned by X-applications are redirected to the
> ~/.xsession-errors file [...]

> till a terminal with "cat" is started inside of the X session. I'm just
> wondering whether similar solution can be achieved without systemd.

You might consider adding one file in /etc/X11/Xsession.d which does your
trick. Those files are sourced *after* the exec >> "$ERRFILE"...

If you want to pass on whatever went to ERRFILE so-far, you might want to
"cat" it...

Cheers
- -- t
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlrHeo8ACgkQBcgs9XrR2kYN6ACbB0UFWHJgqez7STDs3yHANzUk
umkAnReZT+TrILnl6jINpjjwEOkd5WnH
=120Y
-----END PGP SIGNATURE-----


Reply to: