- Dec 11, 2019
- Reaction score
With lightdm there is a configuration setting to run when starting the session, session-setup-script= but when using that doesn't seem to work. I then installed the package "xinit" and created a ~/.profile but it didn't work then. Instead when I created the following file.
Since your shell doesn't pick up ~/.xsessionrc I created a symlink so that same would go for my shell.
And that resulted in the following.
So it works with lightdm as well.
tux@debian:~$ cat .xsessionrc umask 006
tux@debian:~$ ls -l .bash_profile lrwxrwxrwx 1 tux tux 11 Dec 1 20:19 .bash_profile -> .xsessionrc
-rw-rw---- 1 tux tux 0 Dec 1 20:19 terminal.txt -rw-rw---- 1 tux tux 0 Dec 1 20:20 gui_pluma.txt