Add Install -> Editor -> Jetbrains menu - #5654
Conversation
e18c2bd to
7039930
Compare
7039930 to
f285b89
Compare
3dbcfa3 to
3b0aee1
Compare
There was a problem hiding this comment.
Copilot wasn't able to review any files in this pull request.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
This is ready to go. I've tested on DataGrip, PyCharm, Idea, Clion and it installed without issue. |
|
It would be nice if this menu also had 'android studio'. android studio is based on jetbrains. I think you can install it from the AUR |
|
The problem is that android-studio is not shipped like other Jetbrains product. (It is not in their product list). So it would need different code that the rest of them. I'd like to first merge this if possible before adding Android Studio. Also, I don't think Android Studio should be under "Jetbrains" menu. (Maybe directly under Editor?) Anyway, I feel it would deserve more attention in another PR. |
|
Yeah that makes a lot more sense. |
|
Great idea, but how are updates handled? If I recall correctly, the IDEs itself don't ship with an updater, but rely on either JetBrains Toolbox or the package manager. It seems like with the current script, the user would be required to uninstall first and then do a full re-install in the Install > Editor menu. Given that there are multiple releases per year, is this really better than just providing a single Toolbox installer in the first place? There's even an AUR package for that. |
|
WIth this PR there are two ways to update. Via the new menuThe Via the IDEThe IDE actually has an updater, but it's a bit unconventional. This is why I created a stable symlink. This doesn't conflict with the update from new menu, as I am detecting installed version from the
|
3b0aee1 to
04e4036
Compare
|
@pkwagner I've rewritten it, now |
04e4036 to
35a5947
Compare
|
I appreciate the effort here, but I don't really want to route around the package manager. We need to be able to get this through the AUR. So let's try a version that does that. Also, what's the reason they flopped back from wayland? |
|
Actually, it may be only limited to Rider, as there are some features from Jetbrains dotUltimate which didn't seem working properly. It doesn't seem to be set by default by Android Studio either, but this PR doesn't cover that because Android Studio is distributed differently. The other case on PyCharm that I've seen seems to be pre 2026.1.
I can try to push it through AUR. Note that the advantage of my PR is that it doesn't need to be updated when there are new versions, because it automatically pick up the latest version. However, if we do a package, it means that every times there is a jetbrains release we will need to push an update as well. |
|
I have an argument about why this shouldn't be AUR though: Jetbrains has its own updater within the IDE itself. Most people update jetbrains directly from within the IDE when the popup comes up. |
|
@dhh can you reconsider this? This shouldn't be AUR as jetbrains has an internal updater. I am currently using it without any issue, and it has many thumbs up! |
|
Nice. If/when this lands, the natural follow-up is theme sync — same pattern as omarchy-theme-set-vscode (per-theme jetbrains.json, omarchy-cmd-present checks, skip-* toggle). I have a working implementation against current Omarchy themes that I can port to bash and PR once this merges. It generates a real .icls editor scheme from colors.toml (with TEXT foreground+background, so dark themes don't bleed a light editor background through the parent) and optionally installs a small companion plugin for live-reload. Happy to wait until this is in before opening anything. |
Motivation
The main motivation is to make it easy to install any of Jetbrain's product.
But additionally,
JetBrains 2026.1Rider 2026.1 shipped with-Dawt.toolkit.name=WLToolkitenabled by default, but JetBrains reverted that change in 2026.1.1. As a result, the latestJetBrainsRider IDEs have XWayland-related quirks out of the box. These can be fixed by adding-Dawt.toolkit.name=WLToolkitto the VM options.Because this is no longer the default, users have opened issues and PRs such as #5640 caused by XWayland quirks.
This PR remedies the situation by allowing users to install popular JetBrains editors directly from Omarchy’s menu. The setup adds
-Dawt.toolkit.name=WLToolkitby default, so users do not have to think about it. This was suggested by @dhh here.EDIT: I've confirmed that this issue actually only impact pre-2026.1 AND Rider 2026.1.1, not all Jetbrains product.
What It Does
/opt, such as/opt/jetbrains-rider/opt/jetbrains-rider-tmp-Dawt.toolkit.name=WLToolkitto the product’s VM options fileproduct-info.json/usr/local/binFor Rider, the resulting layout looks like this:
Sudo access is requested before the download starts, so the user can fire and forget while it downloads, and the installation can proceed without interruption.
If the same version is already installed at the selected install path, the installer exits early.
Screenshots