Cannot run program - 'org.gnome.desktop.interface' is not installed

5,782

quite later, but try to install gsettings-desktop-schemas.

Share:
5,782
hadi ahadi
Author by

hadi ahadi

Updated on September 18, 2022

Comments

  • hadi ahadi
    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
      xubuntix over 11 years
      running the code code you posted (with a different url...) with import gtk and with or without sudo works for me. I guess you have to give more information. Are you really using the standard Ubuntu 12.04?
  • nilsonneto
    nilsonneto about 11 years
    Perhaps you can explain how you would do that, what this would do, the risks etc.
  • woopsies
    woopsies over 10 years
    For posterity, this solution worked for me. Just run "sudo apt-get install gsettings-desktop-schemas".
  • yerforkferchips
    yerforkferchips over 6 years
    For 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!