Bug#644566: texmaker executable of amd64.deb 'is not aware' of user's environment variables

David Bremner bremner at debian.org
Fri Oct 7 16:30:54 UTC 2011


On Fri, 7 Oct 2011 11:08:55 -0300, David Pirotte <david at altosw.be> wrote:
> Is it not the responsibility of the executable to load the user's variables ? [Or
> execute itself as a 'child' of a user environment 'process']. If you think it is
> not a texmaker problem, then I personally believe it is probably a
> scripting/development language problem, but not a desktop one [MHO]:

I'm not sure if it is possible to fix this in the .desktop file. It is
conceivable setting 'Terminal=true' in
/usr/share/applications/texmaker.desktop would help, at the expense of
spawning an extra terminal.

I suspect the solution is to make sure the appropriate environment
variables are set in your xfce or gnome environment.  Typically this
would be some file under .xonfig/xfce4/ ; there may be a gui way of
setting this as well.  It may also help to add the variable settings in
$HOME/.xsessionrc

I'm still mystified how this is working on i386; it would be a useful
test to create a new user whose desktop environment is not customized
and see if the environment variables are setup there for applications
spawned from the GUI.

d














More information about the debian-science-maintainers mailing list