Why has rider hijacked my Android Studio and how do I stop it?

Answered

I recently installed the trial version of Rider on Ubuntu 19.04. After a couple of days I decided to remove it. I thought I had completely uninstalled it. However whenever I launch Android Studio from the gnome desktop when I hover the mouse over the active window icon in the desktop app launcher the tooltip that appears says "jetbrains-studio" not "Android Studio" the icon graphic displayed is the Android Studio icon. If I hover the mouse over the original Android Studio launcher icon the tip is displayed correctly. I have searched for jetbrains-studio in all the .desktop files and the icon-cache files without finding it. Where is this jetbrains-studio text coming from and how do I get rid of it? I am concerned that there may be other residual config left over that may interfere with my Android Studio environment. I have failed to find detailed instructions on how purge a Rider installation on Linux.

Can anyone help?

 

Roger

0
3 comments

Hi, Roger,

Thank you for contacting us!

Did you use a Toolbox app to install/uninstall  Rider or you installed it standalone?

If it was a standalone app, could you please describe steps you did to uninstall Rider and attach a screenshot of the incorrect tooltip?

0
Avatar
Permanently deleted user

Hi Sofia,

It was a standalone install,

AFAICR I removed the installation direcotry then deleted the entries that had been made in the gnome menus and applications.

This is a screen shot of the when the mouse is hovering over the Android Studio launcher icon. The lower icon appears after you have clicked on the upper one.

This is a screenshot of what happens when the mouse hovers over the lower icon.


I can reproduce this from the command line by duplicating the process that is created when the upper icon is clicked.

#!/bin/sh
/opt/android-studio/jre/bin/java -Xbootclasspath/a:/opt/android-studio/lib/boot.jar -classpath /opt/android-studio/lib/bootstrap.jar:/opt/android-studio/lib/extensions.jar:/opt/android-studio/lib/util.jar:/opt/android-studio/lib/jdom.jar:/opt/android-studio/lib/log4j.jar:/opt/android-studio/lib/trove4j.jar:/opt/android-studio/lib/jna.jar:/opt/android-studio/jre/lib/tools.jar -Xms256m -Xmx1280m -XX:ReservedCodeCacheSize=240m -XX:+UseConcMarkSweepGC -XX:SoftRefLRUPolicyMSPerMB=50 -Dsun.io.useCanonCaches=false -Djava.net.preferIPv4Stack=true -Djna.nosys=true -Djna.boot.library.path= -da -Dawt.useSystemAAFontSettings=lcd -Dsun.java2d.renderer=sun.java2d.marlin.MarlinRenderingEngine -XX:ErrorFile=/home/roger/java_error_in_STUDIO_%p.log -XX:HeapDumpPath=/home/roger/java_error_in_STUDIO.hprof -Didea.paths.selector=AndroidStudio3.1 -Djb.vmOptionsFile=/opt/android-studio/bin/studio64.vmoptions -Didea.platform.prefix=AndroidStudio -Didea.jre.check=true com.intellij.idea.Main

My suspicion is that there is some jetbrains stuff left in the idea config.

Roger

 

 

0

The quick fix solution is

  1. launch Android Studio
  2. create a new desktop entry (menu Tools | Create Desktop Entry...)
  3. exit and relaunch AS.
0

Please sign in to leave a comment.