Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

while using gksu i get Gtk warning, for example:

$ gksu gedit /etc/fstab

(gksu:2792): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

(gksu:2792): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

(gksu:2792): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

(gksu:2792): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

and when i close running app (in above example gedit), i get:

(gedit:2796): Gtk-WARNING **: Attempting to set the permissions of `/root/.local/share/recently-used.xbel', but failed: No such file or directory

(gedit:2796): 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.8R7MBW': No such file or directory

(gedit:2796): Gtk-WARNING **: Attempting to set the permissions of `/root/.local/share/recently-used.xbel', but failed: No such file or directory

i'm using ubuntu 11.10 64bit. any ideas how to solve this issue?

share|improve this question
add comment

1 Answer

up vote 6 down vote accepted

Those are more or less harmless.

  • First one is about a missing GTK engine.

For your specific error:

    sudo apt-get install gtk2-engines-pixbuf

To find the package in error:

sudo apt-get install apt-file

Search for your module name that is given in your error i.e. prefix with lib and suffix with .so - so in your example pixmap you need to search for libpixmap.so

apt-file find libpixmap.so

This will give the package to install e.g.

gtk2-engines-pixbuf: /usr/lib/i386-linux-gnu/gtk-2.0/2.10.0/engines/libpixmap.so
libgtk2.0-0-dbg: /usr/lib/debug/usr/lib/i386-linux-gnu/gtk-2.0/2.10.0/engines/libpixmap.so

  • Second one happens, because the root user (/root directory) doesn't have a .local directory. Create it by running:

    sudo mkdir -p /root/.local/share
    
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.