Ctrl+F4 doesn't work in KDE for Firefox / Chrome / Chromium

5,890

Solution 1

The reason Ctrl-F4 doesn't work in KDE is because KWin uses the same keyboard shortcut for switching between workspaces. If you would really want to use Ctrl-F4, you might want to consider editing the KWin keyboard settings.

To do that, open System Settings and go to Shortcuts and Gestures.

System settings

Then navigate to Global Keyboard Shortcuts and choose Kwin from the KDE component dropdown.

Kwin

Scroll down all the way until you see Switch to Desktop 4 option. Click on the shortcut and choose Custom and either select a different shortcut or leave it as empty.

Removing the shortcut

You should now be able to use Ctrl-F4 to close tabs in Firefox.


Related:

Solution 2

In Xubuntu, keyboard shortcut settings can be find in this path: Settings→Settings Manager→Window Manager→Keyboard

enter image description here

Share:
5,890

Related videos on Youtube

Anwar
Author by

Anwar

Ubuntu user since 8.04. Computer Addict. Constant changer of Distro & DE. I love Softwares and tweaking/playing with them. Introvert. Friendly. Neither too social, nor completely unsocial. I prefer being alone or with small group of people. I love collecting beautiful fonts and use them in my desktop. I programmed in C, Java, Ruby (my current favorite) and a little Python, JS. I'm not a native English speaker, thus may have ambiguities or mistakes in my answers. Editing is Welcome.

Updated on September 18, 2022

Comments

  • Anwar
    Anwar almost 2 years

    I observed that the shortcut for closing a tab in Firefox/Chrome/Chromium (Ctrl+F4) doesn't work on KDE. It seems it is being intercepted by KWin.

    Is there any fix or workaround for this problem?

  • Ufoguy
    Ufoguy over 10 years
    If you don't want to do all this then just use Ctrl+W instead. It works perfectly in Linux Mint 15.