No 22 de outubro de 2026 10:35:05 GMT+01:00, "Roberto Mallo García" <[email protected]> escribeu: >No 22 de outubro de 2026 06:04:32 GMT+01:00, Sylvain Saboua ><[email protected]> escribeu: >>* The Konsole doesn´t seem to have my .profile file >>sourced at login/startup. I have to use `. $HOME/.profile' >>for my aliases (and maybe $PATH) to be effective. > >That also happened to me with xfce and the solution was to add the below to my >.xsession > >export ENV=$HOME/.kshrc > >Once I did that all the shells sgarted from xfce-term did what they should do >on startup. > >Roberto Mallo >
On the above, I wasn't clear on why. I set my shell up as the manual indicates: In order to have an interactive (as opposed to login) shell process a startup file, ENV may be set and exported (see below) in $HOME/.profile - future interactive shell invocations will process any file pointed to by $ENV: export ENV=$HOME/.kshrc $HOME/.kshrc is then free to specify instructions for interactive shells. For example, the global configuration file may be sourced: . /etc/ksh.kshrc The above strategy may be employed to keep setup procedures for login shells in $HOME/.profile and setup procedures for interactive shells in $HOME/.kshrc. Of course, since login shells are also interactive, any commands placed in $HOME/.kshrc will be executed by login shells too. Copied from: https://man.openbsd.org/ksh Roberto Mallo

