Code: Alles auswählen
$ cat /etc/update-motd.d/10-uname
#!/bin/bash
inxi -CDNnMmS
Code: Alles auswählen
12System: 12Host myhostname 12Kernel 4.9.0-8-amd64 x86_64 (64 bit) 12Console tty
12 12Distro Debian GNU/Linux 9 (stretch)
12Machine: 12Device desktop 12Mobo Gigabyte 12model EP45-DS4 12v x.x 12BIOS Award 12v F10b 12date 09/28/2009
12CPU: 12Quad core Intel Core2 Quad Q9400 (-MCP-) 12cache 3072 KB
12 12clock speeds 12max 2667 MHz 121 2000 MHz 122 2000 MHz 123 2000 MHz 124 2000 MHz
12Memory: 12Used/Total 367.4/3954.4MB
12 12Array-1 capacity 4 GB 12devices 4 12EC None
12 12Device-1 A0 12size 1 GB 12speed 800 MHz 12type N/A
12 12Device-2 A1 12size 1 GB 12speed 800 MHz 12type N/A
12 12Device-3 A2 12size 1 GB 12speed 800 MHz 12type N/A
12 12Device-4 A3 12size 1 GB 12speed 800 MHz 12type N/A
12Network: 12Card-1 Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller 12driver r8169
12 12IF enp3s0 12state up 12speed 1000 Mbps 12duplex full 12mac <filter>
12 12Card-2 Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller 12driver r8169
12 12IF enp4s0 12state down 12mac <filter>
12Drives: 12HDD Total Size 400.1GB (3.5% used)
12 12ID-1 /dev/sda 12model ST3400633AS 12size 400.1GB
Ich habe auch anstatt inxi neofetch probiert und das zeigt die farben an. Also grundsätzlich müsste es gehen nur eben bei inxi geht es wohl nicht.
Wenn ich inxi auf der shell so ausführe, zeigt er mir ja auch alles richtig an.
Ich habe probiert $TERM=xterm-256color zu setzen, allerdings ohne erfolg. Vor allem scheinen ja Farben grundsätzlich zu funktionieren...
Jemand einen Rat?