sudo -i starts another bash session as root and uses the directory /root as home directory. If you want to enter a root shell, you should almost ever use sudo -i
To use your current user's directory as home, use sudo -s. Never start GUI applications from a shell started with sudo -s. The process may transfer the ownership of some important files to the root user, so you can't use them any more!. So use sudo -i to enter root shells you want to execute GUI-applications from.
If you just want to execute a program as root, use sudo program for command line programs and gksudo program for GUI applications.