Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cant change the keyboard layout #16

Closed
ROMSY-SAN opened this issue Mar 21, 2018 · 8 comments
Closed

cant change the keyboard layout #16

ROMSY-SAN opened this issue Mar 21, 2018 · 8 comments

Comments

@ROMSY-SAN
Copy link

Hey Luke,
so after making a fresh install of Arch i decided to try your larbs, which is kinda looking good :)

Problem is, i cant change my keyboard layout.
i tried to edit ~/.scripts/remap
line 5 changed us to de
no changes
commented line 5 and uncommented line 9
no changes
tried in terminal loadkeys de-latin1
got the message:
Couldn't get a file descriptor referring to the console
same command as sudo: no message but still no change.

before i forget: after every change i logged out and logged in again.

@LukeSmithxyz
Copy link
Owner

Keep line 5 commented, then change line 9 to setxkbmap -layout de -option caps:super. See what happens on the next login. Remove the xmodmap command in the script if it doesn't work.

@ROMSY-SAN
Copy link
Author

good morning, so after fidgeting around with the configs the only solution to change the keyboard was to edit the ~/.config/i3/config directly and add exec setxkbmap de in there.

i dunno why everything else failed (even your suggestion didnt worked) but i think its an i3 thing itself.

@LukeSmithxyz
Copy link
Owner

Are you sure you didn't delete the exec --no-startup-id ~/.scripts/remaps line in the i3 config then?

I just tried it myself and I get the German mapping just by editing the remaps file.

@Vollblut
Copy link

Vollblut commented May 1, 2018

ive got it to work correctly like youve stated Luke. But the terminal shows no Umlauts (ÄÖÜ) and sharp s (ß).
they show up in the TTY and GUI applications. do I have to reconfigure st?

Edit: got it! Created an /etc/local.conf, exported the correct LANG, LC_DATE and TIME and set the keymap with localectl. Now it works!
Coincidentalky, Bumblee-Status date and time works too now, since no DATE TIME was set.

@LukeSmithxyz
Copy link
Owner

@Vollblut Have you changed/installed new fonts? It sounds like your mono font is lacking those characters. What does fc-match mono show?

@Vollblut
Copy link

Vollblut commented May 2, 2018

no i haven't yet.Inconsolata-Regular.ttf: "Inconsolata" "Regular"

everywhere i get ö, ä, ü and so on just fine, only in st i just get a rectangle with an "?" in it.

Edit: Got it to work, accidentally edited the post above. D'uh.

@LukeSmithxyz
Copy link
Owner

Okay, good.

@Gfast2
Copy link

Gfast2 commented Jan 17, 2019

@Vollblut ,

Thanks! But perhaps its a typo: /etc/local.conf => /etc/locale.conf I believe.

# For the Problem here discussed
LANG=de_DE.UTF-8
# For a english language enviroments
LANGUAGE=en_US:en_GB:en

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants