xxxserxxx / gotop

A terminal based graphical activity monitor inspired by gtop and vtop
Other
2.69k stars 138 forks source link

Statusbar set to true in the configuration file but is not displayed #233

Open iGormilhit opened 1 year ago

iGormilhit commented 1 year ago

Description

When starting gotop with the --statusbar option in the CLI, it is displayed correctly.

But when the option is set in the configuration file (.config/gotop/gotop.config, statusbar=true), the status bar is not displayed.

Here my configuration file:

❯ cat .config/gotop/gotop.conf
# Scale graphs to this level; 7 is the default, 2 is zoomed out.
graphhorizontalscale=7
# If true, start the UI with the help visible
helpvisible=false
# The color scheme to use.  See `--list colorschemes`
colorscheme=default-dark
# How frequently to update the UI, in nanoseconds
updateinterval=1000000000
# If true, show the average CPU load
averagecpu=false
# If true, show load per CPU
percpuload=false
# Temperature units. C for Celsius, F for Fahrenheit
tempscale=C
# If true, display a status bar
statusbar=true
# The network interface to monitor
netinterface=all
# A layout name. See `--list layouts`
layout=default
# The maximum log file size, in bytes
maxlogsize=5000000
# If set, export data as Promethius metrics on the interface:port.
# E.g., `:8080` (colon is required, interface is not)
#metricsexportport=
# Display network IO in mpbs if true
mbps=false
# A list of enabled temp sensors.  See `--list devices`
#temperatures=
# Enable NVidia GPU metrics.
nvidia=false
# To configure the NVidia refresh rate, set a duration:
#nvidiarefresh=30s
gotop version:

gotop -V, or if built from source, git rev-parse HEAD

gotop v4.1.4 (20220715T163833) (AUR package gotop-bin)

I've tried also with the AUR package gotop-git without any change:

❯ gotop --version
gotop v4.1.4.r8.g31f071b (20220829T105419)
OS/Arch:

Linux: uname -or, OSX: sw_vers; Windows: systeminfo | findstr /B /C:"OS Name" /C:"OS Version"

5.19.4-arch1-1 #1 SMP PREEMPT_DYNAMIC Thu, 25 Aug 2022 17:31:12 +0000 x86_64 GNU/Linux

Terminal emulator:

e.g. iTerm, kitty, xterm, PowerShell

Tilix and Gnome Terminal

Any relevant hardware info:

If the issue is clearly related to a specific piece of hardware, e.g., the network

None.

tmux version:

tmux -V, if using tmux

Not using it.

Also please copy or attach ~/.local/state/gotop/errors.log if it exists and contains logs:

No such logs.