Hi, two improvement suggestions:
1) Could the /usr/bin/autopsy symlink be replaced with a small shell script that sets JAVA_HOME to the JDK17 install directory? This way other applications could use a more modern system wide JRE/JDK version set through archlinux-java, while autopsy continues to run using JDK 17. I used the following script for testing:
#!/usr/bin/env bash
JAVA_HOME="/usr/lib/jvm/java-17-openjdk"
export PATH="$JAVA_HOME/bin:$PATH"
/usr/share/autopsy/bin/autopsy
Changing the Exec value in the .desktop file to point to this scripts works as well.
2) By adding the following line to the .desktop file the autopsy icon will show in the task switcher instead of the default:
StartupWMClass=java-lang-Thread
I hope you want to implement these changes so all could benefit.
Pinned Comments