After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 539796 - Ctrl+Z in Terminal doesn't work with dvorak layout
Ctrl+Z in Terminal doesn't work with dvorak layout
Status: RESOLVED DUPLICATE of bug 162726
Product: gnome-terminal
Classification: Core
Component: Keybindings
2.22.x
Other Linux
: Normal normal
: ---
Assigned To: GNOME Terminal Maintainers
GNOME Terminal Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-06-23 17:52 UTC by Pedro Fragoso
Modified: 2009-07-08 17:48 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22



Description Pedro Fragoso 2008-06-23 17:52:58 UTC
This was reported on https://bugs.launchpad.net/ubuntu/+source/gnome-terminal/+bug/204202

gnome-terminal doesn't respect the Dvorak keyboard layout correctly. When pressing Ctrl+Z to suspend a process the text size is instead decreased. Ctrl+Z on Dvorak is on top of the '-' key on Qwerty so I assume that it is somehow interpreted on the key code level.

Operation: Pressing Ctrl+Z in the terminal window
Expected behavior: The currently running program is suspended
Current behaviour: Text size is decreased

Note that the text size can be decreased by Pressing Ctrl+- on the Dvorak layout (the correct behavior for this command).
Note also that the same is valid for Ctrl+'+', i.e. pressing the physical key of Qwerty plus is interpreted as plus but it should use the Dvorak layout equivalent key.
Comment 1 Christian Persch 2008-06-23 18:56:52 UTC
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.


*** This bug has been marked as a duplicate of 162726 ***
Comment 2 Arno Teigseth 2009-07-08 17:48:00 UTC
OK I commented the same on bug 162726, but who knows maybe it helps someone...

SOLUTION IN UBUNTU JAUNTY
I too suddenly got this strange behaviour, but it used to work before.

Behaviour: In gnome-terminal, before I could start typing a command and then cancel it by pressing Ctrl+I on a qwerty keyboard. That is Ctrl+C on a dvorak.

Suddenly I could not. In fact all Ctrl+<whatever> did not work in gnome-terminal. But they did in openoffice, firefox etc.

After some head scratching and googling I found some hints saying it helped to delete the US layout. Made me think about that I recently had updated my keyboard configuration file (http://arno.homelinux.org/dvorak/), and to make xkb take it into consideration I usually 
0) Copy the xkb file into /usr/share/X11/xkb/symbols/
1) Open keyboard preferences and delete the dvorak layout
2) Open keyboard preferences and add the dvorak layout again
Now I can type my updated keyboard.

-But this time the "US Ctrl keys" are in effect no matter what I try, even when choosing the dvorak layout.

MY SOLUTION:
-------------------------------------------
1) Open keyboard preferences and delete all but the dvorak layout
2) Add the layouts again.
3) Enjoy.
-------------------------------------------

To me this is STILL A BUG, since now when I select US keyboard, I have to press Ctrl+I to get a Ctrl+C. In other words, dvorak rules the Ctrl-key. However since I never use anything but my custom layout I'm not very much affected...

When thinking about it, I probably never saw this bug before because I chose Norway dvorak during the install process. It is actually the system default layout, to my cow-orkers' despair. ;)

I'm writing this long story to remember it myself, maybe it will help you too.