Visit Our UNIX and Linux User Community

Full Discussion: Curiosity
Special Forums UNIX Desktop Questions & Answers Curiosity Post 15039 by adam_crosby on Saturday 9th of February 2002 12:52:03 AM
Old 02-09-2002
Here's a very popular X Windows interface setup - GNOME:

Keep in mind that one of the beauties of windowed desktops in Unix and Unix-like systems is that there is no set shell (excepting the default of CDE on commericial unices [AIX, Solaris, HP/US (I tihnk)]). Linux and FreeBSD ship with Gnome (pictured in the link above) or KDE ( as their default desktops. However, you do not have to use any of these - there are all sorts of window managers out there. To name a few:
The list seems endless. Check out for more beautiful examples of XFree86 desktops in action.
Test Your Knowledge in Computers #185
Difficulty: Medium
Moderating questions and answers at requires superior UNIX shell scripting abilities.
True or False?
get_desktop_resolution(3alleg4) 				  Allegro manual				   get_desktop_resolution(3alleg4)

get_desktop_resolution - Finds out the desktop resolution. Allegro game programming library. SYNOPSIS
#include <allegro.h> int get_desktop_resolution(int *width, int *height); DESCRIPTION
Finds out the currently selected desktop resolution. You can use this information to avoid creating windows bigger than the current resolu- tion. This is especially important for some windowed drivers which are unable to create windows bigger than the desktop. Each parameter is a pointer to an integer where one dimension of the screen will be stored. Under some OSes, switching to a full screen graphics mode may automatically change the desktop resolution. You have, therefore, to call this function before setting any graphics mode in order to retrieve the real desktop resolution. Example: int width, height; allegro_init(); ... if (get_desktop_resolution(&width, &height) == 0) { /* Got the resolution correctly */ } RETURN VALUE
Returns zero on success, or a negative number if this information is not available or does not apply, in which case the values stored in the variables you provided for `width' and `height' are undefined. SEE ALSO
desktop_color_depth(3alleg4), set_gfx_mode(3alleg4) Allegro version 4.4.2 get_desktop_resolution(3alleg4)

Featured Tech Videos

All times are GMT -4. The time now is 02:45 PM.
Unix & Linux Forums Content Copyright 1993-2020. All Rights Reserved.
Privacy Policy