Hi,
I use puppy lucid 5.25.
I wish to know how can i script / change a file in the system so every time xorgwizard recreate "xorg.conf" file - it will automaticlly add my keyboard settings:
1. language support: US + additional foreign language.
2. set the ALT+SHIFT as the key for switching the keyboard language.
Today, xorgwizard automatically create xorg.conf and set US as the only language available. so it forces me every time to use "KXB configuration" tool.
I wish that it will do it automatically for my config as I stated above.
THANKS !!!
[SOLVED]How to set default keyboard setting in xorg.conf
-
- Posts: 30
- Joined: Sun 07 Aug 2011, 17:13
[SOLVED]How to set default keyboard setting in xorg.conf
Last edited by night_mare007 on Fri 12 Aug 2011, 21:31, edited 1 time in total.
- technosaurus
- Posts: 4853
- Joined: Mon 19 May 2008, 01:24
- Location: Blue Springs, MO
- Contact:
in /etc/X11/xorg.conf
you should see something liketry changing that
...for scripting you can add stuff to /root/.xinitrc ($HOME/.xinitrc)
you should see something like
Code: Select all
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc102"
Option "XkbLayout" "us" #xkeymap0
EndSection
...for scripting you can add stuff to /root/.xinitrc ($HOME/.xinitrc)
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].
-
- Posts: 30
- Joined: Sun 07 Aug 2011, 17:13
m8...in /etc/X11/xorg.conf
you should see something like
thank for tha fast reply... but mybe it was too fast: have read my post at all ?
I know what's in xorg.conf.
I can and must set the keyboard settings MANUALLY every time after xorgwizard works ( cuz it's rebuilding xconf.conf and purge/rename the old one ).
I want an AUTOMATED solution.
every idea in that direction will be welcome.
- Dougal
- Posts: 2502
- Joined: Wed 19 Oct 2005, 13:06
- Location: Hell more grotesque than any medieval woodcut
Open /usr/sbin/xorgwizard and find the bit that looks like
and replace the last line to
Code: Select all
TEMPSECTION="$TEMPSECTION
Option \"XkbRules\" \"xorg\"
Option \"XkbModel\" \"pc102\"
Option \"XkbLayout\" \"$XKEYMAP\" #xkeymap0"
Code: Select all
Option \"XkbLayout\" \"$XKEYMAP,us\" #xkeymap0
Option \"XkbOptions\" \"grp:alt_shift_toggle,grp_led:scroll\" "
What's the ugliest part of your body?
Some say your nose
Some say your toes
But I think it's your mind
Some say your nose
Some say your toes
But I think it's your mind
-
- Posts: 30
- Joined: Sun 07 Aug 2011, 17:13
SOLVED !
WONDERFULL !!!!! YES !!!!
That's the answer !!!
THANK YOU Dougal !!!
That's the answer !!!
THANK YOU Dougal !!!