In which folder should I place a desktop file that I want to be showed...on the desktop of every user

Asked by Marietto

Hello.

I'm trying to understand where should I place a desktop file like the one below (its the desktop file that when clicked will run Firefox) because I want that it is placed on the desktop of every user created by who will use my customized distro (with cubic) when it will be ready. So,for example,if he will create the user john,I would like that it will be placed on the folder /home/john/Desktop such as in /root/Desktop and even on the Desktop folder of the live user. I've placed it on /etc/skel such as on /etc/skel/.config or /etc/xdg and on /etc/xdg/.config during the customization of xubuntu with cubic,but I didn't see it on the desktop folder of the live user. So these aren't the right place where to save it.

[Desktop Entry]
Version=1.0
Name=Firefox Web Browser
Exec=firefox %u
Terminal=false
X-MultipleArgs=false
Type=Application
Icon=firefox
Categories=GNOME;GTK;Network;WebBrowser;
MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/rss+xml;application/rdf+xml;image/gif;image/jpeg;image/png;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;x-scheme-handler/chrome;video/webm;application/x-xpinstall;
StartupNotify=true
Actions=new-window;new-private-window;

[Desktop Action new-window]
Name=Open a New Window
Exec=firefox -new-window

[Desktop Action new-private-window]
Name=Open a New Private Window
Exec=firefox -private-window

Question information

Language:
English Edit question
Status:
Solved
For:
Cubic Edit question
Assignee:
No assignee Edit question
Solved by:
Marietto
Solved:
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1
Revision history for this message
Marietto (marietto2008) said :
#2

I have placed the desktop file on /etc/skel/Desktop and I've seen it on the desktop of the live user. This seems to be the solution. No,it does not work if I create a Desktop folder on /etc/xdg and I place the desktop file inside there. Thanks again.