The i3 FAQ has migrated to https://github.com/i3/i3/discussions. All content here is read-only.
Ask Your Question
0

low_threshold for battery crashes i3

asked 2013-03-13 14:36:09 +0000

fab gravatar image

when adding a low_threshold to the battery for i3status, my i3 crashes. according to the user guide this should work. any idea?

note1: had to change the battery module to battery 1 (not zero) in my config so that it would show up. These are the relevant pieces of the config:

order += "battery 1"
....
battery 1 {
        format = "%status %percentage %remaining"
        low_threshold = "10"
}

(I also tried low_threshold = 10 (without the "").

note2: the same applies to the threshold_type parameter

edit retag flag offensive close merge delete

Comments

I am sorry, my question is inaccurate. The problem is not that i3 crashes, but the i3status bar disappears. Not sure how I can debug this?

fab gravatar imagefab ( 2013-03-13 16:37:27 +0000 )edit

2 answers

Sort by » oldest newest most voted
0

answered 2013-03-13 20:54:22 +0000

Michael gravatar image

Your i3status version is too old. Upgrade first.

To debug, run i3status in a terminal and you’ll see the error message.

edit flag offensive delete link more

Comments

Not sure how to do that. Even on the i3 download page the version of i3status for the ubuntu package is 2.5.1. BTW, i3status on the commandline tells me ".i3status.conf:29: no such option 'low_threshold'"

fab gravatar imagefab ( 2013-03-14 03:34:36 +0000 )edit

To update, see the instructions at http://www.i3wm.org/docs/repositories.html Section 2.1.

sur5r gravatar imagesur5r ( 2013-03-14 10:41:25 +0000 )edit

Upgrading did in fact resolve the issue. Thanks!

fab gravatar imagefab ( 2013-03-18 17:19:44 +0000 )edit
0

answered 2013-03-13 14:56:47 +0000

sur5r gravatar image

I can't reproduce this with i3status 2.7. Which version are you using?

Also, can you provide a backtrace?

edit flag offensive delete link more

Comments

Sorry, please read my comment on my question. It's not i3 crashing but i3status disappears. my i3status version is 2.5.1 (From a fresh install of ubuntu 12.10 via their repositories).

fab gravatar imagefab ( 2013-03-13 16:38:50 +0000 )edit

Question Tools

Stats

Asked: 2013-03-13 14:36:09 +0000

Seen: 394 times

Last updated: Mar 13 '13