Skip to content

Instantly share code, notes, and snippets.

@wwalker
Created May 12, 2020 20:41
Show Gist options
  • Save wwalker/5981a67cfa31c6c9252589b3dae37aba to your computer and use it in GitHub Desktop.
Save wwalker/5981a67cfa31c6c9252589b3dae37aba to your computer and use it in GitHub Desktop.
i3 nagbar fails to start second time.
If I have a config error (at the very end of the file,
so most everything is loaded, and I do "reload", the first time the nagbar
comes up and I can view the errors and edit the config.
However, if I then reload again (having not fixed the error, I see i3
refraw portions of the display (as is expected with a reload), but no nagbar.
starting with i3-with-shmlog, I see the attached errors.
For some reason i3 thinks i3-nagbar is still running, but it is not.
wwalker@polonium:~ ✓ $ /bin/ls -l /proc/6272/fd
total 0
lr-x------ 1 wwalker wwalker 64 2020-05-12T15:18:26.171583892 0 -> /dev/null
l-wx------ 1 wwalker wwalker 64 2020-05-12T15:18:26.171583892 1 -> /dev/null
l-wx------ 1 wwalker wwalker 64 2020-05-12T15:18:26.171583892 2 -> /home/wwalker/.xsession-errors
l-wx------ 1 wwalker wwalker 64 2020-05-12T15:18:26.171583892 3 -> /run/user/1000/i3/errorlog.6272
lrwx------ 1 wwalker wwalker 64 2020-05-12T15:18:26.171583892 4 -> socket:[75792]
lrwx------ 1 wwalker wwalker 64 2020-05-12T15:18:26.171583892 5 -> anon_inode:[eventpoll]
lrwx------ 1 wwalker wwalker 64 2020-05-12T15:18:26.171583892 6 -> anon_inode:[eventfd]
lrwx------ 1 wwalker wwalker 64 2020-05-12T15:18:26.171583892 7 -> socket:[75073]
lrwx------ 1 wwalker wwalker 64 2020-05-12T15:18:26.171583892 8 -> socket:[78107]
lrwx------ 1 wwalker wwalker 64 2020-05-12T15:18:26.171583892 9 -> socket:[72517]
6272 write(1, "ERROR: FYI: You are using i3 version 4.18 (2020-02-17)\n", 55) = 55
6272 write(3, "ERROR: FYI: You are using i3 version 4.18 (2020-02-17)\n", 55) = 55
6272 write(1, "05/12/2020 03:23:16 PM - ", 25) = 25
6272 write(1, "util.c:start_nagbar:375 - i3-nagbar already running (PID 1368118), not starting again.\n", 87) = 87
[libi3] ../../i3-4.18.1/libi3/font.c Using Pango font DejaVu Sans Mono, size 15
[libi3] ../../i3-4.18.1/i3-nagbar/main.c Found primary output on position x = 0 / y = 0 / w = 3840 / h = 2160.
i3: kill(configerror_nagbar) failed: No such process
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment