3

I get this hovering bar as an artifact popping many times per hour without pressing Alt-Tab, which duration 3-15 seconds with/without interaction of mouse/touchpad/keyboard

  • booting other Ubuntus and Linuxes other than 16.04 does not lead to the same problem etc with USB boots so it is a software problem in 16.04, not hardware problem (this laptop has been 3x in Support and has regular checkups)

enter image description here

  • Artifact activates sometimes just by touches with touchpad
  • Sneetsher's one-liners do not resolve the case

    # disable Alt-tab keybinding
    dconf write /org/compiz/profiles/unity/plugins/unityshell/alt-tab-forward "'Disabled'"
    dconf write /org/compiz/profiles/unity/plugins/unityshell/alt-tab-prev "'Disabled'"
    dconf write /org/compiz/profiles/unity/plugins/unityshell/alt-tab-forward-all "'Disabled'"
    dconf write /org/compiz/profiles/unity/plugins/unityshell/alt-tab-forward "'Disabled'"
    # prevent it, since complete disable not possible
    dconf write /org/compiz/profiles/unity/plugins/core/active-plugins "$(dconf read /org/compiz/profiles/unity/plugins/core/active-plugins | sed "s/]/, 'staticswitcher']/")"
    
  • JonasCz's answer. His proposal is the same as Sneetsher's first set of one-liners. In other words, the compizconfig-settings-manager package does not disable the hovering bar. It only disables ALT-Tab key. I still get the artifact from the touchpad only.

  • Default settings. I have default Compiz settings. No hot-corners etc.

enter image description here

I really would like to have one liner about disabling the feature because it helps me much in many systems and future upgrades/updates.

Troubleshooting methods active

  • JonasCz. Keeping now xev on and trying to found which inputs causes the artifact.

Systems: Ubuntu 16.04
Linux kernel: 4.4 and 4.6
Linux kernel options: wl
Keyboard layout: Dvorak-US = English (Dvorak)
Hardware: Macbook Air 2013-mid (6.2)

3 Answers3

2

You can disable the Alt + Tab switcher in Compiz Settings manager. To do so:

  • Install the Compiz Settings manager with

    sudo apt-get install compizconfig-settings-manager
    
  • Find "CompizConfig Settings manager" in the dash, open it, find the Ubuntu Unity plugin, go to the "Switcher" tab, and disable all shortcuts and checkboxes.

This will disable the Alt + tab application switcher popup.

Jonas Czech
  • 4,047
1

There is some thing you may try:

  1. Same as JonasCz, disable shortcuts of switcher by ccsm → Desktop section → Ubuntu Unity Plugin → Switcher tab or using commands:

    dconf write /org/compiz/profiles/unity/plugins/unityshell/alt-tab-forward "'Disabled'"
    dconf write /org/compiz/profiles/unity/plugins/unityshell/alt-tab-prev "'Disabled'"
    dconf write /org/compiz/profiles/unity/plugins/unityshell/alt-tab-forward-all "'Disabled'"
    dconf write /org/compiz/profiles/unity/plugins/unityshell/alt-tab-forward "'Disabled'"
    

    Still one shortcut I wasn't able to find Alt`, seem hard-coded that why they flag this as duplicate of How do I modify or disable the HUD's use of the Alt key?

  2. As there is no way to disable default unity switcher, try overriding it by another. Do in Window Management section → Enable Application Switcher or Static Application Switcher or using command:

    dconf write /org/compiz/profiles/unity/plugins/core/active-plugins "$(dconf read /org/compiz/profiles/unity/plugins/core/active-plugins | sed "s/]/, 'staticswitcher']/")"
    
user.dz
  • 49,176
0

In Unity tweak tool (that can be installed by sudo apt-get install unity-tweak-tool or sudo apt install unity-tweak-tool in 16.04) go to Switcher, disable everything and see if it works. If neither of the answers work, chances are your touchpad and keyboard share inputs and the touchpad has gone crazy.

EDIT: If nothing happens, boot into another OS and see if a similar switcher pops up by pressing Alt+Tab and again by using the touchpad. If this keeps happening, then it's a hardware problem.