When launching a program to open a file it appears that /some/ of the environment gets stripped. However, when using "Open Terminal Here" they are present. This seems really weird. The following variables are missing. GPG_AGENT_INFO GTK_MODULES MANAGERPID SSH_AGENT_PID SSH_AUTH_SOCK I don't know what `GTK_MODULES` or `MANAGERPID` are but the other relate to my GPG/SSH auth agent and having them missing is very annoying. Steps to Reproduce: - Right-click on a directory, select "Open Terminal Here". - Execute `env | sort > ~/term.env` - Right-clink on a file, select "Open With > Open With Other Application..." - Deselect "Use as default for this kind of file." - Enter `xfce4-terminal -T` into custom comment (-T is to catch the filename). - Execute `env | sort > ~/open.env` - Find mismatching variables in the two files. (`diff open.env term.env`) It would be very helpful if these variables where present in executed programs.
I'm having a similar problem. In my case, SSH_AUTH_SOCK is preserved when launching xfce4-terminal from the applications menu, but stripped when launching it from Thunar's Open Terminal Here.
It's worth noting that the environment variable is only missing if the first terminal window I open is launched from Thunar. If I launch a terminal from the applications menu and leave it open, terminal windows subsequently launched from Thunar are not missing the environment variable. (This is almost certainly because the existing xfce4-terminal process is reused.) So, if you're testing, be sure to close all terminal windows first.
-- GitLab Migration Automatic Message -- This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/xfce/thunar/-/issues/75. Please create an account or use an existing account on one of our supported OAuth providers. If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev