From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11842 invoked by alias); 16 Jul 2010 13:50:07 -0000 Received: (qmail 11822 invoked by uid 22791); 16 Jul 2010 13:50:05 -0000 X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,TW_TX X-Spam-Check-By: sourceware.org Received: from smtpout.karoo.kcom.com (HELO smtpout.karoo.kcom.com) (212.50.160.34) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 16 Jul 2010 13:49:57 +0000 Received: from 213-152-38-55.dsl.eclipse.net.uk (HELO [192.168.0.16]) ([213.152.38.55]) by smtpout.karoo.kcom.com with ESMTP; 16 Jul 2010 14:49:54 +0100 Message-ID: <4C40638C.10208@dronecode.org.uk> Date: Fri, 16 Jul 2010 13:50:00 -0000 From: Jon TURNEY Reply-To: cygwin-xfree@cygwin.com User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.10) Gecko/20100512 Thunderbird/3.0.5 MIME-Version: 1.0 To: cygwin-xfree@cygwin.com CC: hercynianforest@gmail.com Subject: Re: Resizing problem References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-xfree-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-xfree-owner@cygwin.com Reply-To: cygwin-xfree@cygwin.com Mail-Followup-To: cygwin-xfree@cygwin.com X-SW-Source: 2010-07/txt/msg00048.txt.bz2 On 15/07/2010 18:02, Olwe Melwasul wrote: > I installed cygwin/xcygwin 1.7.5 with KDE. I don't know where you got KDE from, but it's not in the standard cygwin distribution. If you have problems with KDE, perhaps you should try the place you got it from. > I tried clicking on XWin > Server from the Start menue, but nothing happened. I tried startx from > the > cygwin basic terminal. Nothing. After some Google archaeology, I found > someone that had done this: > > cd \cygwin\bin > ash > PATH=. rebaseall -v > > at the DOS command. Good. It worked. Running startx at the cygwin > command did start a twm session. But how the KDE would run, I couldn't > figure out from any amount of documentation or Googling. Given the rest of this email, I find it hard to believe that the documentation you read included 'man Xwin' or the Cygwin/X User Guide [1] If you did, and you found it unclear, I'd welcome your suggestions as to how to improve that documentation. > After some > more Googling, I saw a reference to an Openbox. Guessing along, I got > startx /usr/bin/openbox to give me Openbox. My problem is that I > cannot minimize anything because it goes down below and out of sight. Nope. What's happening here is that you have no panel/taskbar running, so there is nothing to show minimized applications. Openbox is just a Window Manager. > The XWin container window is sized on start up to my right computer > screen, but when I drag it over to my larger left screen, it can't be > resized. from 'man XWin': "The display mode can not be changed once the X server has started." We do not currently support resizing the X screen of a running X server. > I suspect Openbox has a default size larger (lower?) and down > in the hidden part is no doubt either a task bar with the minimized > apps or the minimized apps themselves, right? Wrong, as explained above. > Alt-Tab only cycles the > Win7 apps, not the XWin session apps, BTW. This behaviour is by design. [2] If you want to allow the X server to capture alt-tab key presses, you should read about the -keyhook option in 'man XWin': "-[no]keyhook: Enable [disable] a low-level keyboard hook for catching special keypresses like Menu and Alt+Tab and passing them to the X Server instead of letting Windows handle them." And indeed 'startx /usr/bin/openbox-session -- -keyhook' gives you an openbox session where you can switch windows using alt-tab. It's kind of unfortunate that the default configuration of openbox and the X server interact in this way to make it difficult to work out how to get your minimized applications back, and we could certainly do with some words in the User's Guide about using the WMs we provide, but that would best be written by someone who actually uses them, which isn't me :-) > Actually, I don't need the startx version, I could very well use the > startxwin multi-windows version IF I could get Emacs in shell mode to > do cygwin bash. Starting the X server and then Emacs multi-windows > style gets a shell mode that apparently doesn't see cygwin. I'm > guessing it's using the DOS command. > > How can I a) get at the minimized apps? or b) how can I get a > stand-alone X server-run Emacs to see cygwin bash? [1] http://x.cygwin.com/docs/ug/cygwin-x-ug.html [2] http://x.cygwin.com/docs/ug/using-switching.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/