You are not logged in.

#1 2015-09-02 17:38:07

Satas
Member
Registered: 2015-09-02
Posts: 25

[SOLVED] Kile find texlive only when started from konsole

Hello,

after installing arch linux one week ago I enjoy the new system and it makes a lot of fun to set up it. A lot is done with the help of topics from this forum. Thanks.

I use KDE 5 with Plasma 5.3.

But I have a problem:

Kile runs properly and finds my manually installed texlive 2015 when I start it form konsole.

But when I try to start it from the KDE Apps Launcher Kile does not see the texlive packages.

I have modified the ./bashrc and added

TEXDIR="/usr/local/texlive/2015"
export PATH=$TEXDIR/bin/x86_64-linux:$PATH  # for 64-bit installation
export INFOPATH=$INFOPATH:$TEXDIR/texmf-dist/doc/info
export MANPATH=$MANPATH:$TEXDIR/texmf-dist/doc/man
export PATH=$PATH:~/.bin

When I start from Apps Launcher and use the "run in terminal" option, I get a Plasma Error:

KDEInit could not launch '/usr/bin/konsole'

Kile starts but can not compile anything.

Same happens, when using

konsole -e kile

As command to start the application.

It is not a very big deal, because I can start it from terminal and it works, but I would like to know, what goes wrong here.

Thank you for help wink

Last edited by Satas (2015-09-02 18:19:25)

Offline

#2 2015-09-02 18:02:57

Raynman
Member
Registered: 2011-10-22
Posts: 1,539

Re: [SOLVED] Kile find texlive only when started from konsole

~/.bashrc is for interactive shells. Those settings should be in some kind of "profile" file. You could add something like texlive.sh in /etc/profile.d/ to set the (system-wide) tex paths and then extend $PATH further with ~/.bin in ~/.profile (or whatever gets sourced by whatever you use to login and launch your KDE session).

Offline

#3 2015-09-02 18:16:22

Satas
Member
Registered: 2015-09-02
Posts: 25

Re: [SOLVED] Kile find texlive only when started from konsole

Thank you. It works now. Just added the texlive.sh to the profile.d directory. Nothing else was needed...

Offline

Board footer

Powered by FluxBB