FS#49495 - [nautilus] restarting nautilus doesn't respect environment set with $HOME/.profile

Attached to Project: Arch Linux
Opened by Amit Mendapara (cristatus) - Saturday, 28 May 2016, 10:24 GMT
Last edited by Doug Newgard (Scimmia) - Sunday, 31 July 2016, 13:07 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Jan Alexander Steffens (heftig)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

When we restart Nautilus with "Icons on Desktop" enabled, the environment variables set from "$HOME/.profile" are not respected.

Additional info:
* gnome-shell 3.20.1-1
* nautilus 3.20.1-1

Steps to reproduce:
* enable "Icons on Desktop" from tweak-tools
* logout and login again
* make the attached script executable
* run the script by double click (need to configure nautilus to allow run script with double click)
* check /tmp/env-test.txt
* restart nautilus with "nautilis -q" (or disable/enable "Icons on Desktop" from tweak-tools)
* run the script again by double click
* check /tmp/env-test.txt
   test.sh (0.1 KiB)
This task depends upon

Closed by  Doug Newgard (Scimmia)
Sunday, 31 July 2016, 13:07 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#49194 
Comment by Amit Mendapara (cristatus) - Sunday, 31 July 2016, 05:43 GMT
Probably, duplicate of #49194
Comment by Amit Mendapara (cristatus) - Sunday, 31 July 2016, 05:47 GMT
Yes, that's the case. Setting variables with .pam_environment solved the issue.

Loading...