Re: System tray menu tuning & Xwin0.log in mintty console with startx
Hello Marco and thank you for your precious answer. I think that I understand why the Xserver log splash on the screen in mintty. I found an explanation for this around web within a post. It says that Mintty use pty's so "if you run say Cygwin's bash from a cmd window and then start cmd it will not get the echoing. If, however, you start cmd from a bash shell that is in a mintty window then you're using pty's and you'll get echoing." Is this correct in your opinion? With reference to your "open more than Mintty window" (Minttty within another Mintty), I saw that the echoin starts on windows that contains startx script execution. Taking into account your suggested solution I think that you mean to create 2 .bat Win files into the usb eigher containing: 1) E:\cygwin\bin\run.exe --quote /usr/bin/bash.exe -l -c "cd; exec /usr/bin/startxwin" 2) E:\cygwin\bin\run.exe --quote /usr/bin/bash.exe -l -c "cd; exec /usr/bin/startx" I tried them and they are Ok!The only command that I don't understand is "cd;". Why do you use it? With reference to portable version I try to go into the site but it is very difficult to find an email in wich I can suggest some items to the author. I hope to reach and send my comments to tune the .paf file. I thank you again very very much for your big assistance Alessandro -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: System tray menu tuning & Xwin0.log in mintty console with startx
On 25/07/2016 22:14, pigreco erre wrote: Hello Marco, Excuse me but I don't specify before that I try to use Cygwin-Portable version that I find on the web. This explain why the menu was talking german http://www.cybesystems.com/index.php?option=com_jdownloads=download=6:cygwinportable-1-0-paf=2=101 But you should rise the issues with the author. Here we only support the full version https://www.cygwin.com/ I put it in my pendrive. I use in various exam the program VIM EMACS & GCC so to have a them in portable cyg version is very confortable. Sorry if I forgot to add this information :-( However, I have essentially only one problem: when I run "startx" on mintty bash environment I see on the screen like a splash log file directly. Why? What can I erase the echoin on the screen when it execs the script "startx?" I don't reach to put off the stdout on the screen when I call "startx". Don't start the X server from mintty or open more than one Mintty windows. Could I solve this? (take into account that there is a difference with startxwin. When I run "startxwin",It starts without echo-splash on the screen the X-server message). With reference to the other question, I solve it. Thank you again Alessandro My solution on USB disk is a link in the Cygwin root dir with "Target" E:\cygwin64\bin\run.exe --quote /usr/bin/bash.exe -l -c "cd; exec /usr/bin/startxwin" and with "Start in" E:\cygwin64\bin Regards Marco -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: System tray menu tuning & Xwin0.log in mintty console with startx
Hello Marco, Excuse me but I don't specify before that I try to use Cygwin-Portable version that I find on the web. I put it in my pendrive. I use in various exam the program VIM EMACS & GCC so to have a them in portable cyg version is very confortable. Sorry if I forgot to add this information :-( However, I have essentially only one problem: when I run "startx" on mintty bash environment I see on the screen like a splash log file directly. Why? What can I erase the echoin on the screen when it execs the script "startx?" I don't reach to put off the stdout on the screen when I call "startx". Could I solve this? (take into account that there is a difference with startxwin. When I run "startxwin",It starts without echo-splash on the screen the X-server message). With reference to the other question, I solve it. Thank you again Alessandro -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: System tray menu tuning & Xwin0.log in mintty console with startx
On 18/07/2016 22:31, pigreco erre wrote: Hello, thank you for your prompt answer. I write again my email in text format because I think my previous was discarded (It could be in html format) so I hope this time it arrives at the mailing list.:-) With reference to the first question let me specify the steps. Hi Alessandro, mail in html format are rejected by the server filter. When I launch Cygwin it appears on the task bar (at the bottom right) a system tray icon. what do you mean with "launch Cygwin" ? How ? In the program menu there are two related Cygwin folder - one named "Cygwin" with the "Cygwin Terminal" (also know as Mintty) - one named "Cygwin-X" with the "Xwin server" Pushing the mouse botton, I open a menu (unfortunately I can't attached a little screenshot into my mail) and I find items like: You can always provide a link to a image on the web, like http://pasteboard.co/e4ebPMNc.png Script .. Open Bash Open XServer ... Beenden I do not recognize these. Are you using a third party software ? Or a specific X Window Manager ? The item "open XSever" no runs so I think it starts with wrong parameter command inserted "in background" to the choice . This is because on bash environment with startxwin it is all OK without problem. I want to tune the parameters hidden on the menu -choice. After I would to change the "Beenden" with "Exit-Cyg" Where can I find the commands hidden in this menu-items? With reference to the second point my dubt: is there a way to erase the echoin in mintty? This is because when I go with startx & startxwin in "ConEmu" shell I don't see the log messages on to the screen, otherwise when I go within mintty, startx makes the echo & startxwin doesn't make it I don't use ConEmu. Mintty is fine for me. The logs of the XWin Server are available on "/var/log/xwin/" directory, whatever method was used to start the Xwin Server. With "doesn't make" do you mean The Xserver don't start ? Have you tried the icon on the Windows Program Menu ? I hope that I reach to explain more well the my dubt than my previous email Could you help me? I thank you again for your big assistance Have a nice weekend With my best regards Alessandro -- Problem reports: http://cygwin.com/problems.html Regards Marco -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: System tray menu tuning & Xwin0.log in mintty console with startx
Hello, thank you for your prompt answer. I write again my email in text format because I think my previous was discarded (It could be in html format) so I hope this time it arrives at the mailing list.:-) With reference to the first question let me specify the steps. When I launch Cygwin it appears on the task bar (at the bottom right) a system tray icon. Pushing the mouse botton, I open a menu (unfortunately I can't attached a little screenshot into my mail) and I find items like: Script .. Open Bash Open XServer ... Beenden The item "open XSever" no runs so I think it starts with wrong parameter command inserted "in background" to the choice . This is because on bash environment with startxwin it is all OK without problem. I want to tune the parameters hidden on the menu -choice. After I would to change the "Beenden" with "Exit-Cyg" Where can I find the commands hidden in this menu-items? With reference to the second point my dubt: is there a way to erase the echoin in mintty? This is because when I go with startx & startxwin in "ConEmu" shell I don't see the log messages on to the screen, otherwise when I go within mintty, startx makes the echo & startxwin doesn't make it I hope that I reach to explain more well the my dubt than my previous email Could you help me? I thank you again for your big assistance Have a nice weekend With my best regards Alessandro -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: System tray menu tuning & Xwin0.log in mintty console with startx
On 14/07/2016 10:01, pigreco erre wrote: Dear all, I see the address in Cygwin suggest notes Since I have some little question with my Cygwin in USB porting, I think that you can drive me if there are a solution. I use cygwin with Emacs,Vim,Gcc & R on my university exams so I am testing Cyg in USB stick. I would to change some parameter on lauch items in system tray menu. Could you suggest me where I can tune the run-parameters for example to adjust "Open XServer" lauch option(inserted in system tray menu) or change the item "Beenden" on "Cyg-exit"? (if these are permitted) Can you please redefine the question ? Not clear to me what you are looking for. The second question concern the start X server. When I launch it with starx script within mintty console, It appears on the screen the information that the server writes into the log file Xwin.0.log Why when I launch the same server with startxwin it doesn't happen? It happens. The log is always written, you just don't see the echo. How can I made to avoid this strange behaviour? Excuse me if I am disturbing you and I thank you again in advance if you try to help me with your best solution. With my best regards Alessandro Regards Marco -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
System tray menu tuning & Xwin0.log in mintty console with startx
Dear all, I see the address in Cygwin suggest notes Since I have some little question with my Cygwin in USB porting, I think that you can drive me if there are a solution. I use cygwin with Emacs,Vim,Gcc & R on my university exams so I am testing Cyg in USB stick. I would to change some parameter on lauch items in system tray menu. Could you suggest me where I can tune the run-parameters for example to adjust "Open XServer" lauch option(inserted in system tray menu) or change the item "Beenden" on "Cyg-exit"? (if these are permitted) The second question concern the start X server. When I launch it with starx script within mintty console, It appears on the screen the information that the server writes into the log file Xwin.0.log Why when I launch the same server with startxwin it doesn't happen? How can I made to avoid this strange behaviour? Excuse me if I am disturbing you and I thank you again in advance if you try to help me with your best solution. With my best regards Alessandro -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: Problem of Starting Xterm using the System Tray Icon for Xterm for Cygwin64
On Wed, Mar 19, 2014 at 08:44:29PM -0400, Thomas Dickey wrote: On Wed, Mar 19, 2014 at 04:25:44PM -0700, Mark Hansen wrote: On 3/19/2014 3:21 PM, Jyhshyong wrote: Hi I just installed Cygwin 64 on my 64-bit Cygein 64 PC, and found that the Xterm in the system tray icon is no longer working. The Xwin server system tray icon has the following target C:\cygwin64\bin\run.exe /usr/bin/bash.exe -l -c /usr/bin/startxwin.exe It works fine as the 32-bit version, click on the icon, I can start X server and open a small Xterm window. However, the Xterm system tray icon with the target defined as C:\cygwin64\bin\run.exe /usr/bin/bash.exe -l -c '/usr/bin/xterm -sl 1000 - geometry 120x40 -fn -adobe-courier-bold-r-normal-*-18-*-*-*-*-*-iso8859-* -sb -rightbar -fg black -bg white -display 127.0.0.1:0.0' I don't see anything wrong with the command-line, but it's been a while since I updated Cygwin packages (and I'm not in the middle of a release cycle), so I'll do that to see if it breaks for me. hmm: a) I'm uncertain how to configure the system tray to match the reported configuration (a sample .XWinrc might help). b) the latest xterm I find from mirrors is still #302 (should not be a problem with the given command-line). c) xterm comes up on my machine (which is 64-bits). -- Thomas E. Dickey dic...@invisible-island.net http://invisible-island.net ftp://invisible-island.net signature.asc Description: Digital signature
Re: Problem of Starting Xterm using the System Tray Icon for Xterm for Cygwin64
On 3/19/2014 3:21 PM, Jyhshyong wrote: Hi I just installed Cygwin 64 on my 64-bit Cygein 64 PC, and found that the Xterm in the system tray icon is no longer working. The Xwin server system tray icon has the following target C:\cygwin64\bin\run.exe /usr/bin/bash.exe -l -c /usr/bin/startxwin.exe It works fine as the 32-bit version, click on the icon, I can start X server and open a small Xterm window. However, the Xterm system tray icon with the target defined as C:\cygwin64\bin\run.exe /usr/bin/bash.exe -l -c '/usr/bin/xterm -sl 1000 - geometry 120x40 -fn -adobe-courier-bold-r-normal-*-18-*-*-*-*-*-iso8859-* -sb -rightbar -fg black -bg white -display 127.0.0.1:0.0' failed to open an xterm window. The 32 bit version of the Xterm short icon with the target defined as C:\cygwin\bin\run.exe /usr/bin/bash.exe -l -c '/usr/bin/xterm -sl 1000 - geometry 120x40 -fn -adobe-courier-bold-r-normal-*-18-*-*-*-*-*-iso8859-* -sb -rightbar -fg black -bg white -display 127.0.0.1:0.0' is still working, but only open to the 32-bit Cygwin environment. Any idea on solving this problem? Thanks for any suggestion. Jyhshyong I would start by removing arguments and trying to determine which are causing the problem. Note that (I believe) what shows up in the system try is not the XTerm, but the XServer (XWin). While the XServer is running, you can run a client, like XTerm and it will display on the XServer display. Here is the shortcut I'm using to launch an XTerm under 64-bit cygwin: C:\Apps\cygwin\bin\run.exe -p /usr/X11R6/bin xterm +tb -sb -sl 5000 -display 127.0.0.1:0.0 -ls This is working fine for me. You can also check the /var/log/xwin/XWinwhatever.log file to see if there are any errors being written there when you try to launch the XTerm. Good luck. -- 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 of Starting Xterm using the System Tray Icon for Xterm for Cygwin64
On Wed, Mar 19, 2014 at 04:25:44PM -0700, Mark Hansen wrote: On 3/19/2014 3:21 PM, Jyhshyong wrote: Hi I just installed Cygwin 64 on my 64-bit Cygein 64 PC, and found that the Xterm in the system tray icon is no longer working. The Xwin server system tray icon has the following target C:\cygwin64\bin\run.exe /usr/bin/bash.exe -l -c /usr/bin/startxwin.exe It works fine as the 32-bit version, click on the icon, I can start X server and open a small Xterm window. However, the Xterm system tray icon with the target defined as C:\cygwin64\bin\run.exe /usr/bin/bash.exe -l -c '/usr/bin/xterm -sl 1000 - geometry 120x40 -fn -adobe-courier-bold-r-normal-*-18-*-*-*-*-*-iso8859-* -sb -rightbar -fg black -bg white -display 127.0.0.1:0.0' I don't see anything wrong with the command-line, but it's been a while since I updated Cygwin packages (and I'm not in the middle of a release cycle), so I'll do that to see if it breaks for me. -- Thomas E. Dickey dic...@invisible-island.net http://invisible-island.net ftp://invisible-island.net signature.asc Description: Digital signature
Re: Cannot launch ssh from X11 system tray icon
Installing 1.12.0-1 made the issue go away. :-) Craig -- 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: Cannot launch ssh from X11 system tray icon
On 29 March 2012 12:39, Jon TURNEY wrote: On 23/03/2012 17:56, Craig wrote: debug1: Sending command: xterm 0 [main] ssh 2184 select_stuff::wait: WaitForMultipleObjects failed debug1: channel 0: free: client-session, nchannels 1 select: Permission denied So can anyone tell me why I get the select / waitForMultipleObjects error? This error is coming from inside the select() emulation in the cygwin DLL itself. I've no idea why this is failing, and apparently only when an ancestor is the X server. You might want to ask about this on the main cygwin list, it might get the attention of someone with more insight. One thing to consider trying is that it might be something to do with the environment inherited by processes started directly from the start menu, rather than something specific to the X server, i.e. try starting your test script directly from a start menu shortcut in a similar way to the X server is started... -- Jon TURNEY Volunteer Cygwin/X X Server maintainer Hi Jon, Thanks for getting back to me. So I can run this from the run box: C:\cygwin\bin\run bash -c export DISPLAY=:0.0 ; /bin/ssh vulpix xterm And I get an xterm. I have my XWin Server pinned to my start bar and so I made a shortcut with the above in it and pinned it to my start bar and the thing runs fine. Both use run. I'm thinking it's to do with Windows permissions. Does The XWin Server do a process group change or something? Craig -- 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: Cannot launch ssh from X11 system tray icon
On 23/03/2012 17:56, Craig wrote: debug1: Sending command: xterm 0 [main] ssh 2184 select_stuff::wait: WaitForMultipleObjects failed debug1: channel 0: free: client-session, nchannels 1 select: Permission denied So can anyone tell me why I get the select / waitForMultipleObjects error? This error is coming from inside the select() emulation in the cygwin DLL itself. I've no idea why this is failing, and apparently only when an ancestor is the X server. You might want to ask about this on the main cygwin list, it might get the attention of someone with more insight. One thing to consider trying is that it might be something to do with the environment inherited by processes started directly from the start menu, rather than something specific to the X server, i.e. try starting your test script directly from a start menu shortcut in a similar way to the X server is started... -- 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: Cannot launch ssh from X11 system tray icon
I don't suppose anyone has any thoughts on this? It's rendered Cygwin X11 unusable. :-( Can any further diagnostics be enabled? On 23 March 2012 17:56, Craig wrote: I have two machines, a desktop and a laptop. Both are 64bit Windows 7 Enterprise installations. I (think I) configured Cygwin on both the same and they have the same identical ~/.XWinrc file. They both use the same mirror for installing and are both fully up to date. A précis of my .XWinrc looks like this: menu root { // Comments fit here, too... Xterm exec xterm Xterm - Vulpix exec ssh vulpix xterm -e bash --login } And on the desktop both work and on the laptop only the local xterm will run. Nothing appers in /var/log/anything So I added an entry like this: Experiment exec ~/experiment and ~/experiment looks like this #!/bin/bash ( set -x ssh -v vulpix xterm ) /tmp/experiment 21 It still fails (i.e. does nothing) and /tmp/experiment has + ssh -v vulpix xterm OpenSSH_5.9p1, OpenSSL 0.9.8t 18 Jan 2012 debug1: Reading configuration data /home/craigem/.ssh/config debug1: /home/craigem/.ssh/config line 3: Applying options for vulpix debug1: /home/craigem/.ssh/config line 49: Applying options for vulpix debug1: Connecting to vulpix.uk.xensource.com [10.80.2.147] port 22. debug1: Connection established. debug1: identity file /home/craigem/.ssh/id_rsa type 1 debug1: identity file /home/craigem/.ssh/id_rsa-cert type -1 debug1: identity file /home/craigem/.ssh/id_dsa type -1 debug1: identity file /home/craigem/.ssh/id_dsa-cert type -1 debug1: identity file /home/craigem/.ssh/id_ecdsa type -1 debug1: identity file /home/craigem/.ssh/id_ecdsa-cert type -1 debug1: Remote protocol version 2.0, remote software version OpenSSH_5.1p1 Debian-5 debug1: match: OpenSSH_5.1p1 Debian-5 pat OpenSSH* debug1: Enabling compatibility mode for protocol 2.0 debug1: Local version string SSH-2.0-OpenSSH_5.9 debug1: SSH2_MSG_KEXINIT sent debug1: SSH2_MSG_KEXINIT received debug1: kex: server-client aes128-ctr hmac-md5 none debug1: kex: client-server aes128-ctr hmac-md5 none debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(102410248192) sent debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP debug1: SSH2_MSG_KEX_DH_GEX_INIT sent debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY debug1: Server host key: RSA 51:9d:01:87:94:a8:b7:ef:13:dd:89:c4:a7:2e:8b:17 debug1: Host 'vulpix.uk.xensource.com' is known and matches the RSA host key. debug1: Found key in /home/craigem/.ssh/known_hosts:7 debug1: ssh_rsa_verify: signature correct debug1: SSH2_MSG_NEWKEYS sent debug1: expecting SSH2_MSG_NEWKEYS debug1: SSH2_MSG_NEWKEYS received debug1: Roaming not allowed by server debug1: SSH2_MSG_SERVICE_REQUEST sent debug1: SSH2_MSG_SERVICE_ACCEPT received debug1: Authentications that can continue: publickey,password debug1: Next authentication method: publickey debug1: Offering RSA public key: /home/craigem/.ssh/id_rsa debug1: Server accepts key: pkalg ssh-rsa blen 279 debug1: read PEM private key done: type RSA debug1: Authentication succeeded (publickey). Authenticated to vulpix.uk.xensource.com ([10.80.2.147]:22). debug1: channel 0: new [client-session] debug1: Requesting no-more-sessi...@openssh.com debug1: Entering interactive session. Warning: No xauth data; using fake authentication data for X11 forwarding. debug1: Requesting X11 forwarding with authentication spoofing. debug1: Sending command: xterm 0 [main] ssh 2184 select_stuff::wait: WaitForMultipleObjects failed debug1: channel 0: free: client-session, nchannels 1 select: Permission denied Transferred: sent 2784, received 2152 bytes, in 0.2 seconds Bytes per second: sent 12596.6, received 9737.0 debug1: Exit status -1 So can anyone tell me why I get the select / waitForMultipleObjects error? If I'm in the xterm I *can* run, I have zero problems running $ ssh vulpix xterm -e bash --login -- 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: Cannot launch ssh from X11 system tray icon
Am 28.03.2012 12:10, schrieb Craig: I don't suppose anyone has any thoughts on this? It's rendered Cygwin X11 unusable. :-( Can any further diagnostics be enabled? On 23 March 2012 17:56, Craig wrote: I have two machines, a desktop and a laptop. Both are 64bit Windows 7 Enterprise installations. I (think I) configured Cygwin on both the same and they have the same identical ~/.XWinrc file. They both use the same mirror for installing and are both fully up to date. A précis of my .XWinrc looks like this: menu root { // Comments fit here, too... Xterm exec xterm Xterm - Vulpix exec ssh vulpix xterm -e bash --login } And on the desktop both work and on the laptop only the local xterm will run. Nothing appers in /var/log/anything So I added an entry like this: Experiment exec ~/experiment and ~/experiment looks like this #!/bin/bash ( set -x ssh -v vulpix xterm ) /tmp/experiment 21 It still fails (i.e. does nothing) and /tmp/experiment has So can anyone tell me why I get the select / waitForMultipleObjects error? If I'm in the xterm I *can* run, I have zero problems running $ ssh vulpix xterm -e bash --login Hello Craig, you have to use X11 Forwarding. Try menu root { // Comments fit here, too... Xterm exec xterm Xterm - Vulpix exec ssh -Y vulpix xterm -e bash --login } or menu root { // Comments fit here, too... Xterm exec xterm Xterm - Vulpix exec ssh -X vulpix xterm -e bash --login } Dirk -- 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: Cannot launch ssh from X11 system tray icon
On 28 March 2012 19:14, Dirk Fassbender wrote: Am 28.03.2012 12:10, schrieb Craig: I don't suppose anyone has any thoughts on this? It's rendered Cygwin X11 unusable. :-( Can any further diagnostics be enabled? On 23 March 2012 17:56, Craig wrote: I have two machines, a desktop and a laptop. Both are 64bit Windows 7 Enterprise installations. I (think I) configured Cygwin on both the same and they have the same identical ~/.XWinrc file. They both use the same mirror for installing and are both fully up to date. A précis of my .XWinrc looks like this: menu root { // Comments fit here, too... Xterm exec xterm Xterm - Vulpix exec ssh vulpix xterm -e bash --login } And on the desktop both work and on the laptop only the local xterm will run. Nothing appers in /var/log/anything So I added an entry like this: Experiment exec ~/experiment and ~/experiment looks like this #!/bin/bash ( set -x ssh -v vulpix xterm ) /tmp/experiment 21 It still fails (i.e. does nothing) and /tmp/experiment has So can anyone tell me why I get the select / waitForMultipleObjects error? If I'm in the xterm I *can* run, I have zero problems running $ ssh vulpix xterm -e bash --login Hello Craig, you have to use X11 Forwarding. Try [snip] Hi Dirk, I am sorry I wasn't more explicit. My ssh config file enabled X11 forwarding, as you'll note debug1: Requesting X11 forwarding with authentication spoofing. was in my original post. I added -Y to the ssh and still saw both the X11 debug1 line and the symptom. Craig -- 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/
Cannot launch ssh from X11 system tray icon
I have two machines, a desktop and a laptop. Both are 64bit Windows 7 Enterprise installations. I (think I) configured Cygwin on both the same and they have the same identical ~/.XWinrc file. They both use the same mirror for installing and are both fully up to date. A précis of my .XWinrc looks like this: menu root { // Comments fit here, too... Xterm exec xterm Xterm - Vulpix exec ssh vulpix xterm -e bash --login } And on the desktop both work and on the laptop only the local xterm will run. Nothing appers in /var/log/anything So I added an entry like this: Experiment exec ~/experiment and ~/experiment looks like this #!/bin/bash ( set -x ssh -v vulpix xterm ) /tmp/experiment 21 It still fails (i.e. does nothing) and /tmp/experiment has + ssh -v vulpix xterm OpenSSH_5.9p1, OpenSSL 0.9.8t 18 Jan 2012 debug1: Reading configuration data /home/craigem/.ssh/config debug1: /home/craigem/.ssh/config line 3: Applying options for vulpix debug1: /home/craigem/.ssh/config line 49: Applying options for vulpix debug1: Connecting to vulpix.uk.xensource.com [10.80.2.147] port 22. debug1: Connection established. debug1: identity file /home/craigem/.ssh/id_rsa type 1 debug1: identity file /home/craigem/.ssh/id_rsa-cert type -1 debug1: identity file /home/craigem/.ssh/id_dsa type -1 debug1: identity file /home/craigem/.ssh/id_dsa-cert type -1 debug1: identity file /home/craigem/.ssh/id_ecdsa type -1 debug1: identity file /home/craigem/.ssh/id_ecdsa-cert type -1 debug1: Remote protocol version 2.0, remote software version OpenSSH_5.1p1 Debian-5 debug1: match: OpenSSH_5.1p1 Debian-5 pat OpenSSH* debug1: Enabling compatibility mode for protocol 2.0 debug1: Local version string SSH-2.0-OpenSSH_5.9 debug1: SSH2_MSG_KEXINIT sent debug1: SSH2_MSG_KEXINIT received debug1: kex: server-client aes128-ctr hmac-md5 none debug1: kex: client-server aes128-ctr hmac-md5 none debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(102410248192) sent debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP debug1: SSH2_MSG_KEX_DH_GEX_INIT sent debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY debug1: Server host key: RSA 51:9d:01:87:94:a8:b7:ef:13:dd:89:c4:a7:2e:8b:17 debug1: Host 'vulpix.uk.xensource.com' is known and matches the RSA host key. debug1: Found key in /home/craigem/.ssh/known_hosts:7 debug1: ssh_rsa_verify: signature correct debug1: SSH2_MSG_NEWKEYS sent debug1: expecting SSH2_MSG_NEWKEYS debug1: SSH2_MSG_NEWKEYS received debug1: Roaming not allowed by server debug1: SSH2_MSG_SERVICE_REQUEST sent debug1: SSH2_MSG_SERVICE_ACCEPT received debug1: Authentications that can continue: publickey,password debug1: Next authentication method: publickey debug1: Offering RSA public key: /home/craigem/.ssh/id_rsa debug1: Server accepts key: pkalg ssh-rsa blen 279 debug1: read PEM private key done: type RSA debug1: Authentication succeeded (publickey). Authenticated to vulpix.uk.xensource.com ([10.80.2.147]:22). debug1: channel 0: new [client-session] debug1: Requesting no-more-sessi...@openssh.com debug1: Entering interactive session. Warning: No xauth data; using fake authentication data for X11 forwarding. debug1: Requesting X11 forwarding with authentication spoofing. debug1: Sending command: xterm 0 [main] ssh 2184 select_stuff::wait: WaitForMultipleObjects failed debug1: channel 0: free: client-session, nchannels 1 select: Permission denied Transferred: sent 2784, received 2152 bytes, in 0.2 seconds Bytes per second: sent 12596.6, received 9737.0 debug1: Exit status -1 So can anyone tell me why I get the select / waitForMultipleObjects error? If I'm in the xterm I *can* run, I have zero problems running $ ssh vulpix xterm -e bash --login -- 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/
Problems Starting Xterm using the System Tray Icon for XWin Server
Hi, When I open a new xterm window using the XWin Server icon in the system tray: (right click on icon)-Applications-xterm it opens xterm, but the command prompt is not formatted correctly and the window title is 'xterm' instaed of the current directory. The command prompt looks like: bash-3.2$ and should be cr...@laptop ~ $ How do I configure the XWin Server so that it opens xterm correctly? Also, is there a way I can add a shortcut on my desktop to open a new terminal window without having to type 'xterm' in the existing terminal window or the system tray icon? Thanks, Craig -- 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: Problems Starting Xterm using the System Tray Icon for XWin Server
On 2/18/2010 7:13 AM, Craig Moore wrote: When I open a new xterm window using the XWin Server icon in the system tray: (right click on icon)-Applications-xterm it opens xterm, but the command prompt is not formatted correctly and the window title is 'xterm' instaed of the current directory. The command prompt looks like: bash-3.2$ and should be cr...@laptop ~ $ How do I configure the XWin Server so that it opens xterm correctly? This happens because xterm doesn't start a login shell, and PS1 gets unset. One way around this is to set PS1 in your ~/.bashrc file. For example: PS1='\[\e]0;\w\a\]\n\[\e[32m\...@\h \[\e[33m\]\w\[\e[0m\]\n\$ ' Also, is there a way I can add a shortcut on my desktop to open a new terminal window without having to type 'xterm' in the existing terminal window or the system tray icon? I use a shortcut with target C:\cygwin\bin\run.exe /usr/bin/xterm -ls -display 127.0.0.1:0.0 Ken -- 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: Problems Starting Xterm using the System Tray Icon for XWin Server
On Thu, 18 Feb 2010 10:34:56 -0500, Ken Brown kbrown at cornell dot edu wrote: How do I configure the XWin Server so that it opens xterm correctly? This happens because xterm doesn't start a login shell, and PS1 gets unset. One way around this is to set PS1 in your ~/.bashrc file. For example: PS1='\[\e]0;\w\a\]\n\[\e[32m\...@\h \[\e[33m\]\w\[\e[0m\]\n\$ ' I added this to my ~/.bashrc and the problem went away. Thanks! Also, is there a way I can add a shortcut on my desktop to open a new terminal window without having to type 'xterm' in the existing terminal window or the system tray icon? I use a shortcut with target C:\cygwin\bin\run.exe /usr/bin/xterm -ls -display 127.0.0.1:0.0 Perfect, with this I don't even need to bother with the system tray icon. However, I do get a small error message when I execute it: -bash: Files/MiKTeX: No such file or directory cr...@craig-laptop ~ $ I imagine that this has something to do with the way cygwin deals with the PATH variable? Here is the text in my PATH variable as seen from Cygwin: $ echo $PATH /cygdrive/c/Users/craig/Programming/scripts:/home/craig/bin:/usr/local/bin:/usr/bin:/bin:/cygdrive/c/Program Files/MiKTeX 2.7/miktex/bin:/cygdrive/c/Windows/system32:/cygdrive/c/Windows:/cygdrive/c/Windows/System32/Wbem:/cygdrive/c/Program Files/Common Files/Roxio Shared/10.0/DLLShared/:/cygdrive/c/Program Files/Common Files/Roxio Shared/DLLShared/:/cygdrive/c/modeltech_6.5c/win32:/cygdrive/c/Users/craig/Software/ant-1.7.1/apache-ant-1.7.1/bin Alternatively , this is what it looks like from DOS cmd: ECHO %PATH% C:\Program Files\MiKTeX 2.7\miktex\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files\Common Files\Roxio Shared\10.0\DLLShared\;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\modeltech_6.5c\win32;C:\Users\craig\Software\ant-1.7.1\apache-ant-1.7.1\bin Its not a big problem, but I thought I would make you all aware of it. Thanks for your help, Craig -- 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: Problems Starting Xterm using the System Tray Icon for XWin Server
On 2/18/2010 11:28 AM, Craig Moore wrote: On Thu, 18 Feb 2010 10:34:56 -0500, Ken Brownkbrown at cornell dot edu wrote: How do I configure the XWin Server so that it opens xterm correctly? This happens because xterm doesn't start a login shell, and PS1 gets unset. One way around this is to set PS1 in your ~/.bashrc file. For example: PS1='\[\e]0;\w\a\]\n\[\e[32m\...@\h \[\e[33m\]\w\[\e[0m\]\n\$ ' I added this to my ~/.bashrc and the problem went away. Thanks! Also, is there a way I can add a shortcut on my desktop to open a new terminal window without having to type 'xterm' in the existing terminal window or the system tray icon? I use a shortcut with target C:\cygwin\bin\run.exe /usr/bin/xterm -ls -display 127.0.0.1:0.0 Perfect, with this I don't even need to bother with the system tray icon. However, I do get a small error message when I execute it: -bash: Files/MiKTeX: No such file or directory cr...@craig-laptop ~ $ I imagine that this has something to do with the way cygwin deals with the PATH variable? Here is the text in my PATH variable as seen from Cygwin: $ echo $PATH /cygdrive/c/Users/craig/Programming/scripts:/home/craig/bin:/usr/local/bin:/usr/bin:/bin:/cygdrive/c/Program Files/MiKTeX 2.7/miktex/bin:/cygdrive/c/Windows/system32:/cygdrive/c/Windows:/cygdrive/c/Windows/System32/Wbem:/cygdrive/c/Program Files/Common Files/Roxio Shared/10.0/DLLShared/:/cygdrive/c/Program Files/Common Files/Roxio Shared/DLLShared/:/cygdrive/c/modeltech_6.5c/win32:/cygdrive/c/Users/craig/Software/ant-1.7.1/apache-ant-1.7.1/bin Alternatively , this is what it looks like from DOS cmd: ECHO %PATH% C:\Program Files\MiKTeX 2.7\miktex\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files\Common Files\Roxio Shared\10.0\DLLShared\;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\modeltech_6.5c\win32;C:\Users\craig\Software\ant-1.7.1\apache-ant-1.7.1\bin Its not a big problem, but I thought I would make you all aware of it. You have spaces in your PATH but probably did not quote it properly in your scripts when you used it ... I have things like this in my .bash_profile: PATH=${HOME}/bin:/c/miktex2.8/miktex/bin:${PATH}:${M2_HOME}/bin Note the quotes :-) Since I run MiKTeX from cygwin, I added to PATH within cygwin only, so that's not my point. My point is always using the quotes when adjusting PATH, and so forth, if it might have spaces in it. Cheers -- EM -- 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: Problems Starting Xterm using the System Tray Icon for XWin Server
On 18 February 2010 17:55, Eliot Moss m...@cs.umass.edu wrote: You have spaces in your PATH but probably did not quote it properly in your scripts when you used it ... No, thats not it. It works fine when I start xterm normally (either by starting XWin Server or selecting it from the system tray icon). Its only when I use the shortcut on my desktop: C:\cygwin\bin\run.exe /usr/bin/xterm -ls -display 127.0.0.1:0.0 that I get the message. Craig -- 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: Problems Starting Xterm using the System Tray Icon for XWin Server
From: cygwin-xfree-ow...@cygwin.com [mailto:cygwin-xfree- ow...@cygwin.com] On Behalf Of Craig Moore Sent: Thursday, February 18, 2010 4:14 AM When I open a new xterm window using the XWin Server icon in the system tray: (right click on icon)-Applications-xterm it opens xterm, but the command prompt is not formatted correctly and the window title is 'xterm' instaed of the current directory. The command prompt looks like: bash-3.2$ and should be cr...@laptop ~ $ How do I configure the XWin Server so that it opens xterm correctly? My wild guess is that you have a typo in .bashrc which prevents all the startup happening. in your system tray launched window, make sure you are in your home directory, then run '. .bashrc' (note that first period!) and see if there are any error messages. You can also edit .bashrc and put 'set -x' as the first line for verbose output. HTH, Mike
Re: Problems Starting Xterm using the System Tray Icon for XWin Server
On 18 February 2010 22:02, Mike Ayers mike_ay...@tvworks.com wrote: No, no, .bashrc is off the suspect list. What's in ~/.bash_profile? Ah! Yes, this is where the problem was. This is what I found in my .bash_profile: if [ -e /etc/bash.bashrc ] ; then source /etc/bash.bashrc fi if [ -e ${HOME}/.bashrc ] ; then source ${HOME}/.bashrc fi if [ -d ${HOME}/bin ] ; then PATH=${HOME}/bin:${PATH} fi PATH=/cygdrive/c/Users/craig/Programming/scripts:${PATH} PATH=/cygdrive/c/Program Files/MiKTeX 2.7/miktex/bin:${PATH} The last line is the guilty party, I added it by mistake and forgot to remove it. I've deleted it, and now the message doesn't appear. It was redundant because MiKTeX was already added to the PATH in Windows. Mea cupla... I thought it had something to do with the shortcut I was using becuase I hadn't seen it before. Thanks for your help! Craig -- 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: Can't start xterm from Cygwin/X icon in system tray
After re-installing Cygwin from scratch, I have determined that this environment variable is/was causing the problem: CYGWIN=tty Once I removed it, I was able to create an X term from the icon in the system tray. - Jim On Wed, Dec 30, 2009 at 10:07 AM, I wrote: I have a very strange situation. At work, I am running Win XP SP3. I installed all the latest Cygwin (1.7.1) + Xorg updates, including startxwin.exe. Everything works perfectly. At home, I am running Windows 7 Professional, 64-bit. I am unable to start an xterm from the Cygwin/X icon in the system tray (right-click, select xterm). Both setups have the same line in .XWinrc: xterm EXEC xterm I am starting the X server the same way: D:\Cygwin\bin\run.exe /usr/bin/bash.exe -l -c /usr/bin/startxwin.exe I do not have a ~/.startxwinrc file. The xterm that is supposed to be created when the server starts doesn't start either. The symptom is that xterm.exe is shown running in the task manager, but there is no Xterm window on the desktop. As a work-around, I created a shortcut on my desktop to start an xterm: D:\Cygwin\bin\run.exe /usr/bin/xterm -display localhost:0 That works perfectly, but is not an optimum solution (I try to have as few desktop icons as possible). There is nothing in the /var/log/Xwin log that indicates why an xterm would start but not open a window. Any ideas? -- Jim Reisert AD1C, jjreis...@alum.mit.edu, http://www.ad1c.us -- 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: Can't start xterm from Cygwin/X icon in system tray
On 01/01/2010 16:04, Jim Reisert AD1C wrote: Yes, my startup folder shortcut is: D:\Cygwin\bin\run.exe /usr/bin/bash.exe -l -c /usr/bin/startxwin.exe As I've said before, this works properly on my XP SP3 system at work, but not on my Windows 7 64-bit system at home. I run Win7 64bit as well and the shortcut WJFFM. One thing I just realized tonight is that if you use keychain(1) and added the command to your ~/.bash_profile (as suggested in that manpage), AND you use the shortcut to launch XWin without having started a console session first, then the login shell in which we want to launch startxwin will wait indefinitely for your SSH password (which you won't see because we use run.exe). Trying the shortcut again while this occurs should work after a ~30-sec delay. The fix for that is to test the presence of an interactive shell before running keychain (see bash.info, section 6.3.2): case $- in *i*) eval `keychain --eval ~/.ssh/id_dsa` ;; esac Since you mention it's your home computer that's having issues, I can only guess this might be it. If you're not using keychain, then we'll need to see your 'cygcheck -srv' output and your /var/log/XWin.0.log (as plain-text attachments). Yaakov Cygwin/X -- 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: Can't start xterm from Cygwin/X icon in system tray
On 1/2/2010 10:01 PM, Yaakov (Cygwin/X) wrote: Since you mention it's your home computer that's having issues, I can only guess this might be it. If you're not using keychain, then we'll need to see your 'cygcheck -srv' output and your /var/log/XWin.0.log (as plain-text attachments). Hi Yaakov, I am not using keychain. I disabled Microsoft Security Essentials. I do not have an ~/.Xdefaults nor a ~/.startxwinrc file. I've attached the output from cygcheck, as well as the Xwin log. I got these warnings while running it: /usr/bin/cygrunsrv: warning: OpenService failed for 'DcomLaunch': Win32 error 5 Access is denied. /usr/bin/cygrunsrv: warning: OpenService failed for 'odserv': Win32 error 5 Access is denied. /usr/bin/cygrunsrv: warning: OpenService failed for 'ose': Win32 error 5 Access is denied. /usr/bin/cygrunsrv: warning: OpenService failed for 'pla': Win32 error 5 Access is denied. /usr/bin/cygrunsrv: warning: OpenService failed for 'QWAVE': Win32 error 5 Access is denied. /usr/bin/cygrunsrv: warning: OpenService failed for 'RpcEptMapper': Win32 error 5 Access is denied. /usr/bin/cygrunsrv: warning: OpenService failed for 'RpcSs': Win32 error 5 Access is denied. -- Jim Reisert AD1C, jjreis...@alum.mit.edu, http://www.ad1c.us Cygwin Configuration Diagnostics Current System Time: Sat Jan 02 23:52:25 2010 Windows 7 Professional N Ver 6.1 Build 7600 Running under WOW64 on AMD64 Path: .\ D:\Home\bin D:\Cygwin\usr\local\emacs\bin D:\Cygwin\Bin C:\Windows\system32 C:\Windows C:\Windows\System32\Wbem C:\Windows\System32\WindowsPowerShell\v1.0\ C:\Program Files (x86)\QuickTime\QTSystem\ C:\Program Files (x86)\Common Files\Acronis\SnapAPI\ D:\utility\DISKEE~1\ D:\WATCOM\BINNT D:\WATCOM\BINW Output from D:\Cygwin\bin\id.exe UID: 1001(Jim Reisert) GID: 513(None) 545(Users) 1000(HomeUsers)513(None) SysDir: C:\Windows\system32 WinDir: C:\Windows CYGWIN = 'tty' HOME = '/cygdrive/d/Home' PWD = '/cygdrive/d/Home' USER = 'Jim Reisert' LIBRARY_PATH = '/usr/lib/mingw' ALLUSERSPROFILE = 'C:\ProgramData' APPDATA = 'C:\Users\Jim Reisert\AppData\Roaming' CLASSPATH = '.;C:\Program Files (x86)\QuickTime\QTSystem\QTJava.zip' COMMONPROGRAMFILES = 'C:\Program Files (x86)\Common Files' CommonProgramFiles(x86) = 'C:\Program Files (x86)\Common Files' CommonProgramW6432 = 'C:\Program Files\Common Files' COMPUTERNAME = 'JJR' COMSPEC = 'C:\Windows\system32\cmd.exe' CVSROOT = 'F:\CVS' CYGROOT = 'D:\Cygwin' EDPATH = 'd:\WATCOM\EDDAT' FP_NO_HOST_CHECK = 'NO' HOMEDRIVE = 'C:' HOMEPATH = '\Users\Jim Reisert' INCLUDE = 'd:\WATCOM\H;d:\WATCOM\H\NT' LANG = 'en_US.ISO-8859-1' LANG_JJR = 'C' LC_TIME_JJR = 'C' LOCALAPPDATA = 'C:\Users\Jim Reisert\AppData\Local' LOCALE_JJR = 'C.UTF-8' LOGONSERVER = '\\JJR' NUMBER_OF_PROCESSORS = '4' OS = 'Windows_NT' PATHEXT = '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' PROCESSOR_ARCHITECTURE = 'x86' PROCESSOR_ARCHITEW6432 = 'AMD64' PROCESSOR_IDENTIFIER = 'Intel64 Family 6 Model 15 Stepping 7, GenuineIntel' PROCESSOR_LEVEL = '6' PROCESSOR_REVISION = '0f07' ProgramData = 'C:\ProgramData' PROGRAMFILES = 'C:\Program Files (x86)' ProgramFiles(x86) = 'C:\Program Files (x86)' ProgramW6432 = 'C:\Program Files' PSModulePath = 'C:\Windows\system32\WindowsPowerShell\v1.0\Modules\' PUBLIC = 'C:\Users\Public' QTJAVA = 'C:\Program Files (x86)\QuickTime\QTSystem\QTJava.zip' SESSIONNAME = 'Console' SYSTEMDRIVE = 'C:' SYSTEMROOT = 'C:\Windows' TEMP = '/cygdrive/c/Users/JIMREI~1/AppData/Local/Temp' TERM = 'xterm' TMP = '/cygdrive/c/Users/JIMREI~1/AppData/Local/Temp' USERDOMAIN = 'JJR' USERNAME = 'Jim Reisert' USERPROFILE = 'C:\Users\Jim Reisert' VS80COMNTOOLS = 'D:\Microsoft Visual Studio 8\Common7\Tools\' WATCOM = 'd:\WATCOM' WINDIR = 'C:\Windows' WINDOWID = '10485797' DISPLAY = 'localhost:0.0' XTERM_VERSION = 'Cygwin 6.8.99.903(251)' XTERM_LOCALE = 'en_US.ISO-8859-1' LOGNAME = 'Jim Reisert' XTERM_SHELL = '/bin/tcsh' HOSTTYPE = 'i386-cygwin' VENDOR = 'intel' OSTYPE = 'cygwin' MACHTYPE = 'i386' SHLVL = '1' GROUP = 'None' HOST = 'JJR' REMOTEHOST = 'JJR' MANPATH = ':/usr/ssl/man' CVSEDITOR = 'emacs' G_SLICE = 'always-malloc' DXSPIDER_ROOT = '/cygdrive/e/spider' HKEY_CURRENT_USER\Software\Cygwin HKEY_CURRENT_USER\Software\Cygwin\Program Options HKEY_CURRENT_USER\Software\Cygwin\setup HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin\Installations (default) = '\??\D:\Cygwin' HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin\Program Options HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin\setup (default) = 'D:\cygwin' obcaseinsensitive set to 1 Cygwin installations found in the registry: System: Key: 1720b01b097bf4fc Path: D:\Cygwin a: fd FAT 1Mb 0% CPUN c: hd NTFS 32765Mb 64% CP CS UN PA FC JJR d: hd NTFS 32765Mb 25% CP CS UN PA FC Applications e: hd NTFS 32765Mb 30% CP CS
Re: Can't start xterm from Cygwin/X icon in system tray
On 12/31/2009 1:43 PM, Yaakov (Cygwin/X) wrote: This sounds like it has nothing to do with startxwin. I can't reproduce this, but do any of the following help: 1) creating a ~/.startxwinrc containing just xterm ? Same problem. No xterm. 2) changing that .startxwinrc to run xterm? Pop-up: Couldn't find xterm anywhere. I even looked in the PATH Same when I tried run /usr/bin/xterm (couldn't find /usr/bin/xterm anywhere etc.) 3) setting LANG=en_US.ISO-8859-1 ? No change. 4) installing the font-daewoo-misc, font-isas-misc, and font-jis-misc packages? Those fonts are already installed. As I said, I have a desktop icon for starting an XTERM that works. It only doesn't work when trying to start the xterm from ~/.startxwinrc, or from the system tray. - Jim -- Jim Reisert AD1C, jjreis...@alum.mit.edu, http://www.ad1c.us -- 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: Can't start xterm from Cygwin/X icon in system tray
Are you executing startxwin from a login shell? I use \path\to\cygwin\bin\run.exe /bin/bash.exe -l -c /bin/startxwin.exe and it works for me. On Fri, 1 Jan 2010, Jim Reisert AD1C wrote: On 12/31/2009 1:43 PM, Yaakov (Cygwin/X) wrote: This sounds like it has nothing to do with startxwin. I can't reproduce this, but do any of the following help: 1) creating a ~/.startxwinrc containing just xterm ? Same problem. No xterm. 2) changing that .startxwinrc to run xterm? Pop-up: Couldn't find xterm anywhere. I even looked in the PATH Same when I tried run /usr/bin/xterm (couldn't find /usr/bin/xterm anywhere etc.) 3) setting LANG=en_US.ISO-8859-1 ? No change. 4) installing the font-daewoo-misc, font-isas-misc, and font-jis-misc packages? Those fonts are already installed. As I said, I have a desktop icon for starting an XTERM that works. It only doesn't work when trying to start the xterm from ~/.startxwinrc, or from the system tray. - Jim -- 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: Can't start xterm from Cygwin/X icon in system tray
On 1/1/2010 12:41 PM, john wrote: Are you executing startxwin from a login shell? I use \path\to\cygwin\bin\run.exe /bin/bash.exe -l -c /bin/startxwin.exe and it works for me. Yes, my startup folder shortcut is: D:\Cygwin\bin\run.exe /usr/bin/bash.exe -l -c /usr/bin/startxwin.exe As I've said before, this works properly on my XP SP3 system at work, but not on my Windows 7 64-bit system at home. - Jim On Fri, 1 Jan 2010, Jim Reisert AD1C wrote: On 12/31/2009 1:43 PM, Yaakov (Cygwin/X) wrote: This sounds like it has nothing to do with startxwin. I can't reproduce this, but do any of the following help: 1) creating a ~/.startxwinrc containing just xterm? Same problem. No xterm. 2) changing that .startxwinrc to run xterm? Pop-up: Couldn't find xterm anywhere. I even looked in the PATH Same when I tried run /usr/bin/xterm (couldn't find /usr/bin/xterm anywhere etc.) 3) setting LANG=en_US.ISO-8859-1 ? No change. 4) installing the font-daewoo-misc, font-isas-misc, and font-jis-misc packages? Those fonts are already installed. As I said, I have a desktop icon for starting an XTERM that works. It only doesn't work when trying to start the xterm from ~/.startxwinrc, or from the system tray. - Jim -- Jim Reisert AD1C, jjreis...@alum.mit.edu, http://www.ad1c.us -- 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: Can't start xterm from Cygwin/X icon in system tray
Jim Reisert AD1C wrote: I am unable to start an xterm from the Cygwin/X icon in the system tray (right-click, select xterm). Both setups have the same line in .XWinrc: xterm EXEC xterm As a work-around, I created a shortcut on my desktop to start an xterm: D:\Cygwin\bin\run.exe /usr/bin/xterm -display localhost:0 That works perfectly, What exact command is mapped to the xterm label in the right-click tray menu? It's configured in an init file somewhere though I can't remember the filename right now. Can you check whether the DISPLAY variable is set in the xterm process started from the tray menu? If it isn't, that would explain it. -- View this message in context: http://old.nabble.com/Can%27t-start-xterm-from-Cygwin-X-icon-in-system-tray-tp26969798p26977792.html Sent from the cygwin-xfree mailing list archive at Nabble.com. -- 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: Can't start xterm from Cygwin/X icon in system tray
On Thu, Dec 31, 2009 at 6:33 AM, dahaiou wrote: Jim Reisert AD1C wrote: I am unable to start an xterm from the Cygwin/X icon in the system tray (right-click, select xterm). Both setups have the same line in .XWinrc: xterm EXEC xterm As a work-around, I created a shortcut on my desktop to start an xterm: D:\Cygwin\bin\run.exe /usr/bin/xterm -display localhost:0 That works perfectly, What exact command is mapped to the xterm label in the right-click tray menu? It's configured in an init file somewhere though I can't remember the filename right now. which points to /usr/bin/xterm Can you check whether the DISPLAY variable is set in the xterm process started from the tray menu? If it isn't, that would explain it. I tried this explicitly: xterm EXEC xterm -display localhost:0 That didn't make a difference. One other piece of data: I modifed ~/.XWinrc and then clicked Reload .xwinrc from the menu in the system tray. This KILLED the X server! - Jim -- Jim Reisert AD1C, jjreis...@alum.mit.edu, http://www.ad1c.us -- 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: Can't start xterm from Cygwin/X icon in system tray
On 12/31/2009 10:53 AM, john at asyn dot org wrote: On Thu, 31 Dec 2009, Jim Reisert AD1C wrote: Jim Reisert AD1C wrote: I am unable to start an xterm from the Cygwin/X icon in the system tray (right-click, select xterm). Both setups have the same line in .XWinrc: xterm EXEC xterm As a work-around, I created a shortcut on my desktop to start an xterm: D:\Cygwin\bin\run.exe /usr/bin/xterm -display localhost:0 That works perfectly, [...] I tried this explicitly: xterm EXEC xterm -display localhost:0 That didn't make a difference. One other piece of data: I modifed ~/.XWinrc and then clicked Reload .xwinrc from the menu in the system tray. This KILLED the X server! I had this problem. It was happening because PATH was not being set. The problem went away when I used /startxwin.bat instead of /bin/startxwin.exe. If PATH is not being set, then you're probably not running startxwin.exe from a login shell. See http://cygwin.com/ml/cygwin-xfree/2009-12/msg00117.html Ken -- 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: Can't start xterm from Cygwin/X icon in system tray
On 30/12/2009 11:07, Jim Reisert AD1C wrote: I do not have a ~/.startxwinrc file. The xterm that is supposed to be created when the server starts doesn't start either. The symptom is that xterm.exe is shown running in the task manager, but there is no Xterm window on the desktop. This sounds like it has nothing to do with startxwin. I can't reproduce this, but do any of the following help: 1) creating a ~/.startxwinrc containing just xterm ? 2) changing that .startxwinrc to run xterm? 3) setting LANG=en_US.ISO-8859-1 ? 4) installing the font-daewoo-misc, font-isas-misc, and font-jis-misc packages? Yaakov Cygwin/X -- 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/
Can't start xterm from Cygwin/X icon in system tray
I have a very strange situation. At work, I am running Win XP SP3. I installed all the latest Cygwin (1.7.1) + Xorg updates, including startxwin.exe. Everything works perfectly. At home, I am running Windows 7 Professional, 64-bit. I am unable to start an xterm from the Cygwin/X icon in the system tray (right-click, select xterm). Both setups have the same line in .XWinrc: xterm EXEC xterm I am starting the X server the same way: D:\Cygwin\bin\run.exe /usr/bin/bash.exe -l -c /usr/bin/startxwin.exe I do not have a ~/.startxwinrc file. The xterm that is supposed to be created when the server starts doesn't start either. The symptom is that xterm.exe is shown running in the task manager, but there is no Xterm window on the desktop. As a work-around, I created a shortcut on my desktop to start an xterm: D:\Cygwin\bin\run.exe /usr/bin/xterm -display localhost:0 That works perfectly, but is not an optimum solution (I try to have as few desktop icons as possible). There is nothing in the /var/log/Xwin log that indicates why an xterm would start but not open a window. Any ideas? -- Jim Reisert AD1C, jjreis...@alum.mit.edu, http://www.ad1c.us -- 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/
located: Vista system tray exit menu item crash
As reported in http://cygwin.com/ml/cygwin-xfree/2007-08/msg00027.html X ends suddenly when the exit menu item is selected from the X icon in the system tray. The crash happens in a call to CreateDialogParam in the function winDisplayExitDialog in programs/Xserver/hw/xwin/windialogs.c. CreateDialogParam is a MS call (http://msdn2.microsoft.com/en-us/library/ms645445.aspx). Is anyone familiar with the function or why it might fail on Vista but not XP? Dick Dick Repasky Center for Computational Cytomics UITS Cubicle 101.08 Indiana University USA [EMAIL PROTECTED] -- 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/
How to minimize the shell to system tray?
Hi, I want to minimize the Cygwin bash shell to windows system tray. Is there any way to do that? Thanks! -Lei -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: How to minimize the shell to system tray?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Lei Tang on 9/27/2006 8:02 PM: Hi, I want to minimize the Cygwin bash shell to windows system tray. Is there any way to do that? I don't know of anything in cygwin that can do it, but I'm pretty sure you can google for programs written for Windows that can minimize arbitrary windows to the systray. - -- Life is short - so eat dessert first! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.1 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFGz/I84KuGfSFAYARAhUwAJ41HZsoXc4kw2kuRUaIc+B65wpPcQCfRoPg zC8+rMtpmaPtCKkZqwBlD8o= =hbjL -END PGP SIGNATURE- -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: How to minimize the shell to system tray?
I'd give DeskMate (http://sourceforge.net/projects/dm2/) a try. It's free works! H. Eric Blake wrote in message -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Lei Tang on 9/27/2006 8:02 PM: Hi, I want to minimize the Cygwin bash shell to windows system tray. Is there any way to do that? I don't know of anything in cygwin that can do it, but I'm pretty sure you can google for programs written for Windows that can minimize arbitrary windows to the systray. - -- Life is short - so eat dessert first! Eric Blake -BEGIN PGP SIGNATURE- -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: How to minimize the shell to system tray?
Hans Horn wrote: I'd give DeskMate (http://sourceforge.net/projects/dm2/) a try. It's free works! H. Eric Blake wrote in message -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Lei Tang on 9/27/2006 8:02 PM: Hi, I want to minimize the Cygwin bash shell to windows system tray. Is there any way to do that? I don't know of anything in cygwin that can do it, but I'm pretty sure you can google for programs written for Windows that can minimize arbitrary windows to the systray. - -- Life is short - so eat dessert first! Eric Blake -BEGIN PGP SIGNATURE- thanks! -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: System Tray
Lst Recv wrote: Gary, could you post a few links to some of those libraries? Everything you need is documented in the PSDK on MSDN: http://msdn.microsoft.com/library/en-us/shellcc/platform/commctls/tooltip/usingtooltips.asp Brian -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: System Tray
Lst Recv wrote: Gary, could you post a few links to some of those libraries? Yes, that's exactly what I'd like to do. Why? It's a great way for unobtrusive, yet noticeable, notifications. My immediate goal is to script a little unit test runner in the background, which constantly runs, and loads a green or red icon in the tray. But I think being able to do this from shell scripts would be very, very useful. How 'bout an icon that pop ups when an incoming email has the word URGENT in it? That way, you can avoid disrupting your flow, and not check your email, and still be informed when an urgent one comes in. A few lines of shell script, once we'd have this. Anyone up to code this? But, yes, my immediate use is for simple continuous integration / test driven development. Gary R. Van Sickle wrote: There are a few libraries (actually example code, it's not terribly hard - just hard to do right) to do this, yes. But I don't quite understand your question. It sounds like you want to do something like: put-an-alert-in-the-system-tray.exe --alert-type=stopsign --tooltip-text=Emergency! Is that right? I'm kind of missing the point though - what happens if you click it? Maybe a --run-this-app-when-clicked= param would make something like this actually useful -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ this page may be of interest also http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/shell/programmersguide/shell_int/shell_int_programming/taskbar.asp scroll down to Using the Taskbar, near the bottom of the page -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: System Tray
Brian Dessent [EMAIL PROTECTED] writes: Lst Recv wrote: Gary, could you post a few links to some of those libraries? Everything you need is documented in the PSDK on MSDN: http://msdn.microsoft.com/library/en-us/shellcc/platform/commctls/tooltip/usingtooltips.asp Brian This is for tooltips, not the system tray... -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: System Tray
J. David Boyd wrote: This is for tooltips, not the system tray... The poster was asking how to put an XP-style notification in the system tray, which is described precisely in the section Balloon ToolTips for Status Bar Icons about 3/4 down the page. Brian -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: System Tray
Brian Dessent [EMAIL PROTECTED] writes: J. David Boyd wrote: This is for tooltips, not the system tray... The poster was asking how to put an XP-style notification in the system tray, which is described precisely in the section Balloon ToolTips for Status Bar Icons about 3/4 down the page. Brian Oops, sorry. Didn't notice that when I skimmed the article. My apologies. Dave -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
System Tray
Is there a library, or, even better, a command line utility, in cygwin to place an icon on the system tray? Would be a great way to do notifications, especially if it supported those tool tip popups. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: System Tray
From: Lst Recv Sent: Monday, December 12, 2005 5:46 PM To: cygwin@cygwin.com Cc: [EMAIL PROTECTED] Subject: System Tray Is there a library, or, even better, a command line utility, in cygwin to place an icon on the system tray? Would be a great way to do notifications, especially if it supported those tool tip popups. There are a few libraries (actually example code, it's not terribly hard - just hard to do right) to do this, yes. But I don't quite understand your question. It sounds like you want to do something like: put-an-alert-in-the-system-tray.exe --alert-type=stopsign --tooltip-text=Emergency! Is that right? I'm kind of missing the point though - what happens if you click it? Maybe a --run-this-app-when-clicked= param would make something like this actually useful I'll have to cogitate on that one, that might actually be a good idea. -- Gary R. Van Sickle -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: System Tray
Gary, could you post a few links to some of those libraries? Yes, that's exactly what I'd like to do. Why? It's a great way for unobtrusive, yet noticeable, notifications. My immediate goal is to script a little unit test runner in the background, which constantly runs, and loads a green or red icon in the tray. But I think being able to do this from shell scripts would be very, very useful. How 'bout an icon that pop ups when an incoming email has the word URGENT in it? That way, you can avoid disrupting your flow, and not check your email, and still be informed when an urgent one comes in. A few lines of shell script, once we'd have this. Anyone up to code this? But, yes, my immediate use is for simple continuous integration / test driven development. Gary R. Van Sickle wrote: There are a few libraries (actually example code, it's not terribly hard - just hard to do right) to do this, yes. But I don't quite understand your question. It sounds like you want to do something like: put-an-alert-in-the-system-tray.exe --alert-type=stopsign --tooltip-text=Emergency! Is that right? I'm kind of missing the point though - what happens if you click it? Maybe a --run-this-app-when-clicked= param would make something like this actually useful -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
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: 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 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 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/
taskbar and system tray menus
I know this is really, really nitpicky, and inconsequential in comparison with the great work recently done on Xfree (thank you folks enormously!), but still: can the context menu for all X clients be re-ordered such that the Exit option is bottom-most? (For example, see the context menus for any application not in the system tray.) On a related note, can the context menu for the system tray icon be re-ordered the same way? My motivation for this request is that I'm simply very used to closing applications by right-clicking and picking the last option on the list, which is where my mouse pointer already happens to be. -JT
Re: taskbar and system tray menus
Jack, Let me rephrase this: 1) Move 'Always On Top' to the top of the system menu, instead of putting it at the bottom. 2) Move 'Exit' from the top of the notification tray icon menu to the bottom. Those sound doable and they both sound like standards that other Windows apps follows. I think they should be done. Harold Jack Tanner wrote: I know this is really, really nitpicky, and inconsequential in comparison with the great work recently done on Xfree (thank you folks enormously!), but still: can the context menu for all X clients be re-ordered such that the Exit option is bottom-most? (For example, see the context menus for any application not in the system tray.) On a related note, can the context menu for the system tray icon be re-ordered the same way? My motivation for this request is that I'm simply very used to closing applications by right-clicking and picking the last option on the list, which is where my mouse pointer already happens to be. -JT
Re: taskbar and system tray menus
Colin, I would much rather have you fix this :) Test91 includes the reorg that I was talking about. Feel free to patch away. Harold Colin Harrison wrote: Hi-Jack, It's fairly easy to do this (multiwindow) I assume you want the 'Close' at the bottom instead of the 'Always On Top' in the sys menus (right click on app. title or task bar) (i.e. the two menu items transposed)? and 'Exit' at the bottom below 'Show Root Window' in the tray (right click on tray X icon )(again transposed)? If others agree... I'll try this after Harold's reorg. Coding Note: requires a minor change to XWin.rc and a function call change in winmultiwindowwindow.c.(AppendMenu to InsertMenu or InsertMenuItem with a bit of jiggery pokery) I agree it would be more 'normal' to have close/exits at the bottom of menu items (why be weird, it's almost a standard in Windows, until MS re-style and blow us all away!) Colin
Re: taskbar and system tray menus
Colin Harrison wrote: I assume you want the 'Close' at the bottom instead of the 'Always On Top' in the sys menus (right click on app. title or task bar) (i.e. the two menu items transposed)? and 'Exit' at the bottom below 'Show Root Window' in the tray (right click on tray X icon )(again transposed)? Yup, this is exactly what I want. If others agree... I'll try this after Harold's reorg. Thank you! Another, even nitpickier request re: the tray menu. The current behavior is: click on Show Root Window, get the root window, and the menu changes to Hide Root Window; click on Hide Root Window, the root window hides, and the menu changes to Show Root Window. It feels like bad UI to change the menu entry from underneath the user. My suggestion: make the default menu Hide Root Window with a (checked) checkbox next to it. When the user clicks on (checked) Hide Root Window, show the root window and clear the cbeckbox. When the user clicks on (unchecked) Hide Root Window, hide the root window and set the check again. -JT
Re: taskbar and system tray menus
Colin Harrison wrote: I assume you want the 'Close' at the bottom instead of the 'Always On Top' in the sys menus (right click on app. title or task bar) (i.e. the two menu items transposed)? and 'Exit' at the bottom below 'Show Root Window' in the tray (right click on tray X icon )(again transposed)? Yup, this is exactly what I want. If others agree... I'll try this after Harold's reorg. Thank you! Another, even nitpickier request re: the tray menu. The current behavior is: click on Show Root Window, get the root window, and the menu changes to Hide Root Window; click on Hide Root Window, the root window hides, and the menu changes to Show Root Window. It feels like bad UI to change the menu entry from underneath the user. My suggestion: make the default menu Hide Root Window with a (checked) checkbox next to it. When the user clicks on (checked) Hide Root Window, show the root window and clear the cbeckbox. When the user clicks on (unchecked) Hide Root Window, hide the root window and set the check again. -JT
Re: taskbar and system tray menus
Jack Tanner wrote: It feels like bad UI to change the menu entry from underneath the user. My suggestion: make the default menu Hide Root Window with a (checked) checkbox next to it. When the user clicks on (checked) Hide Root Window, show the root window and clear the cbeckbox. When the user clicks on (unchecked) Hide Root Window, hide the root window and set the check again. Right. I didn't know that checkboxes were so easy when I implemented it. I will probably change this, since I did the same sort of thing in my Morse Code Beeper that I just posted. Harold
Re: taskbar and system tray menus
Hi Harold, Code changes for this, I missed the mail earlier on doing the checkbox bit on Hide Root Window, one for you? 'Exit' to bottom on tray and 'Always On Top' to top on sys menu (better I think than the transpose with 'Close') So 'Exit' and 'Close' are now at bottom of respective menus. I put a hot-key on the T in 'Top' (made sense to me). Patches:- ---8-- --- save_XWin.rc2003-06-01 04:04:12.0 +0100 +++ XWin.rc 2003-06-02 21:04:46.0 +0100 @@ -72,10 +72,10 @@ BEGIN POPUP TRAYICON_MENU BEGIN - MENUITEM Exit, ID_APP_EXIT - MENUITEM SEPARATOR MENUITEM Hide Root Window, ID_APP_HIDE_ROOT MENUITEM Show Root Window, ID_APP_SHOW_ROOT + MENUITEM SEPARATOR + MENUITEM Exit, ID_APP_EXIT END END 8 8 --- save_winmultiwindowwndproc.c2003-06-02 15:11:46.0 +0100 +++ winmultiwindowwndproc.c 2003-06-02 21:59:28.0 +0100 @@ -175,8 +175,8 @@ sys = GetSystemMenu (hwnd, FALSE); - AppendMenu (sys, MF_SEPARATOR, 0, NULL); - AppendMenu (sys, MF_STRING, ID_APP_ALWAYS_ON_TOP, Always On Top); + InsertMenu (sys, 0, MF_BYPOSITION | MF_SEPARATOR, 0, NULL); + InsertMenu (sys, 0, MF_BYPOSITION | MF_STRING, ID_APP_ALWAYS_ON_TOP, Always On Top); } return 0; 8- Cheers, Colin
Re: taskbar and system tray menus
Hi Colin and Harold. It seems like there is a storm of nit-picking this week, must be something in the air. Anyhoo... -- Original Message - Subject: Re: taskbar and system tray menus .. 'Exit' to bottom on tray and 'Always On Top' to top on sys menu (better I think than the transpose with 'Close') So 'Exit' and 'Close' are now at bottom of respective menus. -- My nit is this placing the custom items before the system items in the title menu is against all other Windoze UIs I've ever seen: nobody adds things to the top of the popup menu. Check for yourself, right-click on a CMD shell or cygwin shell, you see the Edit/Defaults/Props menu items after the Windoze standard ones. Right-click on an IE mini-icon in the title bar, you get Close followed by Make available offline. Or a regular explorer window, you get Close followed by all the other items... -- -Earle F. Philhower, III [EMAIL PROTECTED] http://www.ziplabel.com
Re: taskbar and system tray menus
On Mon, Jun 02, 2003 at 09:38:55PM -, Earle F. Philhower, III wrote: It seems like there is a storm of nit-picking this week, must be something in the air. Anyhoo... That's usually a sign that a project is approaching stability and maturity and users are turning to other things. It seems like the flood of spelling corrections that historically hits the linux kernel list when the kernel is close to being released. cgf
Re: taskbar and system tray menus
Hi Earle, I must admit I like 'Close' at the bottom. Harold must rule on this one, or else we'll keep moving the furniture around :) I'm easy either way, I won't use the menu much anyway. As always 95% of the effort goes into only 5% of the product! 'Always on Top' has a natural place somewhere I'm sure! Aren't the nits biting today. Asking an obvious question: Why do we need an 'Always on Top'anyway? It's silly on most of the remote stuff I run to ever want this to happen. Only taskbars (Office bars etc) get this privilege to dominate the desktop and only then around the edges! Colin
Re: taskbar and system tray menus
At 05:49 PM 6/2/2003 -0400, Christopher Faylor wrote: On Mon, Jun 02, 2003 at 09:38:55PM -, Earle F. Philhower, III wrote: It seems like there is a storm of nit-picking this week, must be something in the air. Anyhoo... That's usually a sign that a project is approaching stability and maturity and users are turning to other things. It seems like the flood of spelling corrections that historically hits the linux kernel list when the kernel is close to being released. If only that was the case! :) I think there is still mucho trabajo a hacer, especially in the Window Manager part of the multiwin setup. Everyone seems to want it to do something different, and IMHO you can either a) hack the code to make nobody happy (person X says 'oh, I want it to do A' and person Y says 'oh, if it does A then it's junk!'), or b) put in real configuration files just like FVWM where you have a ~/.xwinrc with lines like AlwaysOnTop = FALSE and ContextMenu=[xterm on XXX, xterm on YYY, ...] and xterm.*.icon=bigicon.png,littleicon.png Plus, there's the work Harold's doing on the windows message hooks which might be a really big change. -Earle F. Philhower, III [EMAIL PROTECTED] cdrlabel - ZipLabel - FlpLabel http://www.cdrlabel.com
inetd.exe in the system tray
Is there any way to get inetd.exe to run in the system tray? Dave Waller -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/