Package Base Details: intellij-idea-ultimate-edition

Git Clone URL: https://aur.archlinux.org/intellij-idea-ultimate-edition.git (read-only)
Submitter: uwolfer
Maintainer: uwolfer (dcelasun)
Last Packager: dcelasun
Votes: 319
Popularity: 3.067660
First Submitted: 2009-10-28 09:09
Last Updated: 2019-05-28 16:41

Pinned Comments

Vrakfall commented on 2018-12-06 10:37

I found how to fix the focus issue in bspwm. Apparently, at some point JetBrains added a focus stealing suppression feature which fights with automatic focusing feature from WMs like bspwm, i3, etc...

In order to stop that from happening, you need to set the suppress.focus.stealing=false in your idea.properties file. You can find it file in Help -> Edit Custom Properties.... Related github issue

I believe this should also work for i3 but I don't use that WM at the moment so I could only test bspwm. This should also work for every JetBrains' IDE.

Another possibility, if that doesn't work, is you need to switch your boot JDK to another one that the one originally included with the IDE. For that, press Ctrl + Shift + A then type in Switch Boot JDK (case insensitive), choose the right option that appeared and you'll then have access to the switching menu. Related github issue (It's not completely related but could influence focus.)

It would be nice from the maintainers to pin a message containing these solutions for others find the workarounds easily. For that purpose, I also include below the other i3-only solution previously suggested by @vlord:

With i3 window manager, I get a disappearing caret issue (looks like kind of a focus issue on editor after closing a popup). I solved it by commenting the following line in my i3 config : # for_window [class="jetbrains-idea"] focus

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 ... Next › Last »

zman0900 commented on 2017-09-17 03:04

+1 to that patch. Better than mine. Also, people shouldn't really have any custom config inside the package directory anyway. If you edit the vmoptions from inside idea, it will create a file in the config directory in your home.

evana commented on 2017-09-17 02:57

Once again I am going to suggest moving the install location to /opt to align with packaging standards and other Jetbrains IDEs such as clion.
This patch also improves the packaging process by using mv instead of rsync or cp to preserve permissions and reduce the amount of disk space required during packaging.

I've also added a post_upgrade message to notify people that their custom configurations will need to be moved.

Patch is available here:

https://thelinuxman.us/0001-pkgbuild-install-improvements.patch

zman0900 commented on 2017-09-15 02:19

Setting everything in bin to executable isn't really correct either since there are several non-executables in there. Also, it's not necessary to set file owner and groups since makepkg handles that.

Here's a patch to simply use cp instead of rsync and all the other stuff:
https://gist.github.com/zman0900/1649c3c8691ce8118604814025ab312c

This works fine for me. All files are still owned by root and permissions are as distributed by jetbrains. Restart functionality works too.

dcelasun commented on 2017-09-12 18:43

Updated to 2017.2.4 and fixed /bin permissions.

alonhar commented on 2017-09-12 18:34

IntelliJ IDEA 2017.2.4 was released.

Bow commented on 2017-09-12 11:30

The packages removes executable permissions from several files that require it, e.g.: bin/format.sh, bin/inspect.sh, bin/restart.py, bin/printenv.py

As an example, bin/restart.py is required for restarts from within the IDE:

#com.intellij.util.Restarter - not supported: not an executable file: /usr/share/intellij-idea-ultimate-edition/bin/restart.py

Is it really necessary to reset all the permissions in the source package from JetBrains? As far as I can see, ideaIU-2017.2.3.tar.gz has correct executable permissions where necessary. They could be just kept as-is.

dcelasun commented on 2017-08-27 15:31

I think the second option is the most sensible. Letting the user choose is preferable to meta package hackery. Updated PKGBUILD with option #2.

njam commented on 2017-08-27 11:53

The way the dependencies are defined currently it's not possible to install IDEA with its JRE but without a system-JRE. The reason is that the package depends on "java-environment" which doesn't include "intellij-idea-ultimate-edition-jre".

Other Jetbrains IDE packages solve it by *optionally* depend on both "java-environment" and "clion-jre". I don't like it so much because the user will need to remember to install one of those.

But the only other solution I know of is using a third meta package to define the dependencies, which makes things more complicated (https://github.com/njam/intellij-idea-ultimate-edition/blob/master/PKGBUILD).

bianjp commented on 2017-08-17 05:50

@zman0900 You are right. I'll give pacaur a try. Thanks for everyone.

bianjp commented on 2017-08-17 05:39

Yaourt doesn't think so. When I run `yaourt -Syua` (updating from 2017.2.2-1 to 2017.2.2-2), intellij-idea-ultimate-edition and intellij-idea-ultimate-edition-jre are downloaded and built separately.

See the open issue here: https://github.com/archlinuxfr/yaourt/issues/105