Kinda a noob: Automatic window sizing and placement
I am attempting to create a script that runs automatically upon logging in and opens and places windows in appropriate places. I have the script running such that it starts during login, but I cannot get things how and where I want them. This should be relatively simple, I just can't figure it out for some reason.
I have a dual monitor setup, creating a total resolution of 2560x1024 (Two 1280x1024 monitors side by side).
I basically need to open up two separate firefox windows side by side, one filling up one monitor and the other filling up the other. I can get the firefox windows running
using
but I cannot get them placed side by side and each filling up one monitor. I used the -height and -width options to no avail. They do not appear to do anything. Nor do I know how to place firefox at a certain point on the the screen even if I could get them sized correctly. The script also opens some other things in the background but all that is working fine.
First, Please feel free to move or delete this thread if you do not feel it's appropriate.
I used to be a regular user of Linux USENET groups such as alt.linux, alt.os.linux, and others. I haven't used the said groups for a couple of months now, but imagine my HORROR when I thought I'd drop by... (2 Replies)
i wish to run java files on inux but while downloading it into linux there is no problem but when i r try to execute a java file it says javac not found. help pleas (5 Replies)
Hi again!
I finally managed to image the 3 floppies for installing freeBSD but I simply can't boot! I've selected floppy for first boot device and it even starts to readf the boot floppy and the hard drive light is continuously flashing but it doesn't stop even after half an hour and doesn't do a... (4 Replies)
Hi all,
I wanted to know how to modify the size of the ramdisk?
I mean am manipulating a live cd ,for which the file am manipulating is within a ramdisk now due to size constraints i am unable to play around with some stuff....
currently the size of the ram disk is 64M...
I would like to... (1 Reply)
Hey folks, I wish every one is just great. I got to do this:
I'm trying to configure my Solaris 10 clients to Automatically Show the login windows of the Main Server whenever the Client restarts or a user logs out.
By other means, the Client user don't have to Go to Options->Remote-Login->... (5 Replies)
Hello, everyone!
Is it possible to create a window in X11/WM, but override the position Window Manager sets for the window. I'm not sure how to use 'override_redirect' flag, and what to do in order to use it. But the problem with the flag is also that it probably will disable all decorations... (2 Replies)
Hello all.
I've been tasked with building a system that will have up to 50 concurrent users connected and using an X session running firefox. Is there some kind of standard sizing model available that will tell me what kind of network/CPU utilization I will be looking at?
Or even better some... (1 Reply)
Hi,
I am currently given the dubious task ;) to make an assumption on sizing our current p5 environment in relation to new p7 machines. Is there any kind of a vague factor how to calculate this?
I found some official IBM benchmark results with long lists of different Power machines and their... (9 Replies)
1. Create a directory script (project_dir.sh)
· Write a script in your home directory to create a subdirectory called “PROJECT<99>” within your home directory on the Ubantu/Linux server. <99> is your project number (e.g. 01,02,03, ... 15).
· The script must test whether... (1 Reply)
Discussion started by: bugenhagen_
1 Replies
LEARN ABOUT REDHAT
glutreshapewindow
glutReshapeWindow(3GLUT) GLUT glutReshapeWindow(3GLUT)NAME
glutReshapeWindow - requests a change to the size of the current window.
SYNTAX
void glutReshapeWindow(int width, int height);
ARGUMENTS
width New width of window in pixels.
height New height of window in pixels.
DESCRIPTION
glutReshapeWindow requests a change in the size of the current window. The width and height parameters are size extents in pixels. The
width and height must be positive values.
The requests by glutReshapeWindow are not processed immediately. The request is executed after returning to the main event loop. This
allows multiple glutReshapeWindow, glutPositionWindow, and glutFullScreen requests to the same window to be coalesced.
In the case of top-level windows, a glutReshapeWindow call is considered only a request for sizing the window. The window system is free to
apply its own policies to top-level window sizing. The intent is that top-level windows should be reshaped according glutReshapeWindow's
parameters. Whether a reshape actually takes effect and, if so, the reshaped dimensions are reported to the program by a reshape callback.
glutReshapeWindow disables the full screen status of a window if previously enabled.
SEE ALSO
glutPositionWindow, glutReshapeFunc
AUTHOR
Mark J. Kilgard (mjk@nvidia.com)
GLUT 3.7 glutReshapeWindow(3GLUT)