Ubuntu – disable Dash and HUD hotkeys when fullscreen (in DOSBox)

dosboxfullscreenhudunityunity-dash

I'd like to know if its possible to disable the global hotkeys (Start and Alt) for Unity features while running applications in fullscreen under DOSBox.

If possible, it would be nice to disable them for all applications running fullscreen, but DOSbox is my specific use-case.

I'm otherwise completely happy with HUD and Dash.

The issue manifests as follows:

  1. Start DOSBox in fullscreen mode

  2. Hitting AltX (or whatever) is delivered to the game as appropriate, but if you hesitate or change your mind and just release alt you get flipped out of DOSBox fullscreen to display the HUD. This involves a change of screen resolution so is quite slow.

  3. Hit ESC to exit HUD and exhibit another screen-resolution change, which is rather frustrating.

Best Answer

I found that the HUD (ALT) and Ubuntu Menu (SUPER) keys are very annoying for any application... so the way I fixed this was changed the keybinds to something a bit more appropriate for me. This might help you, so I'm going to outline how I did this:

First you need to install a program to manage Unity and other Compiz settings called "CompizConfig Settings Manager:

sudo apt-get install compizconfig-settings-manager
  1. Run CompizConfig Setting Manager, by looking for it in the Dash (Ubuntu's Main Menu).
  2. Under the Desktop section, look for Ubuntu Unity Plugin, and click on it.
  3. Change the values you need. The button you need to press is next to the titles I give below:
    • Key to show the HUD - I disabled the HUD, but you could use: CTRL + ALT instead.
    • Key to show the Launcher - I changed this to CTRL + Super, however it shows ControlPrimarySuper - this is fine, since CTRL+Super still works as it should. Pick whatever you feel comfortable using.
  4. Click the Back key when your done. Please note changes above should change instantly.

The main reason I did this too, was because I like freeing up my Super key to be able to do other shortcuts. For example Super+T = Terminal, Super+g = Gedit, Super+c = Chrome, Super+PrtScn = grab section of the screen (for taking screenshots). If you want to set something like this... then the section is called "General" and the button to press is "Commands". Please leave "Command Line 0" as blank, I noticed mine has a key binding of Mod2Escape - and wasn't sure if this was important for anything, so I started from "Command Line 1".

Hope this helps you.