How to quickly add/restore panel launchers (Cinnamon)

Write tutorials here
There are more tutorials here
Forum rules
Please don't add support questions to tutorials,start your own thread in the appropriate sub-forum instead. Before you post please read this

How to quickly add/restore panel launchers (Cinnamon)

Postby oscarjd74 on Thu Jan 03, 2013 6:27 am

Adding a lot of panel launchers can be tedious using the conventional method of right-clicking in the menu. It is especially tedious if you're installing multiple computers or if you do a fresh installation each half year.

Luckily there is a quick and convenient way to do it on the command line.

To see the current panel launchers setting, open a terminal and enter:
Code: Select all
gsettings get org.cinnamon panel-launchers

This will output something like: ['firefox.desktop', 'gnome-terminal.desktop', 'nemo.desktop']

To set your custom panel launchers, open a terminal and enter something like (note the double quotes):
Code: Select all
gsettings set org.cinnamon panel-launchers "['nemo.desktop', 'firefox.desktop', 'thunderbird.desktop', 'sonata.desktop', 'gedit.desktop', 'libreoffice-writer.desktop', 'libreoffice-calc.desktop', 'gcalctool.desktop', 'gnucash.desktop', 'gnome-terminal.desktop', 'synaptic.desktop']"

You can use the .desktop files in /usr/share/applications or create your own in ~/.cinnamon/panel-launchers.

To restore your panel launchers from a previous installation:
1. Run the gsettings get command in the previous installation and save the result.
2. Copy ~/.cinnamon/panel/launchers from a previous installation to the new one.
3. Run the gsettings set command in the new installation using the result saved in step 1.
Level 1
Level 1
Posts: 3
Joined: Tue Dec 27, 2011 9:13 pm

Linux Mint is funded by ads and donations.

Re: How to quickly add/restore panel launchers (Cinnamon)

Postby highwind on Fri Mar 28, 2014 3:17 pm

but why can't "nemo.desktop" be added?

First nemo is here:
Code: Select all
ls /usr/share/applications/ | grep nemo

Code: Select all
gsettings set org.cinnamon panel-launchers "['cinnamon-custom-launcher-1.desktop','firefox.desktop', 'nemo.desktop']"

but no nemo in launcher at all
Nemo-Actions(learn from Thunar)
my unsolved posts:
Level 2
Level 2
Posts: 66
Joined: Tue Jan 07, 2014 4:25 pm

Return to Tutorials

Who is online

Users browsing this forum: No registered users and 17 guests