Fix pylint errors and add some try/catch to avoid traceback if user is not passed to some gnomedesktop functions.
Merge pull request #8494 from cro/gnomedesktop_pylint4

Fix pylint errors and add some try/catch to avoid tracebacks