You are not logged in.
Pages: 1
Topic closed
Hi there,
recently I've installed "meld" for merging tasks. The problem: as a user meld works pretty fine but obviously doesn't save any changes to files that require root permission. Now I have tried to start meld with sudo, but this doesn't work:
$ sudo meld
Passwort:** (process:9665): WARNING **: Trying to register gtype 'GMountMountFlags' as enum when in fact it is of type 'GFlags'
** (process:9665): WARNING **: Trying to register gtype 'GDriveStartFlags' as enum when in fact it is of type 'GFlags'
** (process:9665): WARNING **: Trying to register gtype 'GSocketMsgFlags' as enum when in fact it is of type 'GFlags'
No protocol specified
/usr/lib/python2.7/site-packages/gtk-2.0/gtk/__init__.py:57: GtkWarning: could not open display
warnings.warn(str(e), _gtk.Warning)
/usr/bin/meld:126: GtkWarning: IA__gtk_icon_theme_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed
gtk.icon_theme_get_default().append_search_path(meld.paths.icon_dir())
Traceback (most recent call last):
File "/usr/bin/meld", line 126, in <module>
gtk.icon_theme_get_default().append_search_path(meld.paths.icon_dir())
AttributeError: 'NoneType' object has no attribute 'append_search_path'
I must admit that i don't have an idea what that means ![]()
So, any help would be appreciated ![]()
Last edited by swordfish (2012-06-03 12:18:09)
Arch_x64 on Thinkpad Edge E520 (Intel Core i5, 4 GB RAM, 128 GB Crucial M4 SSD) + ITX-Desktop (Asrock H77M-ITX, Intel Core i3-2120T, 8GB RAM, 64 GB Samsung 830 SSD)
Offline
My initial guess is that different users don't automatically get access to X - in particular, I suppose sudo doesn't automatically work for gtk apps.
Something like gksudo may work?
Offline
Something like gksudo may work?
Seems you are right
. I've installed gksu and now it seems to work - the GUI starts when I use "gksudo meld".
Maybe gksu should become a dependency for meld?!
Thanks a lot ![]()
Arch_x64 on Thinkpad Edge E520 (Intel Core i5, 4 GB RAM, 128 GB Crucial M4 SSD) + ITX-Desktop (Asrock H77M-ITX, Intel Core i3-2120T, 8GB RAM, 64 GB Samsung 830 SSD)
Offline
"sudo meld" works fine for me under Xfce.
Offline
Offline
Pages: 1
Topic closed