• eneff@discuss.tchncs.de
    link
    fedilink
    English
    arrow-up
    5
    ·
    1 year ago

    export settings on old pc:

    dconf dump / > dconf-settings.dump

    import on new pc:

    cat dconf-settings.dump | dconf load /

    • Spectacle8011@lemmy.comfysnug.space
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      Oh! Super handy, thank you! I was just considering how I might use dconf to get this setup.

      I haven’t tried it out yet but it seems like it would work well!

      • eneff@discuss.tchncs.de
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 year ago

        Glad to help! Just keep in mind that what you’re doing there is dumping the entire dconf settings tree and applying it as is. That will include a lot of things you don’t want/care about, including state data of certain applications. You should probably sift through the dump file and throw stuff out before loading it again, but I’m sure you’ll figure it out.

        • Spectacle8011@lemmy.comfysnug.space
          link
          fedilink
          English
          arrow-up
          2
          ·
          1 year ago

          I’ll keep that in mind. The main thing is changing keyboard shortcuts—I like most of the defaults in GNOME. In theory, this should actually be easier to port over to new computers than Sway, because I only need to import one configuration dump.

          I mean, I probably could have written a Makefile or something for my dotfiles repository but I’m lazy…