desktop-packages team mailing list archive
-
desktop-packages team
-
Mailing list archive
-
Message #44108
[Bug 776678] Re: gtk-warning after running gksu gedit
*** 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 Desktop
Packages, which is subscribed to gedit in Ubuntu.
https://bugs.launchpad.net/bugs/776678
Title:
gtk-warning after running gksu gedit
Status in “gedit” package in Ubuntu:
Confirmed
Bug description:
Binary package hint: gedit
When gedit is invoked from terminal via gksu, for example,
gksu gedit /etc/fstab
on closing gedit several warnings are seen such as
(gedit:2057): 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.38EFVV': No such file or directory
and
(gedit:2057): Gtk-WARNING **: Attempting to set the permissions of `/root/.local/share/recently-used.xbel', but failed: No such file or directory
ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: gedit 2.30.4-2ubuntu1
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic i686
Architecture: i386
Date: Tue May 3 21:14:28 2011
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1)
ProcEnviron:
LANGUAGE=en_GB:en
LANG=en_GB.UTF-8
SHELL=/bin/bash
SourcePackage: gedit
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gedit/+bug/776678/+subscriptions