Re: [qubes-users] Settings environment variable system-wide in a VM

2018-03-20 Thread Unman
On Tue, Mar 20, 2018 at 08:23:55AM -0700, Elias Mårtenson wrote: > On Tuesday, 20 March 2018 22:59:17 UTC+8, Unman wrote: > > > I'm not familiar with Fedora, but setting a variable in .profile DOES > > seem to expose it to nautilus, at least in a qube using a > > Fedora-26-minimal template. > >

Re: [qubes-users] Settings environment variable system-wide in a VM

2018-03-20 Thread Elias Mårtenson
On Tuesday, 20 March 2018 22:59:17 UTC+8, Unman wrote: > I'm not familiar with Fedora, but setting a variable in .profile DOES > seem to expose it to nautilus, at least in a qube using a > Fedora-26-minimal template. > So can we take a step back and can you explain what variable you want > set

Re: [qubes-users] Settings environment variable system-wide in a VM

2018-03-20 Thread Unman
On Tue, Mar 20, 2018 at 07:24:56AM -0700, Elias Mårtenson wrote: > On Tuesday, 20 March 2018 21:34:38 UTC+8, Unman wrote: > > > You dont seem to have followed my recommendations :-( > > Actually, I did. :-) Note that your recommendation works perfectly on > Debian-9. > I'm using Fedora-26,

Re: [qubes-users] Settings environment variable system-wide in a VM

2018-03-20 Thread Elias Mårtenson
On Tuesday, 20 March 2018 21:34:38 UTC+8, Unman wrote: > You dont seem to have followed my recommendations :-( Actually, I did. :-) Note that your recommendation works perfectly on Debian-9. I'm using Fedora-26, and things are not as neat there. > On a Debian system, sourcing user defined

Re: [qubes-users] Settings environment variable system-wide in a VM

2018-03-20 Thread Unman
On Mon, Mar 19, 2018 at 09:04:57PM -0700, Elias Mårtenson wrote: > On Monday, 19 March 2018 20:06:41 UTC+8, Unman wrote: > > > generally the Xsession wont touch .profile - there are exceptions. > > It's picking up stuff from /etc/X11/Xsession.d > > You can also use ~/.xsessionrc which is sourced

Re: [qubes-users] Settings environment variable system-wide in a VM

2018-03-19 Thread Elias Mårtenson
On Monday, 19 March 2018 20:06:41 UTC+8, Unman wrote: > generally the Xsession wont touch .profile - there are exceptions. > It's picking up stuff from /etc/X11/Xsession.d > You can also use ~/.xsessionrc which is sourced from a file in > /etc/X11/Xsession.d > You probably dont want to source

Re: [qubes-users] Settings environment variable system-wide in a VM

2018-03-19 Thread Unman
On Sun, Mar 18, 2018 at 10:14:43PM -0700, Elias Mårtenson wrote: > How do I set an environment variable that will be accessible to all programs > started in a session? > > Specifically, I'm trying to set KRB5CCNAME in $HOME/.profile, and it becomes > available from a terminal session as

[qubes-users] Settings environment variable system-wide in a VM

2018-03-18 Thread Elias Mårtenson
How do I set an environment variable that will be accessible to all programs started in a session? Specifically, I'm trying to set KRB5CCNAME in $HOME/.profile, and it becomes available from a terminal session as expected, but it never gets set in Nautilus, where it is needed. Looking at