PDA

View Full Version : 6.4 Keyboard Settings



jaques1
01-24-2011, 12:04 PM
I've got a keyboard setting problem using 6.4 on a flash drive.

Using System Settings/Regional & Language/Keyboard Layout I've set the Active Layout to "gb" but it doesn't survive rebootiing.

Any help would be appreciated.

krishna.murphy
01-24-2011, 04:06 PM
There has been some discussion of startup script errors here (in /etc/init.d/knoppix-autoconfig.) I personally use a modified version to keep the timezone set between boots, as it would erase my /etc/timezone file.

Cheers!
Krishna :mrgreen:

utu
01-24-2011, 05:36 PM
@ jaques1

I'm presuming you are using persistent store.
If not, do that first.

If all else fails, you can usually have /etc/rc.local to re-establish things
at each boot with some console commands.

jaques1
01-24-2011, 10:46 PM
There has been some discussion of startup script errors here (in /etc/init.d/knoppix-autoconfig.) I personally use a modified version to keep the timezone set between boots, as it would erase my /etc/timezone file.

Cheers!
Krishna :mrgreen:

Having read knoppix-autoconfig there doesn't seem to be a reason why my settings don't work. I've written a simple script (setkbmap -model pc104 -layout gb) cribbed from the GUI which works as a stopgap until I can find a better solution.

jaques1
01-24-2011, 10:47 PM
@ jaques1

I'm presuming you are using persistent store.
If not, do that first.

If all else fails, you can usually have /etc/rc.local to re-establish things
at each boot with some console commands.

Yes I'm using persistent store - for example Bluetooth loads on start up and my preferred home page appears in Iceweasel.

utu
01-25-2011, 12:25 AM
@ jaques1

I expect a solution to this partucular problem then
is to call up your script from /etc/rc.local.

For others, you might publish your script here.

There is also the possiblility that your problem is another
manifestation of an LXDE 'over-initalization' problem,
the cure for which is covered here in another thread:

http://www.knoppix.net/forum/threads/28932-Knoppix-6.4.3-Desktop-PCManFM-settings-persistence

See specifically my post #5 there.

jaques1
01-25-2011, 10:58 AM
@ jaques1

I expect a solution to this partucular problem then
is to call up your script from /etc/rc.local.

For others, you might publish your script here.

There is also the possiblility that your problem is another
manifestation of an LXDE 'over-initalization' problem,
the cure for which is covered here in another thread:

http://www.knoppix.net/forum/threads/28932-Knoppix-6.4.3-Desktop-PCManFM-settings-persistence

See specifically my post #5 there.

I tried the modification in your post #5 but lost the window function symbols at the top right of each window. Sorted things out with a reinstall. For info heres's how I derived the script instruction: Go System Settings/Regional & Language/Keyboard Layout and choose your keyboard model and active layout. The resultant entry in the Command field is all you need to use in your script (in my case: "setxkbmap -model pc104 -layout gb").