Ubuntu – Make ALT+D act like ALT+TAB – HUD

google-chromehudshortcut-keys

I am using the Alt key very often and I do like the HUD and want to keep both.

This is my problem: I always use Alt+D in Chrome to access the URL bar and I'm doing this very fast, but then HUD annoyingly pops up.

When pressing ALT + Tab very fast the HUD won't pop up, but if pressing ALT + D just as fast the HUD will pop up.

Is there a way to make it work like when pressing Alt+Tab, but with Alt+D? or edit the timer for how long I have to press until it won't pop up?

Best Answer

There are several ways to go about this. Here are three options I can suggest you to try. It really depends on how you prefer to go about it for your system.

System Settings - Option 1

Change what key calls your HUD or completely disable it like so:

System settings… 

 1. -> Keyboard 
 2. -> Shortcuts tab 
 3. -> Launchers

Assign a new key to “Key to show the HUD" or Disable

enter image description here

There are alternate solutions for editing your system settings in this Q&A How do I modify or disable the HUD's use of the Alt key? .

Program Driven - Option 2

Maybe try editing your global hotkeys with a program.

xbindkeys | With this option you'll have to know how to call capabilities though shell commands.

(Other suggestions? Leave a comment and I'll add it.)

Programming Driven - Option 3

Here is a answer on SO that you may find useful regardless of what you do. This is a good answer to review especially if you choose to do this on your own programmatically along with this: Q&A How can I programatically show/hide my app window with global shortcut key?.

Related Question