You are not logged in.
Pages: 1
Just a quick question about changes to /etc/profile.d/jre.sh and /etc/profile.d/jre.csh in the latest update from java-runtime-common 2-1 to java-runtime-common 2-2. The only change to these files seems to be that they have removed the lines
# Enable this for non-reparenting window managers
#export _JAVA_AWT_WM_NONREPARENTING=1This line had to be uncommented for users of non-reparenting window managers such as myself to make java applications work at all.
I'm just wondering if these options were removed from the config file for a reason? I can't find that they've been moved to a different file. Am I safe to just leave these exports as they were or are they meant to live elsewhere? I realise I can put these exports anywhere I like, I'm just wondering if their deletion from the config files signals that for some reason /etc/profile.d/jre.[c]sh was not the "right place" for them.
Offline
Of course it's not the right place. Well, if all users have a non-reparenting window manager that needs that export, then you could put it in a global profile.d script, but it's not a very clean way to handle it. It always helps to look at the changes (and messages pacman spits out): https://projects.archlinux.org/svntogit … 5a650c4b90
Offline
Thanks for pointing me to the package repo! I had missed the message somehow. I think to say "Of course it's not the right place" is a bit extreme though. Yes all users on this machine have the same window manager because it's the only one installed!
Offline
Pages: 1