Sponsored Content
Full Discussion: Starting X?
Top Forums UNIX for Dummies Questions & Answers Starting X? Post 17393 by AMDPwred on Thursday 14th of March 2002 11:07:50 AM
Old 03-14-2002
Ah, ok. I'll try that when I get home from class. You won't believe what they have me taking. Visual Basic Smilie It's a requirement. Smilie
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Starting up

:confused: I have put together an old machine with a 386DX CPU (40MHz) with 8Mb of RAM and a 160Mb hard disk. One guy told me that its still suitable for UNIX. Can enyone give me some hints on how to start? (1 Reply)
Discussion started by: msm
1 Replies

2. OS X (Apple)

process starting

Hello everybody! I got a question on process starting. I installed e.g. squid on my Mac and all is working well, but i wanted to figure out what process or script is starting squid on booting the machine. I searched for a while but i could not find where i can change these configuration. ... (2 Replies)
Discussion started by: count_zero
2 Replies

3. SuSE

starting SWAT

everytime I try to start SWAT using : www.localhost:901, it takes me to goggle the search engine. IM still new in the linux world and Im a bit confussed now. any help would be great. Im currently running redhat linux fedora. (5 Replies)
Discussion started by: keliy1
5 Replies

4. Linux

starting mozilla

every time I launch mozilla Im getiing this this error: Details: failed to execute child process "/root/mozilla" no such file or directory. (2 Replies)
Discussion started by: keliy1
2 Replies

5. Slackware

starting up something on boot

I'm trying to bring up a database server when the linux 6.2 machine is restarted, in unix i can set up a Sxxdbstart script under rc3.d and run su user -c /path/to/my/script How can I do this in linux? I thought I could just run it under the rc.d/rc.local script and add it at the end of the... (2 Replies)
Discussion started by: kymberm
2 Replies

6. Shell Programming and Scripting

Starting over

I am re-learning UNIX and want to download Unix to my lab for studying on the road. Any suggestions? Got several books, but need to run scripts :rolleyes: (2 Replies)
Discussion started by: DudeMan
2 Replies

7. Shell Programming and Scripting

starting an executable..

I need a perl script that needs to start an executable in a different shell so that I can use this to run more commands from my script. This is what I have: my $USER = "my_user_name"; mu $HOST = "hostname"; my $ssh = 'ssh $USER@'."$HOST"; my $cmd = "cd $EXE_DIR && sudo $EXE $EXE_PARAMETERS";... (0 Replies)
Discussion started by: looza
0 Replies

8. Shell Programming and Scripting

Starting script without ./ name or sh name

Hi, i want to start my script only by the name of it. $ scriptName normaly i have to use ./scriptName oder sh scriptName is there a way to do that in bash or sh ? (13 Replies)
Discussion started by: Turrican
13 Replies

9. Shell Programming and Scripting

cronjob not starting

hello, i defined 2 cronjobs using putty on my 1und1-server */5 7-18 * * 1-5 /usr/local/bin/php4 .../script.php 30 19-6 * * 1-5 /usr/local/bin/php4 .../script.php the first runs monday to friday between 7-18 this one works fine the other one should run monday to friday between 19-6... (2 Replies)
Discussion started by: jogisarge
2 Replies

10. UNIX for Dummies Questions & Answers

How to grep a line not starting with # from a file (there are two lines starting with # and normal)?

e.g. File name: File.txt cat File.txt Result: #INBOUND_QUEUE=FAQ1 INBOUND_QUEUE=FAQ2 I want to get the value for one which is not commented out. Thanks, (3 Replies)
Discussion started by: Tanu
3 Replies
XGetVisualInfo(3X11)						     MIT X11R4						      XGetVisualInfo(3X11)

Name
       XGetVisualInfo, XMatchVisualInfo, XVisualIDFromVisual, XVisualInfo - obtain visual information and visual structure

Syntax
       XVisualInfo *XGetVisualInfo(display, vinfo_mask, vinfo_template, nitems_return)
	  Display *display;
	  long vinfo_mask;
	  XVisualInfo *vinfo_template;
	  int *nitems_return;

       Status XMatchVisualInfo(display, screen, depth, class, vinfo_return)
	  Display *display;
	  int screen;
	  int depth;
	  int class;
	  XVisualInfo *vinfo_return;

       VisualID XVisualIDFromVisual(visual)
	   Visual *visual;

Arguments
       class	 Specifies the class of the screen.

       depth	 Specifies the depth of the screen.

       display	 Specifies the connection to the X server.

       nitems_return
		 Returns the number of matching visual structures.

       screen	 Specifies the screen.

       visual	 Specifies the visual type.

       vinfo_mask
		 Specifies the visual mask value.

       vinfo_return
		 Returns the matched visual information.

       vinfo_template
		 Specifies the visual attributes that are to be used in matching the visual structures.

Description
       The function returns a list of visual structures that match the attributes specified by vinfo_template.	If no visual structures match the
       template using the specified vinfo_mask, returns a NULL.  To free the data returned by this function, use

       The function returns the visual information for a visual that matches the specified depth and class for a screen.  Because multiple visuals
       that match the specified depth and class can exist, the exact visual chosen is undefined.  If a visual is found, returns nonzero and the
       information on the visual to vinfo_return.  Otherwise, when a visual is not found, returns zero.

       The function returns the visual ID for the specified visual type.

Structures
       The structure contains:

       /* Visual information mask bits */

       #define				     0x0
       #define				     0x1
       #define				     0x2

       #define				     0x4
       #define				     0x8
       #define				     0x10
       #define				     0x20
       #define				     0x40
       #define				     0x80
       #define				     0x100
       #define				     0x1FF

       /* Values */

       typedef struct {
	 Visual *visual;
	 VisualID visualid;
	 int screen;
	 unsigned int depth;
	 int class;
	 unsigned long red_mask;
	 unsigned long green_mask;
	 unsigned long blue_mask;
	 int colormap_size;
	 int bits_per_rgb;
       } XVisualInfo;

See Also
       XFree(3X11)
       X Window System: The Complete Reference, Second Edition, Robert W. Scheifler and James Gettys

															      XGetVisualInfo(3X11)
All times are GMT -4. The time now is 09:30 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy