Page 1 of 1

keyboard mapping not saving

Posted: 30 Jun 2017, 12:53
by robby3000
Hi

I am running 32 bit Porteus 3.2.2 with mate. I created porteus/porteussave.dat and amended the config file (however, I had to do this in Notepad on Windows because the link in the Porteus Settings app did not work).

I also updated the USM database - although the process appeared to hang at one of the repositories. However, I managed to download Firefox, convert the file into a module and move it to the Modules folder.

The save file .dat appears to be working - downloaded files, wifi password and Firefox bookmarks are all present after a reboot.

BUT, the keyboard map (I use UK extended) will not save after reboot.

Is this a known issue? How to fix?

Many thanks

Robby

Re: keyboard mapping not saving

Posted: 30 Jun 2017, 16:43
by donald
Regarding the USM database update hang (at salix,no?) see:
Re: USM bug reports (Post by donald #55698)

Re: keyboard mapping not saving

Posted: 30 Jun 2017, 18:31
by brokenman
Modify the mirror file for the repository that hangs. Mirror files for USM can be found in /etc/usm.

To find the config file for your keyboard do the following:

Boot into Porteus and wait one minute.
Set up your keyboard how you would like it.
Open a root console and type: changes-time (type 1 and hit enter when asked for a time frame)
Issue the command: find /root/changes*

You may find the config file you need to backup in the changes* folder.

Another way is to use /etc/rc.local or some other startup script to set your keyboard. Perhaps even cheatcode:
kmap=uk
guiexec=setxkbmap~uk

Re: keyboard mapping not saving

Posted: 03 Jul 2017, 11:52
by robby3000
Thank you!

I will change the config file. .. sounds better because with cheat codes am I correct to say that you have to enter a cheat code at every boot?

Re: keyboard mapping not saving

Posted: 03 Jul 2017, 12:52
by ncmprhnsbl
robby3000 wrote:am I correct to say that you have to enter a cheat code at every boot?
not if you edit the APPEND line in the /boot/syslinux/porteus.cfg file on your boot media to include the cheatcode..

Re: keyboard mapping not saving

Posted: 03 Jul 2017, 13:20
by robby3000
Aha! That makes sense - thanks everyone for your answers. I have had a very positive impression of Porteus so far, and I'm sure it's good for me to learn a few Linux nuts and bolts!

Re: keyboard mapping not saving

Posted: 04 Jul 2017, 12:10
by robby3000
Hello again

I can't get the cheat code to work. The line in my amended porteus.cfg file is -

Code: Select all

APPEND initrd=initrd.xz changes=/porteus/porteussave.dat kmap=uk
Please tell me: what I am doing wrong?

thanks!

Re: keyboard mapping not saving

Posted: 04 Jul 2017, 13:21
by ncmprhnsbl
i think it should be:
kmap=gb
from /boot/docs/cheatcodes.txt :
A full list of supported layouts can be found in the /etc/X11/xkb/symbols folder

Re: keyboard mapping not saving

Posted: 04 Jul 2017, 13:31
by robby3000
Yes! that's it
Thank you so much :-)