New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Jetbrains IDEs don't use user cursor theme #50344
Comments
After some tinkering it looks like other Jetbrains IDEs installed from nixpks also have this problem. |
Same here (with Intellij IDEA). It would be nice to make them respect user cursor theme, because default one looks really ugly. |
I tried --- a/pkgs/development/compilers/jetbrains-jdk/default.nix
+++ b/pkgs/development/compilers/jetbrains-jdk/default.nix
@@ -49,7 +49,7 @@ let drv = stdenv.mkDerivation rec {
stdenv.cc.cc stdenv.cc.libc glib libxml2 libav_0_8 ffmpeg libxslt libGL
alsaLib fontconfig freetype pango gtk2 cairo gdk_pixbuf atk
] ++ (with xorg; [
- libX11 libXext libXtst libXi libXp libXt libXrender libXxf86vm
+ libX11 libXcursor libXext libXtst libXi libXp libXt libXrender libXxf86vm
]));
passthru.home = drv; and confirmed it got included in |
My workaround is currently to use the official release (with JetBrains JDK) in { pkgs ? import <nixpkgs> {} }:
(pkgs.buildFHSUserEnv {
name = "intellij-idea-env";
targetPkgs = pkgs: (
with pkgs; [ udev which alsaLib fontconfig freetype pango zlib glib gtk2 cairo gdk_pixbuf atk git ]) ++ (
with pkgs.xorg; [ libX11 libXcursor libXext libXtst libXi libXp libXt libXrender libXxf86vm ]);
runScript = "~/opt/idea/bin/idea.sh";
}).env and nix-shell ~/opt/idea-shell.nix to build/start it. Cursor themes / hidpi cursors seem to work fine in the FHS environment. |
Any update on this? It still seems to be an issue on the unstable channel. |
As far a I can tell Android Studio from nixpkgs now uses system wide KDE cursor theme but IntelliJ IDEA doesn't. I'm not sure was it something that was patched in Android Studio upstream or there are some differences between Android Studio and IntelliJ IDEA nix packages. |
Hello, I'm a bot and I thank you in the name of the community for opening this issue. To help our human contributors focus on the most-relevant reports, I check up on old issues to see if they're still relevant. This issue has had no activity for 180 days, and so I marked it as stale, but you can rest assured it will never be closed by a non-human. The community would appreciate your effort in checking if the issue is still valid. If it isn't, please close it. If the issue persists, and you'd like to remove the stale label, you simply need to leave a comment. Your comment can be as simple as "still important to me". If you'd like it to get more attention, you can ask for help by searching for maintainers and people that previously touched related code and @ mention them in a comment. You can use Git blame or GitHub's web interface on the relevant files to find them. Lastly, you can always ask for help at our Discourse Forum or at #nixos' IRC channel. |
I confirm this still happens on 20.03 at least (under the gnome desktop) for:
|
Works now on Ubuntu 20.04 with Intelli 2020.3.1 |
Yes, I can confirm that it works on NixOS unstable channel with IDEA 2020.3.1 and Android Studio 4.1.1 |
Issue description
Android Studio doesn't use user's cursor theme.
For example, I have Breeze cursor theme selected in KDE settings but Android studio uses some default theme instead.
I tired different gtk apps (firefox, gimp), different Jetbrains IDEs (idea, pycharm) and even steam (since it also uses FHS environment). All of them respect user's cursor theme.
Android Stuido build downloaded from Google site also respects user's cursor theme.
Steps to reproduce
Technical details
The text was updated successfully, but these errors were encountered: