How to enable logs in Ubuntu
I wanted to check out the logs for a crash I could reproduce, but the command gives me:
$ i3-dump-log
i3-dump-log: Cannot get I3_SHMLOG_PATH atom contents. Is i3 running on this display?
I read that we need to "active" the logging, but I did not understand how/where to do it. Do you know where should I place the command for logging (.xsession file did not work, .i3/config did not work):
exec /usr/bin/i3 -V -d all >~/i3log-$(date +'%F-%k-%M-%S') 2>&1
thanks,