RESISTOS by rado84

Is there a way to make Fastfetch display This logo? Let's say I put it in /home

ResistOS_Art.png
 


Is there a way to make Fastfetch display This logo? Let's say I put it in /home
Yes.
Code:
cat logo.txt | fastfetch --raw - --logo-width 40 --logo-height 29 --logo-padding-left 0
Adjust numbers to suit. Note that logo.txt is in ascii. Here is an example:
Code:
[tom@min ~]$ cat logo.txt | fastfetch --raw - --logo-width 40 --logo-height 29 --logo-padding-left 0
       ,
       \`-._           __                   ben@min
        \\  `-..____,.'  `.                 -------
         :`.         /    \`.               OS: Debian GNU/Linux trixie trixie/sid x86_64
         :  )       :      : \              Host: B760M PG Lightning WiFi
          ;'        '   ;  |  :             Kernel: 6.11.7-amd64
          )..      .. .:.`.;  :             Uptime: 11 hours, 43 mins
         /::...  .:::...   ` ;              Packages: 2159 (dpkg)
         ; _ '    __        /:\             Shell: bash 5.2.32
         `:o>   /\o_>      ;:. `.           Display (HDMI-1): 1920x1080 @ 60Hz
        `-`.__ ;   __..--- /:.   \          WM: dwm (X11)
        === \_/   ;=====_.':.     ;         Cursor: redglass
         ,/'`--'...`--....        ;         Terminal: xterm 395
              ;                    ;        Terminal Font: fixed (8.0pt)
            .'                      ;       CPU: 13th Gen Intel(R) Core(TM) i5-13500 (20) @ 4.80 GHz
          .'                        ;       GPU: NVIDIA GeForce GT 710 [Discrete]
        .'     ..     ,      .       ;      Memory: 2.87 GiB / 15.27 GiB (19%)
       :       ::..  /      ;::.     |      Swap: 0 B / 14.90 GiB (0%)
      /      `.;::.  |       ;:..    ;      Disk (/): 29.00 GiB / 442.25 GiB (7%) - ext4
     :         |:.   :       ;:.    ;       Local IP (enp3s0): 192.168.0.6/24,192.168.0.5/24 *
     :         ::     ;:..   |.    ;        Locale: en_AU.UTF-8
      :       :;      :::....|     |
      /\     ,/ \      ;:::::;     ;        ████████████████████████
    .:. \:..|    :     ; '.--|     ;        ████████████████████████
   ::.  :''  `-.,,;     ;'   ;     ;
.-'. _.'\      / `;      \,__:      \
`---'    `----'   ;      /    \,.,,,/
                   `----`
 
Refers to my post at #5.

I have my Terminal prompt on all of my Arch-based distros (Manjaro, Cachy, Bluestar, Endeavour, Liya, and so on) displaying what you are seeking.

If you are interested, you could also let me know
  1. EXT4, BTRFS, or other?
  2. Content of both of /etc/hosts and /etc/hostname
Wizard
Arch started ignoring hosts about 5 years ago, if not more, so that file's useless. Plus, hosts is about external hosts, like blocking or allowing access to a website online. It has nothing to do with the host name.
/etc/hostname doesn't exist here.

I don't see what the filesystem has anything to do with what I need to do.
As for the prompt, changing it has a bug (happens every time): when I open a dir and type "rsync *.mkv "/path/to target - just before I close the path with the final double quote, the cursor jumps (and gets stuck there) right before the first square bracket. If the new prompt is [rado@resist], the cursor jumps to this position:
|[rado@resist]
With the cursor being stuck there, I can't do anything. So I'm back to the original prompt.
 
@rado84 That file is created at installation time in most distros, when you choose the computer name (not user name). Try a back-up and re-install of your OS and use ResistOS as the computer name (and Rado, I assume, your username) so you end up with

Code:
rado@ResistOS

as a terminal prompt.
 
@osprey can I get the colors and all that from the text file? I'd like it to look like the image above in my previous post.
Yes, you can configure colors, but you would need to write or amend a json file in
~/.config/fastfetch/config.jsonc which specifies the colors to be used. I haven't used colors myself, but my approach would be to download the source of fastfetch from github, check out how it codes color into the logos it uses, and learn how to include the code in the json config file. There's a bit of learning involved which I haven't done at this point, so that the limit of my contribution unfortunately.
 


Follow Linux.org

Members online


Top