VirtualBox

Ticket #979 (closed enhancement: fixed)

Opened 6 years ago

Last modified 3 years ago

host key combinations would be very convenient

Reported by: forest Owned by:
Priority: major Component: GUI
Version: VirtualBox 1.5.0 Keywords:
Cc: Guest type: other
Host type: other

Description

I often work with my right hand on the mouse and my left on the "asdf" keys, so common key combinations (like control-c, alt-mouse-click, etc.) are immediately accessible. Unfortunately, VirtualBox supports only a single key as the "host key", which means that choosing any key within reach of my left hand is pretty much out of the question, because they all conflict with common operations. This leaves me stuck with a host key on the right side of the keyboard, which forces me to move a hand from its home position to reach the key, and then move it back again whenever I need the host key. That's pretty irritating.

QEMU and VMware both solve this problem nicely by using a combination of keys (control+alt) as their "host key". I wish I could make VirtualBox do the same.

Change History

comment:1 Changed 6 years ago by frank

  • Component changed from other to GUI

comment:2 Changed 6 years ago by A20_user

I support this feature request!

comment:3 Changed 5 years ago by myxiplx

Definately, I'd love to see this too.

comment:4 Changed 5 years ago by kronenpj

I can't say how many times I've reset my Windows box because I was using Alt-R to reply to a message in Outlook. This would be very nice for me as well.

comment:5 Changed 5 years ago by frank

I agree that we should allow host key combinations as well. But keep in mind that there is a warning which appears before you can reset the guest. If that message does not appear then you have probably disabled that message. Either enable all warnings again (VM selector, Help / Reset all warnings) or manually edit the VirtualBox.xml file (make sure that no VBoxSVC instance is running!) and delete confirmVMReset.

comment:6 Changed 5 years ago by kookyman

+1 to this request.

comment:7 Changed 5 years ago by bughunter2

Too bad we don't have votes here for feature requests ;) I support this one too anyway, if it helps.

comment:8 Changed 5 years ago by markedwards

Please register another very enthusiastic vote for this feature request!

This would help solve a major issue when using VirtualBox on OS X, which is that the default host key is left-control, which is also used to switch between Spaces (virtual desktops). If you are running a VM fullscreen on one virtual desktop and you inadvertently hit left-control by itself, you are all of a sudden stuck inside the VM and can't get to another virtual desktop until you hit left-control and release it.

My suggestion -- make the default host key control-alt. That makes it harder to press accidentally, that makes it less likely to overlap with common host OS keyboard shortcuts, and that makes the "Insert Ctrl-Alt-Del" command default to Ctrl-Alt-Del. This would make a lot more sense to new users.

comment:9 Changed 5 years ago by tebokkel

It's a bloody shame this feature still isn't in the regular build. Who on earth thought Left-CMD would be the best key (by default) on OS X? For touch typists as myself it's used more (on OS X) than Control!! I settled for Right Control, but really..

comment:10 Changed 5 years ago by frank

Its a bloody shame that you still didn't provide a patch...

comment:11 Changed 5 years ago by pjank

Me too!!!
Waiting for an option to select a key combination as the "Host Key"... So something like Ctrl+Alt, or better yet rightCtrl+Shift would be possible.

Right now I'm struggling with "Right Ctrl" or sometimes "Scroll Lock".
Can't use "Left Ctrl" - too much standard keystrokes depend on that.
"Left Alt" - same as above. Perhaps someone using the mouse all the time doesn't care, but please... for somebody using various keyboard shorcuts all the time this is really a significant drawback.
"Right Alt" - this one's used for entering special localized characters (Polish programmers keyboard layout).
"Right Ctrl" - sounds fine... until you forget you should have used the Left one for standard keystrokes and hit e.g. rightCtrl+R to "refresh" a page or something and everything goes away (VM reboot). This just happened for me a moment ago - AGAIN!! ;(

Last one I've mentioned - "Scroll Lock" - seems OK, as long as you have it on your keyboard (many laptops don't, at least not without some additional Fn key). And there's another problem - this key wasn't designed to work as a "modifier" (used together with other keys), so this sometimes causes trouble. Same goes for other "obscure" keys like F11, F12. I've tried them all, and it turned out I use even those all the time in one of my everyday apps.

So once again - PLEASE - allow at least combinations of Ctrl/Alt/Shift!

Or... this would be the best solution: allow to edit individual hotkeys for all those menu options (fullscreen, seamless, resize, snapshot, reboot, etc. - you set the ones you need, disable others, and everybody is happy ;))

comment:12 Changed 4 years ago by Technologov

This wish is still relevant for VBox 3.1.x.

-Technologov

comment:13 Changed 4 years ago by kopacekj

Hello,

I'd like to second these requests, it would be very very convenient ... As of release 3.1.4 - still no sign of reaction :-(

Do please tell us if we can hope or forget about it

Thank you for your great work

Jiri

comment:14 Changed 4 years ago by dylanjustice

The lack of this is becoming more and more infuriating with every passing year. YES YES YES.

comment:15 Changed 4 years ago by michaln

To us it's a little infuriating that the "community" would rather spend years complaining loudly than contributing a patch. That is a clear sign that no one needs this feature all that much, and our time would be better spent working on other features.

comment:16 Changed 4 years ago by dsjstc

Sorry to have angered you, michaln. I feel strongly that this would be a useful feature, and I think it's important that people advocate their particular issues. But to respond to your comment, I'm not a member of any interested community that I'm aware of. It's just me, alone in a room. I bet every other commenter up there is too.

You may be right that this project is one of the easier ways for me to give something back to the open-source world. If I can get a successful build with no more than four hours of effort, I'll start learning C and working on a patch. Hopefully one that doesn't go into a black hole somewhere. Most of them do, you know. It's not as easy as you make it sound

comment:17 Changed 4 years ago by michaln

dsjstc, I don't think anyone is/was angry (certainly not me) and my comments were not directed at you, or anyone in particular.

But it is worth pointing out that when people are demanding (as opposed to politely asking for) a feature in a free product that they probably hadn't contributed anything to, it actually doesn't make that feature more likely to get done.

What is on the other hand helpful is explaining why users want a specific feature, because they may have needs we simply never thought of.

comment:18 Changed 4 years ago by dsjstc

Amusingly, it took me just under four hours to get a successful build. So I guess I'm on the hook to actually try and write this patch.

For the record, my particular desire for it is because the default Ubuntu next/prev workspace keys are ctrl-alt-right/left. I think it would improve my workflow a lot if I could press those keys from within a windows guest.

comment:19 Changed 4 years ago by michaln

dsjstc - BTW if you have questions related to VirtualBox development, the #vbox-dev IRC channel on freenode is a good place to ask them.

comment:20 Changed 3 years ago by frank

  • Status changed from new to closed
  • Resolution set to fixed

comment:21 Changed 3 years ago by pjank

  • Status changed from closed to reopened
  • Resolution fixed deleted

Hello!? What do you mean "fixed"?

Is there a hidden option somewhere that allows me to assign key *combinations* as a "host key"? I don't see it in version 4.0.4...

comment:22 Changed 3 years ago by frank

  • Status changed from reopened to closed
  • Resolution set to fixed

Sorry, fixed in 4.0.6, see website.

comment:23 Changed 3 years ago by pjank

Oh, there it is! :) I did check the main website 20 minutes ago, and "the news" was still version 4.0.4 :-)

BTW: Most of the fixed bugs in Changelog have numbers around 8000. This one: #979. Isn't that interesting? :) There should be a party or something... we've waited for so long ;-)

Thank you!

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use