LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   command to show current display resolution ?? (https://www.linuxquestions.org/questions/slackware-14/command-to-show-current-display-resolution-122829/)

itsjustme 12-04-2003 09:18 PM

command to show current display resolution ??
 
Is there a command that will show the current display resolution?

I've got

Depth 16
Modes "1280x1024" "1152x864" ...

in my XF86Config. (Can't post it at the moment - it's on a different machine).

Doing the Ctrl-Alt-+ and - gives me some weird looking, big resolutions.

It looks like I am at 1152x864 rather than 1280x1024 so I was looking for a command that would tell where it's currently set. If one exists.

Thanks...

That box:
Slack 9
KDE
AMD K6-2 350 :rolleyes:
TNT2 M64 32MB
NEC E750
128MB RAM

Tinkster 12-04-2003 09:35 PM

xdpyinfo



Cheers,
Tink

itsjustme 12-04-2003 09:52 PM

Cool! Thanks.

I'm on that machine now and this is part of that output.
So, it looks like I'm there.
Code:

default screen number:    0
number of screens:    1

screen #0:
  dimensions:    1280x1024 pixels (332x241 millimeters)
  resolution:    98x108 dots per inch
  depths (7):    16, 1, 4, 8, 15, 24, 32
  root window id:    0x71
  depth of root window:    16 planes
  number of colormaps:    minimum 1, maximum 1
  default colormap:    0x20
  default number of colormap cells:    64
  preallocated pixels:    black 0, white 65535
  options:    backing-store NO, save-unders NO
  largest cursor:    32x32


Azmeen 12-04-2003 09:59 PM

I was looking for this too.

Ahh well... if it has to be informative and straight-to-the-point, it's almost always from Tinkster :)

Thanks to itsjustme too for asking :)

Yet another thread to put in my LQ bookmark.

Tinkster 12-05-2003 01:59 PM

My pleasure Gents ;)


Cheers,
Tink


All times are GMT -5. The time now is 11:31 PM.