I think I have to say this. Please don't harass, bully or pester dylanaraps or otherwise spam the neofetch repository with Amogus memes. Dylan has confirmed the reason for removal was the braille and a pull request is already pending that redraws it with ASCII.
If you want to help get AmogOS back into neofetch, please contribute to this repository.
I went to the source code for answers.
For those who aren't programmers, neofetch checks for the existence of several distro-specific files and several distro-specific programs, as well as the contents of the /etc/lsb-release, /usr/lib/os-release, and /etc/os-release files if they exist. Failing all that it looks for the names of distros in files named /etc/[whatever]-release (may not be reading this part of the code correctly).
> I believe North Korea has its own seperate internet, so they don't have access to being on Reddit
Fun fact:
North Koreans who specialize in IT get unlimited access to the world wide web with the caveat that they cannot make personal accounts and can only communicate through the Korea Computer Centre.
example of a North Korean person communicating with the outside world.
My first ever hipster rice. Wanted some pleasant colors and visuals to accompany me through the cold months. Despite being a hipster rice, I made sure to sprinkle in just a little bit of weeb.
wm - i3-gaps
terminal - urxvt
terminal font - tewi
web browser - firefox + twily's css
music - ncmpcpp + mopidy
text editor - vim
irc client - weechat
system info - smugfetch
And, as is customary, my dots.
Onward to 2017 with my pretty desktop <3
You're probably running an older version of neofetch. They added Win 11 logo 8 days ago and people don't seem to be complaining about it.
Cool project! I didn't know it existed. I've just added support for using pixterm
as an image backend to neofetch
. :)
https://github.com/dylanaraps/neofetch/commit/6711ebc91f9bea32a6c2c75b56324f35ca691925
Here's what it looks like: https://i.imgur.com/l6weZgi.png
Install either screenfetch or Neofetch. Neofetch even made a post about a new version here literally today.
Probably wouldn't look good because it would give a lot of unseemly color codes. :(
Edit: Just tested it, you can do neofetch --stdout
to get rid of the color codes, but it also gets rid of the ascii art.
Final Edit: neofetch|sed 's/\x1B\[[0-9;\?]*[a-zA-Z]//g'
will get rid of colors, but keep the ascii art. Thanks to ghost from the link above.
I got neofetch working in OpenBSD really easy
$ git clone https://github.com/dylanaraps/neofetch $ cd neofetch $ doas cp -p neofetch /usr/local/bin $ doas chmod 755 /usr/local/bin/neofetch
You can also copy the man file too. For images,
$ doas pkg_add w3m ImageMagick bash
For random pictures
$ neofetch --w3m /path/to/dir/
For xterm to start fullscreen with a random picture neofetch and a prompt
$ xterm -fullscreen -e "neofetch --w3m /path/to/image/; ksh -l"
Or windowed, like every windows key + delete sequence (for example)
bindsym $mod+Delete exec xterm -title "xterm - $PWD" -e "neofetch --w3m /path/to/folder/; ksh -l"
My path leads to a folder with scans of the old Illuminati card game, but you could also do playing cards, magic cards or pinup girls or whatever.
*edit for card size to display properly w/o cropping the image, use the argument
$ neofetch --size none --w3m /path/to/dir/
htop uses MemAvailable which is "more correct" https://github.com/dylanaraps/neofetch/commit/106a53c575d6dc97ed461139c0fd22991a5528f1
For some reason, the neofetch in the arch repos is different than the one on github.
>I never saw this Information window before
It's just a modified Neofetch information tool that is not part of the standard Chrome OS distribution. And yes, Chrome Shell is Crosh.
Antergos actually uses the same lsb-release file as Arch. To get the Antergos logo back, remove the package lsb-release via Pacman. For more information, see here
Hi guys,
This update took a little longer since I've just started Uni and it's taken up a large bulk of my time. Thanks to everyone for contributing, I really appreciate it.
The Kanagawa wave image is there because I'm using the Kitty terminal. Neofetch can handle images using these Image Backends. The small colored glyphs can be made using any of the Nerd Fonts. Here is my neofetch config file.
neofetch just display filtered results from lspci
get_gpu() { case "$os" in "Linux") # Read GPUs into array. gpu_cmd="$(lspci -mm | awk -F '\"|\" \"|\(' \ '/"Display|"3D|"VGA/ {a[$0] = $3 " " $4} END {for(i in a) {if(!seen[a[i]]++) print a[i]}}')"
https://github.com/dylanaraps/neofetch/blob/master/neofetch line 2026
Why is that surprising to you. If you look at neofetch's GitHub it was quite evident
https://github.com/dylanaraps/neofetch
that's why we have fastfetch now. written in C and much faster
Did you remove the config file in your home directory?
https://github.com/dylanaraps/neofetch/wiki/Customizing-Info#config-file-location
Also check the code for determining the distro:
https://github.com/dylanaraps/neofetch/blob/master/neofetch#L972
/u/Dylan112's system info script has been improved greatly this past week, adding lots of OS X specific output.
We also added a "progress bar" to print usage info for the CPU, RAM, disk and battery.
Come chat in our gitter room: <strong>chat</strong>
Direct link to the repo: <strong>neofetch</strong>
~~We're still waiting for the update to be pushed to Homebrew, but you can install version 1.4 now with brew install neofetch
. I'll update this comment when 1.5 is pushed~~ Neofetch 1.5 is now in Homebrew! Run brew install neofetch
to install it
https://github.com/dylanaraps/neofetch/wiki/Images-in-the-terminal
With w3m-img (I installed w3m, it's terminal based web browser and changed in ~/.config/neofetch/config.conf image backend from ascii to w3m)
I found the answer and a fix from this page.
Ran the following command:
sudo update-pciids
Works like a charm, now my neofetch works perfectly and shows my GPU name!
Thank you to all who helped and even those who didn't for giving me a laugh. Hope this helps someone else in the future!
https://github.com/dylanaraps/neofetch/wiki/Images-in-the-terminal
According to this page Alacritty doesn't work with w3m-img in neofetch, there is even an issue about Alacritty being bad with w3m-img on the Alacritty github, someone posted there that using neofetch --loop
worked for them so you can try that.
The first one is herbstluftwm, second is just Plasma.
I can't really speak to using either of those, but you can get pretty close by using i3 + polybar, having your terminal be alacritty so you have a nice terminal with no titlebar, using cava for the console audio visualizer (it's what makes the bars in the first screenshot), and enabling floating window mode. Dunno about the line visualizer thing. Nothing especially fancy overall though.
Uptime bit can be pretty much anything, it's nothing complex. neofetch supports images using w3m-img and the like, see https://github.com/dylanaraps/neofetch/wiki/Images-in-the-terminal
The Plasma thing can probably just be accomplished using Plasmoids and the billion options Plasma always has.
They're two different projects that aim to show system info in your terminal. screenFetch is being developed by KittyKatt, Neofetch by dylanaraps.
It's better to measure the operations that take the longest, remove them via the config, and if you want add back fake strings that represent the info: https://github.com/dylanaraps/neofetch/wiki/Customizing-Info
In my case, getting CPU and GPU names were the longest operations. I removed the relevant info
parts, and then replaced them with prin
statements that show nicer, more correct and faster output than autodetect does. Though I will have to change it if I would want it to be correct on another machine.
https://github.com/dylanaraps/neofetch/blob/master/neofetch
neofetch --block_range 0 15
Shows 16 Colors
neofetch --block_range 0 7
Shows 8 Colors.
Color Block Range Test (line 579+)
# 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 # Color Alignment # # Default: 'auto' # Values: 'auto', 'num' # Flag: --col_offset # # Number specifies how far from the left side of the terminal (in spaces) to # begin printing the columns, in case you want to e.g. center them under your # text. # Example: # col_offset="auto" - Default behavior of neofetch # col_offset=7 - Leave 7 spaces then print the colors col_offset="auto"
For those who have a music player that does not give you the cover image you can also use what I am using the code from neofetch itself found here.
cover_art() { cover=$(dbus-send --print-reply --dest=org.mpris.MediaPlayer2.audacious /org/mpris/MediaPlayer2 org.freedesktop.DBus.Properties.Get string:'org.mpris.MediaPlayer2.Player' string:'Metadata' | awk -F '"' 'BEGIN {RS=" entry"}; /mpris:artUrl/ {a = $4} END {print a}' | awk -F 'file://' '{print $2}') }
So the file given is actually the tmp file that audacious uses: /tmp/audacious-temp-RPRO0Z
Then do something like this:
cover_art && neofetch --source $cover
That's text, not an image. Go download neofetch.
Enjoy!
that is just plain neofetch or screenfetch. You install it, run it and that is the result. -s
takes a screenshot of the whole desktop with scrot
(you can get it on most distribution repos)
I should also mention that the software used in that large terminal in the first screenshot to show his system info is neofetch.
terminal.sexy is a great way to test out terminal colours and come up with themes without needing to edit any configs a whole bunch. It also happens to have a lot of themes already preloaded you can just try them out in the collection and use or edit one you like.
If you want the same colours as in those screenshots then I took the liberty of getting them. Add this to your .Xresources file:
! ----- special colors ----- ! *foreground: #ebdbb2 *background: #282828 *cursorColor: #ebdbb2
! ----- normal colours ----- ! *color0: #282828 *color1: #d65d0e *color2: #98971a *color3: #d79921 *color4: #458588 *color5: #689d6a *color6: #b16286 *color7: #a89984
! ----- bold colors ----- ! *color8: #928374 *color9: #fe8019 *color10: #b8bb26 *color11: #fabd2f *color12: #83a598 *color13: #8ec07c *color14: #de869b *color15: #ebdbb2 Here's what that looks like when imported into terminal.sexy: https://i.imgur.com/6Bk4ssj.png
Yes it is. the terminal is "st" and the program displaying the information is "neofetch". Their github wiki explains how to display images. I'm using "w3m" as a backend to render the image in the terminal.
If you're using neofetch (or whatever screenfetch program), try reading through the man page and attempt to shorten it via it's settings. Though, if you're not using neofetch, it might not be as customizable. I haven't used any of them for any length of time.
I only maintain the AUR and iOS packages and they've both been updated already. Take a look at this github issue [1]. It lists all of the packages, who maintains them and the support URL for each one.
Majority of the packages are usually updated a few hours after release with the exception of the Official Ubuntu / Debian packages. I'm sending an email to the Debian/Ubuntu maintainer as we speak.
> What do you use to fetch system info?
The system info script is neofetch.
> And does it output $TERM as terminal, or just information about currently open one?
Neofetch checks the parent processes and checks to see if they match a list of strings.
If the parent process of neofetch is $SHELL then we loop again and check the parent process of $SHELL. We keep looping, going higher and higher through the process list until we hit something that isn't in the list of strings.
We then assume that this stopping point is the terminal emulator and we print the result.
Function | "List" of strings
I hope this helps.
> What do you use to fetch system info?
Are you looking for neofetch? It grabs the terminal that it's running in
I know it's screenfetch
in this screenshot, but you should check out <code>neofetch</code>! It's a lot faster, and has more features too (including a config file for customising the script without having to do neofetch --option value
).
It's in the AUR too
Because when you start WSL via Windows terminal, it export the variable "WT_SESSION", and neofetch if find this Variable will show Windows Terminal, without checking the actual Terminal pid/process name:
Just sanity checked: https://imgur.com/vNxlqQ5
Yes, of course. https://github.com/dylanaraps/neofetch/wiki/Image-Backends and https://github.com/dylanaraps/neofetch/wiki/Images-in-the-terminal. I prefer to to use aliases with launch option. You can find more detail in neofetch wiki.
"Intel Core i7" by itself means nothing. It's like saying "GPU: Radeon RX". Check your CPU model using another OS (if you're dual booting) or the Neofetch command-line program on Mac OS.
Here is the relevant section on how to adjust colors with neofetch
from their wiki. It also has other examples about how to rice it further & more complex examples of how to use colors there as well
To install neofetch, use your distro's package manager. The package name is definitely neofetch
.
If that doesn't work for some reason, you can also install it manually using git
and make
:
git clone https://github.com/dylanaraps/neofetch
cd neofetch
sudo make install
And it should be installed.
Or you could read a bloated Ubuntu-specific article...
When you do get a satisfaction with the customization of neofetch. Add the results here.
neofetch is just one script. Learn how it all works with the syntax that you have to use.
https://github.com/dylanaraps/neofetch/wiki/Customizing-Info
Learning is so fun.
It’s actually an image I found from the neofetch github page if you look at the example image in the readme (this page https://github.com/dylanaraps/neofetch) i just scaled it up using AI and filled in the bg to make it the right aspect ratio. Image file here; https://cdn.discordapp.com/attachments/859138863107538945/861247913089564692/hiua.png Sorry I don’t have a better answer for you/the origins of the original image.
Here's a cleaner approach, which you can build on:
Excerpt from man 5 os-release
:
> The file /etc/os-release
takes precedence over /usr/lib/os-release
. Applications should check for the former, and exclusively use its data if it exists, and only fall back to /usr/lib/os-release
if it is missing.
(full text: https://man7.org/linux/man-pages/man5/os-release.5.html)
So we can check both locations.
os-release
is deliberately written in such a way that we can source it, and use the variables (like $ID
) in our current environment (the script).
When parsing $ID
, case
makes more sense than multiple elif
s.
Also, when scripting, use apt-get
instead of apt
. It's a more stable choice for scripts.
#!/bin/bash
if [ -e /etc/os-release ]; then . /etc/os-release elif [ -e /usr/lib/os-release ]; then . /usr/lib/os-release else echo 'os-release file not found' >&2 exit 1 fi
case $ID in centos) pkmgr=yum ;; debian|ubuntu) pkmgr=apt-get ;; '') echo 'os-release: OS ID not specified' >&2 ;; *) echo "$ID: OS not supported" >&2 ;; esac
The script above should achieve what you're trying to do. But IMO, consider if it's more appropriate to test for an available package manger, rather than for the distro.
Here is a quick example for that approach:
for pkmgr in apt-get yum; do command -v "$pkmgr" >/dev/null && break done
if ! command -v "$pkmgr" >/dev/null; then echo 'No supported package manager found' >&2 exit 1 fi
echo "$pkmgr is the package manager detected"
Finally, if you're doing OS detection in bash
, have a read of the neofetch
bash script:
https://github.com/dylanaraps/neofetch/blob/master/neofetch
If this is a personal project, and something you're only wanting to be able to run for yourself on Linux, then the /etc/os-release
file is written in such a way that you can source it and use the definitions in the file as variable names.
You can try this in your terminal, first try running:
echo "$NAME" echo "$LOGO" echo "$BUILD_ID"
Nothing will print for any of these. However if you then run:
source /etc/os-release
Then run those same echo
commands again,
echo "$NAME" echo "$LOGO" echo "$BUILD_ID"
You'll see it now prints the information in the file. This means that in your script you can just source the file, and use the variables as though you had defined them yourself.
If you want this to be more portable and used by others, you'll have to look at how it's done in, for example, <code>neofetch</code> or the POSIX <code>pfetch</code>.
So the “neofetch” command they’re running just grabs their computers information and displays it:
https://github.com/dylanaraps/neofetch
This person, I assume, is trying to brag that they’re using Kali Linux, a hacking/netsec orientated OS. While I think it’s a good OS, it also attracts the “wanna be” hackers who think just having the OS installed makes them L337.
TL;DR this person is trying to make themselves seem like a hacker just because they have Kali Linux installed (assuming this screenshot isn’t taken outta context).
If you're using example from neofetch wiki (link) you just need to change line wttr.in/?0?q?T
to (for example) wttr.in/tokyo?0?q?T
.
Check out neofetch wiki, all the info is there. However, sometimes it crops the pictures rather poorly, so I turned it off a while ago.
Can you test that Gallium thing with Neofetch? I'm pretty sure its GPU detection is better than Screenfetch's is (and Neofetch is just better in general anyway). If it still shows Gallium, let me know and I'll look into why Neofetch would be doing that (I'm one of the developers)
Yeah, it's a good idea to check lsmod and lspci before rebooting. I've learned this the hard way several times, in addition to the whole "sudo and networking programs are not included", etc.
Genkernel shouldn't cause any issues, given all the proper modules are selected via menuconfig, but that goes for any kernel compilation method.
And there are usually fallback modules that work as well (eg pcnet32)
It's interesting to see just how much the NICs differ. I have a G751-JY, and I think (laptop's out of commission atm) I have an Intel NIC.
But anyway: TL;DR - consider checking lsmod and lspci -kv (or similar) before reboot on first installs, etc. It's generally a good idea to review what's selected in the default configuration, anyhow.
PS: did not know Screenfetch was a thing (I use Neofetch). Hooray for learning (https://github.com/dylanaraps/neofetch/wiki/Neofetch-vs-Screenfetch#how-does-neofetch-differ-from-screenfetch)
You can also use --caca
to create an ASCII version of an image. They both do the same thing but produce wildly different results. It's worth trying both and then using the better of the two.
Here's a page full of examples: https://github.com/dylanaraps/neofetch/wiki/Image-Backends
As a general rule when running Linux commands, you can usually run either man [command]
('man' being short for 'manual') or [command] --help
to get a description of how the program works and what settings it accepts.
In the case of neofetch, if you run neofetch --help
, there's this line here:
--source source Which image or ascii file to use. Possible values: 'auto', 'ascii', 'wallpaper', '/path/to/img', '/path/to/ascii', '/path/to/dir/'
Which would indicate that if you run:
neofetch --source ~/myimagefile.png
Neofetch would use that image file located at ~/myimagefile.png
.
There's a little more to it than that, since only a few terminals support images. More information can be found on Neofetch's wiki page about this topic here: https://github.com/dylanaraps/neofetch/wiki/Images-in-the-terminal (Edit: ignore all the <br >
s on that page, looks like just a quirk of how Github handles text files)
I know, it's pretty neat too!
You can get the public IP using curl
, wget
or dig
(fastest), see:
My ranger
config is entirely default apart from these two changes in rc.conf
:
# Default 'false' set preview_images true
# Default '1,3,4' set column_ratios 2,3
For image preview you need to have w3m-img
installed (Bundled with w3m
in Arch) and a terminal emulator that works with w3m-img
. Then you just enable the config option in ranger
and navigate to an image.
These wiki pages have more information:
> I ran both screenfetch and neofetch almost simultaneously, one after another, and screenfetch shows "679MiB / 3894MiB" of RAM, when neofetch shows "791MB / 3894MB". Which output is correct? According to inxi, 682.3/3894.8MB are used. I ran it three times, and every time neofetch shows about 100MB(MiB) higher RAM consumption than neofetch.
Neofetch is correct, this link below shows the right way of calculating memory usage on Linux and is what Neofetch is doing.
Source: https://github.com/KittyKatt/screenFetch/issues/386#issuecomment-249312716
NOTE: This was also fixed in Screenfetch's development branch but it hasn't been released yet.
> I have hybrid graphics on my notebook, integrated Intel HD Graphics 3000 and Radeon HD 6370M. Why aren't both graphic cards shown in the output? Furthermore, screenfetch shows Intel, but neofetch shows Radeon ;)
When implementing GPU detection in Neofetch we tried multiple times to properly detect which GPU was in use. Every implementation we came up with had issues in one way or another so we ultimately decided to just show the dedicated GPU if a hybrid system was detected.
We may look into displaying multiple GPUs in the future but for now, showing the dedicated makes the most sense and works across all systems.
Edit: I've started work on multi-gpu support (one GPU per line) and have it completely working. There's also an option to specify displaying all
, dedicated
or integrated
GPUs. https://github.com/dylanaraps/neofetch/pull/554
Edit2: Multi-GPU support is now finished and will be in the next version of Neofetch.
I've found them on this sub and on other Linux forums. Top right is cmatrix
, then diags
and bloks
(both can be found in my dotfiles repo), and last on the bottom is actually Neofetch, not Screenfetch.
This was unintentional I swear! :)
I've been putting off the release for over a week now to squeeze in new features / bug fixes that come in and I just finished adding WM Theme support today so I decided to bite the bullet and just release.
Well yeah,
I assmed it was neofetch because they are really similar. Also I've figured out why it doesn't show the correct information to me. So if anybody has the same problem it's following:
Neofetch looks for /proc/meminfo to read state of the memory. It searches for MemAvailable and uses that info to get total memory used by doing the following: MemTotal - MemAvailable. The problem is that MemAvailable was added on the kernel version 3.14 and i use 3.8.11 (because Chromebooks don't get kernel updates - if I'm wrong and somebody knows the way to upgrade please let me know).
Screenfetch, on the other hand, uses the following algorithm: Memory to show = MemTotal - MemFree (NOT the same as MemAvailable) - Buffers - Cached. That does work on my kernel version but i like Neofetch better because it has more options and actual config file so I don't have to put a million of arguments while calling the script.
Sources to both: https://github.com/dylanaraps/neofetch/blob/master/neofetch https://github.com/KittyKatt/screenFetch/blob/master/screenfetch-dev
I will make a pull request to fix the bug on neofetch so it would hopefully work for everyone.
Cheers :)
/u/Dylan112's system info script has been improved greatly this past week, adding lots of OS X specific output.
We also added a "progress bar" to print usage info for the CPU, RAM, disk and battery.
Come chat in our gitter room: <strong>chat</strong>
Direct link to the repo: <strong>neofetch</strong>
~~We're still waiting for the update to be pushed to Homebrew, but you can install version 1.4 now with brew install neofetch
. I'll update this comment when 1.5 is pushed~~ Neofetch 1.5 is now in Homebrew! Run brew install neofetch
to install it
/u/Dylan112's system info script has been improved greatly this past week, adding lots of OS X specific output.
We also added a "progress bar" to print usage info for the CPU, RAM, disk and battery.
Come chat in our gitter room: <strong>chat</strong>
Direct link to the repo: <strong>neofetch</strong>
~~We're still waiting for the update to be pushed to Homebrew, but you can install version 1.4 now with brew install neofetch
. I'll update this comment when 1.5 is pushed~~ Neofetch 1.5 is now in Homebrew! Run brew install neofetch
to install it
Hi guys,
This update took a little longer since I've just started Uni and it's taken up a large bulk of my time. Thanks to everyone for contributing, I really appreciate it.
Hi guys,
This update took a little longer since I've just started Uni and it's taken up a large bulk of my time. Thanks to everyone for contributing, I really appreciate it.
>I've never heard of fetch in the context of you're using it
Yea, its a bit more complex. I refer to this type of fetch as an aesthetic tool, like neofetch. For more info visit r/unixporn
This is because Neofetch reads from /proc/cpuinfo [^1], in which case, the Linux Kernel does not distinguish between the SX and SL. [^2]
[^1] https://github.com/dylanaraps/neofetch/blob/ccd5d9f52609bbdcd5d8fa78c4fdb0f12954125f/neofetch#L2193 [^2] https://github.com/torvalds/linux/blob/1b1cf8fe99830e8c95f0fe110b02ba51c2bbc4e0/arch/x86/kernel/cpu/intel.c#L936
Neofetch looks for /etc/lsb-release
, /usr/lib/os-release
and /etc/os-release
check the other files apart from /etc/os-release too
You'd have to modify the code neofetch uses to display a custom image, found in the github here.
Unsure on how to make it display a different OS name, but since neofetch reads it from somewhere, you should be able to find that in the code too.
neofetch wiki > Dependencies > > w3m-img > Image rendering in the terminal. > This is sometimes bundled together with w3m. > kitty, Terminology and iTerm users don't need to install w3m-img.
> imagemagick > Generating thumbnails and cropping the images.
> A terminal emulator that supports \033[14t or xdotool or xwininfo + xprop or xwininfo + xdpyinfo > Getting the terminal window size in pixels so that we can size the image correctly.
you might need to install those dependencies then
this is a good source for how to do it overall and this github page is nice to get the formatting and syntax right !! for some things you can take any flag ascii art and just change it/colour it, or just put any ascii art you want !
Here’s the page from the wiki, but in short it tries to crop out a solid color background to put focus on the user’s favorite waifu.
Scripts that "fetch" Hardware/system information and display them...in almost all cases only for bragging with very little to none value for support requests. Seems a rather popular one is neofetch.
(This is me guessing...only because I got irritated a few times by support questions that have screenshots of neofetch which really barely does anything else then tell what distro the person asking is running so you usually have to ask for more infos)
Sorry for the confusion, I thought you meant the other pokemon but then I realized you wanted the neofetch and I figured I would add both.
What you would do is get a png of the pokemon you want, then save that somewhere, after, you would do neofetch --backend kitty --source /path/to/file.png
. You also need to install image-magick.
Here's a 10x better guide though https://github.com/dylanaraps/neofetch/wiki/Images-in-the-terminal
(Again, super sorry for the confusion, I am a caveman brain)
neofetch prints system info (it looks pretty), du calculates estimated file space, df calcs more "exact" file space, htop shows processes, pacman -Syu checks for updates
Basically just dicking around, killing time in the shell lol
[neofetch](https://github.com/dylanaraps/neofetch) (a fancy piece of software to get system information) thinks for some reason that I'd have 3 GPUs and displays 3 GPU entries. I only have my AMD Radeon Vega 8 though, but it says there'd be another one called "Caption" and the 3rd one is basically just a void, not even colored unlike every other entry (and it isn't due to a line break and would be content from the line above, because there's enough space for it to fit in one line).
I would also like to know the answer to this!
According to the link below this is already implemented in neofetch provided the AppImages are in the ~/.local/bin
folder, but that doesn't seem to work for me. Anyone?
The other suggestions are great tools, but I liked your original goal of looking more like a hacker: try running neofetch every time you start your terminal. Then, pretend like the output is interesting when you're really just interested in the distro-specific terminal image.
No jacha.
Neofetch to taki prorgram, który w 'ładny' (kwestia gustu, dlatego napisałem w '') wyświetla informacje o systemie (jaki to system, na jakim sprzęcie, z jakim softem, bla bla bla).
Arch Linux to jedna z dystrybucji (odmian) Linuksa, dość mocno popularna. Dystrybucja jak dystrybucja, ale w tej opowieści ważne jest to, że nie ma graficznego instalatora 'dalej dalej tak dalej nie dalej dalej zakończ', tylko trzeba wpisywać 'dziwaczne' komendy. I jest duże grono dzieci, które uważa, że jak te komendy, najczęściej nie mając pojęcia, co znaczą, przepisali z wiki albo pauzując filmik na YouTube, to są teraz elitą, bo dokonali rzeczy arcytrudnej (spoiler alert: to wcale nie jest trudne).
No i właśnie taki był wysyp zdjęć jak w OP: nogi w zakolanówkach, a na ekranie neofetch pokazujący, że się ma zainstalowanego archa. Elita jak z koziej dupy trąba.
linux binaries are not going to work on windows since they are two different systems. It's kinda like how you cannot just run a PC app on a phone natively. The proper way to execute neofetch on Windows is to go to neofetch's official GitHub page and follow the instruction to install the windows version of neofetch.
Neofetch has some code it uses to work out what distro you're running, which is not that straightforward, because different distros record that differently. Have a look here https://github.com/dylanaraps/neofetch/wiki/Customizing-Info
and here from about 930 onwards, which is the bit about how neofetch works out what OS you're running. Assuming that you want to keep with /etc/lsb-release
, that's the file you need to change. You'll also need to customize neofetch so that it shows your new ascii art etc, which is in the first link.
No, it's not edited. In the screenshot I used neofetch to display my system information. By default neofetch displays an ascii art logo of your distro but you can replace it with an image.
You can change its config to use an image instead. You can find more info in their wiki.
For example in the config.conf
:
image_backend="iterm2" image_source="$HOME/.config/neofetch/gura.png"
Well we have a fork with the AsteroidOS logo! https://github.com/dylanaraps/neofetch/pull/1676
It will also get packaged in the repository in the near future.
If you want to see some examples, check out the source code for neofetch, and scroll down to the part of the script where the logos are stored. You can get some good examples there, and see how the color and formatting is added
It starts at around line 5425. Just scroll down, its hard to miss.
This is probably a very noob question but what exactly is your terminal window on the right displaying? The part with the ASCII Apple logo and the colour squares.
Is this some sort of alternate Terminal you're using? I notice it still seems to be zsh.
​
EDIT: Looks like neofetch?
After edit ;)
"OS" can stand for "Operating System" or "Open Source", so afraid again not completely clear ;)
Open source scripts are easy...any script that is under a open source license. Well known example would be neofetch (MIT License).
Operating system scripts I am not so sure, you could probably count grub-mkconfig
(grub2-mkconfig on some distros) as a OS script. (btw also a OS as in Open Source script of course, but as part of the grub project I am not sure I would count it explicitly as a open source script, more as script that is part of a open source project)
Here https://github.com/dylanaraps/neofetch/blob/master/neofetch#L1123-L1135 it looks like neofetch uses $XDG_CONFIG_DIRS
to determine which flavor of Ubuntu is used. That seems weird, but maybe that really is the best way to distinguish between them. After all, all the flavors are basically the same distro.
Maybe there is a package in the Ubuntu repos that gets installed automatically if you use the Xubuntu installer, and that installs file in /etc
for setting up $XDG_CONFIG_DIRS
.
here's a overlay
(self: super: { neofetch = super.neofetch.overrideAttrs (oldAttrs: { src = super.fetchFromGitHub { owner = "dylanaraps"; repo = "neofetch"; rev = "5dfce0f9c3068d4d8a49d0b7182bdace61b8f4d0"; sha256 = "131r07wllkvrcgw0ndyf5avqpzqkym56ii0qck6qyjfa8ylx6s31"; }; }); })
or
(self: super: { neofetch = super.neofetch.overrideAttrs (oldAttrs: { src = builtins.fetchTarball "https://github.com/dylanaraps/neofetch/archive/master.tar.gz"; }); })
if you want it to be always up to date
I must say, it is heavily taken (striped-down) from fet.sh and neofetch.
I made it because I wanted to know how these fetch scripts get the information. neofetch
has a large code, yet it does some things better. fet.sh
is small and readable. In a attempt to learn, I stripped down important parts of these codes (that would work on my system) and analyzed the methods these scripts use. This will in no way work on other systems (?).
> Tho is thare a way to get a custom on one show fir some stuff)
It depends on the progam. That's why I keep asking for that.
> (For stuff like neofetch and and other well used thing to get system info)
The ascii-art logos shown by neofetch are all contained within the neofetch script itself. See here. To change that, you'll need to modify neofetch.
You can install neofetch like the comment mentioned above, or if you want the latest updated version, they also have an official PPA that I use: Neofetch Github
You can simply open a Terminal and type neofetch to run the command. For myself, I like to run it every time I open a Terminal. If that's something you want to do it's pretty easy. Open Files, in your HOME directory set to Show Hidden Files and look for the file .bashrc and open it with a Text Editor. On a new line at the bottom, simply type neofetch and save the text file. Then close it, unhide the hidden files and open a new Terminal to test it. If you want to get rid of it at anytime, simply delete neofetch from .bashrc file and save it, and it's back to normal. Hope this helps you a bit!
https://github.com/dylanaraps/neofetch/wiki/Images-in-the-terminal
This also holds true for me, as does it when typing `w3m google.com`. Works just fine in XTerm.
https://github.com/dylanaraps/neofetch/wiki/Installation#solus
https://github.com/KittyKatt/screenFetch/wiki/Installation
Next time you ask a question here please try to explain what you have tried, what you have searched for on a search engine and what the results where.
You're doing good so far!
You can edit the config file for neofetch so it displays less/different specs.
Are you trying for a MacOS look? You can add the dock.
https://github.com/dylanaraps/neofetch
Neofetch. It’s super interesting in that it is one long shell script. Check out the dude’s other repositories, including the pure bash bible. Just a wealth of information on bash.
This is likely overly advanced for your use-case, but you can see how Neofetch does it as a reference
neofetch is a program which shows a brief overview of your system. It's popular on, for example, /r/unixporn.
Usually it just shows one distro and one system package manager. On Arch Linux, for example, it'll show the Arch logo and pacman
packages.
This shows multiple distros being detected on the same system, which is not something one normally sees outside of Bedrock.
It's a silly little script I see people use called neofetch. I think the arch linux crowd started making it popular lol.
I cloned their repo and ran make.
Homebrew installs some helper stuff alongside, it will show more info than in my screenshot.
If you want more detail tell me what you'd like to do and I can help a little better. I also don't know what you know about git for ASCII so that makes things harder, but in general:
If you have any questions I can try to help to answer but your not giving me much to work with.
Just upgrade it.
git clone https://github.com/dylanaraps/neofetch
cd neofetch
sudo make install
Had to change my ASCII art back to MX.
~/.config/neofetch/config.conf
ascii_distro="MX"
Great job, thanks.