Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Changing the screen resolution Post 302498131 by birei on Saturday 19th of February 2011 03:16:05 PM
Old 02-19-2011
Hi,

How do you try to change your screen resolution?

Have you tried 'xrandr'?. It will show all posibilities if executed without arguments.
Code:
$ xrandr
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 640 x 400, current 1280 x 1024, maximum 1280 x 1024
default connected 1280x1024+0+0 0mm x 0mm
   1280x1024       0.0* 
   1152x864        0.0  
   1024x768        0.0  
   800x600         0.0  
   640x480         0.0  
   720x400         0.0
$ xrandr -s 1024x768
$ xrandr
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 640 x 400, current 1024 x 768, maximum 1280 x 1024
default connected 1024x768+0+0 0mm x 0mm
   1280x1024       0.0  
   1152x864        0.0  
   1024x768        0.0* 
   800x600         0.0  
   640x480         0.0  
   720x400         0.0

Regards,
Birei
 

10 More Discussions You Might Find Interesting

1. Solaris

Changing Screen Resolution

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)
Discussion started by: Aco
1 Replies

2. UNIX for Dummies Questions & Answers

Changing my Screen Resolution (Not in X)

I have no graphical environment, no X, just a shell... but its WAY bigger than my monitor... what do I do? (3 Replies)
Discussion started by: jjinno
3 Replies

3. Solaris

Someone's got to know... Screen resolution question.

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)
Discussion started by: komputersman
4 Replies

4. Solaris

Screen Saver Resolution

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)
Discussion started by: ambavaram
2 Replies

5. Solaris

screen resolution

how to change screen resolution in CDE prompt (2 Replies)
Discussion started by: tirupathi
2 Replies

6. UNIX for Dummies Questions & Answers

How to get current X screen resolution

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)
Discussion started by: tcfx44
2 Replies

7. Red Hat

Screen resolution before and after login

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)
Discussion started by: vistastar
2 Replies

8. Linux

How to change screen Resolution?

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)
Discussion started by: mkhorami76
2 Replies

9. Solaris

Screen Resolution

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)
Discussion started by: lynxman
0 Replies

10. Solaris

Changing dpi screen resolution in Solaris 10.

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
XpSetImageResolution(3Xp)					 XPRINT FUNCTIONS					 XpSetImageResolution(3Xp)

NAME
XpSetImageResolution - Sets the resolution for subsequent PutImage requests SYNOPSIS
cc [ flag... ] file... -lXp [ library... ] #include <X11/extensions/Print.h> Bool XpSetImageResolution ( display, print_context, image_res, prev_res_return ) Display * display ; XPContext print_context ; int image_res ; int * prev_res_return ; ARGUMENTS
- display Specifies a pointer to the Display structure. - print_context Specifies the print context on which to set the resolution. - image_res Specifies the image resolution in pixels per inch. - prev_res_return Returns the previous image resolution in pixels per inch. DESCRIPTION
XpSetImageResolution returns True if the printer server allowed the resolution to be set, otherwise False is returned. XpSetImageResolution sets the resolution for subsequent PutImage requests to the screen of the specified print context. If the return value is False, then the print server does not support image scaling for the particular resolution given the current configuration of the printer, and the application is responsible for any desired scaling. If the return value is True, then the contents of any subsequent PutImage request to a Pixmap or to a Window on the screen of the specified print context will automatically be scaled as part of the PutIm- age request. The scale factor is: default_printer_resolution / image_res Where default_printer_resolution is the current value of that page attribute. Only the image itself is scaled (meaning the effective width and height of the image change), the dst-x and dst-y parameters to PutImage are not altered. As a special case, a value of zero for image_res resets the resolution to automatically track the printer resolution; in this case (which is also the default setting for a newly created print context), subsequent images will not be scaled. If the return value is True and prev_res_return is a non-NULL pointer, then the previous image resolution that was set for the print con- text is stored in prev_res_return. XpSetImageResolution returns False immediately if image_res is negative or greater than 65535. DIAGNOSTICS
XpBadContext A valid print context-id has not been set prior to making this call. X Version 11 libXp 1.0.0 XpSetImageResolution(3Xp)
All times are GMT -4. The time now is 07:59 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy