Welcome to Soft32 Linux Forums!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

XKB: remapping Control and Shift does not work

 
   Soft32 Home -> Linux -> X Window System RSS
Next:  The Eric S. Raymond method (a.k.a. Raymondism)  
Author Message
egarrulo

External


Since: Feb 25, 2009
Posts: 3



(Msg. 1) Posted: Wed Feb 25, 2009 3:20 pm
Post subject: XKB: remapping Control and Shift does not work
Archived from groups: comp>os>linux>x (more info?)

Hi,

I've created my own keyboard layout where the Control is where Tab is,
and the Shift key is where 1 is. I've remapped Tab onto a letter key.
I've added the layout to /etc/X11/xkb/symbols. I'm using Ubuntu Linux
6.06 LTS.

Well, Control + Tab works, but Control + Shift + Tab does not. Here
is the layout:

partial alphanumeric_keys modifier_keys
xkb_symbols "my-layout" {

name[Group1]= "My layout";

// showing only relevant lines

key <AE01> { type[Group1]="ONE_LEVEL", [ Shift_L ] };
key <TAB> { type[Group1]="ONE_LEVEL",[ Control_L ] };
key <AB04> {type[Group1]="CTRL+ALT", [ Tab, ISO_Left_Tab ] };

modifier_map Shift { Shift_L, Shift_R };
modifier_map Lock { Caps_Lock, ISO_Lock };
modifier_map Control{ Control_L, Control_R };
modifier_map Mod1 { <ALT>, <LALT> };
modifier_map Mod1 { Alt_L, Meta_L };
};

Thanks in advance
Back to top
Login to vote
egarrulo

External


Since: Feb 25, 2009
Posts: 3



(Msg. 2) Posted: Thu Feb 26, 2009 2:16 pm
Post subject: Re: XKB: remapping Control and Shift does not work [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Well, I found out that Control + Shift seems to be working since
Firefox does distinguish between Control + Enter and Control + Shift +
Enter. Then I'm puzzled even more...
Back to top
Login to vote
egarrulo

External


Since: Feb 25, 2009
Posts: 3



(Msg. 3) Posted: Thu Feb 26, 2009 2:22 pm
Post subject: Re: XKB: remapping Control and Shift does not work [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On 26 Feb, 23:16, egarr... RemoveThis @gmail.com wrote:
> Well, I found out that Control + Shift seems to be working since
> Firefox does distinguish between Control + Enter and Control + Shift +
> Enter. Then I'm puzzled even more...

Still talking about Firefox, Control + T works (e.g. open a new tab)
whilst Control + Shift + T (e.g. undo close tab) does not. Here is the
T key:

key <AD08> { [ t, T, parenleft ] };
Back to top
Login to vote
Display posts from previous:   
Related Topics:
FC: control/shift+left/right/up/down not working - Well, in my xterm's I cannot use shift+left, shift+right and so on. If I do, I get: shift+left: 2D shift+right: 2C..

Trouble getting Audigy remote control to work under RH9 - I've got a Creative Audigy card, which works just fine under Redhat 9, except I can't seem to get the remote-control to...

Jon needs a new shift key. - Signed-off-by: Dave Jones <davej@redhat.com> --- linux-2.6.19.noarch/drivers/media/video/ov7670.c~ 2006-12-12..

[gentoo-user] Shift-Insert in Eterm? - Hi, How can I set a Shift-Insert to paste the contents of the copy buffer in Eterm? Thanks, -- Hareesh Nagarajan WEB...

[gentoo-user] Time shift (was: Gensplash) - -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello Akriel, these are the interesting headers of your last message -....

X display shift with disabled console blanking - I have a problem whereby the X display 'shifts' to left when anything writes to /dev/console - where console screen..
       Soft32 Home -> Linux -> X Window System All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Categories:
 Windows
  Linux
 Mac
 PDA


[ Contact us | Terms of Service/Privacy Policy ]