Create a shortcut command for Ubuntu

Source: Internet
Author: User
The Ubuntu shortcut command fails to install putty normally: sudoapt-getinstallputty always reports network errors. I had to download the source code from the official website and compile it myself. Still very easy, find the unix directory, and then execute: make-fMakefile.gtk so you can compile... the Ubuntu shortcut command fails to install putty normally: sudo apt-get install putty always reports network errors. I had to download the source code from the official website and compile it myself. It is easy to find the unix directory and execute: make-f Makefile. gtk to compile successfully. But next I need to create a shortcut, which is easy to find in Applications. Just create the following file: sudo vim/usr/share/applications/putty. add the following content to desktop: [html] [Desktop Entry] Name = putty Comment = Programming Tool Exec =/opt/putty Terminal = false Type = Application Icon =/opt/putty. ico Categories = Development; previously I wanted to establish a soft connection, so I put the file under/opt. In this way, you can find putty under menu Applications --- Programming.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.