*** This bug is a duplicate of bug 761836 *** https://bugs.launchpad.net/bugs/761836
Same issue on both natty and oneiric (32bit and 64bit). Why is this bug marked as a duplicate of #761836 (Gtk-WARNING when running with sudo). gedit is a gtk graphic application & gksu/gksudo is the proper command, sudo is not advised & can cause issues with .ICEauthority. $ gksudo gedit /etc/fstab (gksudo:1924): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap", (gksudo:1924): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap", (gksudo:1924): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap", (gksudo:1924): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap", (gedit:1926): Gtk-WARNING **: Attempting to set the permissions of `/root/.local/share/recently-used.xbel', but failed: No such file or directory (gedit:1926): Gtk-WARNING **: Attempting to store changes into `/root/.local/share/recently-used.xbel', but failed: Failed to create file '/root/.local/share/recently-used.xbel.HF0U3V': No such file or directory (gedit:1926): Gtk-WARNING **: Attempting to set the permissions of `/root/.local/share/recently-used.xbel', but failed: No such file or directory $ sudo ls -al /root/ total 40 drwx------ 7 root root 4096 2011-10-30 11:46 . drwxr-xr-x 23 root root 4096 2011-10-30 10:55 .. -rw-r--r-- 1 root root 3106 2011-07-08 10:13 .bashrc drwx------ 3 root root 4096 2011-10-30 11:46 .cache drwx------ 6 root root 4096 2011-10-30 12:12 .config drwx------ 3 root root 4096 2011-10-30 11:46 .dbus -rw-r--r-- 1 root root 140 2011-07-08 10:13 .profile drwx------ 2 root root 4096 2011-10-30 13:53 .pulse -rw------- 1 root root 256 2011-10-29 16:41 .pulse-cookie drwx------ 3 root root 4096 2011-10-30 13:40 .synaptic The 'Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",' warnings are resolved by: $ sudo apt-get install gtk2-engines-pixbuf per: https://bugs.launchpad.net/ubuntu/+source/quickly/+bug/853232 $ gksudo gedit /etc/fstab (gedit:2048): Gtk-WARNING **: Attempting to store changes into `/root/.local/share/recently-used.xbel', but failed: Failed to create file '/root/.local/share/recently-used.xbel.F0Y13V': No such file or directory (gedit:2048): Gtk-WARNING **: Attempting to set the permissions of `/root/.local/share/recently-used.xbel', but failed: No such file or directory The workaround of: $ sudo mkdir -p /root/.local/share does work. However, a user shouldn't need to do that to run '$ gksudo gedit'. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gedit in Ubuntu. https://bugs.launchpad.net/bugs/776678 Title: gtk-warning after running gksu gedit To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gedit/+bug/776678/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs