LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 12-04-2003, 09:18 PM   #1
itsjustme
Senior Member
 
Registered: Mar 2003
Location: Earth
Distribution: Slackware, Ubuntu, Smoothwall
Posts: 1,571

Rep: Reputation: 45
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
TNT2 M64 32MB
NEC E750
128MB RAM
 
Old 12-04-2003, 09:35 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,966
Blog Entries: 11

Rep: Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865
xdpyinfo



Cheers,
Tink
 
Old 12-04-2003, 09:52 PM   #3
itsjustme
Senior Member
 
Registered: Mar 2003
Location: Earth
Distribution: Slackware, Ubuntu, Smoothwall
Posts: 1,571

Original Poster
Rep: Reputation: 45
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

Last edited by itsjustme; 12-04-2003 at 09:58 PM.
 
Old 12-04-2003, 09:59 PM   #4
Azmeen
Senior Member
 
Registered: May 2003
Location: Malaysia
Distribution: Slackware, LFS, CentOS
Posts: 1,307

Rep: Reputation: 46
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.
 
Old 12-05-2003, 01:59 PM   #5
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,966
Blog Entries: 11

Rep: Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865
My pleasure Gents ;)


Cheers,
Tink
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Debian: What is the command to show my current kernel version? charon79m Linux - General 4 01-18-2011 04:21 AM
Detect current resolution rose_bud4201 Slackware 6 06-25-2005 09:07 PM
change profile to show current directory jpolachak Linux - Newbie 2 01-20-2005 07:36 PM
how to know what is the current resolution ttilt Linux - Software 3 11-28-2004 10:38 AM
show complete current paht creilar Linux - Newbie 1 05-24-2004 04:50 AM


All times are GMT -5. The time now is 09:03 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration