You are not logged in.

#1 2021-04-30 13:56:57

dlk
Member
Registered: 2021-02-26
Posts: 25

Problem with keyboard

I recently installed arch again. All went smoothly and got on board in like 10 mins, i only got two problems,the first is that i have no writing/reading/exec privileges on the files in my home directory (i "solved" this using sudo chmod -R 777 /home/mattia, but is probably too brutal, let me know),but the second, and most anoying is that i cant change the keyboard language, i tried with loadkeys and setxkbmap but neither of those worked, i serched on internet but i didn't found anything, pls help (i have a uk keyboard but the layout is stuck to us)

both the programs give me errors

loadkeys error:

loadkeys uk
Couldn't get a file descriptor referring to the console.

setxkbmap error:

setxkbmap uk
Error loading new keyboard description

Last edited by dlk (2021-04-30 14:01:55)

Offline

#2 2021-04-30 14:34:47

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

Re: Problem with keyboard

All went smoothly

i have no writing/reading/exec privileges on the files in my home directory

probably too brutal

Stuff like ssh/gpg won't like that at all…

tried with loadkeys and setxkbmap but neither of those worked

You're aware that one is only for the console and the other only for X11 and if you're on gnome, you're likely using wayland…

setxkbmap uk
Error loading new keyboard description

"uk" doesn't exist, that would be "gb" - but after the stunt above I suggest your start over and this time follow the installation guide.

i have no writing/reading/exec privileges on the files in my home directory

isn't something that just happened and cannot be ignored.

The only possible somewhat benign explanation would be that you forgot to pass "-m" to useradd and did "mkdir /home/dlk" and now the path doesn't belong to your UID in which case you'd better fix that and undo all the permissions. If you've not created too much content, 700 is a nice choice for $HOME.

Online

Board footer

Powered by FluxBB