Há alguns anos, também mantive um script para manter a configuração do (s) meu (s) ambiente (s) em um arquivo de script.
Existem três tipos de configurações no Cinnamon:
- Configurações do DConf para a maioria das especificações da Canela.
- configurações de canela para alguns componentes do Cinnamon.
- Arquivos de configuração aleatórios, cada um sendo específico do aplicativo (como navegadores, terminais, etc.).
E existem muitas configurações que não são fáceis de configurar ou simplesmente não estão disponíveis para configuração.
Então, depende do que você precisa?
Aqui estão alguns exemplos de configurações que eu uso ...
Para as configurações de canela, muito pode ser feito com comandos simples, como, por exemplo, para o gerenciador de arquivos do Nemo:
dconf write /org/nemo/preferences/show-hidden-files true
dconf write /org/nemo/preferences/show-image-thumbnails "'never'"
dconf write /org/nemo/preferences/show-full-path-titles true
dconf write /org/nemo/preferences/quick-renames-with-pause-in-between true
dconf write /org/nemo/preferences/show-advanced-permissions true
dconf write /org/nemo/preferences/show-home-icon-toolbar true
dconf write /org/nemo/preferences/show-new-folder-icon-toolbar true
dconf write /org/nemo/preferences/show-compact-view-icon-toolbar false
dconf write /org/nemo/preferences/show-icon-view-icon-toolbar false
dconf write /org/nemo/preferences/show-list-view-icon-toolbar false
dconf write /org/nemo/preferences/show-open-in-terminal-toolbar true
dconf write /org/nemo/list-view/default-visible-columns "['name', 'size', 'type', 'date_modified', 'owner', 'permissions']"
Ou, para a área de trabalho geral do Canela:
##### Desktop settings.
dconf write /org/cinnamon/desktop/wm/preferences/num-workspaces 2
dconf write /org/cinnamon/desktop/background/picture-uri "'file:///usr/share/backgrounds/linuxmint-qiana/j_baer_5976503592.jpg'"
dconf write /org/cinnamon/desktop/background/color-shading-type "'solid'"
dconf write /org/cinnamon/desktop/background/picture-options "'zoom'"
dconf write /org/cinnamon/desktop/background/slideshow/image-source "'xml:///usr/share/cinnamon-background-properties/linuxmint-qiana.xml'"
dconf write /org/cinnamon/startup-animation false
dconf write /org/cinnamon/desktop-effects false
dconf write /org/cinnamon/desklet-decorations 0
dconf write /org/cinnamon/enabled-desklets "['[email protected]:0:150:0']"
dconf write /org/cinnamon/panels-resizable "['1:true']" # This must be true for the following height to take effect.
dconf write /org/cinnamon/panels-height "['1:33']"
dconf write /org/cinnamon/desktop/interface/clock-show-date true
##### Sound settings.
dconf write /org/cinnamon/sounds/login-enabled false
dconf write /org/cinnamon/sounds/logout-enabled false
dconf write /org/cinnamon/sounds/unplug-enabled false
dconf write /org/cinnamon/sounds/tile-enabled false
dconf write /org/cinnamon/sounds/plug-enabled false
dconf write /org/cinnamon/sounds/switch-enabled false
##### Touchpad/mouse settings.
dconf write /org/cinnamon/settings-daemon/peripherals/touchpad/natural-scroll false
dconf write /org/cinnamon/settings-daemon/peripherals/touchpad/scroll-method "'two-finger-scrolling'"
dconf write /org/cinnamon/settings-daemon/peripherals/touchpad/motion-acceleration 5.4820717131474108 # A fraction is needed.
dconf write /org/cinnamon/settings-daemon/peripherals/touchpad/horiz-scroll-enabled false
dconf write /org/cinnamon/settings-daemon/peripherals/touchpad/two-finger-click 3
dconf write /org/cinnamon/settings-daemon/peripherals/touchpad/disable-while-typing true
dconf write /org/cinnamon/settings-daemon/peripherals/touchpad/three-finger-click 2
dconf write /org/cinnamon/settings-daemon/peripherals/touchpad/motion-threshold 2
##### Power settings.
dconf write /org/cinnamon/settings-daemon/plugins/power/button-power "'interactive'"
dconf write /org/cinnamon/settings-daemon/plugins/power/sleep-inactive-ac-timeout 0
dconf write /org/cinnamon/settings-daemon/plugins/power/critical-battery-action "'hibernate'"
dconf write /org/cinnamon/settings-daemon/plugins/power/idle-dim-time 90
dconf write /org/cinnamon/settings-daemon/plugins/power/sleep-inactive-battery-timeout 0
dconf write /org/cinnamon/settings-daemon/plugins/power/lid-close-ac-action "'nothing'"
dconf write /org/cinnamon/settings-daemon/plugins/power/lid-close-battery-action "'nothing'"
dconf write /org/cinnamon/settings-daemon/plugins/power/idle-brightness 30
dconf write /org/cinnamon/settings-daemon/plugins/power/sleep-display-ac 600
dconf write /org/cinnamon/settings-daemon/plugins/power/sleep-display-battery 600
##### Default terminal
dconf write /org/cinnamon/desktop/applications/terminal/exec "'/usr/bin/terminator'"
Tudo isso é gravado em "~ / .config / dconf / user". Para lê-los de volta (e de fato chamar os comandos acima), instale o "dconf-cli" e execute o comando:
dconf dump /
E para os vários componentes do Cinnamon que usam configurações JSON, veja aqui:
~/.cinnamon/configs/
Existe algo mais específico ou aplicativo específico que você precisa?