06-12-2011
thank you achenle, sounds exactly right... after playing with wxApp's OnExit, OnFatalException and others (app is built on wxWidgets)... no success getting an event so the app can clean up...
does anyone have a simple example of a wxWidget or X application that can detect the launching x terminal's death? If so, then I can fit that into the wxWidget app...
Before I started playing with the wxApp methods I was getting a message that may provide more clues. It's at the bottom.
thanks again for your help!! Jim
Trapped stdout and stderr when killing the X terminal that launches the wxWidgets app (hitting the 'X' window mgmt button):
X connection to localhost:11.0 host broken (explicit kill or server shutdown)
Gdk-ERROR **: X connection to localhost:11.0 broken (explicit kill or server shutdown).
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
The majority of the users on our system are "captured" users where they log into script that is launched via their .profile.
The password expiration message flashes by very quickly before they get the "menu" portion of the script to continue.
Other than a sleep at scripts startup to slow... (2 Replies)
Discussion started by: MizzGail
2 Replies
2. Linux
How can I configure it?
I have a swedish keyboard with swedish keyboard setting. Everything works perfectly (едц) except that button. What can be wrong?
/Richard
++
NOTE: It seems like the computer notices the input but that the button isn't assigned to anything (the keyboard-cursor stops).... (1 Reply)
Discussion started by: riwa
1 Replies
3. UNIX and Linux Applications
hi,
I have
* an IBM P550 machine,
* an AIX 5.3 running on it and
* an oracle database, already installed on it.
The problem (or question of my own) is:
Oracle tns listener, "CT_LISTENER", and the enterprise manager (EM) of the instance, which is uniq instance and called... (0 Replies)
Discussion started by: talipk
0 Replies
4. UNIX for Advanced & Expert Users
hi,
I have a problem about the Oracle related components. I'm not able to find any answer yet, and waiting for your responses...
Here is the configuration of my system:
* an IBM P550 machine,
* an AIX 5.3 running on it and
* an oracle database, already installed on it.
The problem (or... (1 Reply)
Discussion started by: talipk
1 Replies
5. Shell Programming and Scripting
Hi
I am using "trap" command in my script to prevent the user from running Ctrl-C during the its execution. My script creates number of children processes which in turn create some children processes as well during the execution.
When user / tester tries to run Ctrl-C, the parent process is... (1 Reply)
Discussion started by: aoussenko
1 Replies
6. Shell Programming and Scripting
Hi,
I have line in input file as below:
3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL
My expected output for line in the file must be :
"1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL"
Can someone... (7 Replies)
Discussion started by: shis100
7 Replies
7. Shell Programming and Scripting
I have following traps(s) in my code
Line 913 triggers one of the traps with parenthesizes around
(case-insensitive).
Checked by removing them.
Since it is a text I do not mind removing the offending () .
But why it triggers both traps ?
PS Where does the "bad" in trap... (0 Replies)
Discussion started by: annacreek
0 Replies
8. Shell Programming and Scripting
Hello.
System : opensuse leap 42.3
I have a bash script that build a text file.
I would like the last command doing :
print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt
where :
print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies
LWM(1) General Commands Manual LWM(1)
NAME
lwm - Lightweight Window Manager for the X Window System
SYNTAX
lwm [ -s session-id ]
DESCRIPTION
Lwm is a window manager for the X Window System. It provides enough features to allow the user to manage their windows, and no more.
Windows are surrounded by a frame with a titlebar at the top next to a small box. The frame is a grey colour for all windows except that
which has the input focus, where it is black.
In the default configuration, lwm uses the enter-to-focus scheme, where moving the pointer into a window gives that window the input focus.
Lwm may also be configured to use the click-to-focus scheme, where a window must be clicked on (with any button) to receive the input
focus. Clicking on a window in this mode causes the window to be raised. Note that a click used to focus a window is always swallowed by
lwm, so clicking a button in a new window requires two clicks.
A button 1 click on a window frame brings that window to the top. Dragging button 1 on the frame of a resizable window repositions that
edge of the window. If a corner rather than an edge is dragged, then both edges forming the corner are repositioned. While you're reshaping
a window, a little window pops up to show you the window's current size.
In the default configuration, button 1 on the root window does nothing.
Button 2 is used to drag a window by its frame, repositioning the window but maintaining its position in the window stack.
In the default configuration, button 2 on the root window brings up a new shell.
A button 3 click on a window frame hides that window. Pressing button 3 on the root window brings up a menu of all the hidden windows.
Releasing the button while over an item will unhide the named window.
A button 3 click in the frame while Shift is held down pushes the window to the back, under any other windows. (Users with 4-button mice
are encouraged to use their fourth button for this function.)
A click with any button inside the little white box in a window's frame can be used to close the window.
OPTIONS
Lwm accepts the following command line options:
-s specifies a client ID for the X Session Management system, and is used exclusively by session managers.
RESOURCES
Lwm understands the following X resources:
titlefont font used in window titles
popupFont font used in popup window (menu/size indicator)
border width in pixels of window borders
button1 program spawned when button 1 is clicked on the root window
button2 program spawned when button 2 is clicked on the root window
focus focus mode, one of "enter" for enter-to-focus (or sloppy focus), or "click" for click-to-focus
SEE ALSO
X(7)
AUTHORS
Elliott Hughes <ehughes@bluearc.com>, James Carter <james@jfc.org.uk>
LWM(1)