Tuesday, March 03, 2026

Re: problem with profile file

xenodm uses your .xsession to set up your session rather than your .profile, so you want to source your .profile in there and then you should be good to go (after logging out and in again). Just throw this:
```
. .profile
```
at the top of your .xsession file.


On 3 March 2026 16:12:48 GMT, karcio@tuta.io wrote:
hi, trying to get work .profile with .kshrc 

I am login to X using xenodm then I start i3. My problem going me crazy, I just want to profile file to load my kshrc - but for some reason this does not work. I was trying to find answer even using some AI, but still no working.

This is content of my files. 
```
openbsd$ cat .profile                                                          
# $OpenBSD: dot.profile,v 1.8 2022/08/10 07:40:37 tb Exp $
#
# sh/ksh initialization

PATH=$HOME/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin
export PATH HOME TERM
export HISTFILE=~/.ksh_history
export LC_CTYPE=en_US.UTF-8
export ENV=$HOME/.kshrc
export PATH=$HOME/bin:/usr/local/bin:$PATH
```
and 
```
openbsd$ cat .kshrc                                                                                                                                                     
alias ll='ls -lh'
alias vim='nvim'

#PS1='$$\e[32m$$\u@\h$$\e[33m$$ \w$$\e[0m$$ $ '

openbsd$ 
```

anyone can help? Is xenodm controls above files? 

--
karcio

No comments:

Post a Comment