i3 / i3/i3status

Volume module causes hanging infinitely

Open
#533 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
653
Forks
254
PR merge metrics
No merged PRs in 30d

Description

After updating ubuntu packages, i3-wm doesn't work anymore. I could track back to i3status.
Calling `i3status` from terminal will output this freezes the terminal.

```sh
$ i3status
{"version":1}
[
```

My simple i3status config:
```sh
general {
output_format = i3bar
colors = true
markup = pango
interval = 5
}

order += "volume master"
order += "tztime local"

volume master {
format = "  %volume "
format_muted = "  muted "
device = "default"
mixer = "Master"
mixer_idx = 0
}

tztime local {
format = "  %a %-d %b  %H:%M "
}
```

If commenting out the `volume master` parts, then it works again.
Maybe because my machine don't have input/output volume devices. But it should not cause this hanging issue on the hold i3-wm.

*Version info*:
```sh
$ uname -a
Linux C0256-ND0012 6.8.0-41-generic #41-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 2 20:41:06 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

$ i3 --version
i3 version 4.23 (2023-10-29) © 2009 Michael Stapelberg and contributors

$ i3status --version
i3status 2.14 © 2008 Michael Stapelberg and contributors
```

Also tested with `i3status 2.15` by compilation from source. It has the same issue.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.