Score:0

How to edit keyboard.conf from another system

in flag

I made the mistake of editing the file

etc/x11/xorg.conf.d/keyboard.conf

and now my laptop won't start.

I try to edit the file from another system installed in another partition and it tells me that I don't have the necessary permissions.

Is it possible that you can edit the file and leave its original values? How do I do it?

Thanks

cn flag
Explain it a bit better: "from another system" How? ssh? mounted the disk inside the other system? do you have a `#` as a prompt? do you use a normal user? "and now my laptop won't start." that should not be a reason though. You should be able to get to grub, drop to root/rescue and edit from there. The same is possible using a live session. ALL of those are done as "root" and will not complain about permissions so I do not really get why you do ... and probably are doing it in away that is more difficult than it needs to be (I hope :))
vanadium avatar
cn flag
You must be root to edit files on drives you are not having permissions as normal user. Easiest probably will be to mount a live Ubuntu session, and do the edit from there. You could then immediately see how that file looks in the live session, and copy it over to your system partition, overwriting the one you broke.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.