delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/02/09/21:51:03

Delivered-To: listarch-cygwin AT sourceware DOT cygnus DOT com
Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
From: Robert Campbell <campbell AT calgary DOT paradigmgeo DOT com>
Reply-To: <campbell AT calgary DOT paradigmgeo DOT com>
Sender: "campbell" <campbell AT calgary DOT paradigmgeo DOT com>
To: "'GNU-WIN32'" <gnu-win32 AT cygnus DOT com>
Subject: Executing a BASH script from a start menu shortcut
Date: Tue, 9 Feb 1999 22:42:47 -0000
Message-Id: <33C7347CC953D211A1ED0000F8751EFA3A5C@PCNTSERVERA>
Mime-Version: 1.0
X-Priority: 3 (Normal)
X-Msmail-Priority: Normal
X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0
X-Mimeole: Produced By Microsoft MimeOLE V4.72.3110.3
Importance: Normal

------=_NextPart_000_000C_01BE543B.80EC3540
Content-Type: multipart/alternative;
	boundary="----=_NextPart_001_000D_01BE543B.80F3D660"


------=_NextPart_001_000D_01BE543B.80F3D660
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 8bit

Does anybody know how to create an icon on the desktop (or from the start
menu) that will execute a bash script without starting a dos prompt.
 
I have cygwin setup to start my X server by executing 'startx' from any bash
shell, and I would like to know how I can create an icon on my desktop to do
this, without bringing up a command prompt window.
 
I would like the script to do something like this:
 
#!/bin/bash --login
startx
 
 

-----------------
"Please don't remind me of the way things should be.  We all know how they
should be, I am merely stating the way things are now."

 

------=_NextPart_001_000D_01BE543B.80F3D660
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">



<META content=3D'"MSHTML 4.72.3110.7"' name=3DGENERATOR>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><SPAN class=3D248484514-09021999><FONT color=3D#000000 face=3DArial =
size=3D2>Does=20
anybody know how to create an icon on the desktop (or from the start =
menu) that=20
will execute a bash script without starting a dos =
prompt.</FONT></SPAN></DIV>
<DIV>&nbsp;</DIV>
<DIV><SPAN class=3D248484514-09021999><FONT color=3D#000000 face=3DArial =
size=3D2>I have=20
cygwin setup to start my X server by executing 'startx' from any bash =
shell, and=20
I would like to know how I can create an icon on my desktop to do this, =
without=20
bringing up a command prompt window.</FONT></SPAN></DIV>
<DIV><SPAN class=3D248484514-09021999><FONT color=3D#000000 face=3DArial =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D248484514-09021999><FONT color=3D#000000 face=3DArial =
size=3D2>I=20
would like the script to do something like this:</FONT></SPAN></DIV>
<DIV><SPAN class=3D248484514-09021999><FONT color=3D#000000 face=3DArial =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D248484514-09021999><FONT color=3D#000000 face=3DArial =

size=3D2>#!/bin/bash --login</FONT></SPAN></DIV>
<DIV><SPAN class=3D248484514-09021999><FONT color=3D#000000 face=3DArial =

size=3D2></FONT></SPAN><SPAN class=3D248484514-09021999><FONT =
color=3D#000000=20
face=3DArial size=3D2>startx</FONT></SPAN></DIV>
<DIV><SPAN class=3D248484514-09021999><FONT color=3D#000000 face=3DArial =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<P><FONT face=3D"Courier New" size=3D1>-----------------</FONT> =
<BR><FONT=20
face=3D"Courier New" size=3D1>&quot;Please don't remind me of the way =
things should=20
be.&nbsp; We all know how they should be, I am merely stating the way =
things are=20
now.&quot;</FONT></P>
<DIV>&nbsp;</DIV></BODY></HTML>

------=_NextPart_001_000D_01BE543B.80F3D660--

------=_NextPart_000_000C_01BE543B.80EC3540
Content-Type: text/x-vcard;
	name="Robert Campbell.vcf"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="Robert Campbell.vcf"

BEGIN:VCARD
VERSION:2.1
N:Campbell;Robert
FN:Robert Campbell
ORG:Paradigm Geophysical
TITLE:Software Developer
NOTE:Software Developer
TEL;WORK;VOICE:750-3538
ADR;WORK:;;5620 Pensacola Cres. SE.;Calgary;AB;T2A 2G6;Canada
LABEL;WORK;ENCODING=3DQUOTED-PRINTABLE:5620 Pensacola Cres. =
SE.=3D0D=3D0ACalgary, AB T2A 2G6=3D0D=3D0ACanada
EMAIL;PREF;INTERNET:campbell AT CALGARY DOT COGNISEIS DOT COM
REV:19980814T081954Z
END:VCARD


------=_NextPart_000_000C_01BE543B.80EC3540
Content-Type: text/plain; charset=

--   
Want to unsubscribe from this list?                             
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
------=_NextPart_000_000C_01BE543B.80EC3540--


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019