Where does cinnamon keep all its settings
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Where does cinnamon keep all its settings
If i change the cinnamon settings, I would like to able back them up OR make a script with all these changes.
Same goes for nemo. Better this goes in another forum.
After clean install i have a script with all my needed software (apt-get install ...)
What about all the specifics/settings you change in cinnamon and nemo and have to redo everytime?
Same goes for nemo. Better this goes in another forum.
After clean install i have a script with all my needed software (apt-get install ...)
What about all the specifics/settings you change in cinnamon and nemo and have to redo everytime?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: Where does cinnamon keep all its settings
Configuration of Cinnamon applets, desklets, and extensions is kept in the hidden folder .cinnamon/configs in your own home folder. For Cinnamon you'll find any themes, applets, desklets, and extensions you installed in .local/share/cinnamon/. For Nemo you'll find any actions you install in .local/share/nemo/. (Press Ctrl+H in your file manager to show hidden files and folders, or select that option from the menu. Command "ls -a" on the terminal to see all files and folders.)
Configuration of Cinnamon and Nemo itself is stored using dconf. To access that, install the package dconf-tools. You'll find the dconf Editor in your menu, where you can browse the dconf database. Cinnamon and Nemo configuration is found under org. On the terminal you can extract these parts of the configuration with the commands:
Dumps it to files dconf.org.cinnamon and dconf.org.nemo. It only dumps the values that aren't on their default values; so the output is likely shorter than what you see in dconf Editor (as likely most of the settings have default values; not customized by you). At a later moment you can us the command "dconf load filename" to restore settings previously stored in filename. Perhaps first do a "dconf reset -f /org/cinnamon/" or "dconf reset -f /org/nemo/" to reset all values to their default, before you load the customized values--not sure if the load command for example resets values that were the default when you made the dump, but you have changed since.
Depending on what you want to be able to roll back, pick and choose from the above.
Configuration of Cinnamon and Nemo itself is stored using dconf. To access that, install the package dconf-tools. You'll find the dconf Editor in your menu, where you can browse the dconf database. Cinnamon and Nemo configuration is found under org. On the terminal you can extract these parts of the configuration with the commands:
Code: Select all
dconf dump /org/cinnamon/ > dconf.org.cinnamon
dconf dump /org/nemo/ > dconf.org.nemo
Depending on what you want to be able to roll back, pick and choose from the above.
Re: Where does cinnamon keep all its settings
After a few experiments the following lines worked for me.
Thanks for the help!!
DUMP PROCESS
dconf dump /org/cinnamon/ > cinnamon.dconf
dconf dump /org/nemo/ > nemo.dconf
dconf dump /org/gtk/ > gtk.dconf
dconf dump /org/gnome/ > gnome.dconf
LOAD PROCESS
dconf load /org/cinnamon/ < cinnamon.dconf
dconf load /org/nemo/ < nemo.dconf
dconf load /org/gtk/ < gtk.dconf
dconf load /org/gnome/ < gnome.dconf
Each of them in a a batch file, make it executable and dump on one pc and load on an another.
My CTRL+SHIFT +ESC for gnome-system-monitor, wallpaper, font, all cinnamon, nemo, gnome and gtk settings transferred with ease.
Try to do this with windows pffff
Posting this for others to see.
ps. dconf reset -f /org/cinnamon/ is not a good idea. Cinnamon become unresponisive and did a hard reset...
ps. best change linux-mint after clean install, make a dump so you can reset later with a load
Thanks for the help!!
DUMP PROCESS
dconf dump /org/cinnamon/ > cinnamon.dconf
dconf dump /org/nemo/ > nemo.dconf
dconf dump /org/gtk/ > gtk.dconf
dconf dump /org/gnome/ > gnome.dconf
LOAD PROCESS
dconf load /org/cinnamon/ < cinnamon.dconf
dconf load /org/nemo/ < nemo.dconf
dconf load /org/gtk/ < gtk.dconf
dconf load /org/gnome/ < gnome.dconf
Each of them in a a batch file, make it executable and dump on one pc and load on an another.
My CTRL+SHIFT +ESC for gnome-system-monitor, wallpaper, font, all cinnamon, nemo, gnome and gtk settings transferred with ease.
Try to do this with windows pffff
Posting this for others to see.
ps. dconf reset -f /org/cinnamon/ is not a good idea. Cinnamon become unresponisive and did a hard reset...
ps. best change linux-mint after clean install, make a dump so you can reset later with a load
Re: Where does cinnamon keep all its settings
THANK YOU! This is what I need to have consistency across all my systems!erikdubois wrote: DUMP PROCESS
dconf dump /org/cinnamon/ > cinnamon.dconf
dconf dump /org/nemo/ > nemo.dconf
dconf dump /org/gtk/ > gtk.dconf
dconf dump /org/gnome/ > gnome.dconf
LOAD PROCESS
dconf load /org/cinnamon/ < cinnamon.dconf
dconf load /org/nemo/ < nemo.dconf
dconf load /org/gtk/ < gtk.dconf
dconf load /org/gnome/ < gnome.dconf
Each of them in a a batch file, make it executable and dump on one pc and load on an another.
Posting this for others to see.
- andrewpayne1912
- Level 1
- Posts: 6
- Joined: Sat Aug 07, 2021 6:59 pm
Re: Where does cinnamon keep all its settings
This is precisely what I was looking for too - many thanks @erikduboiserikdubois wrote: ⤴Fri Jan 23, 2015 1:07 pm After a few experiments the following lines worked for me.
Thanks for the help!!
DUMP PROCESS
dconf dump /org/cinnamon/ > cinnamon.dconf
dconf dump /org/nemo/ > nemo.dconf
dconf dump /org/gtk/ > gtk.dconf
dconf dump /org/gnome/ > gnome.dconf
LOAD PROCESS
dconf load /org/cinnamon/ < cinnamon.dconf
dconf load /org/nemo/ < nemo.dconf
dconf load /org/gtk/ < gtk.dconf
dconf load /org/gnome/ < gnome.dconf
Each of them in a a batch file, make it executable and dump on one pc and load on an another.
My CTRL+SHIFT +ESC for gnome-system-monitor, wallpaper, font, all cinnamon, nemo, gnome and gtk settings transferred with ease.
Try to do this with windows pffff
Posting this for others to see.
ps. dconf reset -f /org/cinnamon/ is not a good idea. Cinnamon become unresponisive and did a hard reset...
ps. best change linux-mint after clean install, make a dump so you can reset later with a load
Re: Where does cinnamon keep all its settings
So we are thinking that this works between LM 19.3 Cinn and LM 20.2 Cinn. I might try this dump/load, or I might just build it up as I go. Not sure yet.
- Executioner
- Level 3
- Posts: 139
- Joined: Sat Feb 06, 2016 1:49 pm
Re: Where does cinnamon keep all its settings
Where does the "dump" process put the files?
Re: Where does cinnamon keep all its settings
It will dump it to wherever you point the file to.
dconf dump /org/cinnamon/ > cinnamon.dconf
Will dump the file to the current working path of your terminal. If you just open a terminal without changing directories, then by default, it will be dumped to your home folder.
If you're using nemo, and you right click in a folder and select 'Open in terminal' then the same command will dump the file to the folder you were in.
Or you can change the command to select a particular folder:
dconf dump /org/cinnamon/ > ~/Documents/backups/cinnamon.dconf
Would put the file in your Documents folder under a 'backups' subdirectory (but only if the folder already exists).
- Executioner
- Level 3
- Posts: 139
- Joined: Sat Feb 06, 2016 1:49 pm
Re: Where does cinnamon keep all its settings
Thanks for the detailed explanation.
- AZgl1800
- Level 20
- Posts: 11171
- Joined: Thu Dec 31, 2015 3:20 am
- Location: Oklahoma where the wind comes Sweeping down the Plains
- Contact:
Re: Where does cinnamon keep all its settings
This is something I have wanted to do myself,erikdubois wrote: ⤴Wed Jan 21, 2015 2:27 am If i change the cinnamon settings, I would like to able back them up OR make a script with all these changes.
Same goes for nemo. Better this goes in another forum.
After clean install i have a script with all my needed software (apt-get install ...)
What about all the specifics/settings you change in cinnamon and nemo and have to redo everytime?
how did you go about creating that Script?
the rest of this thread is Awesome!
I realize BackupTool can do some of this, but going from 19.3 to 20.2 was a disaster.