This is the mail archive of the
cygwin-xfree
mailing list for the Cygwin XFree86 project.
Re: Fixing problems with new X11
Jon TURNEY wrote:
> Chuck wrote:
>> I've got two questions about the new X11 package that got installed when
>> I ran setup to update my packages today.
>>
>> First, it looks like all of the apps moves from /usr/X11R6/bin to
>> /usr/bin. None of my windows start menu or desktop shortcuts got
>> changed. Is there an automatic way to update them all to the correct new
>> locations? It took me a while to even get an xterm working. I had to
>> manually change the "start xwin" shortcut to
>> "C:\cygwin\bin\startxwin.bat" to get anything to work.
>
> I don't think the shortcut to "startxwin.bat" was created by cygwin setup.
> (I've always had to make one manually)
>
> So, while it's likely that a user will have a shortcut to that somewhere, it's
> quite complex to do something helpful programmatically.
Hmm.. thinking about this, perhaps the best thing to do is create a new
shortcut which links to startxwin.bat, so that the end-user at least has some
chance of a discoverable means of launching the server which should work.
Yaakov, would you consider something like the below for
post-install/pre-remove scripts?
mkshortcut -A -w ~ -P /usr/bin/startxwin.bat -i /usr/bin/XWin.exe -n "CygwinX
Server"
rm "`cygpath -A -P`/CygwinX Server.lnk"
(Note that it seems we can't say "Cygwin/X" as the shortcut name is a filename
so can't contain the directory separator :D)
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ: http://x.cygwin.com/docs/faq/