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
0
votes
1 answer

Generate Gsettings schema files in linux

I am using Gsettings schema and have com.test.gschema.xml file. Now some keys inside the schema are enum and thus I require com.test.enums.xml file. Now I am using CMakeLists and thus can't use gsettings_ENUM_NAMESPACE and gsettings_ENUM_FILES. On…
Yug Singh
  • 3,112
  • 5
  • 27
  • 52
0
votes
1 answer

How to add Dconf Package to buildroot

I am very new to buildroot. I want to use GSetting in my project. It turns out that Gsettings need backend implementation called GConf to save the config. Because of not having this module installed in ROOT-FS, I keep getting this error message when…
0
votes
1 answer

What are the restrictions on GSetting path names?

I've read in the GSettings documentation that: Key names are restricted to lowercase characters, numbers and '-'. Furthermore, the names must begin with a lowercase character, must not end with a '-', and must not contain consecutive dashes But…
andy.holmes
  • 3,383
  • 17
  • 28
0
votes
1 answer

Is it possible to mark GSettings/GSchema as translatable?

I have a GSchema defining some flags like so: However I have been informed by a translator that these are not processed…
andy.holmes
  • 3,383
  • 17
  • 28
0
votes
1 answer

Edit gsettings in a C++

I'm trying to edit a gsetting through a C++ program. I've read this question and I'm able to get the value. If I try to set it (using set_uint method), change seems to be made (if I re-read it shows the new value) but, if I check manually, it is not…
Mirko
  • 75
  • 1
  • 9
0
votes
0 answers

.profile in Ubuntu is running desired Python script, but script is not working as usual?

I'm creating a background changer for Ubuntu using Python, mostly for fun. When I run the script from the shell, it works and alternates the background between images in a certain folder. Now I am trying to run the script through .profile so that it…
0
votes
0 answers

how to store an array of array of strings in gsettings

I am using GSettings in my JS code to store some data. Now i need to store an array of array of strings, something like this: var arr1 = new Array(); for (var index in list) { arr1[index] = new Array(); …
0
votes
2 answers

Reading gsettings from C++ program

I need to programmatically get the value of com.ubuntu.user-interface scale-factor from gsettings in my C++ program. Is there any elegant way to do this, instead of calling gsettings binary and parsing it's output?
Alexey Gusev
  • 526
  • 1
  • 4
  • 8
0
votes
1 answer

How to store int64 value in GSettings?

I am using GSettings in my Vala application to store some data. And one of my fields should store date. And all functions in Vala that manage date and time return int64 value. I know how to store int values in GSettings schema, but I want to do it…
serge1peshcoff
  • 4,342
  • 11
  • 45
  • 76
-1
votes
0 answers

Configuring keyboard shortcuts using Super linux

I am trying to configure keyboard shortcuts using the gsettings command. When trying to configure keyboard shortcuts using Super, a problem occurs, for example: gsettings set org.gnome.shell.keybindings toggle-overview "['s']" After this…
DimaL
  • 1
1 2
3