You are not logged in.

#1 2013-12-25 18:09:33

Alfis
Member
Registered: 2013-12-25
Posts: 10

[SOLVED] Can't type šđčćž characters

When I login as root, I don't startx, as opposed to logging in as another user. I'm not using ~/.bashrc file, but /etc/bash.bashrc, so all other settings should be the same, regardless of the user, right?
Yet root's Bash displays wrong characters for čćžšđ keys, but user's Bash doesn't (urxvt, if it matters).

Other special characters ("#$%&/) are displayed ok in both cases. croat kaymap is used in both cases.

showconsolefont clearly displays that čćžšđ are there, when run in root's Bash, čćžšđ in filenames also display well.

Font used is Lat2-Terminus16.

Is the problem in keymap or the font or somewhere else?

Last edited by Alfis (2013-12-25 19:20:50)

Offline

#2 2013-12-25 18:23:15

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Can't type šđčćž characters

Alfis wrote:

Yet root's Bash displays wrong characters for čćžšđ keys, but user's Bash doesn't (urxvt, if it matters).

Apples to oranges.
Check if they're displayed correctly in the tty when you log in as user and not root.

Offline

#3 2013-12-25 18:35:22

Alfis
Member
Registered: 2013-12-25
Posts: 10

Re: [SOLVED] Can't type šđčćž characters

Oops, they're not.

So, they work ok under X, but without it not?
Course of action?

Offline

#4 2013-12-25 18:37:22

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Can't type šđčćž characters

Post the output of 'cat /etc/vconsole.conf'.

Offline

#5 2013-12-25 18:40:14

Alfis
Member
Registered: 2013-12-25
Posts: 10

Re: [SOLVED] Can't type šđčćž characters

KEYMAP=croat
FONT=Lat2-Terminus16

Installation guide said that this works in most cases, and who am I to argue? big_smile

Offline

#6 2013-12-25 18:41:22

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Can't type šđčćž characters

Try adding 'FONT_MAP=8859-2'.

Offline

#7 2013-12-25 18:46:59

Alfis
Member
Registered: 2013-12-25
Posts: 10

Re: [SOLVED] Can't type šđčćž characters

Thanks. That worked. I guess I should've been more thorough in following instructions.

This is [SOLVED].

Offline

#8 2013-12-25 18:56:53

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Can't type šđčćž characters

Alfis wrote:

I guess I should've been more thorough in following instructions.

Yup, it's all there in the wiki:
https://wiki.archlinux.org/index.php/Fo … fault_font
https://wiki.archlinux.org/index.php/Ke … nsole_font



Please remember to mark the thread as solved https://bbs.archlinux.org/viewtopic.php?id=130309

Offline

#9 2013-12-25 19:20:29

Alfis
Member
Registered: 2013-12-25
Posts: 10

Re: [SOLVED] Can't type šđčćž characters

karol wrote:

Please remember to mark the thread as solved https://bbs.archlinux.org/viewtopic.php?id=130309

I was looking for a button or something to do it big_smile Seems it's more simple than that.

Offline

Board footer

Powered by FluxBB