RE: Changing colours of XTerm
[EMAIL PROTECTED] wrote: Hello, I have begun to use Cygwin on Windows and I have tried every technique I could find on the web for changing from the default black-on-white colours of Xterm (and perhaps other X applications) to something that's easier to look at. None of the techniques worked. I tried, among other things, changing XResources and uncommenting the lines in XTerm-color that XTerm-color told me to uncomment if I wanted to change colours. Does anyone know for sure how to change colours IN CYGWIN, because the general UNIX techniques don't seem to be working? Thanks in advance, Liam. _ eircom broadband is now up to four times faster than before. Phone 1850 73 00 73 or visit http://home.eircom.net/broadbandoffer configuration using .Xdefaults works fine for me. If that doesn't work, you can always setup a script/shortcut and explicitly set -fg and -bg reid
Remote Java GUI window decoration in multiwindow mode
Hello, I'm running Cygwin/X in multiwindow mode and it works quite fine. However, if I try to start a Java GUI that uses default lookfeel window decoration on a remote box, I get the following error in the shell on the remote host and the application won't start: --- Xlib: unexpected async reply (sequence 0x7d)! --- To make things a little bit clearer: I'm running Windows XP Professional with Cygwin/X on my machine. Options to XWin are -multiwindow -clipboard -silent-dup-error. I open an xterm and do an ssh -Y remotehost. The remote host runs under Linux and has Sun JDK 1.4.2_05 installed. Then I start my Java GUI that has been told to use system look and feel window decorations. Then the error mentioned above occurs. There's no error entry in my Cygwin XWin.log. For those familiar with Java: The top level container is a JFrame and there's the following line in the application's source code: --- JFrame.setDefaultLookAndFeelDecorated(true); --- I have found three workarounds to this problem, but as the name suggests these are only workarounds and don't satisfy me. 1) Removing the line mentioned above from the source code and running without changed window decorations obviously solves this problem. ;) 2) It works, too, if I don't run Cygwin/X in multiwindow mode and use twm or openbox as window manager. 3) Another solution is to use JDK 5.0. I didn't recompile my application with JDK 5.0, but used the classes generated with 1.4.2_05 and was able to successfully start it with the JRE from JDK 5.0. However this way I have the standard Windows window decoration wrapped around the window decorations that are used on my Linux box. :( The last solution makes me wonder if this is actually a problem with multiwindow mode in Cygwin/X or a bug in the older JDK. Bye Michael -- Michael Denk Fakultät für Mathematik und Informatik Tel. +49 (0851) 509-3136 Universität Passau, Raum K08 IM (Aquarium) denk at fmi.uni-passau.dehttp://www.fmi.uni-passau.de/~denk
WindowMaker bad default values
Hi, I've just installed WindowMaker for the first time and ran into difficulties with the default Font settings. This is the script I've used to start X. $ diff `which startxwin.sh` startxwmaker.sh 101c101 XWin -multiwindow -clipboard -silent-dup-error --- XWin -clipboard -silent-dup-error 116c116 # twm --- wmaker When I run the script this is what I received: - [EMAIL PROTECTED] ~ $ ./startxwmaker.sh [EMAIL PROTECTED] ~ $ Welcome to the XWin X Server Vendor: The Cygwin/X Project Release: 6.8.2.0-2 Contact: cygwin-xfree@cygwin.com XWin was started with the following command line: XWin -clipboard -silent-dup-error _XSERVTransmkdir: Cannot create /tmp/.X11-unix with root ownership winValidateArgs - g_iNumScreens: 1 iMaxConsecutiveScreen: 1 (II) XF86Config is not supported (II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information (==) FontPath set to /usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/TT F/,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/CID/,/usr/X11R6/ lib/ X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/ winDetectSupportedEngines - Windows NT/2000/XP winDetectSupportedEngines - DirectDraw installed winDetectSupportedEngines - DirectDraw4 installed winDetectSupportedEngines - Returning, supported engines 0007 winSetEngine - Using Shadow DirectDraw NonLocking winAdjustVideoModeShadowDDNL - Using Windows display depth of 16 bits per pixel winFinishScreenInitFB - Masks: f800 07e0 001f MIT-SHM extension disabled due to lack of kernel support XFree86-Bigfont extension local-client optimization disabled due to lack of shar ed memory support in the kernel (--) Setting autorepeat to delay=500, rate=31 (--) winConfigKeyboard - Layout: 0409 (0409) (--) Using preset keyboard for English (USA) (409), type 4 Rules = xorg Model = pc105 Layout = us Variant = (null) Options = (null ) (--) 3 mouse buttons found Could not init font path element /usr/X11R6/lib/X11/fonts/TTF/, removing from li st! Could not init font path element /usr/X11R6/lib/X11/fonts/Type1/, removing from list! Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from li st! winPointerWarpCursor - Discarding first warp: 573 419 winProcEstablishConnection - Hello winInitClipboard () winProcEstablishConnection - winInitClipboard returned. winClipboardProc - Hello DetectUnicodeSupport - Windows NT/2000/XP winClipboardProc - DISPLAY=127.0.0.1:0.0 winClipboardProc - XOpenDisplay () returned and successfully opened the display. Xlib: extension MIT-SHM missing on display 127.0.0.1:0.0. wmaker warning: could not load font: Trebuchet MS,Luxi Sans:pixelsize=12. wmaker warning: could not load font: Trebuchet MS,Luxi Sans:weight=200:pixelsize =12. wmaker warning: could not load any fonts. Make sure your font installation and l ocale settings are correct. wmaker fatal error: could not initialize WINGs widget set wmaker fatal error: it seems that there is already a window manager running winClipboardProc - winClipboardFlushWindowsMessageQueue trapped WM_QUIT message, exiting main loop. winClipboardProc - XDestroyWindow succeeded. xterm: fatal IO error 32 (Broken pipe) or KillClient on X server 127.0.0.1:0.0 winDeinitMultiWindowWM - Noting shutdown in progress - By changing Wmaker to twm it started up fine, and checked the installed fonts. WindowMakers default fonts were not listed. I then installed the xorg-x11-fscl package, which then fixed the issue. Running the script started up WindowMaker just fine. Running xlsfonts shows that only the Luxi Sans fonts are installed not the Trebuchet MS fonts. I don't know if it is easier to update what the default fonts are going to be for WindowMaker ( i.e. what is in the GNUstep/Defaults/WMGLOBAL after invoking wmaker.inst ) or making WindowMaker dependant on xorg-x11-fscl. It would be nice if either of these things happened so that WindowMaker works out of the box. Thanks, Frodak
RE: Changing colours of XTerm
-Original Message- From: Reid Thompson [mailto:[EMAIL PROTECTED] Sent: Monday, June 27, 2005 7:06 AM To: cygwin-xfree@cygwin.com Subject: RE: Changing colours of XTerm [EMAIL PROTECTED] wrote: Hello, I have begun to use Cygwin on Windows and I have tried every technique I could find on the web for changing from the default black-on-white colours of Xterm (and perhaps other X applications) to something that's easier to look at. None of the techniques worked. I tried, among other things, changing XResources and uncommenting the lines in XTerm-color that XTerm-color told me to uncomment if I wanted to change colours. Does anyone know for sure how to change colours IN CYGWIN, because the general UNIX techniques don't seem to be working? Thanks in advance, Liam. _ eircom broadband is now up to four times faster than before. Phone 1850 73 00 73 or visit http://home.eircom.net/broadbandoffer configuration using .Xdefaults works fine for me. If that doesn't work, you can always setup a script/shortcut and explicitly set -fg and -bg reid Hi, Here are the settings I've used in .Xdefaults: XTerm*background: black XTerm*foreground: orchid3 XTerm*internalBorder: 10 !This is for fixing the backspace not to do ^H but ^? XTerm.*.backarrowKey: false !This is for double clicking XTerm*charClass: 33:48,35:48,37:48,43:48,45-47:48,64:48,95:48,126:48 XTerm*cursorBlink: true XTerm*cursorColor: green4 XTerm*pointerColor: green4 !The default blue is too dark on my monitor XTerm*color4: blue1
Re: Numlock and java applications
Wrong list. Questions about Cygwin/X should be sent to the cygwin-xfree list. Redirecting. On Mon, 27 Jun 2005, Casolaro, Didier wrote: Hello, I'm developping and testing java application under KDE (3.4.0) environment trough cygwing running on Windows XP. If numlock key is active, some keys of my keyboard (enter, arrows, numpad keys, backspace) don't work any more with any java application. Is there any patch anywhere to make java application working properly without having to unlock numlock key? Thanx for your answer... AFAIK, no. But you may get other answers on the cygwin-xfree list. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_[EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! The Sun will pass between the Earth and the Moon tonight for a total Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT