You are not logged in.

#1 2016-08-20 21:14:02

amishxxx
Member
Registered: 2012-03-10
Posts: 23

[Solved] Broken font in terminal when using startx

Hey guys,
a couple a days ago i decided to get rid of Slim. Now I am starting my x-server with

startx

.
When ever I start the x-server manually I have broken fonts in my terminal (it's doesn't matter if i use fish shell or bash).


Image-broken font
Image-working font

My /etc/vconsole.conf looks as follows:

KEYMAP=de-latin1-nodeadkeys
FONT=lat2-16

My .xinitrc looks as follows:

exec i3

Did anybody experience the same?
I can't figure out what slim is doing differently then manually calling

startx

after logging in.

Regards micah

Last edited by amishxxx (2016-08-21 02:43:18)

Offline

#2 2016-08-20 21:24:16

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,732
Website

Re: [Solved] Broken font in terminal when using startx

amishxxx wrote:

My .xinitrc looks as follows:

exec i3

Try adding this above the "exec i3" line:

if [ -d /etc/X11/xinit/xinitrc.d ] ; then
 for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
  [ -x "$f" ] && . "$f"
 done
 unset f
fi

See https://wiki.archlinux.org/index.php/Xinit#xinitrc

Offline

#3 2016-08-20 22:14:19

amishxxx
Member
Registered: 2012-03-10
Posts: 23

Re: [Solved] Broken font in terminal when using startx

Hey Head_on_a_Stick,
sorry I did't forget to mention that I tried that code snipped form the Wiki before but it doesn't change anything.
I just figured out if i open a shell as root I don't seem to have any problems?

Doesn't make any sense to me.

Regards micah

Offline

#4 2016-08-21 02:42:22

amishxxx
Member
Registered: 2012-03-10
Posts: 23

Re: [Solved] Broken font in terminal when using startx

Hey guys,
I fell kind of stupid but anyways maybe it will help somebody with the same problem in the future. I figured out that somehow my locale.conf is not getting used and because of that my LANG environment variable was not set right so now I made sure that it's getting set on login.

Here is the following snipped for my fish shell.

if status --is-login
        set -x LANG en_US.utf8
end

Now everything works fine again.
@ Head_on_a_Stick Thanks again for the help.

Regards micah

Offline

#5 2016-08-21 11:32:15

sherrellbc
Member
Registered: 2014-05-26
Posts: 112

Re: [Solved] Broken font in terminal when using startx

amishxxx wrote:

I figured out that somehow my locale.conf is not getting used and because of that my LANG environment variable was not set ...

Do you have an /etc/locale.conf?

https://wiki.archlinux.org/index.php/be … ide#Locale

Offline

Board footer

Powered by FluxBB