Page 1 of 2

ascii logo for terminal

Posted: 16 Oct 2016, 00:26
by ncmprhnsbl
Note: have removed link to my .xzm, since neofetch-3.0.1 is now available via usm

heres a module for terminal info script(neofetch) adapted to display a porteus ascii logo.
included ~/.bashrc that calls neofetch at terminal startup
and ~/.config/neofetch/config
the porteus logo ascii art is in /usr/share/neofetch/ascii/distro/ (feel free to improve it)
note:have removed all the other distro ascii art
its arch independent(works for 32 and 64bit)
Image

EDIT updated to newer version from git(as yet unreleased)
porteus is now supported officially with improved ascii
and there is also now support for audacious song info..


Image
note: have removed ~/.bashrc that calls neofetch at terminal startup
and ~/.config/neofetch/config
source: https://github.com/dylanaraps/neofetch

Re: ascii logo for terminal

Posted: 16 Oct 2016, 09:26
by Blaze
Very useful stuff

Re: ascii logo for terminal

Posted: 16 Oct 2016, 15:37
by francois
Very good looking! :D

Re: ascii logo for terminal

Posted: 24 Oct 2016, 22:13
by ncmprhnsbl
updated to improved version: see first post

Re: ascii logo for terminal

Posted: 26 Oct 2016, 10:51
by francois
Will it come stock on porteus 3.2.

This is a suggestion :wink: .

Re: ascii logo for terminal

Posted: 21 Feb 2017, 00:57
by ncmprhnsbl
have removed link to my .xzm, since neofetch-3.0.1 is now available via USM :)

Re: ascii logo for terminal

Posted: 21 Feb 2017, 01:15
by francois
Do you realize how popular was this thread of yours?

Re: ascii logo for terminal

Posted: 21 Feb 2017, 01:37
by ncmprhnsbl
2845 views :shock: hadn't noticed... lots of lookers.... not many downloads though :pardon:

Porteus Kernel Builder

Posted: 31 May 2021, 04:34
by Ed_P
neofetch!! :o

Code: Select all

guest@porteus:~$ neofetch
bash: neofetch: command not found
guest@porteus:~$ su
Password: 
root@porteus:/home/guest# neofetch
bash: neofetch: command not found
root@porteus:/home/guest# 
Where does one find neofetch Blaze?

Porteus Kernel Builder

Posted: 31 May 2021, 04:59
by ncmprhnsbl
Ed_P wrote:
31 May 2021, 04:34
Where does one find neofetch
in the slackware repo: getpkg neofetch
or directly from https://github.com/dylanaraps/neofetch ...it's just a bash script

Porteus Kernel Builder

Posted: 31 May 2021, 06:03
by Ed_P
slackware's neofetch has the Porteus icon!!

Added in 5 minutes 45 seconds:
Yup, it does. :o

Code: Select all

guest@porteus:~$ neofetch
             `.-:::-.`               guest@porteus.example.net 
         -+ydmNNNNNNNmdy+-           ------------------------- 
      .+dNmdhs+//////+shdmdo.        OS: Porteus 4.0 x86_64 
    .smmy+-`             ./sdy:      Host: Inspiron 13-5368 
  `omdo.    `.-/+osssso+/-` `+dy.    Kernel: 4.16.3-porteus 
 `yms.   `:shmNmdhsoo++osyyo-``oh.   Uptime: 35 mins 
 hm/   .odNmds/.`    ``.....:::-+s   Packages: 623 (pkgtool) 
/m:  `+dNmy:`   `./oyhhhhyyooo++so   Shell: bash 4.4.19 
ys  `yNmy-    .+hmmho:-.`     ```    Resolution: 1920x1080 
s:  yNm+`   .smNd+.                  DE: Cinnamon 3.8.6 
`` /Nm:    +dNd+`                    WM: Mutter (Muffin) 
   yN+   `smNy.                      WM Theme: Dark-Glass (Adwaita) 
   dm    oNNy`                       Theme: Minwaita [GTK2/3] 
   hy   -mNm.                        Icons: Paper [GTK2/3] 
   +y   oNNo                         Terminal: gnome-terminal 
   `y`  sNN:                         CPU: Intel i3-6100U (4) @ 2.300GHz 
    `:  +NN:                         GPU: Intel Skylake Integrated Graphics 
     `  .mNo                         Memory: 1687MiB / 3813MiB 
         /mm`
          /my`                                               
           .sy`                                              
             .+:
                `

:good:

Added in 8 minutes 29 seconds:
ncmprhnsbl wrote:
31 May 2021, 04:59
...it's just a bash script
It doesn't begin with "#!/bin/sh".

Porteus Kernel Builder

Posted: 31 May 2021, 08:28
by ncmprhnsbl
we's a bit offtopic...
Ed_P wrote:
31 May 2021, 06:17
It doesn't begin with "#!/bin/sh".
well, technically #!/bin/sh is a 'shell' script, presumably able to handle whatever shell you're using.. but anyway:
Neofetch supports almost 150 different operating systems. From Linux to Windows, all the way to more obscure operating systems like Minix, AIX and Haiku.
so, therefore, it must run in all those( provided bash is installed) so, therefore #!/usr/bin/env bash has a better chance of getting bash.. i guess..
this page: https://stackoverflow.com/questions/163 ... h#16365367 might have better explanations..

ascii logo for terminal

Posted: 31 May 2021, 17:30
by Ed_P
ncmprhnsbl wrote:
31 May 2021, 08:28
we's a bit offtopic..
I agree. Fixed. :D

neofetch has been around a long time here.

ascii logo for terminal

Posted: 18 Nov 2021, 20:48
by Rava
I ran ./neofetch.SlackBuild without activating 05-devel since it is a bash script… and while I got this error using neofetch-7.0.0.tar.gz as base

Code: Select all

root@porteus:/bin/linux/neofetch# ./neofetch.SlackBuild 
neofetch-7.0.0/
neofetch-7.0.0/.github/
neofetch-7.0.0/.github/ISSUE_TEMPLATE.md
neofetch-7.0.0/.github/PULL_REQUEST_TEMPLATE.md
neofetch-7.0.0/.travis.yml
neofetch-7.0.0/CONTRIBUTING.md
neofetch-7.0.0/LICENSE.md
neofetch-7.0.0/Makefile
neofetch-7.0.0/README.md
neofetch-7.0.0/neofetch
neofetch-7.0.0/neofetch.1

+------------------------+
| NOTICE! MAKE NOT FOUND |
+------------------------+
The 'make' program is not installed on your system. In order
to compile any software, you will need to download and/or
activate the porteus 'devel' module, which contains make, gcc
and other programs that are necessary to compile source code.

Please visit http://dl.porteus.org/x86_64/Porteus-v5.0/modules to download
the development module for your version and architecture.

Press enter to quit this program.  If you are running a build
script, it may continue and state additional errors.


find: ‘/tmp/SBo/package-neofetch/usr/man’: No such file or directory
it still works flawlessly:
Image
Link to see the full size: https://abload.de/img/screenshot_2021-11-18oqkcq.jpg
(resized from 1920x1080 to 1280x720)

Added in 6 minutes 6 seconds:
I just have to create the module manually. I think that I get for not activating 05-devel.
But one needs a challenge with all the boring world and 2G [*] -only rules up and down the country. :D (This was irony, in case you not got that)

Added in 8 minutes 22 seconds:
80 KB for my neofetch-7.0.0.xzm :

Code: Select all

root@porteus:/bin/linux/neofetch# lsxzm neofetch-7.0.0.xzm
/usr
/usr/bin
/usr/bin/neofetch
/usr/doc
/usr/doc/neofetch-7.0.0
/usr/doc/neofetch-7.0.0/README.md
/usr/man
/usr/man/man1
/usr/man/man1/neofetch.1
root@porteus:/bin/linux/neofetch# ls -o neofetch-7.0.0.xzm
-rw-r--r-- 1 root 81920 Nov 18 22:00 neofetch-7.0.0.xzm
:celebrate3:
_____________
[*] 2G in case you are not familiar with the German term: means only Geimpft (vaccacinated) or Genesen (convalesced)
While 3G means Geimpft, Genesen, Getestet (tested, meaning a very recent CoVid test)

ascii logo for terminal

Posted: 18 Nov 2021, 21:26
by ncmprhnsbl
Rava wrote:
18 Nov 2021, 21:03
I ran ./neofetch.SlackBuild
fyi, neofetch is packaged in slackware current ..