This is the mail archive of the cygwin@cygwin.com 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]

RE: Beeing cranky; Cygwin-XFree86


> From: cygwin-owner@cygwin.com [mailto:cygwin-owner@cygwin.com]On Behalf
> Of Andrew DeFaria

> Hannu E K Nevalainen (garbage mail) wrote:
>
> >> You know you can rearrange your Start menu to your liking. I keep
> >> mine very minimalistic.
> >
> > Of course! But having to _REDO_ it every time you have run setup.exe
> > (and in this case; installed a new XFree) is what it is all about.
>
> Hmmm... When I install XFree (using Cygwin's setup.exe) I get no
> additional icons in my Start menu at all!

I do get them...

$ uname -a
CYGWIN_NT-5.0 P450 1.3.22(0.78/3/2) 2003-03-18 09:20 i686 unknown unknown
Cygwin
$ ls -lR Cygwin-XFree86/
Cygwin-XFree86/:
total 1
drwxrwxrwx+   2 Hannu           0 Aug 16 20:57 Editors/
-rwxrwxrwx    1 Hannu         607 Aug 16 20:57 RXVT.lnk*
drwxrwxrwx+   2 Hannu           0 Aug 16 20:57 Tools/

Cygwin-XFree86/Editors:
total 1
-rwxrwxrwx    1 Hannu         627 Aug 16 20:57 Emacs.lnk*

Cygwin-XFree86/Tools:
total 1
-rwxrwxrwx    1 Hannu         625 Aug 16 20:57 Python IDE.lnk*

NOTE: NONE of the above shortcuts work for me

I do not use emacs (slow and ugly monolith IMO + I don't know LISP) nor
Python (never had a look, I use C/C++) and for rxvt I have a custom launch
that I "built" myself.

> At the end of Cygwin's setup
> there are options as to whether or not to add Cygwin (and Cygwin only -
> nothing about XFree86 mind you) to my Start menu and/or my desktop. I
> simply uncheck them.

 So do I, but the last update of XFree gave me the above Start-menu stuff -
independently of unchecking those.

 Re-installed XFree86-<ALL> to verify; they're still there.

Some investigations...
$ cygcheck -svr >c_svr.txt
$ cat c_svr.txt | grep -i XFree >c_X.txt
$ cat c_X.txt
...
XFree86-bin-icons       4.3.0-2
...
$ cat /etc/postinstall/XFree86-bin-icons.sh.done
#!/bin/sh

# Run the script to create icons for XFree86 programs
/usr/X11R6/bin/XFree86-bin-icons.sh

So, this is the offending script:

$ wc -l /usr/X11R6/bin/XFree86-bin-icons.sh
    124 /usr/X11R6/bin/XFree86-bin-icons.sh
$ head -2 /usr/X11R6/bin/XFree86-bin-icons.sh
#! /bin/bash
# Author: Brian Gallew < =email=cleared= >


 IMO this could check for the existance of "Start->Programs->Cygwin" and
install the above shortcuts *UNDER* it - if it exists.

i.e. some simple  if [ -d ".../Cygwin" ] stuff - assuming one can detect
where the Start-menu items reside... ("All users" + dependent of Windows
version I believe)

/Hannu E K Nevalainen, B.Sc. EE Microcomputer systems - 59?14'N, 17?12'E
--END OF MESSAGE--


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


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