|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
Question regarding .xsession, .profile, .kshrc
so, when using xenodm, it bypasses the console so .profile and .xinitrc won't be triggered? and instead what we normally put into those two should be placed in .xsession instead? (and to make sure URxvt*loginShell: true is set in .Xdefaults since I'm using urxvt instead of xterm)
example of my .xsession: export ENV=$HOME/.kshrc export LC_CTYPE="en_US.UTF-8" urxvtd -q -o -f ~/.fehbg & redshift & exec cwm Quote:
QUESTION: when i did it this way, it did work, urxvt worked, and the utf-8 was set as well, and .kshrc with my custom aliases worked too... but does that basically mean that if i use xenodsm, i should just have all the stuff i normally would put into .profile in .xsessions as well?!? for example, the default .profile contains: PATH=$HOME/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin:/usr/games:. export PATH HOME TERM does that mean i should put this into my .xsessions too? when using xenodm is .profile not used at all then? yet PATH HOME TERM from .profile did somehow get through though when i echo $PATH, echo $HOME, echo $TERM? if it's not too much trouble could someone help a noob understand how to properly these up for openbsd? (.xsession, .profile, .kshrc) ALSO, i noticed that when I 'ps -A' to check the processes, there appears to be two instances of urxvtd? why is that? shouldn't there be only 1 urxvtd, and the rest of the terminals as -ksh (since urxvtd is the daemon which i started from .xsession, and urxvtc as the client each time i open a new terminal - which each appear as an instance of -ksh) ? |
|
||||||
Quote:
Quote:
Quote:
But maybe I have misunderstood you here. Quote:
https://man.openbsd.org/xenodm#SESSION_PROGRAM Quote:
From urxvt(7): Quote:
Code:
# chmod g-s $(which urxvtd) But you should probably use xterm instead, it has been audited by the OpenBSD devs (and it supports truecolour, unlike urxvt).
__________________
Are you infected with Wetiko? |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Why doesnot OpenBSD run /etc/profile and ~/.profile ? | sw2wolf | OpenBSD General | 2 | 28th August 2012 11:26 PM |
when and by what is .profile read? | kasse | FreeBSD General | 8 | 11th September 2008 08:46 AM |
working with .profile and history | uptonm | OpenBSD Security | 1 | 15th August 2008 12:14 PM |