Thank you for your response. This is the output of xrandr on ubuntu:
And this is the output on FreeBSD:
In other words, there is no option to go higher than 800x600 on the FreeBSD install, even when it is exactly the same monitor.
I also tried with a different video card, but that did not change the options either.
I have installed Solaris 10 over vmware onto my machine. Now when I want to change my screen resolution it only has one option which is 800x600. Is there a way to change that to a bigger resollution? And if there is, what file do I have to edit and what text editor do I have to use? (1 Reply)
Hi all,
Someone please help, I have a machine running Sun Solaris 5.8.
X used to run fine, not it can't start. (possible user intervention)
It looks to be trying to run at 1280x1024. I don't think the hardware will support it, it seems high.
Anyways, how from the commandline, via ssh, can I... (4 Replies)
I am using sun solaris machine i have given the specs of that machine given below
Name of athe Platform : SUNW,Ultra-5_10
Machiene hardware :sun4u
Processor Type :sparc
Operating system : solaris 10
Monitory TYpe : SAMSUNG Sync Master... (2 Replies)
Hi,
I need to get the current X*Y resolution of X in a shell script. xrandr -q gives me a line like this:
Screen 0: minimum 320 x 200, current 1600 x 1200, maximum 3080 x 1600
How can I extract the X and Y current resolution values? sed, awk, cut or any other console solution is welcomed.... (2 Replies)
system: Fedora14 on vmware
the login screen resolution is 1024*768, but after login the resolution is 800*600. I want to set the login screen resolution as 800*600 too. How to do this?
thanks! (2 Replies)
Dear all
I install Cent OS 5.5 ( Linux OS), with bshell and also Windows OS on the my laptop (ASUA) maximum screen resolution in Windows OS is 1024*760 but in Cent OS 5.5 is 800 *600, I have a program that is necessary to install on Cent OS and I have problem with other Linux distributions... (2 Replies)
Hi all. I have a very peculiar problem in Solaris 10. The output of the m64config -prconf command with regards the Card Adapter is the following.
Card possible resolutions: 720x400x85, 640x480x60, 640x480x72, 640x480x75
800x600x56, 800x600x60, 800x600x72, 800x600x75, 1024x768x60
... (0 Replies)
Hi, everyone!
I would like to try OpenStep for Solaris on my Sun Ultra 10 machine, so I installed all required packages, the problem is that OpenStep requires screen DPI to be set to 72x72 while my current dpi is 90x90. So how do I change the dpi?
Thank you! (0 Replies)
Discussion started by: nongrato
0 Replies
LEARN ABOUT MOJAVE
get_desktop_resolution
get_desktop_resolution(3alleg4) Allegro manual get_desktop_resolution(3alleg4)NAME
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)