Breaking

Thursday, 5 November 2015

Create Shortcut in Ubuntu


To Start Xampp Control Panel On One Click

Using these tutorial you can create Shortcut of any application in ubuntu linux. there are five simple steps to create xampp control panel desktop shortcut.
Follow These Steps:
1) Sudo apt-get install gksu
2) Create a file named as xampp.desktop on desktop.
3) Open xampp.desktop with gedit (open geditor and drag and drop xampp.desktop file in it).
4) Paste below code in xampp.desktop.


[Desktop Entry] Encoding=UTF-8
Name=Xampp
Comment=Start or Stop XAMPP
Exec=gksu /opt/lampp/manager-linux-x64.run
Icon=/opt/lampp/htdocs/favicon.ico
Version=1.0
Type=Application
Terminal=0


5) Right click on xampp.desktop and change its permission and also check on allow executing file as program.

Note: in case your not getting Xampp icon just change the permission of /opt/lamp/htdocs/favicon.ico

To do that, you can run following command: chmod +777 /opt/lampp/htdocs/favicon.ico

And also change permission of xampp.desktop (file that we created on desktop).

To do that run following command: chmod +777 /home//Desktop/xampp.desktop (or you can just right click and change its permission)

I hope this will help you to create desktop shortcut in ubuntu, if you need further help just let me know here.

No comments:

Post a Comment