Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm using Ubuntu 11.10 with Unity.

Switching between applications (Alt + Tab) works, but switching between windows of one application (Alt + ') doesn't. Tried to assign Alt + ' switching to another shortcut (Super + ', Ctrl + ', Alt + F1, using system settings) but nothing works.

After install, everything was working fine.

I have ' (apostrophe) instead of `. To get that, I edited files in the /etc/X11/xkb/symbols. Of course, if this matters.

Seems like there is a problem with assigning shortcuts using system settings. When I assign between windows of the same application to Alt + Tab, it still switches between different applications. No idea what's going on.

UPDATE: The problem is fixed. I've been changing different settings of my keyboard, and one of the settings changed was XKBMODEL. I set it to "latitude" (thought it would fit better, that was really stupid). After I changed it back to "pc104", everything worked normally again. Thanks everybody for your attention!

UPDATE 2: The ` symbol still needs to be in it's place for US layout. For Russian I was able to leave ' assigned to "TLDE" button.

UPDATE 3: Seems like I have got the same problem with "Switch between windows of the same application immediately" (which is Alt + Esc by default). It doesn't work, and assigning it to another shortcut doesn't help. Any suggestions?

share|improve this question
    
Have you tried editing the /etc/X11/xkb/symbols/ back to ` instead of ' ?? –  rlemon Feb 8 '12 at 22:45
    
also according to here /etc/X11/xkb/symbols/ was moved to /usr/share/X11/xkb/symbols/* –  rlemon Feb 8 '12 at 22:47
    
@rlemon I've changed it back to "key <TLDE> { [ grave, asciitilde ] };". Unfortunately, I didn't make any backups before modifying this file, so I'm not sure if this is what I need. –  deville Feb 8 '12 at 23:04
    
What keyboard layout do you use? The window switching is usually mapped to the button above the Tab key: for example, in the case of the Hungarian keyboard layout it is mapped to <kbd>Alt</kbd>+<kbd>0</kbd>. So it depends on your keyboard layout, what key combination do you have to press to switch between windows. You could try to switch to an another keyboard layout, and see what happens. –  toros Feb 8 '12 at 23:12
    
I use English and Russian layouts, and both have "key <TLDE> { [ grave, asciitilde ] };". <TLDE> is the key above tab. Besides that, why do my attemps to assign windows switching to another shortcut fail? –  deville Feb 8 '12 at 23:23

2 Answers 2

up vote 9 down vote accepted

This was my problem too. Alt+<key above tab> didn't work to switch windows in the current application.

In addition, when i pressed and held down the super key to see the unity shortcuts, normally one would see this:

enter image description here

I'm assuming that is for a US keyboard? I stole the screenshot from another post, and on my danish keyboard it now shows Alt + Onehalf.

But when I had this problem, I did not see the line pointed to by the red arrow!!!

So check if you see a keyboard shortcut for "Switch windows of current application". If you don't this is for you:

The fix was as hinted at above to change the XKBMODEL setting in /etc/default/keyboard where I changed from XKBMODEL="microsoft4000" to XKBMODEL="pc105".

I did that and ran sudo dpkg-reconfigure keyboard-configuration. Not sure this last step was required.

Then I needed to reboot.

Now it works.

share|improve this answer

Suboptimal, but you can use the down arrow after Alt + Tab.

share|improve this answer
    
Yes, that's an option, but <kbd>Alt</kbd>+<kbd>`</kbd> would be a lot better. –  deville Feb 8 '12 at 23:28
    
No disagreement here. –  Amanda Feb 8 '12 at 23:29

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.