In Linux, the shell script is associated with a desktop icon.

Source: Internet
Author: User
ihttp: // forum.soft32.com/linux2/run-shell-script-appstop-icon-ftopict51996.html am using KDE as my user interface. how can I create a shortcut icon
on the desktop that will run a shell script in a shell window?

I want to be able to click an icon on the destop and have it open a
shell window and start running a shell script.

thanks,

Back to Top


Login to vote

Michael heiming

external

since: aug 19,200 3
posts: 2577

(Msg. 2) posted: Thu Oct 05,200 6 AM
Post subject:Re: Run shell script from desktop icon[Login to view extended thread info.]
Archived from groups: Per Prev. Post (More info?)

In Comp. OS. Linux. Setup ch <chrisdlwork06 deletethis @ gmail.com>:
> I am using KDE as my user interface. How can I create a shortcut icon
> On the desktop that will run a shell script in a shell window?

> I want to be able to click an icon on the destop and have it open
> Shell window and start running a shell script.

Well, right click somewhere on the empty desktop.

Create new->

Link to Application
Application
(Enter command ie ."~ /Bin/my_script.sh ")
Advanced options
[X] Run in Terminal

I wonder that you couldn't figure this out just from clicking
Around?

Good luck

--
Michael heiming (X-Pgp-Sig> GPG-key ID: edd27b94)
Mail: Echo zvpunry deletethis @ urvzvat. QR | Perl-PE 'y/a-z/n-Za-M /'
# Bofh excuse 117: The printer thinks its a router.

Back to Top


Login to vote

marijuanated

external

since: oct 04,200 6
posts: 14

(Msg. 3) posted: Thu Oct 05,200 6 pm
Post subject:Re: Run shell script from desktop icon[Login to view extended thread info.]
Archived from groups: Per Prev. Post (More info?)
You can also do this:

right click somewhere on the empty desktop

Create New->

link to application
application
(Enter command IE. "xterm-e-hold ~ /Bin/my_script.sh ")

if you want the xterm to hold till the script is done running.

Related Article

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.