This is the mail archive of the cygwin-apps mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Start menu shortcuts


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]