2

I'm looking to create a simple shortcut to a folder that will appear on all users desktops when they login into an Ubuntu 14.04 machine. The machine has been joined to a Microsoft AD.

Help appreciated.

3

For new users, you could place a symlink to the desired directory into /etc/skel/Desktop. Note that you may adapt the Desktop directory name depending on your locale.

For all users in general, create a root owned .desktop file in /etc/xdg/autostart folder for all users to access, and for Exec= line , create a symbolic link to the program you want users to access. For instance,

bash -c 'ln -s /usr/share/applications/gedit.desktop /home/$USER/Desktop/gedit-link'

Note, the above exaple uses as gedit.desktop just as an example; adapt as necessary for your specific case. The link will be created on user's desktop every time they log in.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.