how to copy all Mate config to a new machine

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
pgf
Level 1
Level 1
Posts: 11
Joined: Sat Apr 16, 2022 10:45 am

how to copy all Mate config to a new machine

Post by pgf »

I'd like to take everything I've set up: menus, workspaces, panels, key bindings, mouse preferences, applet config and application config (for startup apps, at least), and put them on a new machine.

Is this even possible? It seems that it's no longer expected for system programs to document where their configuration lives.
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.
deepakdeshp
Level 21
Level 21
Posts: 12626
Joined: Sun Aug 09, 2015 10:00 am

Re: how to copy all Mate config to a new machine

Post by deepakdeshp »

If you clone your disk or Linux partition, it should work. I have used Clonezilla successfully for this. There is Foxclone whose developer is AndyMH present on this forum.
If I have helped you solve a problem, please add [SOLVED] to your first post title, it helps other users looking for help.
Regards,
Deepak

Mint 22 Cinnamon 0U/8gb
pgf
Level 1
Level 1
Posts: 11
Joined: Sat Apr 16, 2022 10:45 am

Re: how to copy all Mate config to a new machine

Post by pgf »

Oh, I have no doubt that cloning my installation would do it.
I wasn't specific enough -- my bad. I have a couple of other machines in the house that are currently running a different WM, and I'd like to switch to Mate on those, just as I have on my laptop. I don't want to reinstall them -- just want to run a fresh Mate, configured like my laptop.
User avatar
smurphos
Level 18
Level 18
Posts: 8722
Joined: Fri Sep 05, 2014 12:18 am
Location: Irish Brit in Portugal
Contact:

Re: how to copy all Mate config to a new machine

Post by smurphos »

pgf wrote: Wed Apr 27, 2022 5:50 pm Is this even possible? It seems that it's no longer expected for system programs to document where their configuration lives.
Most of the mate desktop config is is dconf (along with the config for any gnome apps, and some third part apps that have adopted dconf for there config storage).

Install dconf-editor for a GUI interface to explore what's in there and decide what you want to backup, but I suspect this will do the job for the mate specific stuff...in a terminal

Code: Select all

dconf dump /org/mate/ > somefilename
& on the new install having moved the backup file (this is best done form a TTY without the desktop running)

Code: Select all

dconf load /org/mate/ < somefilename
Otherwise - you are looking at (I'd recommend selective) backup and restore of contents of ~/.config, ~/.linuxmint and ~/.local/share and possibly some of the . files or folders in the root of your ~/
For custom Nemo actions, useful scripts for the Cinnamon desktop, and Cinnamox themes visit my Github pages.
pgf
Level 1
Level 1
Posts: 11
Joined: Sat Apr 16, 2022 10:45 am

Re: how to copy all Mate config to a new machine

Post by pgf »

Thank you! Those dconf dump/load commands will be great.
I'll muddle through the rest.
rickNS
Level 10
Level 10
Posts: 3066
Joined: Tue Jan 25, 2011 11:59 pm

Re: how to copy all Mate config to a new machine

Post by rickNS »

smurphos wrote: Thu Apr 28, 2022 12:44 am

Code: Select all

dconf load /org/mate/ < somefilename
Smorphos, I have to ask, because I am not smart. Did you read all the thread ? And note the part where the OP wants his MATE settings transferred to;
I have a couple of other machines in the house that are currently running a different WM, and I'd like to switch to Mate on those
I just didn't think this was possible, to dump MATE settings on to say Cinnamon. I well could be wrong, I have been before, and apologize if I am.
Mint 20.0, and 21.0 MATE on Thinkpads, 3 X T420, T450, T470, and X200
pgf
Level 1
Level 1
Posts: 11
Joined: Sat Apr 16, 2022 10:45 am

Re: how to copy all Mate config to a new machine

Post by pgf »

I think that once again that I wasn't clear enough in my initial request, so I'll start further back:
I've always used fvwm as my WM. For decades, in fact. I've decided (for reasons having nothing to do with FVWM -- it's great) to switch my several machines (all "daily drivers") to using Mate, instead.
I've switched on my laptop, and spent the last few weeks doing all the usual tweaking one does to get everything [as close as possible] to perfect.
Now I want to switch to Mate on those other machines as well. So I'll be doing a dconf dump of Mate settings on my laptop, and a dconf load of those settings on the other machines. Plus copying configs for some other non-Mate tools, of course.
User avatar
smurphos
Level 18
Level 18
Posts: 8722
Joined: Fri Sep 05, 2014 12:18 am
Location: Irish Brit in Portugal
Contact:

Re: how to copy all Mate config to a new machine

Post by smurphos »

rickNS wrote: Thu Apr 28, 2022 8:31 am Smorphos, I have to ask, because I am not smart. Did you read all the thread ?
Yep... the question asked was how to transfer configs, not how to install MATE, which the OP already stated he has done on one machine.
For custom Nemo actions, useful scripts for the Cinnamon desktop, and Cinnamox themes visit my Github pages.
rickNS
Level 10
Level 10
Posts: 3066
Joined: Tue Jan 25, 2011 11:59 pm

Re: how to copy all Mate config to a new machine

Post by rickNS »

smurphos wrote: Thu Apr 28, 2022 10:08 am
Yep... the question asked was how to transfer configs, not how to install MATE, which the OP already stated he has done on one machine.
I get that the OP has MATE on one machine, and the "others" are FVWM. If they all started out from the same ISO download (MATE), I also get, no problem.

My question is, and remains If those "other" machines started out as Mint Cinnamon, (which wasn't made clear, to me anyway) would the MATE config dump still work on them?
Mint 20.0, and 21.0 MATE on Thinkpads, 3 X T420, T450, T470, and X200
User avatar
smurphos
Level 18
Level 18
Posts: 8722
Joined: Fri Sep 05, 2014 12:18 am
Location: Irish Brit in Portugal
Contact:

Re: how to copy all Mate config to a new machine

Post by smurphos »

It would work, and the settings would be recorded , the only issue would be noted in dconf-editor where the user would be asked if they wanted to delete any keys with no system default, or they would be deleted if the user ran a dconf reset

Installing MATE installs the packages that set the dconf defaults.
For custom Nemo actions, useful scripts for the Cinnamon desktop, and Cinnamox themes visit my Github pages.
User avatar
smurphos
Level 18
Level 18
Posts: 8722
Joined: Fri Sep 05, 2014 12:18 am
Location: Irish Brit in Portugal
Contact:

Re: how to copy all Mate config to a new machine

Post by smurphos »

Just for kicks

Code: Select all

steve@steve-Inspiron-5580:~$ dconf write /some/nonsense/smurphos true
Image
For custom Nemo actions, useful scripts for the Cinnamon desktop, and Cinnamox themes visit my Github pages.
Locked

Return to “MATE”