Adding Desktop Icons for New Users

Ubuntu Version:

24.04 LTS

Desktop Environment (if applicable):
GNOME

How do I automatically add icons to the desktop when a user is created? Is it possible to do it with a script or some configuration file? I want it to map to Firefox and a couple other things. However, I am creating a custom Ubuntu version with Cubic, so it needs to be through the terminal (and if possible, doing it with no extra apps). Sorry if this is in the wrong section, I haven’t posted before.

If you make a Desktop directory in /etc/skel, using:

sudo mkdir -p /etc/skel/Desktop

You can then put files in this directory. New users get the skel directory copied to their home so any files you add in there will be copied. Be sure to mark any .desktop files as executable to remove the GUI nag

1 Like

This topic was automatically closed 18 hours after the last reply. New replies are no longer allowed.