keyboard mapping not saving

Post here if you are a new Porteus member and you're looking for some help.
Post Reply
robby3000
White ninja
White ninja
Posts: 10
Joined: 29 Jun 2017, 18:51
Distribution: 32 bit
Location: London

keyboard mapping not saving

Post#1 by robby3000 » 30 Jun 2017, 12:53

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

donald
Full of knowledge
Full of knowledge
Posts: 1217
Joined: 17 Jun 2013, 13:17
Distribution: Porteus 3.2.2 XFCE 32bit
Location: Germany

Re: keyboard mapping not saving

Post#2 by donald » 30 Jun 2017, 16:43

Regarding the USM database update hang (at salix,no?) see:
Re: USM bug reports (Post by donald #55698)

User avatar
brokenman
Site Admin
Site Admin
Posts: 5554
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

Re: keyboard mapping not saving

Post#3 by brokenman » 30 Jun 2017, 18:31

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
How do i become super user?
Wear your underpants on the outside and put on a cape.

robby3000
White ninja
White ninja
Posts: 10
Joined: 29 Jun 2017, 18:51
Distribution: 32 bit
Location: London

Re: keyboard mapping not saving

Post#4 by robby3000 » 03 Jul 2017, 11:52

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?

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 961
Joined: 20 Mar 2012, 03:42
Distribution: 3.2.2-64bit xfce/openbox
Location: australia
Contact:

Re: keyboard mapping not saving

Post#5 by ncmprhnsbl » 03 Jul 2017, 12:52

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..
Forum Rules : http://forum.porteus.org/viewtopic.php?f=35&t=44

robby3000
White ninja
White ninja
Posts: 10
Joined: 29 Jun 2017, 18:51
Distribution: 32 bit
Location: London

Re: keyboard mapping not saving

Post#6 by robby3000 » 03 Jul 2017, 13:20

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!

robby3000
White ninja
White ninja
Posts: 10
Joined: 29 Jun 2017, 18:51
Distribution: 32 bit
Location: London

Re: keyboard mapping not saving

Post#7 by robby3000 » 04 Jul 2017, 12:10

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!

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 961
Joined: 20 Mar 2012, 03:42
Distribution: 3.2.2-64bit xfce/openbox
Location: australia
Contact:

Re: keyboard mapping not saving

Post#8 by ncmprhnsbl » 04 Jul 2017, 13:21

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
Forum Rules : http://forum.porteus.org/viewtopic.php?f=35&t=44

robby3000
White ninja
White ninja
Posts: 10
Joined: 29 Jun 2017, 18:51
Distribution: 32 bit
Location: London

Re: keyboard mapping not saving

Post#9 by robby3000 » 04 Jul 2017, 13:31

Yes! that's it
Thank you so much :-)

Post Reply