I am looking for a way to add icons to dash to dock in an automated way. I would use this sort of behavior for an initial set up of my system. I can't seem to find anything on this topic by searching Google. I also dug through dconf to see if there is anything in there.
The question is, where does dash to dock keep these settings? Are these editable through terminal so I can set icons on my dock?
Hi,
I think that the favorite apps are saved by the shell itself in
gsettings get org.gnome.shell favorite-apps
so you should be able to add programmatically application via gsetting set.
I was about to answer as well... Here is an example:
dconf write /org/gnome/shell/favorite-apps "['org.gnome.Nautilus.desktop', 'firefox.desktop', 'rhythmbox.desktop']"
To simply get the string:
dconf read /org/gnome/shell/favorite-apps
@franglais125 Ah yes, that was it. Thank you so much!
works here, thanks @franglais125
Most helpful comment
I was about to answer as well... Here is an example:
To simply get the string: