9 More Discussions You Might Find Interesting
1. Debian
Hello,
I am running Debian 6.0 on a Sun Ultra 5 and the openbox window manager. The window is way larger than the screen and minimized icons go off the screen and I can't get them back. The mode is set to 1280x1024 in the Screen section of xorg.conf and Virtual is also set to 1280x1024 which is... (4 Replies)
Discussion started by: snorkack59
4 Replies
2. Shell Programming and Scripting
Hi Guys !
can anyone help me to write the code doing same thing without using awk. is it possible using cut command?
awk '{c++} END {for(k in c} print k "\t\t" c;}' file_name | sort -nrk 2 | column -t
thanks in advance
BR
Ewa (4 Replies)
Discussion started by: me_newbie
4 Replies
3. AIX
Hello,
Running X on AIX local display - want to change resolution.
On Linux for example I used xrandr.
?
thanks
Vilius (1 Reply)
Discussion started by: vilius
1 Replies
4. Solaris
Hi all!
On my SPARC mashine I have changed the screen resolution from default to: output-device screen r1024x768x75, because the OBP picture too big (e.g. Sun Logo and OBP text).
Now, after the system booting I have the problem with OpenWindows picture (e.g. the window manager does not display... (2 Replies)
Discussion started by: wolfgang
2 Replies
5. UNIX for Dummies Questions & Answers
Hi all,
i am one of the newbies with linux. i just install the Enterprise AS on my ibm z60t. I am trying to change the color setting to hight resolution, unfortunately, it does not work. it works only with the 256 color setting.
It seems the widescreen or the vga card of my notebook does not... (3 Replies)
Discussion started by: sanlen
3 Replies
6. UNIX for Dummies Questions & Answers
I would like to know how to change the display resolution in UnixV4.0D.
Can anyone please help me.
Regards,
Avgust (1 Reply)
Discussion started by: avgust
1 Replies
7. UNIX Desktop Questions & Answers
Hello all,
I need to fix some resolution in an AIX, how can I do it? It cannot be altered at system reboot, in the other words, I'm setting an display resolution, but when I do a reboot this configuration will be losted. I need somethig like this: Set a configuration and it cannot be changed... (0 Replies)
Discussion started by: nando_zambone
0 Replies
8. Shell Programming and Scripting
Hi!
I have for example a script/file:
+1 echo "toto"
+2 echo "abcdef
+3 echo "dqmsl" $r "dsqlfj"
+4 cat titi | tr \t' ';'
+5 exit
---------------------------------------
I try to find a solution who say:
<ERROR>
The character " has been forgotten a the line 2
The character... (7 Replies)
Discussion started by: Castelior
7 Replies
9. Solaris
Hi,
I would like to know how to change the display resolution in solaris on sparc.
Can anyone please help me.
Regards,
Raja (3 Replies)
Discussion started by: RajaRC
3 Replies
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)