fastfetch-cli / fastfetch Goto Github PK
View Code? Open in Web Editor NEWAn actively maintained, feature-rich and performance oriented, neofetch like system information tool.
License: MIT License
An actively maintained, feature-rich and performance oriented, neofetch like system information tool.
License: MIT License
note the double f.
This makes it quicker and more efficient.
When I open new terminal, everything works fine.
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.
(and it's not problem of clear - when I run only fastfetch it does the same thing)
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
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
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.
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:
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 ^^
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 !
.-/+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
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.
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?
Here's the output on Void:
This is after the void support was added ofcourse.
PR #15 fixes this
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
For the OS:
section in CelOS 1 the version is "CelOS 20.04 focal" whereas the OS
field should display CelOS GNU/Linux
Not implemented, i think... Did not find anything relative in the config file.
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.
Input
fastfetch --host-format "Skynet" --resolution-format "this works but not host format"
--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
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.
Fastfetch segfaults when opening a terminal from Thunar:
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.
Cursor size changes is not detected on LXQt, XFCE or Mate.
Plasma works. Is the size really in points though?
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:
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 ๐
Is it possible? Neofetch used to support it but they removed this feature recently because of inaccurate
Very high CPU usage means that your computer ( or server ) may lag heavily. Very useful metric
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
After running ./fastfetch
I am using fish 3.2.2
, and the starship prompt
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)
This is probably related to my earlier comment in the last issue #73 where the display was not detected.
Here's today's output:
I don't think reading from cache is useful when detecting monitors...
/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
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.
output of /etc/os-release:
NAME="CelOS"
VERSION="20.04.2 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="CelOS 1-beta4"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal
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
I think it would look better on systems with only one GPU installed to simply have 'GPU' displayed without the following number.
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'
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.
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
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.
(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:
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
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.
A nice install.md file would be useful. I followed all the steps and still it didn't build correctly.
Basically I removed some information from the output as its really too much for my taste with the default configuration.
The Arch logo gets cut off where the color bar ends rather than adapting.
I have installed fastfetch
from AUR on WSL2 (ArchLinux) and I'm getting "segmentation fault".
Image
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?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.