keyboard mapping not saving

Post here if you are a new Porteus member and you're looking for some help.

keyboard mapping not saving

Postby robby3000 » 30 Jun 2017, 13: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
robby3000
White ninja
White ninja
 
Posts: 10
Joined: 29 Jun 2017, 19:51
Location: London
Distribution: 32 bit

Re: keyboard mapping not saving

Postby donald » 30 Jun 2017, 17:43

Regarding the USM database update hang (at salix,no?) see:
USM bug reports
donald
Full of knowledge
Full of knowledge
 
Posts: 1084
Joined: 17 Jun 2013, 14:17
Location: Germany
Distribution: Porteus 3.2.2 XFCE 32bit

Re: keyboard mapping not saving

Postby brokenman » 30 Jun 2017, 19: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.
brokenman
Site Admin
Site Admin
 
Posts: 5400
Joined: 27 Dec 2010, 04:50
Location: Brazil
Distribution: Porteus v3.2rcX all desktops

Re: keyboard mapping not saving

Postby robby3000 » 03 Jul 2017, 12: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?
robby3000
White ninja
White ninja
 
Posts: 10
Joined: 29 Jun 2017, 19:51
Location: London
Distribution: 32 bit

Re: keyboard mapping not saving

Postby ncmprhnsbl » 03 Jul 2017, 13: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
User avatar
ncmprhnsbl
Full of knowledge
Full of knowledge
 
Posts: 726
Joined: 20 Mar 2012, 04:42
Location: australia
Distribution: 3.2.2-64bit xfce/openbox

Re: keyboard mapping not saving

Postby robby3000 » 03 Jul 2017, 14: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, 19:51
Location: London
Distribution: 32 bit

Re: keyboard mapping not saving

Postby robby3000 » 04 Jul 2017, 13: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!
robby3000
White ninja
White ninja
 
Posts: 10
Joined: 29 Jun 2017, 19:51
Location: London
Distribution: 32 bit

Re: keyboard mapping not saving

Postby ncmprhnsbl » 04 Jul 2017, 14: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
User avatar
ncmprhnsbl
Full of knowledge
Full of knowledge
 
Posts: 726
Joined: 20 Mar 2012, 04:42
Location: australia
Distribution: 3.2.2-64bit xfce/openbox

Re: keyboard mapping not saving

Postby robby3000 » 04 Jul 2017, 14:31

Yes! that's it
Thank you so much :-)
robby3000
White ninja
White ninja
 
Posts: 10
Joined: 29 Jun 2017, 19:51
Location: London
Distribution: 32 bit


Return to Newbie questions



Who is online

Users browsing this forum: No registered users and 3 guests