

(follow the installation steps to finish it you may close it after that)Ĭreate a desktop icon for it: $ sudo touch /usr/share/applications/sktop Run the following commands to install and run it: $ cd /tmp

Now suppose that you want to edit code of sol.desktop run the following command: sudo gedit /usr/share/applications/sol.desktopĪs Singh already gave a really good and well explained answer, here it is a short summary on how to add an entry to the Desktop (app) + how to download and install XAMPP! If there is already of shortcut of XAMPP present in this folder then you can also edit its code instead of creating new file, by knowing its name as shown below:

Now go to /usr/share/applications and check if the entry is created or not: Put the following text in /usr/share/applications/sktop: So you have to create file of shortcut in its directory. Run the following command to confirm if it is installed, and it will install it if it isn't already: sudo apt-get install gksuĪll the shortcuts are present in applications folder. In this post I explained how shortcuts actually worksįirstly gksu should be installed in Ubuntu. xampp-linux-圆4-5.6.nĬheck if the following command runs or not: sudo /opt/lampp/lampp startĪlso check in this way if it works or not: Search `xampp-linux-圆4-5.6.n` in Google and download it. Check mine and compare.Ĭopy paste below commands in terminal and hit enter button. I have checked your directory it is correct, but some folders of xampp are missing.

It will not create icon on desktop, it will create a entry in applications search as shown in the screenshot. Now check applications, its icon has been created. Run following command in terminal: sudo apt-get update Note: For 32 bit xampp type "n" at place of "manager-linux-圆4.run" (You are using 64 bit system so there is no need to change anything, simply do copy paste) Įxec=gksudo /opt/lampp/manager-linux-圆4.run Then, run: gksu gedit /usr/share/applications/sktop First of all you need to install gksu with the following command: sudo apt-get install gksu
