You are not logged in.

#1 2014-11-03 02:54:12

vanja_z
Member
Registered: 2012-04-11
Posts: 43

java-runtime-common 2-2

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=1

This 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

#2 2014-11-03 20:25:46

Raynman
Member
Registered: 2011-10-22
Posts: 1,539

Re: java-runtime-common 2-2

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

#3 2014-11-04 02:18:27

vanja_z
Member
Registered: 2012-04-11
Posts: 43

Re: java-runtime-common 2-2

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

Board footer

Powered by FluxBB