How to globally change a Gnome/Unity schema setting for your desktop

Simply do the following:

  1. Edit the attribute you need to change in a specific schema inside /usr/share/glib-2.0/schemas/[your_schema_name], e.g.
    sudo vi /usr/share/glib-2.0/schemas/com.canonical.canonical.indicator.session.gschema.xml
  2. Change the value you need, in my case I wanted to disable the user-show-menu key, so I changed it from the default value of true to false
  3. After you’re done, just run:
    glib-compile-schemas /usr/share/glib-2.0/schemas

Enjoy!

Sources:

  1. http://www.techytalk.info/customize-default-desktop-environment-settings-gnome-centric-linux-distributions/
  2. https://wiki.gnome.org/HowDoI/GSettings
  3. https://developer.gnome.org/platform-overview/stable/tech-gsettings.html.ru
Unknown's avatar

About Ahmed Tawfik

Cybersecurity Professional, Systems Engineer, OSS & Linux Geek
This entry was posted in Linux and tagged , , , , , , . Bookmark the permalink.

2 Responses to How to globally change a Gnome/Unity schema setting for your desktop

  1. Alex's avatar Alex says:

    You could certainly see your expertise within the work you write. The world hopes for even more passionate writers like you who aren’t afraid to mention how they believe. Always follow your heart.

    Like

  2. Natalia Cisneros's avatar Natalia Cisneros says:

    excellent publish, very informative. I ponder why the opposite experts of this sector don’t realize this. You must continue your writing. I am sure, you’ve a great readers’ base already!

    Like

Leave a reply to Natalia Cisneros Cancel reply