Something like that should work (but need testing). The default PATHs are currently #define'd in session.h, it might make sense to put them in the config file.
** Patch added: "set default PATH if not found in pam_getenv" https://bugs.launchpad.net/ubuntu/+source/lightdm/+bug/798277/+attachment/2192018/+files/set-default-path.diff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/798277 Title: $PATH does not contain /usr/games on Ubuntu Oneiric (11.10) - /etc/environment not sourced or environment not preserved To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lightdm/+bug/798277/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs