You are not logged in.

#1 2014-12-05 16:18:21

Silberling
Member
Registered: 2014-06-12
Posts: 11

[SOLVED] KDE misses environment variables (LANG, SSH_AGENT_PID)

Hi.

This is a fresh arch linux installation. I haven't used it on a desktop before.

I followed the installation guide regarding locale settings as well as the locale wiki page and a bunch of websites stating the same thing:
- edit /etc/locale.gen (uncommented en_US.UTF-8)
- run locale-gen
- edit /etc/locale.conf (LANG=en_US.UTF-8)
- reboot

The terminal (Konsole + ZSH) (i mean the zsh subprocess) gets its settings from the startup scripts which use /etc/profile.d/locale.sh
When I start sublime text (favorite editor) or phpstorm (ide) via KDE lancher they complain about not using utf8. sublime tells me to manually run "LANG=... subl3" when I run them from terminal, they inherit the variables of course.

I read like 2 hours of repetitive stuff online which didn't help and I don't know what to do now.

Might this be the same problem:
/home/username/.kde4/Autostart/ssh-agent-startup.sh

#!/bin/sh
export SSH_ASKPASS=/usr/bin/ksshaskpass
[ -n "$SSH_AGENT_PID" ] || eval "$(ssh-agent -s)"
ssh-add -t 64800 ~/.ssh/id_rsa

When I start the terminal and ssh to another computer it asks again. SSH_AGENT_PID is not set.

What am I doing wrong?

Thanks for help.

If you need any further information just ask.

Silberling

Last edited by Silberling (2015-01-12 09:10:13)

Offline

#2 2015-01-12 09:09:41

Silberling
Member
Registered: 2014-06-12
Posts: 11

Re: [SOLVED] KDE misses environment variables (LANG, SSH_AGENT_PID)

This solves my Language setting problems:

ln -s /etc/profile /etc/xprofile

This was the bigger issue, so I marked it as solved. I'll post a solution for the agent variable as soon as I found a solution.

Last edited by Silberling (2015-01-12 09:11:18)

Offline

Board footer

Powered by FluxBB