problems with X11
Hi, I've setup cygwin on my laptop and I was trying to use 'rxvt' to define an xterminal. I run startxwin.bat in /usr/X11R6/bin/, where I've done the following: SET CYGWIN_ROOT=\cygwin SET PATH=.;%CYGWIN_ROOT%\bin;%CYGWIN_ROOT%\usr\X11R6\bin;%PATH% SET XAPPLRESDIR=/usr/X11R6/lib/X11/app-defaults SET XCMSDB=/usr/X11R6/lib/X11/Xcms.txt SET XKEYSYMDB=/usr/X11R6/lib/X11/XKeysymDB SET XNLSPATH=/usr/X11R6/lib/X11/locale if not exist %CYGWIN_ROOT%\tmp\.X11-unix\X0 goto CLEANUP-FINISH attrib -s %CYGWIN_ROOT%\tmp\.X11-unix\X0 del %CYGWIN_ROOT%\tmp\.X11-unix\X0 :CLEANUP-FINISH if exist %CYGWIN_ROOT%\tmp\.X11-unix rmdir %CYGWIN_ROOT%\tmp\.X11-unix run XWin -multiwindow -clipboard -silent-dup-error Then, I have created the following shortcut to connect directly to one of the computers at the university: D:\cygwin\bin\rxvt.exe -ls -si -sk -sb -fg black -bg Wheat -fn 7x14 -g 120x20 -T "machinename.domain" -e ssh -X -l mylogin machinename.domain Now, if I run ROOT, I have the following error message: Error in : BadAtom (invalid Atom parameter) (XID: 39, XREQ: 18) and I cannot open any canvas: Error in : BadAccess (attempt to access private resource denied) (XID: 58, XREQ: 102) Any idea what is the problem ? If, instead of ROOT, I run other programs opening graphic windows (like PAW or emacs), I don't have such problem. Any idea what this is related to ? Thanks for any help/suggestion ! Fab -- ##### Dr P-Fabrizio Salvatore| Department of Physics Phone: +44 (0)1784 44 3479 | Royal Holloway College Fax: +44 (0)1784 47 2794 | University of London e-mail: [EMAIL PROTECTED] | Egham, Surrey, TW20 0EX http://www.pp.rhul.ac.uk/~salvator | United Kingdom (UK) # -- 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/
Re: overlapping windows in cygwin
Hi, the trick worked ! Thank you very much ! Fab On Mon, 24 Oct 2005, Matthew Kasun wrote: > Download tweakui, part of the Powertoys for XP, from Microsoft. http://www.microsoft .com/windowsxp/downloads/powertoys/xppowertoys.mspx -- Matt * Dr P.-Fabrizio SALVATORE* Department of Physics, E-mail: [EMAIL PROTECTED] * Royal Holloway, London University http://www.pp.rhul.ac.uk/~salvator/ * Egham, Surrey, TW20 0EX, UK Office phone: +44 (0)1784 443479* Office fax: +44 (0)1784 472794 * -- 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/
overlapping windows in cygwin
Hi, I've just installed the latest version of cygwin, that I use to connect from my WindowsXP laptop to our linux farms at the university. I run startxwin.bat (as a shortcut from my desktop) and, from the cygwin terminal window I then jump to wherever I need to. My startxwin.bat is the default one that comes with the cygwin installation: SET CYGWIN_ROOT=\cygwin SET PATH=.;%CYGWIN_ROOT%\bin;%CYGWIN_ROOT%\usr\X11R6\bin;%PATH% SET XAPPLRESDIR=/usr/X11R6/lib/X11/app-defaults SET XCMSDB=/usr/X11R6/lib/X11/Xcms.txt SET XKEYSYMDB=/usr/X11R6/lib/X11/XKeysymDB SET XNLSPATH=/usr/X11R6/lib/X11/locale if not exist %CYGWIN_ROOT%\tmp\.X11-unix\X0 goto CLEANUP-FINISH attrib -s %CYGWIN_ROOT%\tmp\.X11-unix\X0 del %CYGWIN_ROOT%\tmp\.X11-unix\X0 :CLEANUP-FINISH if exist %CYGWIN_ROOT%\tmp\.X11-unix rmdir %CYGWIN_ROOT%\tmp\.X11-unix run XWin -multiwindow -clipboard -silent-dup-error run xterm -fn 6x13 -g 140x24 -si -sk -sb -fg black -bg Wheat -T "cygwin terminal Window" -e /usr/bin/tcsh -l I'm simply using Windows as my window manager (not running twm or fvwm or anything like that); when I have several windows, I would like to focus on each one of them (and so activate them) by just pointing my mouse to the window, instead of clicking on them. Does anyone know if it is possible (and in case how to do it) ? I also noticed that for some graphical programs (like PAW, for example, the physics analysis workstatio developed at CERN), when an xterm window is overlapped to the graphics window, the part of the plot that is covered by the xterm is cancelled and when I focus back to the graphic window (by clicking on it) my plot is partially deleted. Any idea why this happens ? Many thanks for any help/suggestion ! Fab -- ##### Dr P-Fabrizio Salvatore| Department of Physics Phone: +44 (0)1784 44 3479 | Royal Holloway College Fax: +44 (0)1784 47 2794 | University of London e-mail: [EMAIL PROTECTED] | Egham, Surrey, TW20 0EX http://www.pp.rhul.ac.uk/~salvator | United Kingdom (UK) # -- ##### Dr P-Fabrizio Salvatore| Department of Physics Phone: +44 (0)1784 44 3479 | Royal Holloway College Fax: +44 (0)1784 47 2794 | University of London e-mail: [EMAIL PROTECTED] | Egham, Surrey, TW20 0EX http://www.pp.rhul.ac.uk/~salvator | United Kingdom (UK) # -- 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/