IntelliJ cannot be updated
When launched as a normal user, you get:
When trying to launch with sudo it fails before starting:
While the Arch package is probably at fault here, maybe Omarchy should ship with its own install script that installs the package (or from upstream) and then sets the correct permissions.
No problem using the toolbox. How did you install your Intellij ?
@c4software Using the AUR package.
Try via the Toolbox (also in AUR), no issue to install / update IDE here.
I did and it installed correctly. Through it, I installed the latest version of IntelliJ and it started fine.
However, I couldn't check the update as it was already up to date, but plugins installed fine as well.
Only the AI advertisement popup somehow wasn't clickable with the mouse after checking out an open-source GitHub repo. Probably a windowrule is missing there...
I still think it may be worth having dedicated IntelliJ/JetBrains install script that picks the correct package and takes care of all quirks, potentially available directly from the Omarchy menu.
Did you enable the Wayland backend ?
Starting with the 2024.2 EAP, however, users can run IntelliJ-based IDEs on Wayland natively by adding:
-Dawt.toolkit.name=WLToolkitto their VM options (Help | Edit Custom VM Options…). This will completely bypass the XWayland compatibility layer and provide all the benefits that Wayland has to offer.
But yes, the current support of Hyprland is not perfect with Jetbrains IDE. In the latest version we remove some rules, but I had more success with this rules for me :
# Fixing popup size issue
windowrule = size 50% 50%, class:(.*jetbrains.*)$, title:^$,floating:1
# Fix tooltips (always have a title of `win.<id>`)
windowrule = noinitialfocus, class:^(.*jetbrains.*)$, title:^(win.*)$
windowrule = nofocus, class:^(.*jetbrains.*)$, title:^(win.*)$
# Fix tab dragging (always have a single space character as their title)
windowrule = noinitialfocus, class:^(.*jetbrains.*)$, title:^\\s$
windowrule = nofocus, class:^(.*jetbrains.*)$, title:^\\s$
# Avoid unclickable window (see https://github.com/hyprwm/Hyprland/issues/4257#issuecomment-2875655706)
windowrulev2 = tag +jb, class:^jetbrains-.+$,floating:1
windowrulev2 = stayfocused, tag:jb
windowrulev2 = noinitialfocus, tag:jb
Starting with the 2024.2 EAP, however, users can run IntelliJ-based IDEs on Wayland natively by adding: -Dawt.toolkit.name=WLToolkit to their VM options (Help | Edit Custom VM Options…). This will completely bypass the XWayland compatibility layer and provide all the benefits that Wayland has to offer.
This ☝️ should be the default IMO! That single setting fixed my issue with Intellij being twice the size on my external monitor, but not on my laptop screen, AND the flickering menu buttons on the right side.
The IntelliJ folks were at Rails World and promised to have someone do a full sweep of what's needed to get everything working out of the box. But if there are some users here that could ask on their forums that might help things along 👌