Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In Kali Linux, I used to shift between windows via option+tab now I have to option+shift+tab ; how do I revert? #870

Open
DeepakTivari opened this issue Jul 15, 2024 · 3 comments
Assignees
Labels
question Further information is requested

Comments

@DeepakTivari
Copy link

DeepakTivari commented Jul 15, 2024

In Kali Linux, On my Mac I used to switch between windows via option+tab now I have to option+shift+tab ; what do I change in ~/.config/kinto/kinto.py to switch windows via option+tab on my Mac

thank you

@DeepakTivari DeepakTivari added the question Further information is requested label Jul 15, 2024
@RedBearAK
Copy link
Contributor

@DeepakTivari

I may be off-base here, but have you tried Cmd+Tab? Option+Tab should be getting blocked by the Kinto config, because task switching on macOS is done with Cmd+Tab (or physical Alt+Tab on a PC keyboard).

On the other hand, Shift+Option+Tab isn't actively blocked in the config, so that still works. But the point of the config is to make things work as if you were using macOS. Cmd+Tab, and Shift+Cmd+Tab should do the normal task switching. In the config these are shown here as "RC-Tab" and "RC-Shift-Tab", which are remapped onto "Alt-Tab" and "Alt-Shift-Tab".

kinto/linux/kinto.py

Lines 554 to 556 in 4a3bfe7

K("Alt-Tab"): pass_through_key, # Default - Cmd Tab - App Switching Default
K("RC-Tab"): K("Alt-Tab"), # Default - Cmd Tab - App Switching Default
K("RC-Shift-Tab"): K("Alt-Shift-Tab"), # Default - Cmd Tab - App Switching Default

Where it says pass_through_key here is actually a way to block the Alt+Tab (Option+Tab if you're on an Apple keyboard) shortcut. You could just comment out that line and restart Kinto, if you really want to use Option+Tab again. But normally it's much less awkward to use Cmd+Tab.

@DeepakTivari
Copy link
Author

But normally it's much less awkward to use Cmd+Tab

Cmd+Tab is used for me to switch between applications running on my Mac, even when I am working inside the Kali Linux VM, hence I use the Option+Tab key to switch windows inside the Kali Linux VM

Commenting out the "pass_through_key" line works for me, thank you very much!

@RedBearAK
Copy link
Contributor

@DeepakTivari

Cmd+Tab is used for me to switch between applications running on my Mac, even when I am working inside the Kali Linux VM, hence I use the Option+Tab key to switch windows inside the Kali Linux VM

Ah, that's a situation where it can actually make sense to stick to the Option+Tab for switching inside the VM. On my Linux laptops I am fortunately able to use trackpad gestures to just swipe away from the VM in a different workspace, that way the Cmd+Tab equivalent shortcut is usable in both the host and the guest.

I'm sure you know this but you can usually get the VM to release the keyboard with a shortcut combo like Ctrl+Alt. This can also allow the same task switching combo to be used in the guest and the host. But it can be a bit awkward. You usually have to click inside the VM window to get it to grab the keyboard again.

You should close this if your issue is resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants