Ctrl-1 fails to insert tag
Autor de la hebra: Milos Prudek
Milos Prudek
Milos Prudek  Identity Verified
República Checa
Local time: 00:17
inglés al checo
+ ...
May 9, 2011

Hi,

I am evaluating Swordfish 2.0.6. When I press Ctrl- numkeypad 1 to insert a tag, no tag is inserted. Only the normal, top line keys work with Ctrl-1. Numpad keys do not work. I much prefer numpad to top line (because Czech keyboard requires me to press Shift to get numbers there).

Does anyone else also have this problem, especially on Linux?


 
Rodolfo Raya
Rodolfo Raya  Identity Verified
Local time: 19:17
inglés al español
Keyboard definitions May 9, 2011

Use the numbers at the top of the keyboard or make sure your numeric keypad is sending the code that corresponds to "1" when you press that key.

Notice that the actual key code sent by the main keyboard may be different from the key code sent by the numeric keypad.

On Linux you can change the codes assiged to each key at will using the system provided tools. Linux promotes customization as a big advantage but, in my personal opinion, the defaults shipped by most distr
... See more
Use the numbers at the top of the keyboard or make sure your numeric keypad is sending the code that corresponds to "1" when you press that key.

Notice that the actual key code sent by the main keyboard may be different from the key code sent by the numeric keypad.

On Linux you can change the codes assiged to each key at will using the system provided tools. Linux promotes customization as a big advantage but, in my personal opinion, the defaults shipped by most distributions are lame.

Regards,
Rodolfo
Collapse


 
Milos Prudek
Milos Prudek  Identity Verified
República Checa
Local time: 00:17
inglés al checo
+ ...
PERSONA QUE INICIÓ LA HEBRA
Anyone? May 9, 2011

I was asking if anyone else has this problem or if I am really the only one.


On Linux you can change the codes assiged to each key at will using the system provided tools.


If this were possible on a per application basis, i.e. to change it for Swordfish only, it might solve this problem. A system-wide change is less desirable. Could you tell me the names of these tools you mentioned?


 
Milos Prudek
Milos Prudek  Identity Verified
República Checa
Local time: 00:17
inglés al checo
+ ...
PERSONA QUE INICIÓ LA HEBRA
Workaround May 13, 2011

Tested workaround:
Create a file called ~/.Xmodmap:
!
! remap Numpad to standard numeric keys
!
keycode 63 = asterisk
keycode 79 = 7
keycode 80 = 8
keycode 81 = 9
keycode 82 = minus
keycode 83 = 4
keycode 84 = 5
keycode 85 = 6
keycode 86 = plus
keycode 87 = 1
keycode 88 = 2
keycode 89 = 3
keycode 90 = 0
keycode 91 = period period comma comma
keycode 104 = Return
k
... See more
Tested workaround:
Create a file called ~/.Xmodmap:
!
! remap Numpad to standard numeric keys
!
keycode 63 = asterisk
keycode 79 = 7
keycode 80 = 8
keycode 81 = 9
keycode 82 = minus
keycode 83 = 4
keycode 84 = 5
keycode 85 = 6
keycode 86 = plus
keycode 87 = 1
keycode 88 = 2
keycode 89 = 3
keycode 90 = 0
keycode 91 = period period comma comma
keycode 104 = Return
keycode 106 = slash
keycode 125 = equal

Gnome ought to autorecognize this and apply system-wide. It can also be called manually before starting Swordfish like this:

xmodmap ~/.Xmodmap
Collapse


 


To report site rules violations or get help, contact a site moderator:

Moderador(es) de este foro
Maya Gorgoshidze[Call to this topic]

You can also contact site staff by submitting a support request »

Ctrl-1 fails to insert tag






TM-Town
Manage your TMs and Terms ... and boost your translation business

Are you ready for something fresh in the industry? TM-Town is a unique new site for you -- the freelance translator -- to store, manage and share translation memories (TMs) and glossaries...and potentially meet new clients on the basis of your prior work.

More info »
Wordfast Pro
Translation Memory Software for Any Platform

Exclusive discount for ProZ.com users! Save over 13% when purchasing Wordfast Pro through ProZ.com. Wordfast is the world's #1 provider of platform-independent Translation Memory software. Consistently ranked the most user-friendly and highest value

Buy now! »