You are not logged in.

#1 2015-02-21 14:21:54

ali_kerem
Member
Registered: 2015-02-21
Posts: 10

[SOLVED] Font is changing in Xorg

Hello all,
I have a problem about fonts. In console, the config I did while installation progress works perfectly and I have no problem.
When I start X, with openbox as wm, my keyboard becomes english and I cannot change it on terminal too;

setfont lat5-16
Couldn't get a file descriptor referring to the console

How can i solve this ?



My settings;

/etc/locale.conf
LANG=en_US.UTF8

/etc/vconsole.conf 
KEYMAP=trq
FONT=lat5-16

Last edited by ali_kerem (2015-02-21 19:53:42)

Offline

#2 2015-02-21 14:27:52

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

Re: [SOLVED] Font is changing in Xorg

For the font either install and use lxappearance or write the ~/.gtkrc-2.0 file manually with this line (with an example font):

gtk-font-name="DejaVu Sans 8"

For the keymap use:

localectl set-keymap <map>

See man localectl

Online

#3 2015-02-21 14:51:55

ali_kerem
Member
Registered: 2015-02-21
Posts: 10

Re: [SOLVED] Font is changing in Xorg

Thanks for the reply;
I installed lxappearance and run it but no font config about this problem. Font tab has antialiasing, hinting, sub-pixel geometry options only.
When I run localectl set-keymap, nothing changes;

localectl set-keymap tr_q-latin5
==== AUTHENTICATING FOR org.freedesktop.locale1.set-keyboard ===
Authentication is required to set the system keyboard settings.
Authenticating as: kerem
Password: 
==== AUTHENTICATION COMPLETE ===

Offline

#4 2015-02-21 15:29:21

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

Re: [SOLVED] Font is changing in Xorg

ali_kerem wrote:

Thanks for the reply;
I installed lxappearance and run it but no font config about this problem. Font tab has antialiasing, hinting, sub-pixel geometry options only.

The font selection is made on the "Widget" tab under the "Default font" section (bottom right).

I got the `localectl` command wrong, it should be:

localectl set-X11-keymap

You will have to log out and then back in again for this to take effect.

Online

#5 2015-02-21 15:46:43

ali_kerem
Member
Registered: 2015-02-21
Posts: 10

Re: [SOLVED] Font is changing in Xorg

At long last, it worked.
Thank you very much.

Offline

#6 2015-02-21 16:04:52

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

Re: [SOLVED] Font is changing in Xorg

You're welcome.

Please edit the title of the thread and put "[SOLVED]" at the start to help others with this problem.

Online

Board footer

Powered by FluxBB