Package: i3-wm
Version: 4.19.1-1
Severity: minor

According to i3 manual it has debugging disabled by default:

> --shmlog-size <limit> Limits the size of the i3 SHM log to <limit> bytes. Setting this to 0 disables SHM logging entirely. The default is 0 bytes.

Also, as I can see, debug and non-debug versions have different xsession files:

>> grep ^Exec /usr/share/xsessions/i3*
> /usr/share/xsessions/i3.desktop:Exec=i3
> /usr/share/xsessions/i3-with-shmlog.desktop:Exec=i3-with-shmlog

However, i3-with-shmlog is an alias to i3, so both xsession files refers to the same executable file with the same parameters:

>> ls -l $(which i3-with-shmlog)
>lrwxrwxrwx 1 root root 2 Feb  7  2021 /usr/bin/i3-with-shmlog -> i3

/dev/shm/i3-logs-${pid} file is present after every launch, so the debugging is enabled by default.

I think it is better to disable debugging by default, remote the symbolic link and use "--shmlog-size" option in "Exec" field for i3-with-shmlog.desktop

I am using debian 11 with all the latest updates, no packages from unofficial or testing repositories

Reply via email to