Code Monkey home page Code Monkey logo

fastfetch's Introduction

Fastfetch

GitHub Workflow Status (with event) GitHub license GitHub contributors GitHub top language GitHub commit activity (branch)
homebrew downloads GitHub all releases
GitHub release (with filter) latest packaged version(s) Packaging status

Fastfetch is a neofetch-like tool for fetching system information and displaying them in a pretty way. It is written mainly in C, with performance and customizability in mind. Currently, Linux, Android, FreeBSD, MacOS and Windows 7+ are supported.

There are screenshots on different platforms

Installation

Linux

Some distros packaged an outdated fastfetch version. Older version is not supported, please always ensure that the latest version is used.

  • Ubuntu: ppa:zhangsongcui3371/fastfetch (for Ubuntu 22.04 or newer)
  • Debian / Ubuntu: Download fastfetch-linux-<proper architecture>.deb from Github release page and dpkg -i fastfetch-linux-<proper architecture>.deb (for Ubuntu 20.04 or newer and Debian 11 or newer).
  • Arch Linux: sudo pacman -S fastfetch
  • Fedora: sudo dnf install fastfetch
  • Gentoo: sudo emerge --ask app-misc/fastfetch
  • Alpine: apk add --upgrade fastfetch
  • NixOS: nix-shell -p fastfetch
  • openSUSE: sudo zypper install fastfetch
  • ALT Linux: sudo apt-get install fastfetch

Replace sudo with doas depending on what you use.

See also if fastfetch has been packaged for your favorite Linux distro.

If fastfetch is not packaged for your distro or an outdated version is packaged, linuxbrew is a good alternate: brew install fastfetch

macOS

...via HomeBrew:

brew install fastfetch

...via MacPorts:

sudo port install fastfetch

Windows

scoop install fastfetch

You may also download it directly from GitHub releases page and extract the archive.

FreeBSD

pkg install fastfetch

Android (Termux)

pkg install fastfetch

Build from source

See Wiki: https://github.com/fastfetch-cli/fastfetch/wiki/Building

Usage

  • Run it with default configuration: fastfetch
  • Run it with all supported modules and find what you interest: fastfetch -c all.jsonc
  • Find all data that fastfetch detects: fastfetch -s <module> --format json
  • Display help messages: fastfetch --help
  • Generate config file based on command line arguments: fastfetch --arg1 --arg2 --gen-config

Customization

Fastfetch uses the JSONC (or JSON with comments) for configuration. See Wiki for detail. There are some premade config files in presets, including the ones used for the screenshots above. You can load them using -c <filename>. They may also serve as a good example for format arguments.

Logos can be heavily customized too; see the logo documentation for more information.

Packaging

Repositories

Packaging status

Manual

  • DEB / RPM package: cmake --build . --target package
  • Install directly: cmake --install . --prefix /usr/local

FAQ

Q: Why do you need a very performant version of neofetch?

I like putting neofetch in my ~/.bashrc to have a system overview whenever I use the terminal, but the slow speed annoyed me, so I created this. Also neofetch didn't output everything correctly (e.g Font is displayed as "[Plasma], Noto Sans, 10 [GTK2/3]") and writing my own tool gave me the possibility to fine tune it to run perfectly on at least my configuration.

Q: It does not display [*] correctly for me, what can I do?

This is most likely because your system is not implemented (yet). At the moment I am focusing more on making the core app better, than adding more configurations. Feel free to open a pull request if you want to add support for your configuration

Star History

Give it a star to support us!

Star History Chart

fastfetch's People

Contributors

alborrajo avatar alxhr0 avatar apocelipes avatar carterli avatar ceamac avatar cybertailor avatar darncelsius avatar draumaz avatar edsploration avatar hayatehay avatar iamnorobot avatar ianmanske avatar jonathanspw avatar jumps-are-op avatar kojq avatar linusdierheimer avatar mame98 avatar matoro avatar menacingperson avatar rayrsn avatar saloniamatteo avatar sladegetz avatar tdtooke avatar vnepogodin avatar wizard-28 avatar x-zvf avatar xbt573 avatar xoltia avatar yuannan avatar zerogiven avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

fastfetch's Issues

ffStrbufRemoveStrings() functions are order dependent

Original string: AMD Ryzen 7 3800X 8-Core Processor

With the current string array in cpu.c, ffStrbufRemoveStringsA() only removes 8-Core in the above string:

    const char* removeStrings[] = {
        "(R)", "(r)", "(TM)", "(tm)",
        " CPU", " FPU", " APU", " Processor",
        " Dual-Core", " Quad-Core", " Six-Core", " Eight-Core", " Ten-Core",
        " 2-Core", " 4-Core", " 6-Core", " 8-Core", " 10-Core", " 12-Core", " 14-Core", " 16-Core"
    };

Rearranging it to

    const char* removeStrings[] = {
        "(R)", "(r)", "(TM)", "(tm)",
        " Dual-Core", " Quad-Core", " Six-Core", " Eight-Core", " Ten-Core",
        " 2-Core", " 4-Core", " 6-Core", " 8-Core", " 10-Core", " 12-Core", " 14-Core", " 16-Core",
        " CPU", " FPU", " APU", " Processor"
    };

removes the proper strings.

ffStrbufRemoveStrings(&namePretty, 2, " Processor", " 8-Core");

removes 8-Core

ffStrbufRemoveStrings(&namePretty, 2, " 8-Core", " Processor");

removes 8-Core and Processor

Terminal detected wrongly

I'm using the terminator in Arch repository, but fastfetch shows python

โ–‘โ–’โ–“ ๏Œƒ ๎‚ฐ ๏€• ~ โ–“โ–’โ–‘ fastfetch                                                                                                              โ–‘โ–’โ–“ โœ” ๎‚ฒ 21:19:26 ๏€— โ–“โ–’โ–‘
                  -`                     guoyi@helix
                 .o+`                    -----------
                `ooo/                    OS: Arch Linux [x86_64]
               `+oooo:                   Host: Inspiron 7380
              `+oooooo:                  Kernel: 5.10.60-1-lts
              -+oooooo+:                 Uptime: 3 hours, 11 mins
            `/:-:++oooo+:                Packages: 1313 (pacman)
           `/++++/+++++++:               Shell: zsh 5.8
          `/++++++++++++++:              Resolution: 1920x1080 @ 60Hz
         `/+++ooooooooooooo/`            DE: GNOME 40.4
        ./ooosssso++osssssso+`           WM: Mutter (Wayland)
       .oossssso-````/ossssss+`          WM Theme: Orchis-compact
      -osssssso.      :ssssssso.         Theme: Orchis-compact [GTK2/3/4]
     :osssssss/        osssso+++.        Icons: Tela-dark [GTK2/3/4]
    /ossssssss/        +ssssooo/-        Font: Cantarell (11pt) [GTK2/3/4]
  `/ossssso+/:-        -:/+osssso+-      Cursor: Adwaita (24px)
 `+sso+:-`                 `.-/+oso:     Terminal: python
`++:.                           `-/+/    CPU: Intel Core i7-8565U (8) @ 4.6GHz
.`                                 `/    GPU: Intel UHD Graphics 620
                                         Memory: 1013MiB / 15721MiB (6%)
                                         Disk (/): 41GB / 253GB (16%)
                                         Battery: 97%
                                         Locale: en_GB.UTF-8
                                         
                                                                 
                                                                 

Thunar terminal open segfault

Fastfetch segfaults when opening a terminal from Thunar:
exobug
Command line:
exo-open --working-directory %f --launch TerminalEmulator

It works in PCManFM and PCManFM-Qt. I don't know the command line from those though

Subsequent fastfetch commands also segfaults at the same spot in that window.
Running exo-open --launch TerminalEmulator globally works fine.

ffSettingsGetDConf not working

This code:

        ffStrbufSetS(&key, "/com/gexperts/Tilix/profiles/");
        ffStrbufAppendS(&key, defaultProfile);
        ffStrbufAppendS(&key, "/font");
        puts(key.chars);
        puts("/com/gexperts/Tilix/profiles/2b7c4080-0ddd-46c5-8f23-563fd3ba789d/font");

        fontName = ffSettingsGetDConf(instance, key.chars);
        printf("fontName: %s\n", fontName);

Produces this:

/com/gexperts/Tilix/profiles/2b7c4080-0ddd-46c5-8f23-563fd3ba789d/font
/com/gexperts/Tilix/profiles/2b7c4080-0ddd-46c5-8f23-563fd3ba789d/font
fontName: (null)

My generated string is identical to the one copied from dconf editor. The function returns NULL.

DConf command line:

โ•ฐโ”€ dconf read /com/gexperts/Tilix/profiles/2b7c4080-0ddd-46c5-8f23-563fd3ba789d/font
'Monospace 11'

Fastfetch makes one tiny error (additional line) in print when not run in terminal start

When I open new terminal, everything works fine.
image

But I have abbreviation for cl = clear; fastfetch. And there it creates one line emtpy and in the end it also creates 1 empty prompt.
image

(and it's not problem of clear - when I run only fastfetch it does the same thing)
image

It's not a big deal. I'm just perfectionist, so it bothers me a little :D
Additional informations about my setup is in the pictures... Or feel free to ask.

Also I tried it on Termite, XTerm, urxvt and it does it in all of these terminals
Also tried Bash instead of Fish and no change. Still does it

Displays incorrect refresh rate when using two monitors with different refresh rates

I have one monitor with 60Hz and one with 144Hz.

fastfetch displays them like this:

Resolution 1: 1920x1080 @ 144Hz
Resolution 2: 1920x1080 @ 144Hz

xrandr output:

Screen 0: minimum 320 x 200, current 3840 x 1162, maximum 16384 x 16384
DisplayPort-0 connected primary 1920x1080+1920+0 (normal left inverted right x axis y axis) 598mm x 336mm
   1920x1080     60.00 + 144.00*  120.00   119.88   119.98    99.93    50.00    59.94  
   1680x1050     59.88  
   1280x1024     75.02    60.02  
   1440x900      60.00  
   1280x800      60.00  
   1280x720      60.00    50.00    59.94  
   1024x768     119.93    99.99    75.03    70.07    60.00  
   832x624       74.55  
   800x600      119.93    99.86    72.19    75.00    60.32    56.25  
   720x576       50.00  
   720x480       60.00    59.94  
   640x480      119.80    99.83    75.00    72.81    66.67    60.00    59.94  
   720x400       70.08  
DisplayPort-1 disconnected (normal left inverted right x axis y axis)
HDMI-A-0 disconnected (normal left inverted right x axis y axis)
HDMI-A-1 connected 1920x1080+0+82 (normal left inverted right x axis y axis) 598mm x 336mm
   1920x1080     60.00*+  50.00    59.94  
   1680x1050     59.88  
   1600x900      60.00  
   1280x1024     75.02    60.02  
   1440x900      59.90  
   1280x800      59.91  
   1152x864      75.00  
   1280x720      60.00    50.00    59.94  
   1024x768      75.03    70.07    60.00  
   832x624       74.55  
   800x600       72.19    75.00    60.32    56.25  
   720x576       50.00  
   720x480       60.00    59.94  
   640x480       75.00    72.81    66.67    60.00    59.94  
   720x400       70.08  
DVI-D-0 disconnected (normal left inverted right x axis y axis)

Tell me if you need any additional information.

btw you wrote "informations" in your latest commit. information is an uncountable noun in English ^^

GPU recognition

I changed my GPU and fastfetch didn't recognize it and display the old one.

neofetch                                                                                                                           
GPU: AMD ATI Radeon RX 6600/6600 XT/6600M 
                                                      
fastfetch                                                                                                                                        
GPU: AMD ATI Radeon RX 550 640SP / RX 560/560X

fastfetch -v                                                                                                                                                    
fastfetch r407.588a68a

Segmentation fault

I have installed fastfetch from AUR on WSL2 (ArchLinux) and I'm getting "segmentation fault".
Image

Mutter WM theme wrong on Budgie

On Budgie desktop, the Mutter WM Theme is wrong. There's nothing using Arc-Dark on my system.
budgiewmtheme
Dconf editor shows the key used as being deprecated. The theme being used is Matcha-Dark-Azul.

LXQt Mutter fail

Using Mutter as WM on LXQt fails:
lxqtmutter

mutter
User configured WM would be in .config/lxqt/session.conf

[General]
__userfile__=true
window_manager=openbox

Plasma detections

I see very strange results in Plasma:

DE: KDE Plasma 5.21.5
WM: KWin (X11)
WM Theme: __aurorae__svg__Nord-Aurorae
Theme: kvantum (NordDarkColor) [Plasma], Matcha-dark-azulMatcha-dark-azul [GTK2], Matcha-dark-azul [GTK3/4]
Icons: Breeze Chameleon Dark [Plasma], Breeze Chameleon DarkBreeze Chameleon Dark [GTK2], Breeze Chameleon Dark [GTK3/4]
Font: DejaVu Sans (9pt) [Plasma], DejaVu Sans 9Sans Serif (9pt) [GTK2], DejaVu Sans (9pt) [GTK3/4]

GTK2 values are doubled.

Matcha-dark-azul should be output for all GTK's.
Font and icons should be the same for everything.

Incorrect display of installed snap packages

OS: Manjaro Linux (x86_64)
Host: System Product Name System Version
Kernel: 5.12.8-1-MANJARO
Uptime: 1 day, 23 hours, 2 mins
Packages: 1440 (pacman)[stable], 3 (flatpak), 1 (snap)
Shell: bash 5.1.8

[fbg@main ~]$ snap list
No snaps are installed yet. Try 'snap install hello-world'.

In fastfetcht it shows that 1 snap package is installed. This is incorrect.
This is my 1st reported issue. If I have made a mistake, please ignore it.

WM not being detected

fastfetch
flashfetch

fastfetch and flashfetch not detecting bspwm. fastfetch have default config and i just removed lines from flashfetch.c

~ > echo $XDG_CURRENT_DESKTOP bspwm

Segmentation fault (core dumped)

I'm running archlinux kernel 5.11 (installed from Feb 2021 ISO) without a GUI (no XOrg). It boots directly into terminal.

I'm getting a "Segmentation Fault (core dumped)" at the resolution line when I run fastfetch.

Neofetch will show that line as "Resolution: preferred".

You can reproduce the issue by booting into a newly created VM with the latest archlinux live ISO, and install archlinux with this script. It wipes /dev/sda by default but you can modify that script if needed after cloning it.

pacman -Sw glibc lib32-glibc
Then enable the testing repo in /etc/pacman.conf
pacman -Syy
pacman -S glibc lib32-glibc

pacman -Sy git
git clone https://github.com/Mordillo98/archlinuxinstall
cd archlinuxinstall
chmod +x minimalarchinstall.sh
./minimalarchinstall.sh

reboot. Install your package "yay -S fastfetch-git"

do the fastfetch command. You'll see the problem.

Thx !

CMake Build Fails dconf.h: No such file or directory

Full output shown below, Ubuntu 21.04

aidan@hades:~/Downloads/fastfetch-master/build$ cmake ..
-- The C compiler identification is GNU 10.3.0
-- The CXX compiler identification is GNU 10.3.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Check if compiler accepts -pthread
-- Check if compiler accepts -pthread - yes
-- Found Threads: TRUE
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.2")
-- Checking for module 'gio-2.0'
-- Found gio-2.0, version 2.68.1
-- Checking for module 'dconf'
-- No package 'dconf' found
-- Configuring done
-- Generating done
-- Build files have been written to: /home/aidan/Downloads/fastfetch-master/build
aidan@hades:~/Downloads/fastfetch-master/build$ cmake --build .
Scanning dependencies of target flashfetch
[ 1%] Building C object CMakeFiles/flashfetch.dir/src/flashfetch.c.o
[ 2%] Building C object CMakeFiles/flashfetch.dir/src/util/FFstrbuf.c.o
[ 3%] Building C object CMakeFiles/flashfetch.dir/src/util/FFlist.c.o
[ 4%] Building C object CMakeFiles/flashfetch.dir/src/common/init.c.o
[ 5%] Building C object CMakeFiles/flashfetch.dir/src/common/threading.c.o
[ 6%] Building C object CMakeFiles/flashfetch.dir/src/common/io.c.o
[ 8%] Building C object CMakeFiles/flashfetch.dir/src/common/processing.c.o
[ 9%] Building C object CMakeFiles/flashfetch.dir/src/common/logo.c.o
[ 10%] Building C object CMakeFiles/flashfetch.dir/src/common/format.c.o
[ 11%] Building C object CMakeFiles/flashfetch.dir/src/common/parsing.c.o
[ 12%] Building C object CMakeFiles/flashfetch.dir/src/common/settings.c.o
/home/aidan/Downloads/fastfetch-master/src/common/settings.c:5:10: fatal error: dconf.h: No such file or directory
5 | #include <dconf.h> // Also included gio/gio.h
| ^~~~~~~~~
compilation terminated.
gmake[2]: *** [CMakeFiles/flashfetch.dir/build.make:212: CMakeFiles/flashfetch.dir/src/common/settings.c.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:97: CMakeFiles/flashfetch.dir/all] Error 2
gmake: *** [Makefile:103: all] Error 2

DE/WM detection broken

Fastfetch fails to recognize LXDE/Openbox
lxdeobBug
DE should be LXDE, WM should be Openbox

edit: LXQT/regular Openbox is working as intended

Host-format option not working after the updating to the latest version.

  • Input
    fastfetch --host-format "Skynet" --resolution-format "this works but not host format"

  • output
    image

  • --resolution-format works as intended.unable to change my host as skynet.i tried clean building the package from yay,but it did not help

  • Also
    username@skynet ~> fastfetch --version
    fastfetch r95.a0af3b0

  • I also tried this but got the same output fastfetch --host-format {Skynet}{skynet}{skynet} --resolution-format "this works but not host format

Monitor detection cache issues

This is probably related to my earlier comment in the last issue #73 where the display was not detected.

Here's today's output:
xrandrrecache
I don't think reading from cache is useful when detecting monitors...

Weird logo and breaking my shell

screenshot

I am running Pop!_OS 20.04, I compiled fastfetch using the building instructions, and I get this (ubuntu (from fastfetch) + neofetch + ubuntu (from fastfetch).

After running the command, my fish shell's typing indicator (the rectangle box)[tput civis] is also gone

Before running ./fastfetch
typing_indicator
After running ./fastfetch
no_typing_indicator

I am using fish 3.2.2, and the starship prompt

Create AUR package

I would like it very much if this was available as an AUR package. Most AUR packages are compiled from source so I think making an AUR package would make sense.

[Feature request] CentOS support

Current state:

image

  1. No logo
  2. No packages count shown ( /var/lib/rpm/rpmdb.sqlite doesn't exist )
โžœ  build git:(master) ll /var/lib/rpm/
total 320M
-rw-r--r--. 1 root root  15M Nov  4 18:52 Basenames
-rw-r--r--. 1 root root  24K Nov  4 17:10 Conflictname
-rw-r--r--. 1 root root 344K Nov  4 18:52 __db.001
-rw-r--r--. 1 root root  96K Nov  4 18:52 __db.002
-rw-r--r--. 1 root root 1.3M Nov  4 18:52 __db.003
-rw-r--r--. 1 root root 9.8M Nov  4 18:52 Dirnames
-rw-r--r--. 1 root root  32K Nov  4 18:52 Group
-rw-r--r--. 1 root root  36K Nov  4 18:52 Installtid
-rw-r--r--. 1 root root  92K Nov  4 18:52 Name
-rw-r--r--. 1 root root  44K Nov  4 17:10 Obsoletename
-rw-r--r--. 1 root root 287M Nov  4 18:52 Packages
-rw-r--r--. 1 root root 5.6M Nov  4 18:52 Providename
-rw-r--r--. 1 root root 772K Nov  4 18:52 Requirename
-rw-r--r--. 1 root root 212K Nov  4 18:52 Sha1header
-rw-r--r--. 1 root root 132K Nov  4 18:52 Sigmd5
-rw-r--r--. 1 root root 8.0K Nov  3 17:29 Triggername

Wanted state:

  1. Add logo ( maybe use the logo from neofetch https://github.com/dylanaraps/neofetch/blob/222b1cd8d5203966e25a8f365d5ab21649a5fe04/neofetch#L6564 )
  2. Find a way to show packages count

Why the change is sensible:

CentOS and RHEL use are very famous, popular and globally used as server distro. They are even much more popular than Ubuntu Server in my country. As we already supported Fedora, support RHEL should not take too many efforts.

DConf

Would it be possible to add dconf at compile time?

link_libraries(
    ${CMAKE_DL_LIBS}
    Threads::Threads
    dconf
)

Idk if this is similar to the libxml issue, but I'm trying to use dconf to read settings for programs that doesn't have config files (Tilix terminal font atm). I've tried to use your code from detectGTK.c, but it segfaults at ffdconf_client_new() every time.
Adding the above makes the code work immediately using just dconf_client_new(). All the other calls work though.

edit: If this is the same as the libxml2 thing, I'd love some pointers as to why it fails. If I can get this to work, I could probably rewrite the openbox code to use libxml2 instead with dlsym (Openbox depends on libxml2). The current implementation is very fragile.

Confusing ffStrbufTrim behaviour

I'm looking into another approach to WM Theme recognition.
ffStrbufTrim seems to behave rather weird. Here's some good old printf debug output:

Original string: 		"    <name>Matcha-dark-azul</name>
"
Original strLen: 			34
Post ffStrbufRemoveStringsA strLen 	21
Post ffStrbufTrim strLen 		16
Post ffStrbufRecalculateLength strLen 	20
Resulting string: 		 "MatcMatcha-dark-azul"

The line feed is removed, but the leading 4 spaces are not. It seems to shift the string by 4, but not deleting the chars. The correct string length should be 16 as it says post trim. It somehow changes after that.
Here's the relevant section:

fStrbufSetS(&themeStrbuf, line);
ffStrbufRemoveStringsA(&themeStrbuf, 2, delStrs);
ffStrbufTrimRight(&themeStrbuf, '\n');
ffStrbufTrim(&themeStrbuf, ' ');
ffStrbufRecalculateLength(&themeStrbuf);

Am I missing something?

[Question] Customize outputs

Is it possible customize the outputs? Maybe add temperature on CPU.

The GPU for example.
fastfetch outputs Intel Nrd ... Graphics ...
but i preffer the output from
glxinfo -B | grep "Device" | awk -F: '{print $2}': Intel HD Graphics N000

N = number

WM Confusion

WM Theme detection on LXQT/XFWM seems broken:
lxqtxfwm

Setup automatic code reviews

Setting up automatic code reviews will improve the code quality of this project, and give valuable suggestions in the future.

Try using Codacy [More features but slower reviews, around 1.5 mins] or CodeFactor (Less features but faster reviews, around 2 secs)

Add Pacstall installation method to the Packaging section

Pacstall is a community-driven AUR-like package manager for Ubuntu. I am the maintainer (and also one of the developers of Pacstall) of the fastfetch-git pacscript in this repository.

It can be installed on Ubuntu by running this command (After Pacstall is installed)

sudo pacstall -I fastfetch-git

It can also be upgraded

sudo pacstall -Up

and removed when requested.

sudo pacstall -R fastfetch-git

This clones the git repo, builds and installs every file in the right directory (auto completions, binaries, license and the README) automatically.

So, can you add this installation method in the README.md for Ubuntu?

PS: In the next release of Pacstall, we are actually removing the need of running pacstall with sudo, so the commands will change. We are expecting to release the next version by Thursday.

Wrong font for Plasma

Output of fastfetch --version:

fastfetch r470.fd447ab

Output of fastfetch --load-config devinfo:

                  -`                     nico@nico-pc
                 .o+`                    ------------
                `ooo/                    OS: Arch Linux [x86_64]
               `+oooo:                   Host: MS-7C37 1.0
              `+oooooo:                  Kernel: 5.15.2-217-tkg-pds
              -+oooooo+:                 Uptime: 2 hours, 27 mins
            `/:-:++oooo+:                Packages: 1676 (pacman)
           `/++++/+++++++:               Shell: zsh 5.8
          `/++++++++++++++:              Resolution 1: 1920x1080 @ 144Hz
         `/+++ooooooooooooo/`            Resolution 2: 1920x1080 @ 60Hz
        ./ooosssso++osssssso+`           DE: KDE Plasma 5.23.3
       .oossssso-````/ossssss+`          WM: KWin (X11)
      -osssssso.      :ssssssso.         WM Theme: Breeze
     :osssssss/        osssso+++.        Theme: Breeze (OneDark) [Plasma], Breeze [GTK2/3/4]
    /ossssssss/        +ssssooo/-        Icons: kora [Plasma], kora [GTK2/3/4]
  `/ossssso+/:-        -:/+osssso+-      Font: Noto Sans (10pt) [Plasma], SF Pro Display (10pt) [GTK2/3/4]
 `+sso+:-`                 `.-/+oso:     Cursor: Breeze_Snow (24px)
`++:.                           `-/+/    Terminal: konsole
.`                                 `/    Terminal Font: SF Mono (10pt)
                                         CPU: AMD Ryzen 9 3900X (24) @ 3.8GHz
                                         GPU: AMD ATI Radeon RX 470/480/570/570X/580/580X/590
                                         Memory: 7075MiB / 32021MiB (22%)
                                         Disk (/): 44GB / 97GB (45%)
                                         Disk (/home): 742GB / 817GB (90%)
                                         Battery: /sys/class/power_supply/ doesn't contain any battery folder
                                         Locale: en_US.UTF-8

Output of fastfetch --load-config devinfo-verbose:

                  -`                     nico@nico-pc
                 .o+`                    ------------
                `ooo/                    OS: System: Linux; Name: Arch Linux; Pretty name: Arch Linux; ID: arch; ID like: ; Variant: ; Variant ID: ; Version: ; Version ID: ; Version codename: ; Build ID: rolling; Architecture: x86_64
               `+oooo:                   Host: Family: To be filled by O.E.M.; Name: MS-7C37; Version: 1.0
              `+oooooo:                  Kernel: Sysname: Linux; Release: 5.15.2-217-tkg-pds; Version: #1 TKG SMP PREEMPT Sat, 13 Nov 2021 11:08:05 +0000
              -+oooooo+:                 Uptime: Days: 0; Hours: 2; Minutes: 28; Seconds: 3
            `/:-:++oooo+:                Processes: Count: 2085
           `/++++/+++++++:               Packages: All: 1676; pacman: 1676; pacman branch: ; dpkg: 0; rpm: 0; xbps: 0; flatpak: 0; snap: 0
          `/++++++++++++++:              Shell: Process name: zsh; Process path: /bin/zsh; Process exe: zsh; Process version: 5.8; User path: /usr/bin/zsh; User exe: zsh; User version: 5.8
         `/+++ooooooooooooo/`            Resolution 1: Width: 1920; Height: 1080; Refresh rate: 144
        ./ooosssso++osssssso+`           Resolution 2: Width: 1920; Height: 1080; Refresh rate: 60
       .oossssso-````/ossssss+`          DE: Session desktop: KDE; Process name: plasmashell; Pretty name: KDE Plasma; Version: 5.23.3
      -osssssso.      :ssssssso.         WM: Session desktop: KDE; Process name: kwin_x11; Pretty name: KWin; Protocol: X11
     :osssssss/        osssso+++.        WM Theme: Name: Breeze
    /ossssssss/        +ssssooo/-        Theme: Plasma: Breeze; Plasma colors: OneDark; Plasma colors pretty: OneDark; GTK2: Breeze; GTK3: Breeze; GTK4: Breeze; GTK: Breeze [GTK2/3/4]
  `/ossssso+/:-        -:/+osssso+-      Icons: Plasma: kora; GTK2: kora; GTK3: kora; GTK4: kora; GTK: kora [GTK2/3/4]
 `+sso+:-`                 `.-/+oso:     Font: Plasma raw: Noto Sans, 10; Plasma name: Noto Sans; Plasma size: 10; Plasma styles: ; Plasma pretty: Noto Sans (10pt); GTK2 raw: SF Pro Display,  10; GTK2 name: SF Pro Display; GTK2 size: 10; GTK2 styles: ; GTK2 pretty: SF Pro Display (10pt); GTK3 raw: SF Pro Display,  10; GTK3 name: SF Pro Display; GTK3 size: 10; GTK3 styles: ; GTK3 pretty: SF Pro Display (10pt); GTK4 raw: SF Pro Display,  10; GTK4 name: SF Pro Display; GTK4 size: 10; GTK4 styles: ; GTK4 pretty: SF Pro Display (10pt); GTK: SF Pro Display (10pt) [GTK2/3/4]
`++:.                           `-/+/    Cursor: Breeze_Snow (24px)
.`                                 `/    Terminal: Process: konsole; Path: /usr/bin/konsole; Exe: konsole
                                         Terminal Font: Raw: SF Mono,10,-1,5,50,0,0,0,0,0; Name: SF Mono; Size: 10; Styles: ; Pretty: SF Mono (10pt)
                                         CPU: Name: AMD Ryzen 9 3900X 12-Core Processor; Pretty: AMD Ryzen 9 3900X; Vendor: AuthenticAMD; Logical online: 24; Logical configured: 24; Physical: 12; Cores: 24; bios: 3.8; scaling max: 3.8; scaling min: 2.2; info max: 4.67207; info min: 2.2; cpuinfo: 3.9587; frequency: 3.8
                                         GPU: Vendor: Advanced Micro Devices, Inc. [AMD/ATI]; Vendor pretty: AMD ATI; Name: Ellesmere [Radeon RX 470/480/570/570X/580/580X/590]; Name pretty: Radeon RX 470/480/570/570X/580/580X/590
                                         Memory: Used: 6975; Total: 32021; Percentage: 21
                                         Disk (/): Used: 44; Total: 97; Files: 1717817; Percentage: 45
                                         Disk (/home): Used: 742; Total: 817; Files: 3067810; Percentage: 90
                                         Battery: Manufactor: ; Model: ; Technology: ; Capacaty: ; Status:
                                         Local Ip (wlp41s0): 192.168.178.120
                                         Local Ip (virbr0): 192.168.122.1
                                         Locale: en_US.UTF-8

Often helpful questions:

  • Does the issue occur across multiple terminal emulators?
    • Yes, also tested with Alacritty
  • Does the issue occur across multiple shells? (bash, zsh, fish, etc)
    • Yes, also tested with bash

image

I think this is a problem with fastfetch because I double-checked with neofetch and it did indeed display the correct font. Also, this seems to be a regression, as this was correct at a certain point in the past.

I also tried to switch it to Noto Sans and then back to SF Pro Display, but it didn't fix it.
If you need more information, just ask and I will provide it ๐Ÿ˜ƒ

Fastfetch freeze on Void Linux

Fastfetch stops halfway on Void:
voidfreeze
Here's the output with showerrors:
voiderrors
Good news is the new code in r146 detects it properly. The output on top is from neofetch. Ctrl-C exits fine, it simply stays like this forever.

Distribution support

(This is not an issue; referring to commit dd19fcf)

Just wanted to let you know, fastfetch actually works on Debian!
The only dependencies I had to install were: cmake libxrandr-dev libpci-dev

Here's a screenshot from my VM:

debian

nvdc debug messages interrupt output on Jetson Nano

.-/+oossssoo+/-.               cobalt@nano-sd
         `:+ssssssssssssssssss+:`           --------------
       -+ssssssssssssssssssyyssss+-         OS: Ubuntu 18.04 [aarch64]
     .ossssssssssssssssssdMMMNysssso.       Host: NVIDIA Jetson Nano Developer Kit
   /ssssssssssshdmmNNmmyNMMMMhssssss/       Kernel: 4.9.253-tegra
  +ssssssssshmydMMMMMMMNddddyssssssss+      Uptime: 1 hour, 43 mins
 /sssssssshNMMMyhhyyyyhmNMMMNhssssssss/     Packages: 3784 (dpkg), 2 (flatpak)
.ssssssssdMMMNhsssssssssshNMMMdssssssss.    Shell: bash 4.4.20
+sssshhhyNMMNyssssssssssssyNMMMysssssss+    Terminal: /dev/pts/0
ossyNMMMNyMMhsssssssssssssshmmmhssssssso    CPU: ARMv8 rev 1 (v8l) (4) @ 1.479GHz
nvdc: start nvdcEventThread
nvdc: exit nvdcEventThread
ossyNMMMNyMMhsssssssssssssshmmmhssssssso    GPU: NVIDIA Tegra X1 (nvgpu)
+sssshhhyNMMNyssssssssssssyNMMMysssssss+    Memory: 321MiB / 3964MiB (8%)
.ssssssssdMMMNhsssssssssshNMMMdssssssss.    Disk (/): 52GB / 57GB (91%)
 /sssssssshNMMMyhhyyyyhdNMMMNhssssssss/     Locale: en_US.UTF-8
  +sssssssssdmydMMMMMMMMddddyssssssss+
   /ssssssssssshdmNNNNmyNMMMMhssssss/
    .ossssssssssssssssssdMMMNysssso.
     -+sssssssssssssssssyyyssss+-
       `:+ssssssssssssssssss+:`
           .-/+oossssoo+/-.

Output of fastfetch --version:

fastfetch r503.809f931

Output of fastfetch --load-config devinfo:

Error: couldn't find config: devinfo

Output of fastfetch --load-config devinfo-verbose:

Error: couldn't find config: devinfo-verbose

Often helpful questions:

  • Does the issue occur across multiple terminal emulators?
    unsure, only tested over SSH - I can provide more tests if needed

  • Does the issue occur across multiple shells? (bash, zsh, fish, etc)
    only tried on bash

Fastfetch shows a GPU that is no longer connected

I'm not sure if it's a configuration issue, but fastfetch (and flashfetch) show my secondary RX 580 as present in the system while I'm pretty sure it's taking dust under my bed, while neofetch and lspci (correctly) don't mention it whatsoever. Is this maybe because of caching? How do I clear the cache if that's the case?

Build failing, glibconfig.h header file not found

Trying to make the file and got this error:

jordanh@debianP15s:~/fastfetch/build$ cmake --build . [ 1%] Building C object CMakeFiles/flashfetch.dir/src/common/settings.c.o In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/dconf/common/dconf-enums.h:23, from /usr/include/dconf/dconf.h:23, from /home/jordanh/fastfetch/src/common/settings.c:5: /usr/include/glib-2.0/glib/gtypes.h:32:10: fatal error: glibconfig.h: No such file or directory 32 | #include <glibconfig.h> | ^~~~~~~~~~~~~~ compilation terminated. gmake[2]: *** [CMakeFiles/flashfetch.dir/build.make:212: CMakeFiles/flashfetch.dir/src/common/settings.c.o] Error 1 gmake[1]: *** [CMakeFiles/Makefile2:97: CMakeFiles/flashfetch.dir/all] Error 2 gmake: *** [Makefile:103: all] Error 2

I I'm using Debian, and I checked to make sure all of the dependencies were there, including libglib2.0-dev, so I'm not sure why this issue is occuring.

An ability to replace distro logo with a picture

Current state:

Not implemented, i think... Did not find anything relative in the config file.

Wanted state:

Being able to use any .svg/.png file as a distro logo with the ability
to change the size of a picture.

This feature is implemented in the neofetch and can be configured in the "# Backend Settings" section of the config file.

Theme, Icons, Cursor and Fonts aren't supported in the TTY (Dynamic Window Manager)

Output of fastfetch --version:

fastfetch r469.6cdf32d

Output of fastfetch --load-config devinfo:

Error: couldn't find config: devinfo

Output of fastfetch --load-config devinfo-verbose:

Error: couldn't find config: devinfo-verbose

Often helpful questions:

  • Does the issue occur across multiple terminal emulators?
    • Yes
  • Does the issue occur across multiple shells?
    • Yes
      image

CelOS 1 issue.

For the OS: section in CelOS 1 the version is "CelOS 20.04 focal" whereas the OS field should display CelOS GNU/Linux

Cursor Size not working

Cursor size changes is not detected on LXQt, XFCE or Mate.
Plasma works. Is the size really in points though?

Show CPU usage ( summary or per core )

Is it possible? Neofetch used to support it but they removed this feature recently because of inaccurate

Why the change is sensible:

Very high CPU usage means that your computer ( or server ) may lag heavily. Very useful metric

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.