How to backup and restore Cinammon panel Launchers?

Please post suggestions for improvement of Cinnamon here
https://github.com/linuxmint/Cinnamon
Post Reply
4RainButterfly
Level 1
Level 1
Posts: 4
Joined: Thu Oct 04, 2018 4:30 pm

How to backup and restore Cinammon panel Launchers?

Post by 4RainButterfly » Sat Oct 13, 2018 12:44 pm

I would like to backup all my launchers in the panel on the bottom left near the menu button.
Also, I'd like to backup all my custom launchers inside the menu itself.

I tried dconf dump /org/cinnamon/ > backup_of_my_cinnamon_settings - which is nice, but it doesn't contain the list of launchers in the bottom left of the panel or the menu.

Is there a command line option or gui setting I can use to do this?

Lastly, how would I restore after backing up? Thank you.

User avatar
smurphos
Level 8
Level 8
Posts: 2258
Joined: Fri Sep 05, 2014 12:18 am
Location: Britisher...

Re: How to backup and restore Cinammon panel Launchers?

Post by smurphos » Sat Oct 13, 2018 1:30 pm

For the panel launchers look in...

~/.cinnamon/configs/panel-launchers@cinnamon.org

For each panel-launcher applet there will be a numbered ,json file which contains the launcher definitions. The number matches the applet number assigned to the panel-launcher applet in org.cinnamon enabled-applets in dconf/gsettings.

E.g. this snippet from the output of gsettings get org.cinnamon enabled-applets is one of my panels with 3 panel launcher applets

Code: Select all

'panel2:center:0:panel-launchers@cinnamon.org:24',  'panel2:center:1:spacer@cinnamon.org:30', 'panel2:center:4:panel-launchers@cinnamon.org:31', 'panel2:center:3:spacer@cinnamon.org:32', 'panel2:center:2:panel-launchers@cinnamon.org:33'
And i have

Code: Select all

ls ~/.cinnamon/configs/panel-launchers@cinnamon.org
24.json  31.json  33.json
So if you back up both dconf and that folder and restore both you should be good.
Last edited by smurphos on Sat Oct 13, 2018 1:35 pm, edited 2 times in total.

User avatar
smurphos
Level 8
Level 8
Posts: 2258
Joined: Fri Sep 05, 2014 12:18 am
Location: Britisher...

Re: How to backup and restore Cinammon panel Launchers?

Post by smurphos » Sat Oct 13, 2018 1:34 pm

For customised menu entries look in..

~/.local/share/applications

Any customised or new menu entry will have a .desktop file in this folder.

For complex backup and restore functionality - including dconf and specific folders in your home I recommend aptik - https://github.com/teejee2008/aptik

Post Reply

Return to “Cinnamon”