Running Geany as an user with the environment pointing at another is not supported, and won't be changed.
`sudo` should be configured to reset the environment so applications don't try and use another user's configuration directory. There are many reasons why resetting the environment is useful, and among other things avoiding the kind of issues at hand. Geany is definitely not the only application suffering from it (try bash history, nano configuration and whatnot). FWIW, the default sudo configuration on Debian Jessie/testing/unstable properly resets the environment (at least the offending part here) and does not suffer from the problem. You may want to reassign the issue to the sudo package maybe. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1256506 Title: Configuration directory owned by root To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/geany/+bug/1256506/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs