4

Ubuntu 18.04.01 upgraded from 16.04

Shift Alt Down does not work in PHPStorm. Also, I can't assign any shortcut to it and it is not recognized as a shortcut (but top, left, and right do get recognized.

I use PHPStorm and cannot do a Move Line Down because of this.

cat /etc/default/keyboard
XKBLAYOUT=us
XKBVARIANT=intl
BACKSPACE=guess

enter image description here

EDI: I have reinstalled the OS (18.04.1) just to ensure it wasn't a problem with updating. BUT I kept my home folder. It doesn't work either. But my Gnome extensions are there, so maybe there is a config directory for it in my home folder? Previous to reinstall, I renamed the folders gconf, gnome and compiz in the home folder.

JorgeeFG
  • 2,098

3 Answers3

1

Try a basic keyboard configuration. In my 16.04 and 18.04 it is setup like this:

$ cat /etc/default/keyboard
# KEYBOARD CONFIGURATION FILE

# Consult the keyboard(5) manual page.

XKBMODEL="pc105"
XKBLAYOUT="us"
XKBVARIANT=""
XKBOPTIONS=""

BACKSPACE="guess"

There is a bug report: Unable to use shortcuts with keyboard layout switcher on Ubuntu MATE, 16.04 (with HWE), 17.10 and 18.04 LTS

Unfortunately the bug report has no fix yet.


Fortunately there is a solution that might work posted by Norbert in another forum: Keyboard layout switching problems and poll:

sudo add-apt-repository ppa:nrbrtx/xorg-hotkeys
sudo apt-get update
sudo apt-get dist-upgrade

Please read both links thoroughly before proceeding.

0

I certainly don't know the exact answer of why this happened or what is the related config.

I saw that with a new user, this problem and the Super L to lock not working, were solved.

So I tried copying the .config directory of the new user, but it didn't work. Then I copied all the files and directories beginning with a dot (hidden) including the .profiles and it worked. I lost all the configs, but it is worth.

JorgeeFG
  • 2,098
0

It doesn't work because most probably Alt + Shift switches input language for you and it doesn't let PHPStorm use that shortcut. Bad bad gnome.

mevsme
  • 561