My Manjaro system works well all the time, but today it did not work when I have updated my Manjaro system. The error is “Error: status_command process exited unexpectedly (exit 1)”. I tried to debug my i3bar according to the debug instruction of i3. The log information is as follows:
[../i3-4.18.2/../i3-4.18.2/i3bar/src/xcb.c:901] ERROR: Window 032004b5 violates the XEMBED protocol, _XEMBED_INFO not set
conky: Syntax error (/home/fg/.conkyrc:2: syntax error near 'no') while reading config file.
conky: Assuming it's in old syntax and attempting conversion.
conky: [string "..."]:159: attempt to call a nil value (global 'loadstring')
[../i3-4.18.2/../i3-4.18.2/i3bar/src/child.c:504] ERROR: Child (pid: 8902) unexpectedly exited with status
## No output to X <yes/no>
out_to_x no
## Create own window to draw <yes/no>
own_window no
## Print everything to console?
out_to_console yes
## Use double buffering (reduces flicker, not needed for console output)
double_buffer no
## Set to yes if you want Conky to be forked in the
background
background no
## Update interval in seconds
update_interval 5.0
## This is the number of times Conky will update before quitting.
## Set to zero to run forever.
total_run_times 0
## Shortens units to a single character (kiB->k,GiB->G, etc.). Default is off.
short_units yes
if_up_strictness address
## Add spaces to keep things from moving about? This only affects certain objects.
## use_spacer should have an argument of left, right,or none
use_spacer left
## Force UTF8? note that UTF8 support required XFT
override_utf8_locale no
## number of cpu samples to average
## set to 1 to disable averaging
cpu_avg_samples 2
## Sensors examples
# Top Process: ${top name 1}
# Root: {fs_used /}/${fs_size /} /home ${fs_free
# Load: ${loadavg 1} ${loadavg 2} ${loadavg 3}
# Load: $loadavg
# Swap: ${swap}/${swapmax} (${swapperc}%)
# Processes: ${running_processes} / ${processes}
# CPU: $cpu%
# HDD: $diskio_read :Read $diskio_write :Write
# Temp: Core0: ${exec sensors | awk '/Core 0/ {print
# Freq: ${freq cpu0}Mhz
# Uptime: $uptime
# Kernel:$kernel on $machine
# Name: $nodename - $sysname
# Battery: ${battery_percent BAT0}%
## Stuff after 'TEXT' will be formatted on screen
TEXT
# Free space on /home
/home ${fs_free /home} | \
# Ethernet status
Ul: ${upspeed enp7s0} kb/s | \
Dl: ${downspeed enp7s0} kb/s | \
# CPU stats
CPU ${cpu cpu1}% | \
RAM ${mem} | \
${time %y.%m.%d} ${time %H:%M} | \
# ${color}Battery $battery ${battery_bar BAT0 11,0}
# me: ${color #db7093}$alignr$uptime
# ${color #98c2c7}Battery: ${color #db7093}${alignr}$battery
# 显示电量多少设置
Battery ${voffset 2} ${battery_bar BAT1 5,10} ${battery_percent BAT1}%
# * Monitor a laptop battery:
# ${color red}battery state:${color white} ${battery} | \
# ${color red}battery strength:${color green} ${battery_bar 7,10}