Questions tagged [gsettings]

Questions about using gsettings, the command-line version of dconf-editor, to read or modify the dconf database. Using gsettings, the schemas and keys of various programs can be viewed and altered. Sometimes hidden settings (that are not in the gui of a program) can be discovered this way.

See gsettings manual page on developer.gnome.org.

259 questions
3
votes
0 answers

List gsettings changes from default

Someone asked a question today on how to prevent windows from moving when monitors disconnect. I know I did this a few months ago with gsettings but can't remember the schema/key. How can I list all gsettings changes I've made since installation?
2
votes
1 answer

which gsettings schema controls "show my login name in the menu bar"?

I would like to script the enabling of Ubuntu's "show my login name in the menu bar". The checkbox lives in the GUI under System Settings > User Accounts. I assume this can be scripted using gsettings. I've grep'd gsettings get-schemas for the…
2
votes
2 answers

Ubuntu settings are locked down: `The key is not writable` - drag and drop issue/background picture

I cannot drag and drop anything from the activities menu to the launcher/dock. I also cannot set my background picture or the lock screen picture. I tried this command in terminal and get the error below. root@XXXX:/home/XXXXX# gsettings set…
tron12
  • 21
2
votes
1 answer

How do I disable focus follows mouse?

I have enabled the following. gsettings set org.gnome.desktop.wm.preferences focus-mode 'mouse' Now how can I disable it?
nazar2sfive
  • 1,335
1
vote
1 answer

Changing background file can freeze 17.04. What's wrong with these?

I wrote a script to change the background file in Mate 17.04: First, I once issued this command: gsettings set org.gnome.desktop.background picture-uri file:///home/me/temp/background.jpg Then I ran this script: #/bin/bash find -L ~/Pictures -name …
jpezz
  • 1,120
1
vote
1 answer

Why 'gsettings range' is not showing all options?

I learned that the gsettings range shows all possible options for a the setting but when I do gsettings range org.gnome.gedit.preferences.editor scheme It does not show me options for schemes presented by GUI settings…
1
vote
1 answer

Why has this gsettings command stopped working between 16.04 and 16.04.1?

I was using this snippet of code (shell script) to interact with the Gnome Terminal profile on 16.04 and it worked fine profile=$(gsettings get org.gnome.Terminal.ProfilesList default) profile=${profile:1:-1} # remove leading and trailing single…
1
vote
0 answers

Is it possible to call script to verify gsettings element?

I want to add a script to verify gsettings value. If user set a gsetting key:value using gsettings set command, then the script will be called and check whether the set operation was sucessful. Is it possible?
0
votes
1 answer

when use "gsettings set org.gnome.desktop.background picture-uri file_path" from root not working

I when use gsettings set org.gnome.desktop.background picture-uri file_path from root not working but run from Anotheruser it`s work. Even when I put it inside crontab -u Anotheruser -e. But not working My os : ubuntu 16.04 LTS I tried all the way…
hamid
  • 1
-1
votes
2 answers

What is the key for workspace count in Ubuntu 22.04?

I want to automate the workspace count mentioned in How to disable multiple workspaces on Ubuntu 22.04? I would prefer to use gsettings but I can't find the key. What is the key there?
Saeed Neamati
  • 793
  • 2
  • 7
  • 20