Basic question 3 - system tray icon
Can the cygwin X server be prevented from placing an icon in the Windows system tray? Thank you. Herbert Eppel -- www.HETranslation.co.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: a feathiable solution displaying Windows program on Linux via ssh / X?
Hi, ago I use CYGWIN_NT-5.1 with gcc 3.4.4 to compile cygpeace-0.0.0. http://www.freedesktop.org/%7Eago/cygpeace/cygpeace-0.0.0-bin.tar.bz2 tut it failed with error: ./configure . ./make ... dll/ui.so/X11.cc: In member function `virtual HWND__* X11::GetForegroundWindow() ': dll/ui.so/X11.cc:295: error: invalid conversion from `uint32_t*' to `UINT*' dll/ui.so/X11.cc:295: error: initializing argument 2 of `virtual HWND__** X11: :GetChildWindowHandles(Window, UINT*)' Bests, Bobber Cheng Alexander Gottwald wrote: On Thu, 22 Sep 2005, Bobber Cheng wrote: Had anyone found a feathiable solution displaying Windows program on Linux via ssh / X? If the answser is no, i beg X gurus to give me any advice how to implement it. Wine and VNC are not my choice. An alternative to Terminal client or cytrix is rdesktop. But besides that there is no working solution to wrap windows programs with X11. You might want to take a look at cygpeace which is not much more than a prove of concept which allowed to export winmine over x11. http://www.freedesktop.org/~ago/cygpeace/ Before begging X gurus (which btw is the wrong group to ask) you should check the win32-x11 archives http://sourceware.org/ml/win32-x11/ starting with July - September, 2002 until July - September, 2004. Some techniques for wrapping and redirecting windows GDI calls to X11 were discussed there but most of the initial activity vaporized after few months. Basicly there are a few ways which might work: - build a display driver which uses X11 as backend x11_drv from wine might provide the conversion to X11 calls - wrap GDI calls from applications with own, X11 aware implementations cygpeace aproach - Check how Terminal Client works and implement a backend which uses X11 instead of RDP bye ago BTW: Use rdesktop. -- 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: a feathiable solution displaying Windows program on Linux via ssh / X?
On Wed, 28 Sep 2005, Bobber Cheng wrote: Hi, ago I use CYGWIN_NT-5.1 with gcc 3.4.4 to compile cygpeace-0.0.0. http://www.freedesktop.org/%7Eago/cygpeace/cygpeace-0.0.0-bin.tar.bz2 tut it failed with error: ./configure . ./make ... dll/ui.so/X11.cc: In member function `virtual HWND__* X11::GetForegroundWindow() ': dll/ui.so/X11.cc:295: error: invalid conversion from `uint32_t*' to `UINT*' dll/ui.so/X11.cc:295: error: initializing argument 2 of `virtual HWND__** X11: :GetChildWindowHandles(Window, UINT*)' I think you could just add a explicit cast (UINT*) at the offending position. I've not compiled it for some time now. Mabye the definitions from w32api have changed. BTW: the -bin package should contain binaries which you could use for testing. bye ago -- [EMAIL PROTECTED] http://www.gotti.org ICQ: 126018723 -- 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: Basic question 2 - Copy from Windows and paste to cygwin or X
I am already doing that (-clipboard), among others: run XWin -screen 0 1750 1350 -multiplemonitors -emulate3buttons -scrollbars -clipboard -silent-dup-error -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Herbert Eppel Sent: Wed, September 28, 2005 1:16 AM To: cygwin-xfree@cygwin.com Subject: Basic question 2 - Copy from Windows and paste to cygwin or X Is there a way of pasting text from the Windows clipboard to cygwin or X, if you see what I mean? Thank you. Herbert Eppel -- www.HETranslation.co.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/ -- 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: Basic question 3 - system tray icon
Piggy-backing on this question, right clicking on icon is an item Show Cursor. What does that do, anyway? I have tried releasing the mouse on that and I don't see any difference to any cursors on the wmaker screen. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Herbert Eppel Sent: Wed, September 28, 2005 5:03 AM To: cygwin-xfree@cygwin.com Subject: Basic question 3 - system tray icon Can the cygwin X server be prevented from placing an icon in the Windows system tray? Thank you. Herbert Eppel -- www.HETranslation.co.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/ -- 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: Basic question 2 - Copy from Windows and paste to cygwin or X
On 28.09.2005 13:43 UK Time, Soong, SylokeJ wrote: I am already doing that (-clipboard), among others: run XWin -screen 0 1750 1350 -multiplemonitors -emulate3buttons -scrollbars -clipboard -silent-dup-error Thanks, but would you mind elaborating a little? As I explained in a previous message, it's been a few years since I used Unix when I worked at University and my Unix knowledge has never been brilliant and has become even rustier since then... I start my X environment with the following command: startx -- -screen 0 1200 900 where would -clipoard fit in, and what does it actually do? Thank you. Herbert Eppel -- www.HETranslation.co.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/
CYGWIN 1.5.12 :: CPU : 100% WITH CYGWIN ON WINDOWS 2000 SERVER
Hi * We are running a bash shell script in CYGWIN 1.5.12 environment on a Windows 2000 server system, and while the shell script being run, the CPU usage goes constantly to 100%. * This makes some of our realtime applications to abort (for example, a patient scan using a CT Scanner; and the total software/hardware to a abort condition.) Can you suggest/recommend any work around to overcome this problem? An early response is well appreciated, since our software saves a lot of lives while performing the patient scans at hospitals. Best Regards, Nilesh Thakar. -- 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/
Basic question 4 - Shutting down X
Is it OK to shut down the X environment by simply clicking on the x in the top right corner, or is there a 'more graceful'/better/preferred way of doing it? Thank you. Herbert Eppel -- www.HETranslation.co.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: Basic question 4 - Shutting down X
You may also choose Exit by right clicking X icon on the win/xp icon tray. http://x.cygwin.com/docs/ug/cygwin-x-ug.html -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Herbert Eppel Sent: Wed, September 28, 2005 9:58 AM To: cygwin-xfree@cygwin.com Subject: Basic question 4 - Shutting down X Is it OK to shut down the X environment by simply clicking on the x in the top right corner, or is there a 'more graceful'/better/preferred way of doing it? Thank you. Herbert Eppel -- www.HETranslation.co.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/ -- 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 1.5.12 :: CPU : 100% WITH CYGWIN ON WINDOWS 2000 SERVE R
In such a case, my boss would ask me: 1. Would running the script on Linux produce the same CPU hog? 2. What on earth does the script do, anyway? 3. Is it calling another application that's really hogging the CPU? 4. Select the IO and VM columns of task manager and what are their activity levels? 5. Is the antivirus constantly acting up on every move of the script? 6. Why am I running it on win2k rather than Linux? If Linux is distrusted due to management policy on support, management should hold equivalent views on cygwin. Not that cygwin should be distrusted, but that Linux should not be distrusted since I trusted cygwin. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Thakar, Nilesh V (GE Healthcare) Sent: Wed, September 28, 2005 9:08 AM To: cygwin-xfree@cygwin.com Cc: Thakar, Nilesh V (GE Healthcare) Subject: CYGWIN 1.5.12 :: CPU : 100% WITH CYGWIN ON WINDOWS 2000 SERVER Hi * We are running a bash shell script in CYGWIN 1.5.12 environment on a Windows 2000 server system, and while the shell script being run, the CPU usage goes constantly to 100%. * This makes some of our realtime applications to abort (for example, a patient scan using a CT Scanner; and the total software/hardware to a abort condition.) Can you suggest/recommend any work around to overcome this problem? An early response is well appreciated, since our software saves a lot of lives while performing the patient scans at hospitals. Best Regards, Nilesh Thakar. -- 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/ -- 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: Basic question 2 - Copy from Windows and paste to cygwin or X
On Wed, 28 Sep 2005, Herbert Eppel wrote: On 28.09.2005 13:43 UK Time, Soong, SylokeJ wrote: I am already doing that (-clipboard), among others: run XWin -screen 0 1750 1350 -multiplemonitors -emulate3buttons -scrollbars -clipboard -silent-dup-error Thanks, but would you mind elaborating a little? As I explained in a previous message, it's been a few years since I used Unix when I worked at University and my Unix knowledge has never been brilliant and has become even rustier since then... I start my X environment with the following command: startx -- -screen 0 1200 900 where would -clipoard fit in, and what does it actually do? man startx explains that the options after '--' are passed directly to the server. -clipboard is one such option. man XWin explains what that option actually does (i.e., synchronizes the X keyboard with the Windows one). HTH, 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! If there's any real truth it's that the entire multidimensional infinity of the Universe is almost certainly being run by a bunch of maniacs. /DA -- 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: Basic question 2 - Copy from Windows and paste to cygwin or X
On 28.09.2005 15:52 UK Time, Igor Pechtchanski wrote: I start my X environment with the following command: startx -- -screen 0 1200 900 where would -clipoard fit in, and what does it actually do? man startx explains that the options after '--' are passed directly to the server. -clipboard is one such option. man XWin explains what that option actually does (i.e., synchronizes the X keyboard with the Windows one). HTH, Igor Thanks. However, I seems something is wrong somewhere. With my usual command (i.e. startx -- -screen 0 1200 900) X runs OK, although I just noticed that I get some feedback relating to clipboard in the main cygwin window (see http://homepage.ntlworld.com/herb.eppel_new/temp/Cygwin1.jpg) When I first tried startx -- -screen 0 1200 900 -clipboard some clipboard error messages appeared - see http://homepage.ntlworld.com/herb.eppel_new/temp/Cygwin2.jpg I just tried the same command again. This time there are no clipboard error messages (see http://homepage.ntlworld.com/herb.eppel_new/temp/Cygwin3.jpg), but the clipboard still doesn't work. What am I doing wrong? Thank you. Herbert Eppel -- www.HETranslation.co.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: Basic question 2 - Copy from Windows and paste to cygwin or X
Herbert Eppel wrote: On 28.09.2005 13:43 UK Time, Soong, SylokeJ wrote: I am already doing that (-clipboard), among others: run XWin -screen 0 1750 1350 -multiplemonitors -emulate3buttons -scrollbars -clipboard -silent-dup-error Thanks, but would you mind elaborating a little? As I explained in a previous message, it's been a few years since I used Unix when I worked at University and my Unix knowledge has never been brilliant and has become even rustier since then... I start my X environment with the following command: startx -- -screen 0 1200 900 where would -clipoard fit in, and what does it actually do? Thank you. Herbert Eppel -- www.HETranslation.co.uk use startxwin.bat from cmd.exe or starxwin.sh if in a bash prompt to start X-windows -- you can look at both of the files to see what they do -- they are startup scripts for X. reid -- 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: Basic question 2 - Copy from Windows and paste to cygwin or X
Reid Thompson wrote: Herbert Eppel wrote: On 28.09.2005 13:43 UK Time, Soong, SylokeJ wrote: I am already doing that (-clipboard), among others: run XWin -screen 0 1750 1350 -multiplemonitors -emulate3buttons -scrollbars -clipboard -silent-dup-error Thanks, but would you mind elaborating a little? As I explained in a previous message, it's been a few years since I used Unix when I worked at University and my Unix knowledge has never been brilliant and has become even rustier since then... I start my X environment with the following command: startx -- -screen 0 1200 900 where would -clipoard fit in, and what does it actually do? Thank you. Herbert Eppel -- www.HETranslation.co.uk use startxwin.bat from cmd.exe or starxwin.sh if in a bash prompt to start X-windows -- you can look at both of the files to see what they do -- they are startup scripts for X. reid these files are in /usr//X11R6/bin reid -- 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: Basic question 3 - system tray icon
On 28.09.2005 16:48 UK Time, Reid Thompson wrote: Herbert Eppel wrote: Can the cygwin X server be prevented from placing an icon in the Windows system tray? Thank you. highlight with left mouse button, paste with middlebutton/scrollwheel Highlight what? Are we talking about the same thing, or are you referring to my Basic question 2??? Regards Herbert Eppel -- www.HETranslation.co.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: Basic question 3 - system tray icon
No. He is telling you how to shut down with a single click rather than my right clicking and selecting Exit. Which is answering your question 4. Also about your question 2, as someone else recommended, you should consider running either startxwin.bat or startxwin.sh. But doing that, whatever you wrote in ~/.xinitrc would no longer be effective because either of these startup files would not call .xinitrc . I prefer the bat file because I would need to first start cygwin bash in a win/xp cmd window to allow me to run the sh file, thereby leaving a win/xp cmd window around annoying you more than the X icon would. The bat file is not unix and you might be more familiar with it. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Herbert Eppel Sent: Wed, September 28, 2005 12:08 PM To: cygwin-xfree@cygwin.com Subject: Re: Basic question 3 - system tray icon On 28.09.2005 16:48 UK Time, Reid Thompson wrote: Herbert Eppel wrote: Can the cygwin X server be prevented from placing an icon in the Windows system tray? Thank you. highlight with left mouse button, paste with middlebutton/scrollwheel Highlight what? Are we talking about the same thing, or are you referring to my Basic question 2??? Regards Herbert Eppel -- www.HETranslation.co.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/ -- 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: Basic question 3 - system tray icon
On 28.09.2005 17:20 UK Time, Soong, SylokeJ wrote: No. He is telling you how to shut down with a single click rather than my right clicking and selecting Exit. Which is answering your question 4. Thanks, although I'm afraid I still fail to see Reid's single-click solution - but never mind, I think I am satisfied now that my own single-click solution (i.e. x in top right corner) is 'safe'. Also about your question 2, as someone else recommended, you should consider running either startxwin.bat or startxwin.sh. But doing that, whatever you wrote in ~/.xinitrc would no longer be effective because either of these startup files would not call .xinitrc . I prefer the bat file because I would need to first start cygwin bash in a win/xp cmd window to allow me to run the sh file, thereby leaving a win/xp cmd window around annoying you more than the X icon would. The bat file is not unix and you might be more familiar with it. Thanks, I'll try and get my head round that some time, but shouldn't it work with -clipboard in the startx command line? Regards Herbert Eppel -- www.HETranslation.co.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: Basic question 3 - system tray icon
Herbert Eppel wrote: On 28.09.2005 16:48 UK Time, Reid Thompson wrote: Herbert Eppel wrote: Can the cygwin X server be prevented from placing an icon in the Windows system tray? Thank you. highlight with left mouse button, paste with middlebutton/scrollwheel Highlight what? Are we talking about the same thing, or are you referring to my Basic question 2??? Regards Herbert Eppel -- www.HETranslation.co.uk sorry -- meant to post that to the copy and paste question reid -- 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: Basic question 3 - system tray icon
On 28.09.2005 17:45 UK Time, Reid Thompson wrote: highlight with left mouse button, paste with middlebutton/scrollwheel Highlight what? Are we talking about the same thing, or are you referring to my Basic question 2??? sorry -- meant to post that to the copy and paste question The plot thickens - Soong, SylokeJ thought you were referring to my question 4!? Anyway, I'm still not sure what exactly you meant by highlight with left mouse button, paste with middlebutton/scrollwheel - would you care to elaborate? Thanks Herbert Eppel -- www.HETranslation.co.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: Basic question 3 - system tray icon
Soong, SylokeJ wrote: No. He is telling you how to shut down with a single click rather than my right clicking and selecting Exit. Which is answering your question 4. Also about your question 2, as someone else recommended, you should consider running either startxwin.bat or startxwin.sh. But doing that, whatever you wrote in ~/.xinitrc would no longer be effective because either of these startup files would not call .xinitrc . I prefer the bat file because I would need to first start cygwin bash in a win/xp cmd window to allow me to run the sh file, thereby leaving a win/xp cmd window around annoying you more than the X icon would. this is not an issue -- run setup and download rxvt configure a shortcut with rxvt exec'ing a bash shell ( passing whatever params to rxvt and bash that you wish) Target: C:\cygwin\bin\rxvt.exe -fn lucida console-13-bold -e c:\cygwin\bin\bash use the shortcut to open a bash shell prompt and enter $ nohup startxwin.sh you should then be able to exit the rxvt shell window w/o X dying. The bat file is not unix and you might be more familiar with it. -Original Message- From: [EMAIL PROTECTED] [mailto:cygwin-xfree- [EMAIL PROTECTED] Behalf Of Herbert Eppel Sent: Wed, September 28, 2005 12:08 PM To: cygwin-xfree@cygwin.com Subject: Re: Basic question 3 - system tray icon On 28.09.2005 16:48 UK Time, Reid Thompson wrote: Herbert Eppel wrote: Can the cygwin X server be prevented from placing an icon in the Windows system tray? Thank you. highlight with left mouse button, paste with middlebutton/scrollwheel Highlight what? Are we talking about the same thing, or are you referring to my Basic question 2??? Regards Herbert Eppel -- www.HETranslation.co.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/ reid -- 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: Basic question X - whatever
With the clipboard enabled, do you know how to highlight, copy paste between win/xp and cygwin? I think that is his intent. Microsoft(which you know): copy is by selecting then ctrl-c or menu-copy. paste is by ctrl-v or menu-paste. Motif cygwin: Selecting text would spontaneously (some people might prefer the term, automatically) copy into clipboard. Paste is by middle button click. e.g. copying from MS to Cyg: copy text from MS win, move cursor to cyg window and press/release middle button. Conversely from cyg to MS: select text at cyg win, move mouse to MS win and ctrl-v. Voila! However, if you don't have a middle mouse button, or you had mapped that button to do something else, you could use -emulate3buttons option which would require you to press both mouse buttons together to emulate the middle button. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Herbert Eppel Sent: Wed, September 28, 2005 12:43 PM To: cygwin-xfree@cygwin.com Subject: Re: Basic question 3 - system tray icon On 28.09.2005 17:20 UK Time, Soong, SylokeJ wrote: No. He is telling you how to shut down with a single click rather than my right clicking and selecting Exit. Which is answering your question 4. Thanks, although I'm afraid I still fail to see Reid's single-click solution - but never mind, I think I am satisfied now that my own single-click solution (i.e. x in top right corner) is 'safe'. Also about your question 2, as someone else recommended, you should consider running either startxwin.bat or startxwin.sh. But doing that, whatever you wrote in ~/.xinitrc would no longer be effective because either of these startup files would not call .xinitrc . I prefer the bat file because I would need to first start cygwin bash in a win/xp cmd window to allow me to run the sh file, thereby leaving a win/xp cmd window around annoying you more than the X icon would. The bat file is not unix and you might be more familiar with it. Thanks, I'll try and get my head round that some time, but shouldn't it work with -clipboard in the startx command line? Regards Herbert Eppel -- www.HETranslation.co.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/ -- 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: Basic question 3 - system tray icon
Herbert Eppel wrote: On 28.09.2005 17:45 UK Time, Reid Thompson wrote: highlight with left mouse button, paste with middlebutton/scrollwheel Highlight what? Are we talking about the same thing, or are you referring to my Basic question 2??? sorry -- meant to post that to the copy and paste question The plot thickens - Soong, SylokeJ thought you were referring to my question 4!? Anyway, I'm still not sure what exactly you meant by highlight with left mouse button, paste with middlebutton/scrollwheel - would you care to elaborate? Thanks Herbert Eppel -- www.HETranslation.co.uk my mouse has two buttons + a scrool wheel that can be clicked. clicking the scroll wheel acts the same as clicking the middle mouse button of a three button mouse. so, i can highlight any text with the left mouse button ( or other means ), and then click with the the scroll button to paste into any other application. if you don't have a three button mouse, and don't have a scroll wheel that clicks, you can try clicking right and left mouse buttons very quickly one after the other -- on many systems this is configured to emulate the button 3 click. I highly recommend downloading rxvt and configuring it as your terminal -- it is orders of magnitude better than cmd.exe in my opinion. reid -- 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: Basic question 2 - Copy from Windows and paste to cygwin or X
On Wed, 28 Sep 2005, Herbert Eppel wrote: On 28.09.2005 15:52 UK Time, Igor Pechtchanski wrote: I start my X environment with the following command: startx -- -screen 0 1200 900 where would -clipoard fit in, and what does it actually do? man startx explains that the options after '--' are passed directly to the server. -clipboard is one such option. man XWin explains what that option actually does (i.e., synchronizes the X keyboard with the Windows one). HTH, Thanks. However, I seems something is wrong somewhere. With my usual command (i.e. startx -- -screen 0 1200 900) X runs OK, although I just noticed that I get some feedback relating to clipboard in the main cygwin window (see http://homepage.ntlworld.com/herb.eppel_new/temp/Cygwin1.jpg) Right -- this says that clipboard support isn't enabled. When I first tried startx -- -screen 0 1200 900 -clipboard some clipboard error messages appeared - see http://homepage.ntlworld.com/herb.eppel_new/temp/Cygwin2.jpg Those are just warnings -- the clipboard thread is started. I just tried the same command again. This time there are no clipboard error messages (see http://homepage.ntlworld.com/herb.eppel_new/temp/Cygwin3.jpg), but the clipboard still doesn't work. What am I doing wrong? Please provide the exact steps you use to test the clipboard operation, and any messages or results that make you believe it doesn't work. Hint: X has multiple selection buffers; the clipboard support synchronizes what's called primary selection; some applications (e.g., Mozilla) use a different buffer for their selection storage. It would also help if you posted /tmp/XWin.log (instead of those screenshots). 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! If there's any real truth it's that the entire multidimensional infinity of the Universe is almost certainly being run by a bunch of maniacs. /DA -- 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: Basic question 2 - Copy from Windows and paste to cygwin or X
On 28.09.2005 18:11 UK Time, Igor Pechtchanski wrote: Please provide the exact steps you use to test the clipboard operation, and any messages or results that make you believe it doesn't work. Hint: X has multiple selection buffers; the clipboard support synchronizes what's called primary selection; some applications (e.g., Mozilla) use a different buffer for their selection storage. It would also help if you posted /tmp/XWin.log (instead of those screenshots). Igor Hi Igor, thanks for taking the time to look at my screenshots. The clipboard may well be working OK - it's just hat I was under the mistaken impression that I could simply copy and paste using the usual Windows shortcuts :-[ Now that Soong, SylokeJ has explained the situation I think I might be getting somewhere :-) Thanks for the tip about /tmp/XWin.log - no doubt it will come in handy. Regards Herbert Eppel -- www.HETranslation.co.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: Basic question X - whatever
On 28.09.2005 18:04 UK Time, Soong, SylokeJ wrote: With the clipboard enabled, do you know how to highlight, copy paste Nice subject line - I'm not really sure why I started this Basic Question no. nonsense - it was bound to lead to confusion, sorry! between win/xp and cygwin? I think that is his intent. Microsoft(which you know): copy is by selecting then ctrl-c or menu-copy. paste is by ctrl-v or menu-paste. Motif cygwin: Selecting text would spontaneously (some people might prefer the term, automatically) copy into clipboard. Paste is by middle button click. Thanks for explain this. It's embarrassing, but I wasn't aware of the different behaviour :-[ e.g. copying from MS to Cyg: copy text from MS win, move cursor to cyg window and press/release middle button. Conversely from cyg to MS: select text at cyg win, move mouse to MS win and ctrl-v. Voila! However, if you don't have a middle mouse button, or you had mapped that button to do something else, you could use -emulate3buttons option which would require you to press both mouse buttons together to emulate the middle button. I do have the scroll wheel button assigned to double click, and I would like to keep that setting, which raises the question of where exactly I would have to specify -emulate3buttons (is it simply another command line option after startx?) and what you mean by both mouse buttons - do you mean left and right? Thanks Herbert Eppel -- www.HETranslation.co.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: Basic question X - whatever
Herbert Eppel wrote: On 28.09.2005 18:04 UK Time, Soong, SylokeJ wrote: With the clipboard enabled, do you know how to highlight, copy paste Nice subject line - I'm not really sure why I started this Basic Question no. nonsense - it was bound to lead to confusion, sorry! between win/xp and cygwin? I think that is his intent. Microsoft(which you know): copy is by selecting then ctrl-c or menu-copy. paste is by ctrl-v or menu-paste. Motif cygwin: Selecting text would spontaneously (some people might prefer the term, automatically) copy into clipboard. Paste is by middle button click. Thanks for explain this. It's embarrassing, but I wasn't aware of the different behaviour :-[ e.g. copying from MS to Cyg: copy text from MS win, move cursor to cyg window and press/release middle button. Conversely from cyg to MS: select text at cyg win, move mouse to MS win and ctrl-v. Voila! However, if you don't have a middle mouse button, or you had mapped that button to do something else, you could use -emulate3buttons option which would require you to press both mouse buttons together to emulate the middle button. I do have the scroll wheel button assigned to double click, and I would like to keep that setting, which raises the question of where exactly I would have to specify -emulate3buttons (is it simply another command line option after startx?) and what you mean by both mouse buttons - do you mean left and right? Thanks Herbert Eppel -- www.HETranslation.co.uk you pass it as a parameter to your X startup ( ala -clipboard -multiwindow ) -emulate3buttons [timeout] Emulate 3 button mouse with an optional timeout in milliseconds. $ Xwin --help use: X [:display] [option] -a # mouse acceleration (pixels) -acdisable access control restrictions -audit int set audit trail level -auth file select authorization file bc enable bug compatibility -brcreate root window with black background +bsenable any backing store support -bsdisable any backing store support -c turns off key-click c #key-click volume (0-100) -cc intdefault color visual class -co file color database file -core generate core dump on fatal error -dpi int screen resolution in dots per inch -deferglyphs [none|all|16] defer loading of [no|all|16-bit] glyphs -f # bell base (0-100) -fc string cursor font -fn string default font name -fp string default font path -help prints message with these options -I ignore all remaining arguments -ld intlimit data space to N Kb -lf intlimit number of open files to N -ls intlimit stack space to N Kb -logo enable logo in screen saver nologo disable logo in screen saver -nolisten string don't listen on protocol -noreset don't reset after last client exists -reset reset after last client exists -p # screen-saver pattern duration (minutes) -pnaccept failure to listen on all ports -nopn reject failure to listen on all ports -r turns off auto-repeat r turns on auto-repeat -render [default|mono|gray|color] set render color alloc policy -s # screen-saver timeout (minutes) -sp file security policy file -sudisable any save under support -t # mouse threshold (pixels) -terminate terminate at server reset -to # connection time out -tst disable testing extensions ttyxx server started from init on /dev/ttyxx v video blanking for screen-saver -v screen-saver without video blanking -wmWhenMapped default backing-store -x string loads named extension at init time -maxbigreqsize set maximal bigrequest size +extension nameEnable extension -extension nameDisable extension -query host-name contact named host for XDMCP -broadcast broadcast for XDMCP -indirect host-namecontact named host for indirect XDMCP -port port-num UDP port number to send messages to -from local-addressspecify the local address to connect from -once Terminate server after one session -class display-class specify display class to send in manage -cookie xdm-auth-bits specify the magic cookie for XDMCP -displayID display-id manufacturer display ID for request The X Keyboard Extension adds the following arguments: -kbdisable the X Keyboard Extension +kb
Re: Basic question X - whatever
On 28.09.2005 19:14 UK Time, Reid Thompson wrote: I do have the scroll wheel button assigned to double click, and I would like to keep that setting, which raises the question of where exactly I would have to specify -emulate3buttons (is it simply another command line option after startx?) and what you mean by both mouse buttons - do you mean left and right? Thanks you pass it as a parameter to your X startup ( ala -clipboard -multiwindow ) -emulate3buttons [timeout] Emulate 3 button mouse with an optional timeout in milliseconds. Success 8-) Thanks a lot for all contributions! Just one more thing for now: I think I may find it a little difficult to get used to pressing the left and right mouse button simultaneously. Is there an alternative (without losing my double-click function for the scroll wheel button)? Thanks Herbert Eppel -- www.HETranslation.co.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: Basic question X - whatever
On Wed, 28 Sep 2005, Herbert Eppel wrote: Success 8-) Thanks a lot for all contributions! Just one more thing for now: I think I may find it a little difficult to get used to pressing the left and right mouse button simultaneously. Is there an alternative (without losing my double-click function for the scroll wheel button)? Depending on the application, you may be able to set up keyboard shortcuts to do this. For a bash example, see http://cygwin.com/faq/faq.using.html#faq.using.copy-and-paste (or try searching the archives of the main Cygwin mailing list for copy paste -- I'm sure there were recipes for various key combinations). 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! If there's any real truth it's that the entire multidimensional infinity of the Universe is almost certainly being run by a bunch of maniacs. /DA -- 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: Basic question X - whatever
Igor Pechtchanski wrote: On Wed, 28 Sep 2005, Herbert Eppel wrote: Is there an alternative (without losing my double-click function for the scroll wheel button)? Have you tried shift-insert instead of middle button? My default installation of Cygwin and X supports this key combination. -- Poor Yorick -- 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: Basic question X - whatever
Herbert Eppel wrote: Just one more thing for now: I think I may find it a little difficult to get used to pressing the left and right mouse button simultaneously. Is there an alternative (without losing my double-click function for the scroll wheel button)? Some mouse drivers (for example, Microsoft Intellipoint) lets you define actions for the mouse buttons on a per-application basis. You could set it up so that clicking the mousewheel in XWin.exe does the default middle click, and clicking elsewhere results in the double-click. I do this myself, and find it very productive to have different mappings for different applications. Brian -- 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: Basic question X - whatever
On 28.09.2005 20:58 UK Time, Poor Yorick wrote: Igor Pechtchanski wrote: On Wed, 28 Sep 2005, Herbert Eppel wrote: Is there an alternative (without losing my double-click function for the scroll wheel button)? Have you tried shift-insert instead of middle button? My default installation of Cygwin and X supports this key combination. Thanks for that, but in the past I found the Insert button so annoying (I kept pressing it inadvertently) that I deactivated it! :-) Regards Herbert Eppel -- www.HETranslation.co.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: Basic question X - whatever
On 28.09.2005 20:10 UK Time, Igor Pechtchanski wrote: On Wed, 28 Sep 2005, Herbert Eppel wrote: Success 8-) Thanks a lot for all contributions! Just one more thing for now: I think I may find it a little difficult to get used to pressing the left and right mouse button simultaneously. Is there an alternative (without losing my double-click function for the scroll wheel button)? Depending on the application, you may be able to set up keyboard shortcuts to do this. For a bash example, see http://cygwin.com/faq/faq.using.html#faq.using.copy-and-paste (or try searching the archives of the main Cygwin mailing list for copy paste -- I'm sure there were recipes for various key combinations). Igor Thanks, I might try that - or I might try and get used to the left/right combination first :-) Regards Herbert Eppel -- www.HETranslation.co.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: Basic question X - ways to skin a ... mouse
On 29.09.2005 05:09 UK Time, Soong, SylokeJ wrote: Choices you have: 1. Hope you have a logitech mouse. Mine is a Dell Scroll with no Logitech logo, but it seems to work with Logitech driver. I have another, a Kensington which refuses to work with the util. Download their driver and mouse ctrl-panel util which allows you to exclude/include apps. I couldn't find it some time ago. Don't know if they still have it. Thanks for this. Yes, I have a Logitech mouse, and I might look for that utility. 2. Place your finger on the slit between the two buttons just above the tail (cable) of the mouse, just after the wheel. You need only one finger to press both buttons. Thanks for the tip, but my fingers are quite short and I think I'll probably find it easier to get used to the left/right combo than reaching over the wheel :-) X. I have a tablet PC. ... what have I got to do to make (Elton John's refrain in background) a middle mouse click when using the pen, if I do install cygwin on it. Would xp/tablet even detect cygwin input areas as text input areas - so that it would pop up a handwriting input+conversion pad. Got to try it. Middle button seems to be the hardest click ... it's sad, so sad ... Gotta go. G'nite. Where are you? I just got up! Regards Herbert Eppel -- www.HETranslation.co.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: Basic question X - whatever
Herbert Eppel wrote: Thanks for this. I have a (relatively old) optical Logitech mouse, and I can't see such an option in the mouse properties. Perhaps I simply have to get used to the left/right combination :-) You might try installing the MS Intellipoint drivers anyway. I have read in the past that it sometimes works with non-MS mice as well. You might have to use an older verion -- I am stuck on 4.1 but the latest is 5.3. Frustratingly, some versions do not have the enable program-specific settings checkbox. I seem to recall 4.12 does not, but 4.1 does, which is why I use it. Brian -- 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: Basic question X - whatever
On 29.09.2005 06:25 UK Time, Brian Dessent wrote: Herbert Eppel wrote: Thanks for this. I have a (relatively old) optical Logitech mouse, and I can't see such an option in the mouse properties. Perhaps I simply have to get used to the left/right combination :-) You might try installing the MS Intellipoint drivers anyway. I have read in the past that it sometimes works with non-MS mice as well. You might have to use an older verion -- I am stuck on 4.1 but the latest is 5.3. Frustratingly, some versions do not have the enable program-specific settings checkbox. I seem to recall 4.12 does not, but 4.1 does, which is why I use it. Brian Thanks, I might try that. -- 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/ By the way, is there a good reason why the space in the footer delimiter for this list is missing, i.e. it should be -- instead of -- ? Without the space Thunderbird, for example, doesn't automatically cut off the footer in replies as one would expect. Regards Herbert Eppel -- www.HETranslation.co.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/