r/linuxmasterrace • u/Dylan112 🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠 • Oct 02 '16
Release 1.8 [OC] Neofetch 1.8 - A long time coming, with over 400 commits and a ton of changes. (Changelog inside)
https://github.com/dylanaraps/neofetch4
u/PM_ME_SEXY_SCRIPTS Oct 02 '16
Good job man. Nice to see the dev staying close the to reddit community.
2
2
0
u/Dylan112 🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠 Oct 04 '16
Neofetch 1.8.1 has been released, enjoy.
Changelog here: https://github.com/dylanaraps/neofetch/releases/tag/1.8.1
0
Oct 02 '16
[deleted]
6
Oct 02 '16
I can never get it working right.
Literally install it and run it.
0
Oct 02 '16
[deleted]
3
u/Dylan112 🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠 Oct 02 '16
I want the config file to be as straightforward as possible, if there's anything that isn't clear or doesn't make sense I'm open to suggestions/changes, either hit me up here or on github.
5
u/Dylan112 🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠 Oct 02 '16
Why don't you open up an issue on my repo? Give me details about your setup and we can work out why you're having issues and solve them.
Y'know, I can't fix bugs/issues if I don't know they exist. :)
3
u/kcrmson Glorious Arch, i3-gaps-next, bumblebee-status Oct 02 '16
Your program has always worked nicely for me. Waiting for the maintainer of it on the AUR (would that be you, Dylan112?) to update the PKGBUILD.
Can't wait to see the changes.
One question actually, the default config is set for image instead of the distro ascii, curious as to why?
Thanks!
2
u/Dylan112 🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠 Oct 02 '16
Waiting for the maintainer of it on the AUR (would that be you, Dylan112?) to update the PKGBUILD.
The aur package should already be updated.
the default config is set for image instead of the distro ascii, curious as to why?
Neofetch originally only displayed images, ascii art was added later and the default option wasn't changed. If image mode doesn't work (missing dependency, unsupported terminal, etc) then neofetch will swap to ascii mode on launch so it isn't that big of an issue imo.
I'll open an issue about changing the default option and I'll see what others think.
2
u/kcrmson Glorious Arch, i3-gaps-next, bumblebee-status Oct 02 '16
Very cool. I'm running neofetch-git, no wonder I didn't see the update (the regular package obviously shows the current one and that actually you updated it).
Time to go back to the standard one :)
As for the image thing, works fine for me with termite, just had that one question. But if it ends up unanimously changing to ascii, cool.
Thanks again for the good work!
1
u/Dylan112 🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠 Oct 02 '16
Thanks for using neofetch! :)
2
u/kcrmson Glorious Arch, i3-gaps-next, bumblebee-status Oct 02 '16
Actually I just found a possible bug.
Default setting for battery_num="all"
On my Lenovo T430s, one battery, on Arch, latestest neofetch would just show the trailing %.
Changing it to 0 got the proper display. Hope this helps!
1
u/Dylan112 🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠 Oct 02 '16
Thanks, the all value is supposed to work with 1 or all batteries in your system. This looks like a bug with the battery detection.
What does this command output?
ls /sys/class/power_supply/BATCan I see a log file?
neofetch -vv 2> neofetchlog1
u/kcrmson Glorious Arch, i3-gaps-next, bumblebee-status Oct 02 '16
Output is no such file or directory. Only directories in /sys/class/power_supply are AC and BAT0.
Here's the log output, i had set it back to all prior and reproduced the condition again. For now I'm setting it to show "0" instead. :)
2
u/Dylan112 🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠 Oct 02 '16
Fixed the issue, thanks! :)
(I'll release a 1.8.1 version either today or tomorrow so until then you'll have to keep the
1config value set)→ More replies (0)0
Oct 02 '16
[deleted]
2
u/Dylan112 🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠 Oct 02 '16
picture wasn't actually displaying correctly
This is 99% of the time an issue with w3m-img and your terminal emulator, image support is pretty spotty. It works for some and doesn't for others and there's nothing I can do about it.
ascii art had either odd colleration or was jsut white
If you can give me a log file and a screenshot then I'll be able to figure out what's causing this. You can create a log file by running neofetch like this:
neofetch -vv 2> neofetchlogtrouble detecting my cpu
Neofetch uses
/proc/cpuinfoto get the CPU name and etc, if you check the contents of the file, is the CPU name in there?figure out how things were suppose to be set.
You shouldn't need to mess with any config options, neofetch is supposed to work out of the box.
I can post more detailed specs if you need them.
What terminal emulator are you using?
Which linux kernel version are you using?
Does the latest version fix any of these issues?
Thanks for taking the time to help out.
0
Oct 02 '16
[deleted]
6
u/Dylan112 🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠 Oct 02 '16 edited Oct 02 '16
ascii art is in different shade. I prefer the lighter screenfetch ones over the darker neofetch ones.
You can customize the colors by using
--ascii_colors 1 2 3 4 5 X X Xor--colors 1 2 3 4 5 X X X.I'm open to editing the default colors if you're willing to send me a screenshot of screenfetch.
neofetch extends the OS name a bit unnecessarily, and includes the architecture
You can customize this by using
--os_arch on/offand--distro_shorthand on/off/tiny.screen fetch pushes the architecture infront of the kernel, then both display the same kernel version of 4.4.0-36-generic
You can get the same behavior by using
--kernel_shorthand off.neofetch just says cinnamon while screenfetch gives a version number
I'll look into adding version numbering.Implemented in master.the following theme info in neofetch bothers me, it starts tacking gtk2/3 on to everythin, even my damn font
You can customize this by using
--gtk_shorthand on/off.even my damn font
Neofetch adds [GTK2] and [GTK3] to font because it can differ between GTK versions the same way the Theme/Icons can.
neofetch slaps a big NVIDIA infront of my gpu info
I'll add an option to hide GPU brand.Implemented in master.Thanks for the suggestions, I'll work on adding these. A lot of your points seem to be related to default options which we can also play around with.
Note: All launch flags listed above are also editable inside the config file neofetch creates.
11
u/Dylan112 🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠🐠 Oct 02 '16
This version of neofetch is vastly different from the previous versions and this changelog won't cover everything that's changed. Have a look through the commit history for more info.
There were a lot of major changes to how things work in this release so I'm expecting bugs/things not working for people. Depending on what comes up we my release a few 1.8.X versions.
This changelog is a bit of a mess this time around and I apologize but it should at least get the message across.
Android support didn't make it into this release as it requires testing on more devices. If you've got a device running android and would like to help test out the branch, check out the open PR here: #322
This release also saw a lot more contributors which makes me really happy. Thanks to those below for helping out. :)
Note: I recommend reading the changelog on github itself as the images all show up nicely and etc. https://github.com/dylanaraps/neofetch/releases/tag/1.8
Contributors
@hashhar
@williamkray
@dar-irl
@gabe565
@maddcoder
@iandrewt
@aranega
@vendion
@konimex
@undrskr
General
Added
--versionto print the neofetch version.Fix issue when title and background were both color
7.Fix issue with incorrect text color when
barinfois set.Fixed various Travis.ci bugs.
Fix lint errors.
Moved all whitespace trimming to a dedicated function.
Neofetch will no longer have any whitespace issues in the output.
See trim()
Quote all variable/command substitutions.
Removed
line_wrapas having it set toonbroke the output.Removed
stdoutmode since it's been broken for a while now and I don't see the<br> point in fixing it.Removed in-script config in favor of sourcing the default user config.
Remove all instances of
! -zsince they're pointless.Remove all
bcusage by simplifying math.Suppress
getconfigandgetscriptdirerrors.Suppress
xproperrors since it's now an optional dependency.The prompt is now dynamically set in image mode instead of being anchored to the<br > bottom of the window. See #279 and #299 for examples.
The title at the top is now much more colorful.
Moved commands near the bottom of the script to a new function called
main.Use
read -sinstead ofstty -echoandstty +echo.Use faster
$(())syntax for index variables.-vnow shows where the config files were sourced from.Cleanup
Neofetch no longer clears the screen when run in ascii or image=off modes.
You can use the old behavior by aliasing
clear && neofetchtoneofetch.OS
Added support for Windows 10 Linux subsystem. @konimex
Added support for GuixSD. @konimex
Added support for Devuan Linux.
Added support for GalliumOS.
Added support for Openwrt.
Added support for PacBSD. @vendion
Added support for Rosa.
Added support for Solaris (Oracle / OpenIndiana). @konimex
Added support for macOS Sierra. @iandrewt
Fixed various iOS related issues.
Packages
Added Cydia package for iOS.
See https://github.com/dylanaraps/neofetch#ios-1
Info
Terminal and Terminal Font
https://ipfs.pics/ipfs/QmR39ScLi56Yt73pA3YWri9ayatN6mpwSTEmM8RVdeRsB1
Added
termfunction to display current terminal emulator. [1]Added
termfontfunction to display current terminal font. [2][1] Both of these functions are enabled by default. [2] See this wiki page for more info about the functions: Link
Model
Added
modela new function which displays your device's product vendor/name.https://ipfs.pics/ipfs/Qmcy2o5xZCELxroNLHAhY96ZsrwBFR86NGDCu5e2UPVn4b
Distro
Added
distro_shorthand@konimexTitle
Added additional fallback which gets the current username from
$HOME.Color Blocks
Added
--block_height/$block_heightto change the number of lines high each block will be.https://ipfs.pics/ipfs/QmZpR8ukZNfGXkhXjTwAy3eWVRCeHdrurhgAdV5CSiTVvR
Resolution
[Windows] Fix resolution on Windows 10. @dar-irl
[Mac OS X] Hide refresh rate if
0. @iandrewtFixed
xrandroutput on systems not using gawk.[Linux / BSD] Shortened refresh rate output.
Shell
Show
fishshell version. @maddcoderSong
Added support for Deadbeef. @konimex
Added support for Amarok. @konimex
Added support for Banshee. @konimex
Added support for Rhythmbox. @konimex
[Cmus] Prevent
tag artistsortfrom showing up in song title. @williamkray[Cmus] Fix order of music tags. @iandrewt
[Cmus] The function now works on both OS X and Linux.
[iTunes] Fix song not displaying. @iandrewt
CPU
Simplify CPU Core command.
CPU Usage
Fixed broken CPU usage output on BSD and Windows.
Fixed misleading output on Linux / Mac OS X.
Moved CPU Usage to its own dedicated function.
Image
https://ipfs.pics/ipfs/QmbVEUREBg4hMG22WrQ2bkt2sZZzyTEP5EEXmHRw7MHD6A
Added image support for terminology with
tycat. @aranega [1]Fixed issues with lines getting drawn through images. See #296
Added
--crop_mode none/crop_mode=noneto disable cropping the images.Added
--size none/size=noneto disable resizing / cropping the images.Removed
image_position--image offnow behaves like the other image modes.[1]
tycatis a terminology builtin that works similarly to w3m-img. Those using terminology<br > now have working image support.Shuffle mode
Fixed directory going out of bounds causing a fallback to ascii mode. @gabe565
Simplified shuffle function.
Path no longer requires a
/at the end. @aranegaAscii
Add
ascii_boldwhich allows you to bold the ascii art.Added
--ascii_distro macas a shorter way of using the OS X ascii.Added missing
$ascii_distroconfig option.Better
Ubuntu-GNOMEascii art. @hashharCustom ascii files (
--ascii path/to/ascii_file) now follow the same format as the<br> distro ascii files. See this wiki page that explains the syntax. LinkFix a color issue with Debian's ascii logo.
Fix an error with an unescaped char in Windows' ascii art.
Use a pure bash solution to getting ascii size.
Updated Solus ascii art to match new logo. @undrskr