FS#49194 - [nautilus] ignores enviroment var SAL_USE_VCLPLUGIN

Attached to Project: Arch Linux
Opened by GH (stafuz) - Tuesday, 03 May 2016, 18:59 GMT
Last edited by Toolybird (Toolybird) - Monday, 29 May 2023, 00:32 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 1
Private No

Details

Description: clicking in Nautilus on Libreoffice icon program is started in gtk3 mode even if enviroment var is set to SAL_USE_VCLPLUGIN=gtk
Libreoffice-fresh should start with gtk2 interface not with gtk3


Additional info:
latest gmone 3.20
nautilus 3.20.1.1
libreoffice-fresh 5.1.2.2

Steps to reproduce:
set SAL_USE_VCLPLUGIN=gtk in /etc/profile.d/libreoffice-fresh.sh *.csh
click in Nautilus on Icon Libreoffice writer or calc
libreoffice-fresh interface is in gtk3 style
This task depends upon

Closed by  Toolybird (Toolybird)
Monday, 29 May 2023, 00:32 GMT
Reason for closing:  No response
Additional comments about closing:  Plus it's old and stale. If still an issue, please report upstream.
Comment by Doug Newgard (Scimmia) - Wednesday, 04 May 2016, 02:35 GMT
Did you log out and log back in again after changing the profile.d script?
Comment by GH (stafuz) - Wednesday, 04 May 2016, 09:42 GMT
Yes i did! The problem occurs only in Nautilus. starting libreoffice from desktop works correctly!
Comment by Matthias Dienstbier (fs4000) - Saturday, 07 May 2016, 11:58 GMT
In my experience this is a problem with all applications which have DBusActivatable=true in their *.desktop file and I think the problem first appeared after this news: https://www.archlinux.org/news/d-bus-now-launches-user-buses/. As the application will be launched by DBus it will inherit its environment and it seems this environment lacks a lot of variables that get set later in the login process. In my case I have a problem with missing XDG_CURRENT_DESKTOP variable so that my /usr/share/applications/gnome-mimeapps.list gets ignored and files get opened with arbitrary applications.
Comment by GH (stafuz) - Sunday, 08 May 2016, 07:32 GMT
Thank you for the answer! I will verify this. It seems very likely.
Comment by Jan Alexander Steffens (heftig) - Sunday, 08 May 2016, 13:55 GMT
Use ~/.pam_environment to set env vars.
Comment by mattia (nTia89) - Sunday, 27 February 2022, 08:35 GMT
I cannot reproduce the issue. Many versions of both involved software have gone out.

Is this issue valid for you?

Loading...