Questions tagged [gsettings]

GSettings is an API that allows you to access key/value pairs (e.g., persistent application settings) without directly talking to the actual backend that stores that data (config files, gconf, dconf).

Useful Links:

Gsettings Developer guide

gsettings Command Line Tool

40 questions
10
votes
1 answer

GLib-GIO-Message: Using the 'memory' GSettings backend. Happened in Ubuntu 16.10 after going from GNOME to Unity to GNOME again

GNOME in Ubuntu 16.10 has been working great for me on my HiDPI laptop. As linux users with HiDPI displays know, chaning the window scaling factor is necessary to make the machine usable without an electron microscope. Today I logged out, logged…
Gavin Ridley
  • 371
  • 3
  • 15
9
votes
3 answers

Gnome 3 - dconf / gsettings - how to assign multiple keybindings?

Goal: Assign both the Super_L or Super_R keys as triggers for the overlay menu. Environment: Gnome 3.26.2, Fedora 27, Dell XPS 9550, Kinesis Advantage2 Why: For work I use a laptop either by itself or in conjunction with external monitors, keyboard,…
Informatician
  • 319
  • 1
  • 4
  • 10
6
votes
2 answers

How to handle errors while using Glib.Settings in Vala?

I am using Glib.Settings in my Vala application. And I want to make sure that my program will work okay even when the schema or key is not available. So I've added a try/catch block, but if I'm using the key that doesn't exist, the program…
serge1peshcoff
  • 4,342
  • 11
  • 45
  • 76
5
votes
2 answers

gsettings changes are not working over ssh

I am trying to set the idle timeout for Ubuntu 14.04 using gsettings from ssh. The commands I am using are like this dbus-launch gsettings set org.gnome.desktop.session idle-delay 600 dbus-launch gsettings set org.gnome.desktop.screensaver…
Govind Karmakar
  • 131
  • 1
  • 3
  • 8
5
votes
1 answer

Is there any way to create GSettings schema during installation in Vala?

I am trying to create an application using Vala that uses Glib.Settings. I don't want my app to crash if the schema or key in it doesn't exist. I've already understood that I can't catch errors in it (How to handle errors while using Glib.Settings…
serge1peshcoff
  • 4,342
  • 11
  • 45
  • 76
4
votes
2 answers

How do I use g_settings_schema_get_key from python?

I'm following http://www.micahcarrick.com/gsettings-python-gnome-3.html to use GSettings from python, and I've succeeded to read a value: from gi.repository import…
AlexKing
  • 91
  • 6
3
votes
1 answer

How to configure GSettings for Gnome and Gtk

I'm fairly new to Linux GUI programming and am struggling to understand GSettings and Schemas. If I launch a terminal and run gsettings list-schemas I see a long list of schemas for a variety of Gnome applications. I can also launch an application…
MattP
  • 2,798
  • 2
  • 31
  • 42
3
votes
1 answer

meld - GLib-GIO-ERROR**: No GSettings schemas are installed on the system

I have installed meld 3.14.2, at last (on NFS share in Redhat 6.3 server), after nearly 40 hours of efforts , installing each and every dependency and at last seems to be successful. But one finale error needs to be solved: (meld:20703):…
GP92
  • 433
  • 1
  • 12
  • 30
3
votes
3 answers

How to get paths for relocatable schemas in Gio.Settings?

In Gio.Settings I can list relocatable schemas using Gio.Settings.list_relocatable_schemas() and I can use Gio.Settings.new_with_path(schema_id, path) to get a Gio.Settings instance. But how can I get all value for path that are currently used for…
Florian Diesch
  • 1,025
  • 10
  • 16
3
votes
1 answer

what is the relationship between .override files and .convert files used for overriding preferences using gschema?

I observe that .convert files look similar to .override files. Override files end with .gschema.override suffix. I believe that gsettings-data-convert or any other utility creates the .override files. I am looking forward to any link that can…
Pramod Aithal
  • 93
  • 1
  • 9
2
votes
0 answers

Update system wide gsettings proxy settings on Ubuntu

Is there a way to get/set system wide gsettings? I'm trying to get/set proxy settings from a C++ program which is owned by root. Currently within my program I'm making system calls to the following: gsettings set org.gnome.system.proxy mode…
anshah
  • 105
  • 9
2
votes
1 answer

Can gsettings be created dynamically?

I'm curious if gsettings can be used to store objects, or must everything be set statically? Could objects such as users objects be stored in gsettings? Could users be added and deleted with fixed properties on each user?
kagronick
  • 2,552
  • 1
  • 24
  • 29
1
vote
0 answers

gsettings proxy configuration out of sync with Network Manager GUI on RHEL/CentOS 8

I'm setting auto pac proxy settings (autoconfig-url) within a C++ program using gsettings and see that the Network Manager GUI Proxy Settings are out of sync with gsettings. In addition, after closing the Network Manager GUI it overrides the proxy…
anshah
  • 105
  • 9
1
vote
0 answers

error with dbus and gesettings inside docker container

after using the command RUN apt-get install -y dbus building and then running the container I try to change system proxy with the command gsettings set org.gnome.system.proxy.https host 'proxy-adress' but I get the output failed to commit changes to…
Camilo
  • 419
  • 1
  • 4
  • 9
1
vote
1 answer

GLib-GIO-ERROR **: Settings schema 'com.github.mfru.vala-todo' is not installed

First off, I am new to Vala, Gtk and Meson, so I might be looking in the totally wrong directions. I'm running on Pop_OS! 20.10. I want to compile a small example Vala application with support for GSettings. However, when compiling with ninja,…
mfru
  • 473
  • 1
  • 3
  • 13
1
2 3