Cannot run program - 'org.gnome.desktop.interface' is not installed
5,782
quite later, but try to install gsettings-desktop-schemas
.
Author by
hadi ahadi
Updated on September 18, 2022Comments
-
hadi ahadi over 1 year
I am trying to make a python app that basically views a web page with QUICKLY on Ubuntu 12.04.
When I do
sudo quickly run
in terminal, I always get this error:(saikoroubuntu:5283): GLib-GIO-ERROR **: Settings schema 'org.gnome.desktop.interface' is not installed
What seems to be the issue?
Here is my code:
#!/usr/bin/env python import gtk import sys from PyQt4.QtCore import * from PyQt4.QtGui import * from PyQt4.QtWebKit import * app = QApplication(sys.argv) web = QWebView() web.load(QUrl("http://shifat.tk/apps/saikoro/ios")) web.show() sys.exit(app.exec_())
I'm basically using the code I found on Stackoverflow: "How to make a simple cross-platform webbrowser with Python?"
-
xubuntix over 11 yearsrunning the code code you posted (with a different url...) with
import gtk
and with or withoutsudo
works for me. I guess you have to give more information. Are you really using the standard Ubuntu 12.04?
-
-
nilsonneto about 11 yearsPerhaps you can explain how you would do that, what this would do, the risks etc.
-
woopsies over 10 yearsFor posterity, this solution worked for me. Just run "sudo apt-get install gsettings-desktop-schemas".
-
yerforkferchips over 6 yearsFor whatever reason I needed to do this (i.e. reinstall this package) after a system upgrade on Arch to make GNOME work at all, so thank you!