You are not logged in.

#1 2021-11-19 17:29:16

kingofsiliconvalley
Member
Registered: 2021-11-19
Posts: 3

Weird characters in terminal plz help

Hi I am new to linux and I recently installed arch (yesterday). I installed bspwm, sxhkd and polybar. And I copied polybar config from the default /usr/share/doc/polybar/config. But when I went to open it...
https://ibb.co/hVJBjh8
This is how it looks. Can anyone please help me?

Offline

#2 2021-11-19 18:03:19

loqs
Member
Registered: 2014-03-06
Posts: 18,991

Re: Weird characters in terminal plz help

Do you have the optional dependencies polybar lists as supplying the fonts for the example config installed?

pacman -Qip polybar-3.5.7-1-x86_64.pkg.tar.zst
Name            : polybar
Version         : 3.5.7-1
Description     : A fast and easy-to-use status bar
Architecture    : x86_64
URL             : https://github.com/polybar/polybar
Licenses        : MIT
Groups          : None
Provides        : None
Depends On      : cairo  xcb-util-image  xcb-util-wm  xcb-util-xrm  xcb-util-cursor  alsa-lib  libpulse  libmpdclient  libnl  jsoncpp  curl
Optional Deps   : i3-wm: i3 module support
                  ttf-unifont: Font used in example config
                  siji-git: Font used in example config
                  xorg-fonts-misc: Font used in example config
Conflicts With  : polybar-git
Replaces        : None
Compressed Size : 1034.14 KiB
Installed Size  : 4056.65 KiB
Packager        : Unknown Packager
Build Date      : Fri 19 Nov 2021 18:00:33 GMT
Install Script  : Yes
Validated By    : None
Signatures      : None

Offline

#3 2021-11-19 22:23:23

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,200

Re: Weird characters in terminal plz help

locale issue?!

localectl
locale
locale -a

https://wiki.archlinux.org/title/Locale - you want an utf-8 one

Offline

#4 2021-11-20 13:21:06

kingofsiliconvalley
Member
Registered: 2021-11-19
Posts: 3

Re: Weird characters in terminal plz help

loqs wrote:

Do you have the optional dependencies polybar lists as supplying the fonts for the example config installed?

pacman -Qip polybar-3.5.7-1-x86_64.pkg.tar.zst
Name            : polybar
Version         : 3.5.7-1
Description     : A fast and easy-to-use status bar
Architecture    : x86_64
URL             : https://github.com/polybar/polybar
Licenses        : MIT
Groups          : None
Provides        : None
Depends On      : cairo  xcb-util-image  xcb-util-wm  xcb-util-xrm  xcb-util-cursor  alsa-lib  libpulse  libmpdclient  libnl  jsoncpp  curl
Optional Deps   : i3-wm: i3 module support
                  ttf-unifont: Font used in example config
                  siji-git: Font used in example config
                  xorg-fonts-misc: Font used in example config
Conflicts With  : polybar-git
Replaces        : None
Compressed Size : 1034.14 KiB
Installed Size  : 4056.65 KiB
Packager        : Unknown Packager
Build Date      : Fri 19 Nov 2021 18:00:33 GMT
Install Script  : Yes
Validated By    : None
Signatures      : None

How can i install those?

Offline

#5 2021-11-20 13:22:45

kingofsiliconvalley
Member
Registered: 2021-11-19
Posts: 3

Re: Weird characters in terminal plz help

seth wrote:

locale issue?!

I have these when I do locale -a

 C
POSIX
en_US.utf8

Offline

#6 2021-11-20 13:30:00

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,200

Re: Weird characters in terminal plz help

Post the output of all three commands, please.

Offline

#7 2021-11-20 13:46:30

aaronrancsik
Member
Registered: 2020-01-27
Posts: 4

Re: Weird characters in terminal plz help

kingofsiliconvalley wrote:

How can i install those?

https://wiki.archlinux.org/title/Pacman
You know Pacman is the package manager for Arch linux.

xorg-fonts-misc is in the official repos so use pacman to install it.

On Arch you can access a nice thing called: Arch User Repositories = AUR
https://wiki.archlinux.org/title/Arch_User_Repository

These packages are  in AUR:
ttf-unifont
siji-git

So you need to manually install these (you will find in the linked AUR wiki how to install anything from AUR).
Or alternatively you can use a so called AUR helper.
yay and paru the most popular AUR helpers.
You need to install you selected 'AUR helper'  manually form AUR.

Last edited by aaronrancsik (2021-11-20 13:49:38)

Offline

Board footer

Powered by FluxBB