On Thu, Dec 30, 2010 at 5:02 AM, Uli Schlachter <psyc...@znc.in> wrote:
> -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 > > Am 30.12.2010 04:01, Alan Warren wrote: > > Thanks Uli, > > > > How would I get the information from this? > > > > $ ls -l /proc/$(pidof awesome)/fd/2 > > l-wx------ 1 alan alan 64 Dec 29 20:53 /proc/5207/fd/2 -> pipe:[7122] > > > > Thanks > > Uhm, no idea. pipe means that some other process receives the output of > awesome... > > I just had an idea: > > $ /bin/cat /dev/zero | /bin/sleep 120 > > PID of cat is 5103 and ls -l says /proc/5103/fd/1 -> pipe:[58525] > > $ for x in /proc/*/fd/* ; do echo -n "$x " ; readlink $x ; done | grep > 58525 > /proc/5103/fd/1 pipe:[58525] > /proc/5104/fd/0 pipe:[58525] > > So this tells my that PID 5104 is the process that is receiving this > output. > > > Alternative plan > - ---------------- > > How do you start awesome? Via ~/.xsession? How does that file look like? > > Uli > > - -- > The Angels have the phone box! > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.10 (GNU/Linux) > > iQEcBAEBCAAGBQJNHGazAAoJECLkKOvLj8sGPzMIALiP088YBUg6Klg5CkeywHrs > a4qBrh13kpT2hwb2/RnwbuO+pHmjRsG7TRPwc6uTnzJeuQN6zzs96wJgrrSpJ8gw > 0GfSP3ymG7hf1h+esm8uMkTrpgQMylVg68kxRoYaTWvWotcIeFow0Ck9f6AML4/u > XKFZwLaNGb+5DNPdjci9qBZQZLyvjEoTEtgYtr6EDumfRbmvi0MnnWSheWUrZTLa > yu2zXXEs1+ktPyBI9cmGbjfrne5gsAE+sYAUX0jlMEffaDIRwe6FWA7A7yMt4Inm > ayealZNqZBEVyWGzB1VB/md/0YsCovZoscbMrOYu7gYJZyWLuE8ixWG8edzxkuI= > =5Hpn > -----END PGP SIGNATURE----- > > -- > To unsubscribe, send mail to awesome-unsubscr...@naquadah.org. > I have been using gdm on this machine. My other computer has the same setup, but I use slim instead of gdm. I checked, and awesome's stderr is going directly to /var/log/slim.log there. I like this behavior better so I put slim on all my machines now. I went through the Gentoo locale guides the previous night, and setup urxvt to recognize utf8. Amongst all those changes, special chars work fine now. I appreciate your time Uli. Thanks, Alan