keith
August 30, 2019, 11:30am
1
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM87IMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM+II778MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM+77777I+MMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM+I777777I+MMMMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMN+777777777I+MMMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM++77777777777I+ZMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM++7777777777777I++MMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM++?7777777777777II++MMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM+++77777777777777777++MMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMN++=I777777777777777777++MMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM8+++II777777777777777777?++NMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM++++I777777777777777777777+++ZMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMM=+++777777777777777777777777+++?MMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMM++++777777777777777777777777I7+++?MMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMM++++I777777777777777777777777777++++MMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMM++++=77777777777777777777777777777+++?MMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMD+++++77777777777777777777777777777I?++++MMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMO+++++I77777777777777777777777777777I7+++++MMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMM?+++++I777777777777777777777777777777777+++++MMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMM++++++I777777777777777777777777777777777II++++?MMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMM++++++I777777777777777777777777777777777777+++++ZMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMM++++++II77777777777777777777777777777777777II+++++MMMMMMMMMM
MMMMMMMMMMMMMMMMMMM+++++++777777777777777777777777777777777777777I+++++MMMMMMMMM
MMMMMMMMMMMMMMMMMM+++++++7777777777777777777777777777777777777777I++++++MMMMMMMM
MMMMMMMMMMMMMMMMN+++++++7777777777777777777777777777777777777777777++++++MMMMMMM
MMMMMMMMMMMMMMM$+++++++77777777777777777777777777777777777777777777++++++OMMMMMM
MMMMMMMMMMMMMM++++++++7I77777777777777777777777777777777777777777777++++++MMMMMM
MMMMMMMMMMMMM++++++++7777777777777777777777777777777777777777777777I+++++++MMMMM
MMMMMMMMMMMM++++++++?77777777777777777777777777777777777777777777777?++++++DMMMM
MMMMMMMMMMM+++++++++7777777777777777777777777777777777777777777777777+++++++MMMM
MMMMMMMMMM+++++++++I7777777777777777777777777777777777777777777777777+++++++DMMM
MMMMMMMMM+++++++++777777777777777777777777777777777777777777777777777++++++++MMM
MMMMMMMM+++++++++7I77777777777777777777777777777777777777777777777777++++++++MMM
MMMMMMO+++++++++77777777777777777777777777777777777777777777777777777++++++++DMM
MMMMM?+++++++++?I7777777777777777777777777777777777777777777777777777++++++++IMM
MMMM+++++++++++I77777777777777777777777777777777777777777777777777777+++++++++MM
MMM+++++++++++I77777777777777777777777777777777777777777777777777777++++++++++MM
MM+++++++++++I777777777777777777777777777777777777777777777777777777+++++++++NMM
MMMN++++++++77777777777777777777777777777777777777777777777777777II++++++++++MMM
MMMMMMMMMMMII77777I77777777777777777777777777777777777777777777II+++++++++++$MMM
MMMMMMMMMMZ++++++++++++++?II7II777I77777I777777777777777777777I+++++++++++++MMMM
MMMMMMMMMM++++++++++++++++++++++++++++++++++?I7III7IIIIII+++++++++++++++++DMMMMM
MMMMMMMMM++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++MMMMMMM
MMMMMMMM++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++MMMMMMMMMM
MMMMMMM+++++++++++++++++++++++++++++++++++++++++++++++++++++++++INMMMMMMMMMMMMMM
MMMMMM++++++++++++++++++++++++++++++++++++++++++++++I8MMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
I made this on an online gernerator.
Hopefully, someone can make this possible. The man screenfetch doesn’t help me figure out how to add this logo.
keith
August 30, 2019, 12:56pm
3
Hi judd. Thanks for the feedback, but I’m mono-lingual.
No matter, I found some good information on how to incorporate this into screenfetch. I’m going to play around with it this weekend and hopefully add some “official EOS” color to it.
keith
August 30, 2019, 1:03pm
5
That is the EXACT same link I found.
Could be a great idea to ask neofetch to add ascii art for EndeavourOS too.
keith
August 30, 2019, 2:22pm
7
Getting close, but not quite there. Can’t figure out the “warning”.
I’ve searched for `" ', but there’s nothing in MY editing to cause it.
…hmmm
cain
August 30, 2019, 2:34pm
8
Look here:
opened 07:31AM - 17 Jul 19 UTC
closed 10:48AM - 21 Mar 20 UTC
bug
<!--
PLEASE FILL THE FOLLOWING INFORMATION
-->
**I'm submitting a ...** (c… heck one with "x")
```
[x] bug report
[ ] new distro request
```
**Bug report**
```
=> search Github for a similar issue or PR before submitting
after an update,when I run screenfetch,it reports "awk: cmd. line:7: warning: regexp escape sequence `\"' is not a known regexp operator".I think it's a problem of awk,so when I switch from gawk to nawk, it disappeared.But for some reasons I still need to use gawk,I wonder if there is any solution.
=> download the latest revision from Github and check if the bug is still present
-> https://github.com/KittyKatt/screenFetch/raw/master/screenfetch-dev
yes
=> Show us the output of: screenfetch -v
:: Finding distro...found as 'Gentoo testing'
:: Finding hostname and user...found as 'arkli@Gentoo'
:: Finding kernel version...found as 'x86_64 Linux 5.1.15-gentoo'
:: Finding current uptime...found as '21m'
:: Finding current package count...found as '974'
:: Finding current shell...found as 'zsh 5.7.1'
:: Finding current resolution(s)...found as '2560x1440'
awk: cmd. line:7: warning: regexp escape sequence `\"' is not a known regexp operator
:: Finding desktop environment...found as 'GNOME '
:: Finding window manager...found as 'GNOME Shell'
:: Finding window manager theme...found as 'Adapta-Nokto'
:: Finding GTK2 theme...found as 'Adapta-Nokto'
:: Finding GTK3 theme...found as 'Adapta-Nokto'
:: Finding icon theme...found as 'Papirus-Dark'
:: Finding user font...found as 'SFNS Display 12'
:: Finding current CPU...found as 'Intel Core i7-7700K @ 8x 4.5GHz [27.8°C]'
:: Finding current GPU...found as 'GeForce GTX 1070'
:: Finding current RAM usage...found as '1451MiB / 15984MiB'
-/oyddmdhs+:. arkli@Gentoo
-odNMMMMMMMMNNmhy+-` OS: Gentoo testing
-yNMMMMMMMMMMMNNNmmdhy+- Kernel: x86_64 Linux 5.1.15-gentoo
`omMMMMMMMMMMMMNmdmmmmddhhy/` Uptime: 21m
omMMMMMMMMMMMNhhyyyohmdddhhhdo` Packages: 974
.ydMMMMMMMMMMdhs++so/smdddhhhhdm+` Shell: zsh 5.7.1
oyhdmNMMMMMMMNdyooydmddddhhhhyhNd. Resolution: 2560x1440
:oyhhdNNMMMMMMMNNNmmdddhhhhhyymMh DE: GNOME
.:+sydNMMMMMNNNmmmdddhhhhhhmMmy WM: GNOME Shell
/mMMMMMMNNNmmmdddhhhhhmMNhs: WM Theme: Adapta-Nokto
`oNMMMMMMMNNNmmmddddhhdmMNhs+` GTK Theme: Adapta-Nokto [GTK2/3]
`sNMMMMMMMMNNNmmmdddddmNMmhs/. Icon Theme: Papirus-Dark
/NMMMMMMMMNNNNmmmdddmNMNdso:` Font: SFNS Display 12
+MMMMMMMNNNNNmmmmdmNMNdso/- CPU: Intel Core i7-7700K @ 8x 4.5GHz [27.8°C]
yMMNNNNNNNmmmmmNNMmhs+/-` GPU: GeForce GTX 1070
/hMMNNNNNNNNMNdhs++/-` RAM: 1451MiB / 15984MiB
`/ohdmmddhys+++/:.`
`-//////:--.
```
the answer from arklee should solve your problem.
keith
August 30, 2019, 4:32pm
9
FANTASTIC!!! Thanks, cain!
That problem is solved.
keith
August 30, 2019, 10:22pm
11
As soon as I get all the bugs worked out, I agree, it should also be available on neofetch as well.
Plus, I think it should be approved by the EOS Team before contactiing those devs.
It looks great, you have my blessing. (check your PM box)
To make it merged w ewould need to create a pull request ther, here is how it is integrated into the code:
if you search for one of the Distros by its name you will find 10 places where it needs to get info about the Distro
keith
August 31, 2019, 1:40pm
15
I’m having trouble with this.
On my original test build (screenshot above), I just replaced the Arch ascii with the EOS ascii.
Now, added EOS ascii and about 8/9 “EndeavourOS” identifiers to a fresh screenfetch bin file, it still comes up with Arch ascii and info.
I’m missing something, and don’t know where to look. Any thoughts?
what gives you:
cat /etc/os-release
and:
cat /etc/lsb-release
keith
August 31, 2019, 3:45pm
17
[keith@end ~]$ cat /etc/os-release
NAME=“EndeavourOS”
PRETTY_NAME=“EndeavourOS”
ID=endeavouros
ID_LIKE=arch
BUILD_ID=rolling
ANSI_COLOR=“0;36”
HOME_URL=“https://endeavouros.com/ ”
SUPPORT_URL=“https://forum.endeavouros.com/ ”
BUG_REPORT_URL=“https://github.com/endeavouros-team ”
LOGO=endeavouros
[keith@end ~]$ cat /etc/lsb-release
LSB_VERSION=1.4
DISTRIB_ID=Arch
DISTRIB_RELEASE=rolling
DISTRIB_DESCRIPTION=“Arch Linux”
[keith@end ~]$
as screenfetch can read this if it is set explicit:
"EndeavourOS")
distro=$(source /etc/lsb-release; echo "$DISTRIB_ID")
distro_release=$(source /etc/lsb-release; echo "$DISTRIB_RELEASE")
distro_codename=$(source /etc/lsb-release; echo "$DISTRIB_CODENAME")
;;
but as you can see lsb-release is overwritten…
you can take it from github:
/etc/lsb-release:
LSB_VERSION=1.4
DISTRIB_ID=EndeavourOS
DISTRIB_RELEASE=rolling
DISTRIB_DESCRIPTION="EndeavourOS Linux"
but also possible to read os-release:
"Mer")
distro="Mer"
if [[ -f /etc/os-release ]]; then
if grep -q 'SailfishOS' /etc/os-release; then
distro="SailfishOS"
distro_codename="$(grep 'VERSION=' /etc/os-release | cut -d '(' -f2 | cut -d ')' -f1)"
distro_release="$(awk -F'=' '/^VERSION=/ {print $2}' /etc/os-release)"
keith
August 31, 2019, 4:17pm
19
I put this under “Begin Detection Phase”, but it still comes up Arch.
Is there a way I can attache a copy?
pastebinit:
cat scriptfile | curl -F 'f:1=<-' ix.io
and give the url it gives out