[CentOS] gdm postsession scripts

Fri Mar 20 17:24:40 UTC 2020
James Pearson <james-p at moving-picture.com>

Leon Fauster via CentOS wrote:
> 
> Its seems that only the "Default" script in /etc/gdm/PostSession gets
> processed. Is this the intended behaviour? This makes packaging harder.
> Or can drop-in scripts/files be enabled?

Correct - although if a file that matches the DISPLAY name exists (e.g. 
':0'), that file is used instead - see:

https://help.gnome.org/admin/gdm/stable/configuration.html.en#scripting

I replace the Default file with something that just sources 'drop-in 
files' in a matching directory - which could be a sub-directory of 
/etc/gdm/PostSession/ etc

James Pearson