Create Icons on your Linux Desktop

On Windows, you can right click on your Desktop to select New->Shortcut. On Linux, it isn’t as easy like this.

To be faster, I recommend to open a shell without root privileges. As an example, we’re goint to create a Desktop File that opens a Remote Desktop Session to “server2” using the “rdesktop” executable. To do so, we create a file, set it as executable and open it in gedit with the following commands:

  • cd /home/username/Desktop
  • touch server2.desktop
  • chmod +x server2.desktop

A new Windows appears, where we now can insert the following text template:

—insert-from-here—
[Desktop Entry]
Type=Application
Version=1.0
Icon=/home/username/Icons/rdp.ico
TryExec=rdesktop
Terminal=false
StartupNotify=false
NoDisplay=true
Name=server2 (RDP)
Exec=rdesktop -g 1280×900 servername
Comment=Start Remote Desktop Session
—stop-insert—

Save the file and check out the new Icon on your Desktop. The Icon file defined in Line 4 can be created by searching for any Icon on Google Images and covert it using the following online Tool:

http://converticon.com/

Icon created !

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s