User .xinitrc not run with GDM

Ambrose LI at
Wed Nov 22 20:23:33 CET 2017

2017-11-22 11:00 GMT-05:00 Paul Menzel <pmenzel+xfce at>:
> Trying to implement the suggestion from the thread *Monitor dependent DPI
> size with shared home* [1] by adding a custom user xinitrc script, it
> unfortunately isn’t run. Xfce 4.12 is started from GDM.

This has bugged me for the longest time too (I'm using lightdm). I
tried the other suggestion in that post (create a script inside
.config/autostart) and it worked for me. Maybe that will work with gdm

(I wasn't trying to set monitor DPI though. I also named my script as
a .sh file and made it executable, but I don't know if either is

Ambrose Li // /
If you saw this on CE-L: You do not need my permission to quote
me, only proper attribution. Always cite your sources, even if
you have to anonymize and/or cite it as "personal communication".

More information about the Xfce mailing list