[ANNOUNCEMENT] Updated: xorg-server-1.10.3-1
The following packages have been updated in the Cygwin distribution: *** xorg-server-1.10.3-1 *** xorg-server-dmx-1.10.3-1 These packages contain XWin and the other X.Org X11 servers. In addition to upstream fixes [1], the following cygwin-specific changes have been made since 1.10.2-2: * On Windows 7, use new taskbar APIs so X windows are grouped on the taskbar more correctly (Thanks to Tobias Häußler) f35bbc4484aeba21b9e1a4b08dd41bb4 *xorg-server-1.10.3-1.tar.bz2 b194b41ea11ee505e37c90c60846b687 *xorg-server-dmx-1.10.3-1.tar.bz2 8f381962a2e478d782ee37eda38477f3 *xorg-server-1.10.3-1-src.tar.bz2 [1] http://lists.freedesktop.org/archives/xorg-announce/2011-July/001710.html -- Jon TURNEY Volunteer Cygwin/X X Server maintainer -- 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: Cygwin X + HP-UX 11.11 + italian keyboard = AltGr not working (solved/worked around)
Thanks very much for posting your work around. On 08/07/2011 09:18, Danilo Turina wrote: Fiddling aroung with Wireshark I was able to understand what the problem was and I had the confirm thanks to xmodmap. With Xming I had that keycode 34 (è) is associated to egrave eacute bracketleft braceleft bracketleft braceleft while with CygwinX the association is egrave eacute egrave eacute bracketleft braceleft I don't know the exact meaning of each of the positions above, but with This is (sort of) explained in 'man xmodmap' The list of keysyms is assigned to the indicated keycode (which may be specified in decimal, hex or octal and can be determined by running the xev program). Up to eight keysyms may be attached to a key, however the last four are not used in any major X server implementation. The first keysym is used when no modifier key is pressed in conjunction with this key, the second with Shift, the third when the Mode_switch key is used with this key and the fourth when both the Mode_switch and Shift keys are used. However, you have to remember that what you see with xmodmap isn't the real XKB keymap, but a compatibility xmodmap invented by XKB for clients which don't know about XKB. xmodmap -e keycode 34 = egrave eacute bracketleft braceleft bracketleft braceleft I solved the problem. I then saw that that solves the problem even without setting XKB_DISABLE but only with some applications (e.g. with xterm works, with nedit you need XKB_DISABLE set). So just executing the xmodmap above for keycode 34, also within the same xterm on which I had the problem, without setting XKB_DISABLE and without doing anything else (so not resetting of the modifiers with 'xmodmap -e clear mod5', etc.), it works (but better setting XKB_DISABLE=1 in order to make all clients work). In short: export XKB_DISABLE=1 xmodmap -e keycode 34 = egrave eacute bracketleft braceleft bracketleft braceleft xmodmap -e keycode 35 = plus asterisk bracketright braceright bracketright braceright xmodmap -e keycode 48 = agrave degree numbersign dead_abovering numbersign dead_abovering numbersign dead_abovering xmodmap -e keycode 47 = ograve ccedilla at dead_cedilla at dead_cedilla at dead_cedilla ograve ccedilla at dead_cedilla does the job (with the above I just fix the four keys needed to get [, {, ], }, @ and #, probably others are missing, like AltGr+E for the Euro sign, but I don't use them within HP-UX so no problem for me). WARNING WARNING WARNING: I wrote the above xmodmap statements by getting their values from xmodmap -pk and replacing the 3rd and 4th values with the 5th and 6th values, so I don't know whether they can cause problems in other contexts. I hope that somebody that better knows xmodmap (and the like) could confirm the correctness of the above (that anyway for me works, so I have no problems at all now). I don't know whether this is a symptom of a wrong keymap on the Cygwin X side or is a problem on HP-UX, but I don't really care at this point. Fair enough. I wish I understood what was going on here better so I could improve what Cygwin/X FAQ 5.1.8 [1] says. [1] http://x.cygwin.com/docs/faq/cygwin-x-faq.html#alt-gr-with-old-x Thank you very much for the support and the precious hints. Ciao, Danilo P.S. If I had looked more carefully at xmodmap -pk output at the beginning, I would have discovered the problem early and I would have avoided all of this researching and trying. -- Jon TURNEY Volunteer Cygwin/X X Server maintainer -- 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: Taskbar grouping in Windows 7
On 01/07/2011 21:38, Tobias Häußler wrote: On 29/06/2011 15:25, Jon TURNEY wrote: On 25/06/2011 13:48, Tobias Häußler wrote: I created a small patch for XWin that adds correct grouping of taskbar icons when 'Always combine, hide labels' is set in the taskbar properties. It uses the new taskbar APIs introduced in Windows 7 to set an application id for each window. The id is based on the X11 class hints. Maybe it is useful for someone... Firstly, thanks very much for this patch. Getting Windows to correctly group XWin windows on the taskbar is something that has needed fixing for a while, so it's great to have it done :-) Thanks for your suggestions! I changed the code you mentioned. Thanks. I've included this patch into the 1.10.3-1 package. I noticed that there are a couple of warnings issued when building CC winmultiwindowwm.o In file included from winmultiwindowwm.c:69:0: taskbar.h:59:19: warning: ‘IID_IPropertyStore’ initialized and declared ‘extern’ taskbar.h:67:53: warning: ‘PKEY_AppUserModel_ID’ initialized and declared ‘extern’ This seems to be related to the nonsense that is INITGUID. I'm not sure how to fix this warning. Would moving all the GUIDs we use (including the DirectX ones we use) to a separate file and compiling that with INITGUID defined be the correct solution? The other thing I noticed is that PropVariantClear() has been provided by ole32.dll since at least NT4, so there's no need to dynamically link with it. So I'm confused as to why you are using GetProcAddress for that? -- Jon TURNEY Volunteer Cygwin/X X Server maintainer -- 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: Problem starting XWin Server
On 14/07/2011 10:29, Jan Chludzinski wrote: First, THANKS! $ startxwin giving up. startxwin: No such file or directory (errno 2): unable to connect to X server startxwin: No such process (errno 3): Server error. Sorry, I hadn't quite grasped that is the whole of the output. For obscure technical reasons, the output of XWin doesn't appear in a cmd.exe terminal if cygwin wasn't started with CYGWIN=tty. Can I suggest you install mintty, and try running startxwin from that, which should produce some more informative output. It looks like Cygwin/X FAQ 2.4 could do with some improvement :-) The server is never started - no process in the Windows Resource Monitor. When I try to start xedit (or whatever X based app) nothing happens, nothing appears. As for FAQ, I'm afraid I don't see anything that might help. I looked before I posted the original e-mail. ---John On Wed, Jul 13, 2011 at 8:21 AM, Jon TURNEY jon.tur...@dronecode.org.uk wrote: On 12/07/2011 09:10, Jan Chludzinski wrote: I just did a complete installation of X11 from Cygwin 1.7 setup.exe. But when I try to start the XWin Server using the Start menu nothing happens. If I try either startxwin or startx or xinit from the BASH shell I get: giving up. startxwin: No such file or directory (errno 2): unable to connect to X server startxwin: No such process (errno 3): Server error. Any suggestions? Looking at the XWin.0.log you attached, it looks like the X server is starting up successfully. If clients are unable to connect, this might be due to firewall configuration or other software which interferes with cygwin sockets (see [1] in the Cygwin/X FAQ for some suggestions) [1] http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-cannot-open-display -- Jon TURNEY Volunteer Cygwin/X X Server maintainer -- 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: (X)Emacs Window Manager commands
On 14/07/2011 15:10, Gulliver.M.Smith wrote: A web search shows that this has been asked before, but I thought I'd put it out there again. When using Cygwin X in multi-window mode (i.e. with each X window being its own MS Windows window), the window manager ignores the window manager requests from Emacs and XEmacs to raise and lower windows, minimize and reopen windows (frames in Emacs talk). I'm afraid that the multiwindow window manager has never fully implemented EWMH and ICCCM standards, support has been added ad hoc as needed, so that is probably why this doesn't work. These would be nice to have ... I've no idea how to make emacs generate these window manager requests, so you can help by describing that. -- Jon TURNEY Volunteer Cygwin/X X Server maintainer -- 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: [ANNOUNCEMENT] Updated: xorg-server-1.10.3-1
On 7/19/2011 10:24 AM, Jon TURNEY wrote: The following packages have been updated in the Cygwin distribution: *** xorg-server-1.10.3-1 *** xorg-server-dmx-1.10.3-1 ... * On Windows 7, use new taskbar APIs so X windows are grouped on the taskbar more correctly (Thanks to Tobias Häußler) I have a wondering about whether this accomplishes something I have been desiring ... apparently not, but perhaps I have simply not set things up right. - I start XWin via run.exe invoking a startxwin.bat file. This avoid a needless console window. - I have created a Windows shortcut for this, and given it the XWin.exe icon by pointing the shortcut's icon selection to XWin.exe. - I get a *separate* instance of the XWin icon when XWin starts up, that is, separate from the run.exe one. What I would *like* is for the running instance of XWin.exe to be considered as having the same icon, so that I don't get two instances, one for the run.exe shortcut and another for the running XWin. Is there another/better way I can arrange this? Regards -- Eliot Moss -- 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: [ANNOUNCEMENT] Updated: xorg-server-1.10.3-1
Jon TURNEY wrote: The following packages have been updated in the Cygwin distribution: *** xorg-server-1.10.3-1 *** xorg-server-dmx-1.10.3-1 How can I install 'just' those packages (from the command line) The GUI has no option to only install 1 package -- it selects ALL, (100's of my packages want updates, but when I tried I tried it last, I ended up with a completely non-function cygwin setup (no bash, nada..., thank goddess I had a backup...) So now now, I tried going through and unselecting, but there were too many and my wrists gave out.and of course the GUI has not KB-accelerators like shift-minus to unselect all, that I could find. Any easy way to cherry pick packages to install rather than being forced fed entire updates all at once? the cmd line 'setup' claims to allow you to install, one package, but then it went through the whole gui process and still had all the other default packages installed! -- 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: [ANNOUNCEMENT] Updated: xorg-server-1.10.3-1
On Tue, Jul 19, 2011 at 07:25:50PM -0700, Linda Walsh wrote: Jon TURNEY wrote: The following packages have been updated in the Cygwin distribution: *** xorg-server-1.10.3-1 *** xorg-server-dmx-1.10.3-1 How can I install 'just' those packages (from the command line) The GUI has no option to only install 1 package -- it selects ALL, (100's of my packages want updates, but when I tried I tried it last, I ended up with a completely non-function cygwin setup (no bash, nada..., thank goddess I had a backup...) So now now, I tried going through and unselecting, but there were too many and my wrists gave out.and of course the GUI has not KB-accelerators like shift-minus to unselect all, that I could find. Any easy way to cherry pick packages to install rather than being forced fed entire updates all at once? the cmd line 'setup' claims to allow you to install, one package, but then it went through the whole gui process and still had all the other default packages installed! If you ran setup.exe and it deleted bash then there is something very seriously wrong with either your system or setup.exe. I know where my money would go if I was betting on which of the above was more likely. cgf -- 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: X on win 7
Daniel Bienstock wrote: Hello, I have a new Dell Dimension M6600 with Windows 7 SP 1. I have disabled the Windows firewall and added rules to allow programs in cygwin and cygwin\bin to run. I am using cygwin 1.7.9 (I also use older cygwins on many 32-bit Windows machines). On this machine, X runs badly: often very slowly, and frequently with crashes as well. A couple of times I was forced to reboot the machine -- Windows appeared unresponsive. I did try rebaseall, but did not help (in fact had to reinstall cygwin). I have seen some posts on this topic, but no definitive workaround. --- This may be entire unhelpful, but is mentioned as a datapoint only, I have X on Win7 working with cygwin 1.4.2-1 and xorg-server 1.8.0-1 xorg-server-dmx 1.8.0-.1 (and lots of other packages from that era I tried upgrading to latest, and nothing worked. No bash, No X, -- rebase died didn't solve anything .. I reverted as didn't have the time to track down all the problems of such a large update. I'd like to try updating packages 1-by-1, but that's not easily supported through setup (it selects all, and there's no way to unselect the 100+ updates except by repetitious mouse clicks (keyboard accel's didn't function). My wrists warned me to quit. Dunno wazzup w/newer versions as I'm sure many use them with no difficulties, BUT, the version I have now works with what I currently have installed (BLODA, though I don't think I have anything that falls into that category, given it's precise definition, it's hard to tell from day-to-day). So things keep changing in both Win7, and cygwin, (and my server, that I upgraded to a changed samba(3.6) hasn't done me any favors in tracking down all my little nuisances Note, it's generally the cyg-support way to blame things on the user or tell them they can use the source and fix it themselves. Tried that 3 times, insufficiently documented and/or included too many assumptions about user's environment for me to replicate. (Doesn't mean I won't try again some day, but fixing my samba server handing out Domain GUID's is higher prio -- as is writing my script to create auto-snap-shots of my home-dir on linux with LSM and rsynch that are mounted w/samba so as to show up as previous versions of changed files (and of course, those tasks are always getting interrupted as well... nested so damn deep, I've my overflow counter has wrapped. -- 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: [ANNOUNCEMENT] Updated: xorg-server-1.10.3-1
Christopher Faylor wrote: On Tue, Jul 19, 2011 at 07:25:50PM -0700, Linda Walsh wrote: Jon TURNEY wrote: The following packages have been updated in the Cygwin distribution: *** xorg-server-1.10.3-1 *** xorg-server-dmx-1.10.3-1 How can I install 'just' those packages (from the command line) The GUI has no option to only install 1 package -- it selects ALL, (100's of my packages want updates, but when I tried I tried it last, I ended up with a completely non-function cygwin setup (no bash, nada..., thank goddess I had a backup...) So now now, I tried going through and unselecting, but there were too many and my wrists gave out.and of course the GUI has not KB-accelerators like shift-minus to unselect all, that I could find. Any easy way to cherry pick packages to install rather than being forced fed entire updates all at once? the cmd line 'setup' claims to allow you to install, one package, but then it went through the whole gui process and still had all the other default packages installed! If you ran setup.exe and it deleted bash then there is something very seriously wrong with either your system or setup.exe. I know where my money would go if I was betting on which of the above was more likely. --- Didn't delete it... it was all non-functionalbash, everything dumped core or stacktraced -- symptoms of needing a rebase, but that didn't fix everything. .. Got bash to run but then still no X, and bash wouldn't run under 'Console' (only under native win cmd-like shell). You wanna put money on fault? Gee, Console worked w/old bash, installed, new bash, no longer works -- what changed? X used to work, update? Not. Fault? I wasn't pointing finger, BTW, I know my config isn't standard...BUT...that doesn't mean an update should through everything into chaos... -- 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/