On Ubuntu 9.10 (Karmic Koala), the bug is still here, only in gnome-terminal (and not in any other gtk or gnome app).
My setup
=======
A laptop with a Swiss French keyboard. At work, I connect a Dvorak keyboard to it. So I'm using a Swiss French layout at home and a Dvorak layout at work on the same machine.
Summary
=======
Gnome-Terminal ignore the keyboard layout in use for its keyboard shortcuts. Keyboard shortcuts will always use the default layout.
How to reproduce
==============
- In Gnome keyboard preferences, add an "exotic" layout (like a Dvorak one) in addition to a classic one. We will imply that the "classic" layout is the default one.
- Open a gnome-terminal and type some text. Then hit Ctrl+c. It should work as expected (you should see a new command prompt line).
- Switch to the "exotic" layout and type some text. You can see that the new layout is active. Now try to hit Ctrl+c in your new layout. It won't work.
- Still using "exotic" layout, if you hit Ctrl+[key corresponding to the c key in the classic layout], it will work.
- Test it with other keyboard shortcuts. You encounter the same behavior.
- Now make your exotic layout the default one (see the solution in #15). All keyboard shortcuts will work using the exotic layout, and no longer using the classic layout.
- Open another GTK or Gnome app (like The GIMP). You will see that keyboard shortcuts will work as expected instead of ignoring the current keyboard layout.
Solution to implement
=================
If one is currently using another keyboard layout than the default one, Gnome Terminal should use it for keyboard shortcuts too.
On Ubuntu 9.10 (Karmic Koala), the bug is still here, only in gnome-terminal (and not in any other gtk or gnome app).
My setup
=======
A laptop with a Swiss French keyboard. At work, I connect a Dvorak keyboard to it. So I'm using a Swiss French layout at home and a Dvorak layout at work on the same machine.
Summary
=======
Gnome-Terminal ignore the keyboard layout in use for its keyboard shortcuts. Keyboard shortcuts will always use the default layout.
How to reproduce
==============
- In Gnome keyboard preferences, add an "exotic" layout (like a Dvorak one) in addition to a classic one. We will imply that the "classic" layout is the default one.
- Open a gnome-terminal and type some text. Then hit Ctrl+c. It should work as expected (you should see a new command prompt line).
- Switch to the "exotic" layout and type some text. You can see that the new layout is active. Now try to hit Ctrl+c in your new layout. It won't work.
- Still using "exotic" layout, if you hit Ctrl+[key corresponding to the c key in the classic layout], it will work.
- Test it with other keyboard shortcuts. You encounter the same behavior.
- Now make your exotic layout the default one (see the solution in #15). All keyboard shortcuts will work using the exotic layout, and no longer using the classic layout.
- Open another GTK or Gnome app (like The GIMP). You will see that keyboard shortcuts will work as expected instead of ignoring the current keyboard layout.
Solution to implement
=================
If one is currently using another keyboard layout than the default one, Gnome Terminal should use it for keyboard shortcuts too.