Perpetual Padawan
Member
Is there a way to make Fastfetch display This logo? Let's say I put it in /home
Yes.Is there a way to make Fastfetch display This logo? Let's say I put it in /home
cat logo.txt | fastfetch --raw - --logo-width 40 --logo-height 29 --logo-padding-left 0
[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
: :; :::....| |
/\ ,/ \ ;:::::; ; ████████████████████████
.:. \:..| : ; '.--| ; ████████████████████████
::. :'' `-.,,; ;' ; ;
.-'. _.'\ / `; \,__: \
`---' `----' ; / \,.,,,/
`----`
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.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
Wizard
- EXT4, BTRFS, or other?
- Content of both of /etc/hosts and /etc/hostname
Yes, you can configure colors, but you would need to write or amend a json file in@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.
Try a back-up and re-install of your OS...
...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.
I don't see what the filesystem has anything to do with what I need to do.
With the cursor being stuck there, I can't do anything. So I'm back to the original prompt.
but for the moment I haven't found a safe way to change it without reinstalling.
sudo hostnamectl set-hostname "resist"
Actually, it IS there but the tool I used to find the file appears to be glitchy, so I dumped it.@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.
Why Changing the Hostname in
Changing the hostname exclusively in /etc/hostname without updating the rest of the network configuration files leads to a system-wide disaster because it breaks local name resolution. In Linux, many core services and graphical environment components rely on the hostname to communicate with themselves via the loopback interface (127.0.0.1).
When you mismatch the system's runtime hostname and its network map, several critical systems immediately fail:
1. Broken Local Name Resolution (
The Linux kernel reads the new hostname from /etc/hostname at boot. However, network configuration files like /etc/hosts still point to the old hostname. When an application attempts to resolve the new hostname to an IP address (expecting 127.0.0.1 or ::1), the lookup fails.
- The Result: Networking utilities timeout, network managers fail to initialize properly, and internal sockets drop connections.
2. Xorg / Display Manager Crash (Graphical Interface Failure)
Display managers (like LightDM, GDM, or SDDM) and desktop environments (like Cinnamon) use local network sockets authenticated by Xauth to manage the display server0). The authentication tokens (MIT-MAGIC-COOKIE) are strictly tied to the hostname at the time the session started.
- The Result: If the hostname changes mid-session or is unresolvable at boot, Xorg will refuse connections from the display manager. The system hangs at boot (e.g., sticking on Reached target Graphical Interface), crashes to a black screen, or locks the user in an endless login loop.
3. Sudo Authentication Hangs
The sudo command performs a lookup on the current hostname every time it is executed to check host-based permissions in the sudoers file.
- The Result: When the hostname cannot be resolved, sudo will freeze for 15 to 30 seconds while waiting for a DNS timeout before finally throwing an error (sudo: unable to resolve host...). This breaks administrative scripts and manual terminal commands.
4. IPC (Inter-Process Communication) and D-Bus Failures
Modern desktop environments rely heavily on D-Bus and Inter-Process Communication (IPC). Many background daemons bind to local sockets using the hostname.
- The Result: Subsystems cannot talk to each other. Audio servers (PipeWire/PulseAudio), system logging, and desktop notifications will lag or fail entirely.
The Proper Way to Change a Hostname
To prevent a disaster, the hostname must be changed uniformly across the system.
- The Modern Systemd Way: Using hostnamectl changes the hostname in /etc/hostname and updates the kernel transient hostname instantly without requiring a reboot:
Code:sudo hostnamectl set-hostname resist
(or replace resist with whatever new name you want your host to have)
- The Manual Way (The /etc/hosts Fix): If editing manually, you must always update /etc/hosts alongside /etc/hostname. The loopback lines must include the new hostname:
Code:127.0.0.1 localhost ::1 localhost 127.0.1.1 new-resist-os