all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Can I make a useless key an additional Ctrl?
@ 2009-03-31 17:35 Oleksandr Manzyuk
  2009-03-31 19:57 ` Peter Dyballa
  0 siblings, 1 reply; 4+ messages in thread
From: Oleksandr Manzyuk @ 2009-03-31 17:35 UTC (permalink / raw)
  To: help-gnu-emacs

Hi, everybody!

I apologize if my question does not belong to this mailing list.

The keyboard of my laptop has a key that I do not use at all. How
come? Well, it is a Toshiba laptop purchased in Germany, so originally
it had a German keyboard, until I changed it to something looking like
a US keyboard by attaching stickers to keys. In the German layout
there was a separate key for < and > symbols; this key does not
correspond to any key in the US layout. When I press it now (having
chosen the US layout in Ubuntu keyboard settings menu) it does produce
< and >, and so do Shift-, and Shift-. (as it should be in the US
layout). The point is that this <> key is so conveniently located on
the right of the Space that it is very tempting to make it an
additional Ctrl key (my keyboard has no right Ctrl; having it would
make working with Emacs even more pleasant and satisfying). Do you
know if it is possible to remap this key to Ctrl? The potential
problem that I see is that it generates the code of the symbol <, and
I certainly don't want to lose this symbol (i.e., I don't want Shift-,
to behave as a Ctrl...). I'm a total ignoramus in these questions, so
maybe what I'm saying is stupid. Anyway, any help is appreciated!

Thanks,
Oleksandr




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Can I make a useless key an additional Ctrl?
       [not found] <mailman.4332.1238525236.31690.help-gnu-emacs@gnu.org>
@ 2009-03-31 19:00 ` Pascal J. Bourguignon
  0 siblings, 0 replies; 4+ messages in thread
From: Pascal J. Bourguignon @ 2009-03-31 19:00 UTC (permalink / raw)
  To: help-gnu-emacs

Oleksandr Manzyuk <manzyuk@googlemail.com> writes:

> Hi, everybody!
>
> I apologize if my question does not belong to this mailing list.
>
> The keyboard of my laptop has a key that I do not use at all. How
> come? Well, it is a Toshiba laptop purchased in Germany, so originally
> it had a German keyboard, until I changed it to something looking like
> a US keyboard by attaching stickers to keys. In the German layout
> there was a separate key for < and > symbols; this key does not
> correspond to any key in the US layout. When I press it now (having
> chosen the US layout in Ubuntu keyboard settings menu) it does produce
> < and >, and so do Shift-, and Shift-. (as it should be in the US
> layout). The point is that this <> key is so conveniently located on
> the right of the Space that it is very tempting to make it an
> additional Ctrl key (my keyboard has no right Ctrl; having it would
> make working with Emacs even more pleasant and satisfying). Do you
> know if it is possible to remap this key to Ctrl? The potential
> problem that I see is that it generates the code of the symbol <, and
> I certainly don't want to lose this symbol (i.e., I don't want Shift-,
> to behave as a Ctrl...). I'm a total ignoramus in these questions, so
> maybe what I'm saying is stupid. Anyway, any help is appreciated!

You can, by editing ~/.xmodmap ; google for xmodmap

-- 
__Pascal Bourguignon__


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Can I make a useless key an additional Ctrl?
  2009-03-31 17:35 Oleksandr Manzyuk
@ 2009-03-31 19:57 ` Peter Dyballa
  2009-03-31 20:31   ` Oleksandr Manzyuk
  0 siblings, 1 reply; 4+ messages in thread
From: Peter Dyballa @ 2009-03-31 19:57 UTC (permalink / raw)
  To: Oleksandr Manzyuk; +Cc: help-gnu-emacs


Am 31.03.2009 um 19:35 schrieb Oleksandr Manzyuk:

> Ubuntu


Yes. Xmodmap is the utility. Determine with xev the keycode, assign  
it a keysym(bol) like Control_R or Control_L and add it among the key  
modifiers.

	keycode <whatever> = Control_R
	add Control = Control_R

This can be done in ~/.xinitrc or ~/.xsession, whichever your X  
server prefers.

--
Greetings

   Pete                                           0
                                            %-/\_//
                                             (*)(*)






^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Can I make a useless key an additional Ctrl?
  2009-03-31 19:57 ` Peter Dyballa
@ 2009-03-31 20:31   ` Oleksandr Manzyuk
  0 siblings, 0 replies; 4+ messages in thread
From: Oleksandr Manzyuk @ 2009-03-31 20:31 UTC (permalink / raw)
  To: help-gnu-emacs

On Tue, Mar 31, 2009 at 3:57 PM, Peter Dyballa <Peter_Dyballa@web.de> wrote:
>
> Am 31.03.2009 um 19:35 schrieb Oleksandr Manzyuk:
>
>> Ubuntu
>
>
> Yes. Xmodmap is the utility. Determine with xev the keycode, assign it a
> keysym(bol) like Control_R or Control_L and add it among the key modifiers.
>
>        keycode <whatever> = Control_R
>        add Control = Control_R
>
> This can be done in ~/.xinitrc or ~/.xsession, whichever your X server
> prefers.

Worked like a charm! Vielen herzlichen Dank!




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-03-31 20:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.4332.1238525236.31690.help-gnu-emacs@gnu.org>
2009-03-31 19:00 ` Can I make a useless key an additional Ctrl? Pascal J. Bourguignon
2009-03-31 17:35 Oleksandr Manzyuk
2009-03-31 19:57 ` Peter Dyballa
2009-03-31 20:31   ` Oleksandr Manzyuk

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.