Creating a desktop item for aMSN
A desktop item is an icon that sits on your desktop that you can use to quickly run applications. Different operating systems and desktop environments have different ways of doing this. This article will give instructions on creating a desktop icon for aMSN on most popular OSes and DEs.
Right click on your desktop and create a new item by going to Create New > Link to Application.
There will be three or four tabs in the window that pops up: General, Permissions, Application and perhaps Preview. We only need to edit the General and Application tabs.
In the General tab, you can set the icon for the launcher (click the button with the icon on), and set the name of the launcher (the text label that will be shown under its icon). Some icons in various sizes for aMSN can be found in the path you installed aMSN, under the "icons" subdirectory.
In the Application tab you set the command for the launcher ("amsn" or whatever you need to run) and optionally the comment and description. The comment will be displayed in the tooltip for the launcher when you hover it with the mouse, and the description may be used by KDE in the applications menu.
In more recent versions of gnome, if you have aMSN already listed in your Applications menu (usually Applications > Internet) then you can simply drag that icon onto your desktop. Alternatively, you can create a new desktop item from scratch:
Right click on your desktop and create a new item by going to Create Launcher. The fields can be filled in as follows:
- Leave the type as Application.
- The name field will set the text label shown under the icon
- Command must call the path to the amsn executable (on most systems just amsn will do)
- Optionally, you can fill in the comment which will be shown in the tooltip on hovering over the icon
- Clicking the "No Icon" button will launch the icon chooser for your desktop item. Some icons in various sizes for aMSN can be found in the path you installed aMSN, under the "icons" subdirectory.
Open a command prompt, and type in the following:
cp /usr/share/applications/amsn.desktop ~/Desktop
If you don't have an amsn.desktop for some reason, you can create it:
cd ~/Desktop mousepad amsn.desktop
and put the following into the file:
[Desktop Entry] Name=aMSN Exec=amsn Icon=amsn Categories=Network;InstantMessaging; Comment=MSN Messenger for Linux Terminal=false Type=Application StartupNotify=true
Locate your version of aMSN (usually in (insert hard-drive name here) > Applications (or you can right-click on the aMSN icon in the dock and select Show In Finder <or you can just select "Keep In Dock" if you want it in your Dock>) and, while holding down the Command/Apple key and the Alt key, drag it onto your desktop. You can also Drag it onto your Dock if you want it on your Dock.
Right click on your desktop and navigate to New -> Shortcut. Type the path to the aMSN application in the "Command Line" field, or browse to it using the "Browse" button if you don't know the location by heart. After setting the path correctly, click Next and then choose a name for the shortcut you are making. If there's another Next button, click it and choose an icon for the shortcut. Click Finish, and the icon should appear right on your desktop.