-
-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
qubes-i3status - json invalid #9094
qubes-i3status - json invalid #9094
Comments
I usually have to make a local copy and edit it. Currently, I have:
Been that way for years. I also have some tweaks so that the volume change feedback is more responsive. Once the volume changes, it goes to polling volume once per second, so you can hit UP and wait for it to register, then you can hit UP each subsequent second. |
Here's the main loop. you still have to wait up to 5 seconds for the first volume change to register, but then it becomes more responsive.
|
In my i3 config i changed status_command to "qubes-i3status 2> /dev/null" |
@daktak @neowutran @BetoHydroxyButyrate - Thank you for testing i3 on Qubes and offering potential solutions. Your work and knowledge helped me fix this issue and increased my knowledge in several areas. |
Ok, my errors stem from the 4.2 update causing issues with my sound |
Updated qubes-i3status with below
|
@andrewdavidwong Any updates here? I hope that will get fixed soon. I never used testing releases but instead of important information (like date, time, battery, volume etc) my whole status bar just shows this big red json format error and that already since this issue exists (so over two months). |
This is absolutely not a priority. Feel free to fix it and open a PR. |
I leave that to @daktak @BetoHydroxyButyrate as they are familiar with the code and already proposed some solutions. |
I took some extra time for reworking the whole in Python. Feel free to test it, give me some feedback before we merge it please. |
Tested qubes-i3status.py on my side, work fine. |
QubesOS/qubes-desktop-linux-i3-settings-qubes@e9aa0f0
Please open a separate issue for that. |
Automated announcement from builder-github The package
|
Automated announcement from builder-github The component
|
Automated announcement from builder-github The component
|
Automated announcement from builder-github The package
|
Automated announcement from builder-github The package
|
Automated announcement from builder-github The package
|
Automated announcement from builder-github The component
|
Automated announcement from builder-github The component
|
Automated announcement from builder-github The package
|
Automated announcement from builder-github The package
|
Automated announcement from builder-github The component
|
Automated announcement from builder-github The component
|
Qubes OS release
R4.2, testing repositories, latest update
Brief summary
after a dom0 update today, "qubes-i3status" started to generate invalid json causing issue with the i3 bar
The result of
amixer sget Master
in dom0 has changed.The AWK command doesn't retrieve the correct thing now https://github.com/QubesOS/qubes-desktop-linux-i3-settings-qubes/blob/main/qubes-i3status#L138 (and it match multiple line, so it add control character in the json, making it invalid.
Didn't had time to check what got modified
The text was updated successfully, but these errors were encountered: