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

David Pirotte david at altosw.be
Tue Oct 11 16:22:45 UTC 2011


Hi David,
Andreas

> > I tried TeXmaker on an i386 installation of sid, with xfce4, and it
> > worked as follows: starting from the menu, TEXINPUTS environment
> > variable from my login shell is not detected.  Starting from the
> > terminal, it (unsurprisingly) is.

Yes, here on 32bits machines it works with no problem too.

> I can only suggest you try creating a test user with no customization and try it
> from there.

Here, it works for all users on 32bits and none on 64bits

> IMHO whe should try a program which can verify environment variables
> somehow if it is the same destinction between starting by menu and
> starting from a terminal. 

Yes, that's what I sugessted in my frst emails too: could you kindly send a piece of
C code which echo/write TEXINPUTS ina /tmp/texinputs.test.txt [not to interact with
terminals at all] ? [I am asking because so far I only programed in scheme, and
have almost no C knowledge at all :)] I will compile it here using gcc and create a
launcher ... That would be nice:

	then, what debian package should I report this bug ? there are hundreds of
	gnome/xfce4 packages ... I have no clue which one is 'the' one :) any idea ?

> May be opening a shell out of Emacs and inspecting the environment might
> be a first approach (even if I assume that if opening a shell from Emacs
> you .bashrc / .profile is properly executed).  I really doubt that this
> is any TeXMaker issue but rather a problem of the environment.

Opening a shell in emacs is not different from opening a terminal: as you know,
independently from any desktop 'system', it triggers the execution of the user's
shell, which itself will load default and personal blabla :)

Many thanks for you help,
David






More information about the debian-science-maintainers mailing list