Fixing Multiple Cursors PHPStorm Ubuntu

This is not a PHPStorm problem. By default Gnome comes with the Modifier to the clic so you can press that key and with the mouse clic holded move the window. But I think that it’s unnecessary and generates a problem with PHPStorm multiple cursors, now if I press Alt and clic where I need a new cursor it does nothing.

In order to fix this just change the key as the modifier.

1. Install dconf editor

sudo apt-get install dconf-editor

2. Run it with Unity

3. Search the following tree config.
org -> gnome -> desktop -> wm -> preferences

4. Change the value of the key “mouse-button-modifier” to <Super>

If you leave it none it will set the mouse to move the windows always, and it’s pretty stressful that way.

dconf editor

Now you can leave Alt key pressed and clic through the text to generate multiple cursors on PHPStorm

That’s all.

Advertisements

2 thoughts on “Fixing Multiple Cursors PHPStorm Ubuntu

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s