Re: [SLUG] keyboard layouts

2008-09-22 Thread Ben
You may find it useful to grab the colemak layout files from
colemak.com and see how they've done it. Colemak is available from the
menu in Hardy, but before then you needed to do things manually.

On Mon, Sep 22, 2008 at 1:07 PM, david <[EMAIL PROTECTED]> wrote:
> I've bought an ASUS laptop which has some strange keyboard configurations.
>
> How do you customise the keyboard layout in Hardy? The system preferences
> tool only does specific pre-ordained layouts like Dvorak etc. I want to make
> keys do odd things (eg, the "enter" key to become a period... it makes sense
> when you see the layout)
>
> What I need is a tool or config file to make any given key do exactly what
> *I* want it to do.
>
> thanks
>
> David.
> --
> SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
> Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
>
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] keyboard layouts

2008-09-21 Thread Daniel Pittman
david <[EMAIL PROTECTED]> writes:

> I've bought an ASUS laptop which has some strange keyboard
> configurations.
>
> How do you customise the keyboard layout in Hardy? The system
> preferences tool only does specific pre-ordained layouts like Dvorak
> etc. I want to make keys do odd things (eg, the "enter" key to become
> a period... it makes sense when you see the layout)
>
> What I need is a tool or config file to make any given key do exactly
> what *I* want it to do.

You need to use one of two tools: xmodmap(1) or Xkb, accessed via the
setxkbmap(1) command.  Neither is that easy to use, or that well
documented.

xmodmap is probably the best place to start, as it is significantly
easier to get started with than Xkb; for the later you would need to
define your custom keyboard layout as a new geometry specification, then
switch to that with the appropriate key assignments, etc.

Regards,
Daniel
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] keyboard layouts

2008-09-21 Thread david

I've bought an ASUS laptop which has some strange keyboard configurations.

How do you customise the keyboard layout in Hardy? The system preferences tool 
only does specific pre-ordained layouts like Dvorak etc. I want to make keys do 
odd things (eg, the "enter" key to become a period... it makes sense when you 
see the layout)


What I need is a tool or config file to make any given key do exactly what *I* 
want it to do.


thanks

David.
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html