GNOME/gnome-tweak-tool — pull request #1 by bendavis78 (2014-06-28 01:12:35+00:00)
Title: Fixed #1316289 - unable to add "startup applications" in gnome-tweak-tool

https://bugs.launchpad.net/ubuntu/+source/gnome-tweak-tool/+bug/1316289

Using os.getlogin() causes issues when the application is not tied to a controlling terminal. This replaces it with a more reliable method of getting the username.