You are not logged in.

#1 2017-12-04 23:38:16

Thorvald
Banned
Registered: 2015-10-27
Posts: 59

Open dconf or how to use it from terminal

I know this would seem trivial, but in gnome using

ALT+F2

and typing dconf does not open an interactive session to "edit" gnome
preferences. Basically, I want to save all the windows that are open
when I log out, using the solution given by Hasasn https://unix.stackexchange.com/question … -3-session.

Is there any way to open a window for manipulate dconf? If not the case, how can I do this
edit from terminal?

Offline

#2 2017-12-04 23:46:22

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: Open dconf or how to use it from terminal

dconf is a command-line tool, see man dconf for more information.

You're probably thinking of dconf-editor, which is the graphical version.


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#3 2017-12-05 00:32:14

Thorvald
Banned
Registered: 2015-10-27
Posts: 59

Re: Open dconf or how to use it from terminal

Correct, actually there is a problem with the editor:

(dconf-editor:32091): GLib-GIO-ERROR **: Settings schema 'ca.desrt.dconf-editor.Settings' does not contain a key named 'small-keys-list-rows'
Trace/breakpoint trap (core dumped)

Could you give an example on how to use dconf? I looked at what it says, but as with many man pages, I don't understand a bit.
I tried the direct approach:

$ dconf org/gnome/gnome-session

to no avail.

Last edited by Thorvald (2017-12-05 00:32:55)

Offline

#4 2017-12-05 00:40:11

loqs
Member
Registered: 2014-03-06
Posts: 19,113

Re: Open dconf or how to use it from terminal

$ dconf org/gnome/gnome-session
error: unknown command org/gnome/gnome-session

Unknown command 'org/gnome/gnome-session'

Usage:
  dconf COMMAND [ARGS...]

Commands:
  help              Show this information
  read              Read the value of a key
  list              List the contents of a dir
  write             Change the value of a key
  reset             Reset the value of a key or dir
  compile           Compile a binary database from keyfiles
  update            Update the system databases
  watch             Watch a path for changes
  dump              Dump an entire subpath to stdout
  load              Populate a subpath from stdin

Use 'dconf help COMMAND' to get detailed help.

That did not provide you with any insight into what to try next?

Offline

Board footer

Powered by FluxBB