Icons showing in terminal only when highlighted

Good day community,

I have this small issue, only a minor really - when I perform commands in terminal (tabby), the icons that are supposed to show are replaced by a square. They are only visible when highlighted, as seen in image below.

image

inxi:

System:
  Kernel: 6.3.1-zen2-1-zen arch: x86_64 bits: 64 compiler: gcc v: 13.1.1
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
    root=UUID=21c7fde8-1bef-4f82-abc8-364dad2d6848 rw [email protected]
    quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0
    systemd.unified_cgroup_hierarchy=1
    resume=UUID=59131e58-a432-49f0-bae1-aebf3325230e loglevel=3 ibt=off
  Desktop: KDE Plasma v: 5.27.5 tk: Qt v: 5.15.9 wm: kwin_x11 vt: 1 dm: SDDM
    Distro: Garuda Linux base: Arch Linux
Machine:
  Type: Laptop System: HP product: OMEN by HP Laptop 15-dc1xxx v: N/A
    serial: <superuser required> Chassis: type: 10 serial: <superuser required>
  Mobo: HP model: 8574 v: 21.17 serial: <superuser required> UEFI: AMI
    v: F.22 date: 05/03/2021
CPU:
  Info: model: Intel Core i7-9750H bits: 64 type: MT MCP arch: Coffee Lake
    gen: core 9 level: v3 note: check built: 2018 process: Intel 14nm family: 6
    model-id: 0x9E (158) stepping: 0xD (13) microcode: 0xF8
  Topology: cpus: 1x cores: 6 tpc: 2 threads: 12 smt: enabled cache:
    L1: 768 KiB desc: d-12x32 KiB; i-12x32 KiB L2: 3 MiB desc: 12x256 KiB
    L3: 144 MiB desc: 12x12 MiB
  Speed (MHz): avg: 1183 high: 2600 min/max: 800/4500 scaling:
    driver: intel_pstate governor: powersave cores: 1: 900 2: 899 3: 900 4: 900
    5: 900 6: 900 7: 900 8: 900 9: 900 10: 2600 11: 900 12: 2600
    bogomips: 62399
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities: <filter>
Graphics:
  Device-1: NVIDIA TU106M [GeForce RTX 2060 Mobile] vendor: Hewlett-Packard
    driver: nvidia v: 530.41.03 alternate: nouveau,nvidia_drm non-free: 530.xx+
    status: current (as of 2023-05) arch: Turing code: TUxxx
    process: TSMC 12nm FF built: 2018-22 pcie: gen: 1 speed: 2.5 GT/s lanes: 8
    link-max: gen: 3 speed: 8 GT/s lanes: 16 bus-ID: 01:00.0
    chip-ID: 10de:1f11 class-ID: 0300
  Device-2: Lite-On HP Wide Vision HD Camera driver: uvcvideo type: USB
    rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-6:3 chip-ID: 04ca:707f
    class-ID: 0e02 serial: <filter>
  Display: x11 server: X.Org v: 21.1.8 with: Xwayland v: 23.1.1 compositors:
    1: kwin_x11 2: Tabby driver: X: loaded: nvidia gpu: nvidia display-ID: :0
    screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 143 s-size: 341x191mm (13.43x7.52")
    s-diag: 391mm (15.39")
  Monitor-1: DP-2 res: 1920x1080 hz: 60 dpi: 142
    size: 344x194mm (13.54x7.64") diag: 395mm (15.55") modes: N/A
  API: OpenGL v: 4.6.0 NVIDIA 530.41.03 renderer: NVIDIA GeForce RTX
    2060/PCIe/SSE2 direct-render: Yes
Audio:
  Device-1: Intel Cannon Lake PCH cAVS vendor: Hewlett-Packard
    driver: snd_hda_intel v: kernel alternate: snd_soc_skl,snd_sof_pci_intel_cnl
    bus-ID: 00:1f.3 chip-ID: 8086:a348 class-ID: 0403
  Device-2: NVIDIA TU106 High Definition Audio vendor: Hewlett-Packard
    driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 8
    link-max: lanes: 16 bus-ID: 01:00.1 chip-ID: 10de:10f9 class-ID: 0403
  API: ALSA v: k6.3.1-zen2-1-zen status: kernel-api with: aoss
    type: oss-emulator tools: N/A
  Server-1: sndiod v: N/A status: off tools: aucat,midicat,sndioctl
  Server-2: PipeWire v: 0.3.70 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: Hewlett-Packard driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s
    lanes: 1 port: 3000 bus-ID: 3c:00.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: eno1 state: down mac: <filter>
  Device-2: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel pcie: gen: 2
    speed: 5 GT/s lanes: 1 bus-ID: 3d:00.0 chip-ID: 8086:2723 class-ID: 0280
  IF: wlo1 state: up mac: <filter>
  IF-ID-1: ztksey564h state: unknown speed: 10000 Mbps duplex: full
    mac: <filter>
Bluetooth:
  Device-1: Intel AX200 Bluetooth driver: btusb v: 0.8 type: USB rev: 2.0
    speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-7:4 chip-ID: 8087:0029
    class-ID: e001
  Report: bt-adapter ID: hci0 rfk-id: 7 state: up address: <filter>
RAID:
  Hardware-1: Intel 82801 Mobile SATA Controller [RAID mode] driver: ahci
    v: 3.0 port: 5020 bus-ID: 00:17.0 chip-ID: 8086:282a rev: N/A class-ID: 0104
Drives:
  Local Storage: total: 1.84 TiB used: 106.94 GiB (5.7%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung
    model: MZVLB1T0HBLR-000H1 size: 953.87 GiB block-size: physical: 512 B
    logical: 512 B speed: 31.6 Gb/s lanes: 4 tech: SSD serial: <filter>
    fw-rev: HPS0NEXF temp: 29.9 C scheme: GPT
  ID-2: /dev/sda maj-min: 8:0 vendor: Samsung model: SSD 870 EVO 1TB
    size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
    tech: SSD serial: <filter> fw-rev: 1B6Q scheme: GPT
Partition:
  ID-1: / raw-size: 896.9 GiB size: 896.9 GiB (100.00%)
    used: 106.91 GiB (11.9%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
  ID-2: /boot/efi raw-size: 260 MiB size: 256 MiB (98.45%)
    used: 29.4 MiB (11.5%) fs: vfat dev: /dev/sda1 maj-min: 8:1
  ID-3: /home raw-size: 896.9 GiB size: 896.9 GiB (100.00%)
    used: 106.91 GiB (11.9%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
  ID-4: /var/log raw-size: 896.9 GiB size: 896.9 GiB (100.00%)
    used: 106.91 GiB (11.9%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
  ID-5: /var/tmp raw-size: 896.9 GiB size: 896.9 GiB (100.00%)
    used: 106.91 GiB (11.9%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: partition size: 34.36 GiB used: 0 KiB (0.0%)
    priority: -2 dev: /dev/sda3 maj-min: 8:3
  ID-2: swap-2 type: zram size: 31.23 GiB used: 5.25 GiB (16.8%)
    priority: 100 dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 59.0 C pch: 58.0 C mobo: N/A gpu: nvidia
    temp: 53 C
  Fan Speeds (RPM): cpu: 2041 fan-2: 0
Info:
  Processes: 428 Uptime: 3d 20h 0m wakeups: 5 Memory: available: 31.23 GiB
  used: 13.74 GiB (44.0%) Init: systemd v: 253 default: graphical
  tool: systemctl Compilers: gcc: 13.1.1 Packages: pm: pacman pkgs: 1851
  libs: 530 tools: pamac,paru,yay Shell: fish v: 3.6.1 running-in: tabby
  inxi: 3.3.27
Garuda (2.6.16-1):
  System install date:     2021-07-24
  Last full system update: 2023-05-20 ↻
  Is partially upgraded:   No
  Relevant software:       timeshift tlp NetworkManager mkinitcpio nvidia-dkms
  Windows dual boot:       Probably (Run as root to verify)
  Failed units:            shadow.service 

Any help would be appreciated!

could it be this issue

There have been a few codepoints that have been dropped after the latest update of the nerd font and I too was facing an issue similar to yours. Though I never checked if selecting them like this would bring them back to life.
anyways I used

nerdfix check ~/.config/starship.toml

which outputted all the outdated codepoints and their latest replacement along with on which line they were on too. I replaced the obsolete codepoints and I was done.

Here is nerdfix's github repo in case you wish to use the tool

I would suggest using cargo to install nerdfix as the other alternative nix is quite a hassle. just remember to add the ~/.cargo to your path in order to be able to use the binaries it has compiled.

1 Like

Sadly, this does not fix my issue. Nerdfont found some obsolete fonts, but the issue still persists. As you can see, in starship.toml the icon is displayed correctly:

image

I hope you replaced those obsolete codepoints they could cause issues later.

Well moving on I took a look at kde's konsole and font related bugs but couldn't find anything that relates to your current issue. Although this has nothing to do with the glyphs but checking never hurts perhaps your font ligatures have been turned off by an update. It has happened once to me in the past.

To enable ligatures in 22.12:

In "Edit profile" dialog, select page "Appearance" and then tab "Complex Text Layout"

Enable "Word mode" and "ASCII characters". Make sure to "Use the same attributes for whole word" is disabled.
1 Like

I just noticed you haven't restarted since your last system update. Try rebooting your device that helps sometimes.

From what I read this is an issue only with Tabby? These display correctly in Konsole for me, so I guess its a problem with that particular application only?

3 Likes

Oh I missed the tabby part for some reason. :sweat_smile: I guess I should read a little more carefully.

I am guessing you simply haven't encountered the deprecated codepoints in your daytoday work. This is an closed issue on the nerd font's github repo it occurred almost 3 weeks ago.

Yes, I've checked it now and the issue is only with Tabby, working good in Konsole.

Sorry, it's not an error in Garuda, but in Tabby.

I will try to be more thorough before posting a problem in the future.

3 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.