08-23-2009
Thanks! Currently, someone showed me to use a different windows manager, namely, gnome, where left clicking on a window raises it to the top by default. So I'm cool. But I would like to try out the .twmrc approach next time when I am ready to reboot.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Is there a way to maximize an xterm window in a ksh script?
I've tried a number of approaches, but none seem to have the desired affect.
All I want to accomplish is to have the window maximized upon being called in the script...i.e:
xterm -T MyNewXterm -e programToOpen & | maximized --or... (1 Reply)
Discussion started by: spieterman
1 Replies
2. Windows & DOS: Issues & Discussions
Hello,
We someone help me resolve this problem. I have window 2000 professional, windows 98 and Unixware 7.0.1 on the network. I was able to establish connection with all. However, l was unable to ping window 98 from window 2000 professional. I was able to ping the window 2000 from the window... (10 Replies)
Discussion started by: kayode
10 Replies
3. UNIX for Dummies Questions & Answers
Hello,
Anyone knows how to disable color text displayed on xterm window screen? I hate that color making me hard to read when front and background color are similar.
Thanks,
M. (1 Reply)
Discussion started by: modemer
1 Replies
4. UNIX for Dummies Questions & Answers
To all experts, I need some advice on how I can enter a unix command which is equivalent to the action of minimizing/maximizing an active xterm window. How can I do this (i) when control is in the active xterm window to be minimized/maximized , & (ii) when control is in a xterm window which runs... (0 Replies)
Discussion started by: icemocha75
0 Replies
5. UNIX for Dummies Questions & Answers
If i have a single file i would just press fg but if i have multiple files running in the backgound and want to bring a specific one to the foreground how would i do that? Thanks!! (1 Reply)
Discussion started by: JamieMurry
1 Replies
6. Shell Programming and Scripting
I have a Perl script that changes the terminal window title and I would like to reset it to the original value when I am done. We are using Putty which emulates xterm. We are not running X-Windows so I can't use something like xprop (can I?). I'm using XTerm control codes to change the title and I... (2 Replies)
Discussion started by: NateTut
2 Replies
7. Red Hat
Hi,
I still cant find step by step manual how to make my putty display let say PWD in its title, read about some xterm, but where it is?
Can anybody help me with this.
Thx
M (4 Replies)
Discussion started by: trento17
4 Replies
8. Shell Programming and Scripting
Hi all,
I have a script that opens a xterm window and will prompt for a password.
My intention is, instead of waiting for a password it should get the password from a file.
How can I make this happen.?:confused:
Any help much appreciated. (1 Reply)
Discussion started by: dnam9917
1 Replies
9. Linux
Hi all,
OS: fedora release 10
when i try to restart network service, ending up with following errors. There are two interfaces eth0 and eth1
bringing up interface eth0 rtnetlink answers file exists
error adding <IP Address here> to eth0
bringing up interface eth0 rtnetlink answers... (2 Replies)
Discussion started by: lramsb4u
2 Replies
10. UNIX for Beginners Questions & Answers
Is it possible to toggle back and forth between an xterm invoked from one tty, and a shell invoked from a different tty?
I am running Centos 7 with KDE and booting in non-graphic mode. After logging in on the default window (/dev/tty1) , I can then use ALT-F2 to access a new window (/dev/tty2),... (1 Reply)
Discussion started by: rhgscty
1 Replies
LEARN ABOUT CENTOS
glutcreatesubwindow
UNTITLED
LOCAL UNTITLED
NAME
glutCreateSubWindow -- Create a subwindow
LIBRARY
OpenGLUT - window
SYNOPSIS
#include <openglut.h>
int
glutCreateSubWindow(int parentID, int x, int y, int w, int h);
PARAMETERS
parentID Parent window identifier
x Horizontal position of subwindow
y Vertical position of subwindow
w Width of subwindow
h Height of subwindow
DESCRIPTION
In almost every regard that is important to you, a subwindow is like a top-level window. It has a window id; it has its own set of event
callbacks; you can render to it; you are notified of its creation; ...
A subwindow lives inside of some other window (possibly a top-level window, possibly another subwindow). Because of this, it generally only
interacts with other windows of your own creation, hence it is not subjected to a window manager. This is the primary source for its differ-
ences from a top-level window:
- There are no borders or decorations.
- There is no title bar, hence no title.
- Requests tend to be acted on a little more directly, without interference from a window manager.
- The subwindow inherits the display mode of its parent.
Like a top-level window, you must register a display callback function if you wish to use glutMainloop().
A notable case where this function can fail is for offscreen windows. A coherent concept of a subwindow of an offscreen window would intro-
duce more complication than is presently believed to be worthwhile. Attempting such a window presently just fails. Failure is denoted by a
0 window id being returned.
Subwindows can be very useful for partitioning a window into GUI elements: They have their own input callbacks, so you don't have to figure
out which window an event is for. Graphics are clipped to the boundaries of your subwindows, so you do not need to worry much about where
your drawing goes. Because windows and subwindows work almost identically from the perspective of a GLUT program, it is relatively easy to
move a cluster of related controls into a separate top-level window---or, conversely, embed what was a top-level window inside of another
window. OpenGLUT can also report some basic statistics about your (sub)window, relieving you of the duty of tracking all of that information
for yourself.
SEE ALSO
glutCreateWindow(3) glutDestroyWindow(3) glutCreateMenuWindow(3)
Epoch