Linux, being a multi-user system, begs for you to configure it such that all users initially experience exactly what you want them to experience. One option you have, which is very easy to do, is to create specific desktop launchers that are added to all new users upon first login. Naturally those users can then delete those launchers, but it gives you the opportunity to add launchers for things like help documentation or specific links to specific web sites.
But how is this particular task done? There isn't a specific GUI tool for it so, as you would imagine, you will be using a combination of GUI and command tools to get this process complete. It's fast, it's easy, and the end result could save you a lot of time when deploying Linux GNOME desktops.
Create your launchers
The first thing you must do is create the necessary launchers. In order to create a launcher in GNOME right click anywhere on the desktop and select Create Launcher. When you do this a new window will open (see Figure 1) where you enter all of the details for the launcher.
Say you want to create a launcher that will open the default browser to the Ghacks website. For this you would select Location from the "Type" drop down, give the launcher a name, enter the Ghacks URL for the location, and then a comment. You can customize that with a nice icon by clicking the icon button and selecting an image.
Once you have clicked okay the launcher is ready for you to use. But how do you enable this for all new users? Let's take a look.
Make it available
If you open up a terminal window and then change into the ~/Desktop directory, you will see a file called (in my case) Ghacks.desktop. The contents of this file look like:
If you know what you are doing, you can edit these (and create them) manually.
Okay, so you have your launcher, what do you do? Simple...from the command line you need to copy the launchers you want added to all new users desktops to the /etc/skel directory. By default, you will see a launcher already in their called examples.desktop. That launcher really doesn't do anything - it just serves as a model for you to use to create launchers. As you've seen here, you don't really need a sample.
Create as many launchers, and as many types of launchers as you need. When a new user logs in for the first time, those launchers will be copied to their desktop for their use.
The Linux desktop is a perfect example of real flexibility. You can make the desktop be and do anything you want. And, as an administrator, you can easily set up your new users such that they be greeted by the exact launchers you want them to have on their desktop. By taking advantage of this feature you can help to ensure your Linux desktop users start off on the right foot.Advertisement
Advertising revenue is falling fast across the Internet, and independently-run sites like Ghacks are hit hardest by it. The advertising model in its current form is coming to an end, and we have to find other ways to continue operating this site.
We are committed to keeping our content free and independent, which means no paywalls, no sponsored posts, no annoying ad formats or subscription fees.
If you like our content, and would like to help, please consider making a contribution:
Ghacks is a technology news blog that was founded in 2005 by Martin Brinkmann. It has since then become one of the most popular tech news sites on the Internet with five authors and regular contributions from freelance writers.