Start menu shortcuts

Ken Brown kbrown@cornell.edu
Tue Aug 18 14:46:00 GMT 2009


Is there a policy about which packages are allowed to create start menu 
shortcuts?  Recent discussion about run.exe on the main cygwin list 
makes me think it would be useful for the emacs-X11 package to create a 
shortcut for starting emacs under X.  I would do this by putting the 
following in the postinstall script:

/usr/bin/mkdir -p "$(/usr/bin/cygpath -AP)/Cygwin-X"
/usr/bin/mkshortcut -AP \
     -n Cygwin-X/emacs \
     -w /usr/bin \
     -i /usr/share/emacs/23.1/etc/emacs.ico \
     -a '-p /usr/bin bash -l -c "emacs --display=127.0.0.1:0"' \
   /usr/bin/run.exe

Is this appropriate or does it violate some guidelines?

Ken



More information about the Cygwin-apps mailing list