Updated: 14-Jun-2008
We've already discussed adding icons from the K-menu. But icons such as ""My Computer", "Trash" and "Printers" don't appear in that menu.
Most recent switchers to Linux will want to use graphical methods to create icons. Here we describe how to create those icons for the KDE desktop without using the command line. If you are looking for similar instructions for the GNOME desktop, click this link to go to an excellent article by Falko Timme on the HowToForge website that describes how to do it in Ubuntu using the configuration editor.
The three basic steps to add them to your desktop are these:
You repeat those same 3 steps for each icon. The content of the text file is what varies for each icon.
Let's start with the My Computer icon. In Windows, the My Computer icon opens the Windows Explorer, showing your hard drive(s) and removable drive(s). File management under KDE is normally accomplished using Konqueror. There are other file managers for KDE, but we will use Konqueror for our example.
This will create and icon named My Computer, using the Tux penguin icon. The new launcher opens Konqueror showing your hard drive(s) and any mounted removable media.
Here are the file names and the text to copy and paste into your text files for some other "system" icons:
File name: Home.desktop
[Desktop Entry]
Encoding=UTF-8
Icon=folder_home
Name=Home
OnlyShowIn=KDE;
Type=Link
URL=/home
File name: Printers.desktop
[Desktop Entry]
Exec=kjobviewer --all --show %i %m
Icon=kjobviewer
Name=Printers
Terminal=false
Type=Application
X-DCOP-ServiceType=Unique
X-KDE-StartupNotify=true
File name: Trash.desktop
[Desktop Entry]
Type=Link
URL=trash:/
Encoding=UTF-8
Icon=trashcan_full
EmptyIcon=trashcan_empty
Name=Trash
Comment=Contains removed files
Theme music for the Going Linux podcast is generously provided by Mark Blasco. https://www.podcastthemes.com
Going Linux Podcast by Larry Bushey is licensed under a Creative Commons Attribution 4.0 International License.