i3wm - 共通事項 - パネル

 クラウディア
1. 概要
2. 設定

1. 概要

 「Garuda Linux i3wm」をさわっていて、おぼろげにわかってきました。  パネルを表示しているのは、「i3bar」というプログラムで、中に「i3」の状態を表示しているのが、「i3status」のようです。  本ページは、下記のサイトを参考にさせていただきました。
17 – fixing can’t read temp in i3status.conf | ArcoLinuxD

2. 設定

 「Garuda Linux 221019 i3wm」では、なんだか「can't read temp」だらけなのだ。  おそらくは「VirtalBox」上で動作させているが故・・・と思いますが。
「i3wm」「Garuda Linux 221019」-「デフォルトのパネル」

 これを表示設定しているのは


~/.config/i3status/config
 のようです。  そんなに長くないので、全文掲載してみます。

# i3status configuration file.
# see "man i3status" for documentation.
#        color_good = "#00e6ac"
#                color_bad = "#ff0000"
#        color_degraded = "#ffff66"
# It is important that this file is edited as UTF-8.
# The following line should contain a sharp s:
# s
# If the above line is not correctly displayed, fix your editor first!

general {
  output_format = "i3bar"
  colors = true
  #color_good = "#2E588E"
  #color_degraded = "#FFFF00"
  #color_bad = "#FF0000"
  interval = 1
  "markup"="pango"
}

order += "disk /"
#order += "wireless _first_"
order += "ethernet _first_"
#order += "battery all"
#order += "battery all"
#order += "load"
order += "cpu_temperature 0"
order += "cpu_temperature 1"
order += "cpu_temperature 2"
order += "cpu_temperature 3"
order += "cpu_temperature 4"
order += "volume master"
order += "tztime local"

ipv6 {
    format_up = "%ip"
    format_down = ""
}

wireless _first_ {
# format_up = "W: (%quality at %essid) %ip"
# format_down = "W: down"
format_up = "[ ? ]: On: %essid (%quality) %ip"
format_down = "" #"[ ? ]  Wifi: down"
}



ethernet _first_ {
# if you use %speed, i3status requires root privileges
format_up = "%ip | %speed "
format_down = " no lan "
}

battery all {
format = " %status: %percentage "   // %remaining %emptytime"
format_down = "No battery"
#'#fa4c7e'
        status_chr = "[ ? ] ?  "
        status_bat = "[ ? ? ] "
        status_unk = "[? ukwn ] "
        status_full = " [ ? ] "
        path = "/sys/class/power_supply/BAT%d/uevent"
        low_threshold = 10
#       last_full_capacity = true
        hide_seconds = true
        integer_battery_capacity = true
}

tztime local {
format = "? %H:%M:%S |? %a. %d.%m.%Y "
locale = "de_DE.UTF-8"
}


load {
format = "%1min"
}

cpu_temperature 0 {
        format = "T: %degrees °C"
        path = "/sys/devices/platform/coretemp.0/hwmon/hwmon*/temp1_input"
}
cpu_temperature 1 {
        format = "T: %degrees °C"
        path = "/sys/devices/platform/coretemp.0/hwmon/hwmon*/temp2_input"
}
cpu_temperature 2 {
        format = "T: %degrees °C"
        path = "/sys/devices/platform/coretemp.0/hwmon/hwmon*/temp3_input"
}
cpu_temperature 3 {
        format = "T: %degrees °C"
                path = "/sys/devices/platform/coretemp.0/hwmon/hwmon*/temp4_input"
}
cpu_temperature 4 {
        format = "T: %degrees °C"
                path = "/sys/devices/platform/coretemp.0/hwmon/hwmon*/temp5_input"
}


disk "/" {
        # format = " hdd %avail "
        format = " ? %avail "
}

volume master {
    format = "[VOL]: %volume "
        format_muted = "[ ? ]: muted (%volume) "
        device = "default"
        mixer = "Master"
        mixer_idx = 0
}
 27~31行の内容が、「can't read temp」になっておるわけですな。  コメントアウトして mod+Shift+R で、再起動すると表示が変わります。  表示できないものを、無理やり見せようとしても、しょうがないですからな、下記のように表示が変わりました。
「i3wm」「Garuda Linux 221019」-「変更後のパネル」

earthcar(アースカー)
神戸養蜂場
ハイスピードプラン