So it's only with the applications you mention or with all applications? What do you mean with you had to manually specify your i3 config file? How do you start i3? What happens when you open Libreoffice, do you get an error or something else? Java in home? If you install JRE from the repos it doesn't install it in home but in /usr/lib/jvm/jre-java-?-openjdk. What shell are you using?
I am using the Bash shell. The value of $HOME is /home/myUser, as it should be. Here is my
env.
I'll provide more detail for the anecdotes I mentioned.
For i3 to pick up my config file, in my ~/.xinitrc I have to specify
Code:
i3 -c ~/.config/i3/config
It should be using the config file in this location automatically. If I don't specify the path explicitly, it will not use my config file.
For Picom to pick up my config file, in my ~/.xinitrc I have to specify
Code:
picom --config ~/.config/picom/picom.conf
rather than it using this file automatically.
The same is true for my ~/.config/polybar/launch.sh, where I have use a flag to explicitly state that I want to use /home/myUser/.config/polybar/config.
To get IntelliJ Idea to detect my JDK, at first I fixed the problem by editing the file at /opt/intellij-idea-ultimate-edition/bin/idea.properties and setting a custom paths for the config and system folders so that they would use "/home/myUser" rather than "${user.home}". Here is what that looks like:
https://pastebin.com/1Wqs3jNP. I uncommented lines 8 and 13, and then replaced ${user.home} with /home/myUser. Later, I found that IntellIJ had an built-in option to directly edit a user-specific version of this file located at /home/myUser/.config/JetBrains/IntelliJIdea2020.3/idea.properties. This persists better across updates.
I have 5 versions of the JDK installed (from my desperate attempts to fix the problem), and they are all picked up when I run
They all live in /usr/lib/jvm, as they should.
When I attempt to run LibreOffice, an issue occurs similar to what happens
here, which is why I suspect it is related to my home folder. The output of running "libreoffice" is
Code:
javaldx failed!
Warning: failed to read path from javaldx
terminate called after throwing an instance of 'com::sun::star::lang::WrappedTargetRuntimeException'
Application Error