OpenMandrivaAssociation / distribution

OpenMandriva Lx is an exciting free Desktop Operating System that aims to cater to and interest first time and advanced users alike. It has the breadth and depth of an advanced system but is designed to be simple and straightforward in use.
https://openmandriva.org
7 stars 2 forks source link

neofetch misbehaving #2827

Closed rugyada closed 2 years ago

rugyada commented 2 years ago

OpenMandriva version: Cooker build #1317

Describe the bug:

See screenshot

Logs and screenshots if relevant

Screenshot_20220813_004640

rugyada commented 2 years ago

Possible cause

Screenshot_20220821_150603

AngryPenguinPL commented 2 years ago

Tbh nothing change at neofetch side. Maybe some changes related to shell?

edwardp3 commented 2 years ago

Every neofetch screenshot I've found online, displays the color palette.

EDIT: Noticed OpenMandriva version numbers. One piece of info I found indicated that /etc/neofetch/config is the config file for it, but in Cooker, /etc/neofetch doesn't exist. /usr/bin/neofetch otherwise looks like a config file.

edwardp3 commented 2 years ago

neofetch --color-blocks on should force it to display the color blocks, in Cooker it's not doing that.

neofetch

rugyada commented 2 years ago

One piece of info I found indicated that /etc/neofetch/config is the config file for it, but in Cooker, /etc/neofetch doesn't exist

I have a config file here ~/.config/neofetch/config.conf

edwardp3 commented 2 years ago

I have that too. Didn't know that it was also in ~/.config. This is my color blocks section of that config file. Color blocks is on by default, but they're clearly not displaying in the terminal. I'm going to try to downgrade bash to see if the issue persists.

EDIT: Can't downgrade bash:

Last metadata expiration check: 1:03:36 ago on Sun 21 Aug 2022 05:40:11 PM EDT.
Package bash of lowest version already installed, cannot downgrade it.
Dependencies resolved.
Nothing to do.
Complete!
# Color Blocks

# Color block range
# The range of colors to print.
#
# Default:  '0', '15'
# Values:   'num'
# Flag:     --block_range
#
# Example:
#
# Display colors 0-7 in the blocks.  (8 colors)
# neofetch --block_range 0 7
#
# Display colors 0-15 in the blocks. (16 colors)
# neofetch --block_range 0 15
block_range=(0 15)

# Toggle color blocks
#
# Default:  'on'
# Values:   'on', 'off'
# Flag:     --color_blocks
color_blocks="on"

# Color block width in spaces
#
# Default:  '3'
# Values:   'num'
# Flag:     --block_width
block_width=3

# Color block height in lines
#
# Default:  '1'
# Values:   'num'
# Flag:     --block_height
block_height=1
edwardp3 commented 2 years ago

Installed kuser on my Plasma/Cooker VBox, changed the shell to /bin/sh and it had no affect on the neofetch display, so it can't be the shell. Screenshot is via host OS.

neofetch2

rugyada commented 2 years ago

Solved in neofetch-7.1.0.1

edwardp3 commented 2 years ago

Neofetch updated to 7.1.0.1. Same output.

~]$ dnf info neofetch
Last metadata expiration check: 0:00:11 ago on Fri 26 Aug 2022 05:32:05 PM EDT.
Installed Packages
Name         : neofetch
Version      : 7.1.0.1
Release      : 1
Architecture : noarch
Size         : 342 k
Source       : neofetch-7.1.0.1-1.src.rpm
Repository   : @System
From repo    : cooker-x86_64
Summary      : Neofetch is a CLI system information tool written in BASH
URL          : https://github.com/dylanaraps/neofetch
License      : MIT
Description  : Neofetch is a CLI system information tool written in BASH.
             : Neofetch displays information about your system next to an
             : image, your OS logo, or any ascii file of your choice.

neofetch