![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| number query | shafique | UNIX for Dummies Questions & Answers | 1 | 11-18-2008 12:32 PM |
| SCO connected Monitors | marcelious | SCO | 1 | 06-21-2006 02:24 PM |
| Two monitors | kamazi | BSD | 0 | 01-21-2006 06:54 AM |
| Date & NUmber Validation Query | alok_jax | Shell Programming and Scripting | 4 | 01-05-2005 07:51 PM |
| Monitors in Linux | Reza Nazarian | UNIX for Dummies Questions & Answers | 3 | 08-16-2003 05:32 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
How to query number of attached monitors in csh?
Hi there,
I am currently writing a csh script in which I want to be able to interrogate the hardware by some means in order to determine whether or not dual monitors are connected. This can't unfortunately be done by looking at xorg.conf because although some of the machines in question have extended desktops over both monitors (in which case the xorg.conf does differ), some do not and just have twinview mirrored desktop enabled (in which case xorg.conf is identical to a single monitor machine). Basically one thing needs to happen if a CRT is attached as well as an LCD (the dual monitor setup always includes a CRT) and another thing needs to happen if just an LCD is attached, so the solution could also be based around finding if a CRT is attached or not rather than just if 2 monitors are present. Can anyone suggest any solution to this problem? Thanks! Jon ---------- Post updated at 09:21 AM ---------- Previous update was at 04:07 AM ---------- Bah, one of those that never gets replied I fear..... |
|
|||||
|
|
|
||||
|
Thank you for that, but I have already read more than my fair share of replies remarkably similar to yours whenever csh is mentioned as the shell in use.
Just perhaps I am trying to integrate this script into an already existent infrastructure and csh is my only choice... I appreciate that you want to make people aware, but it really doesn't help to answer the question I have asked does it? |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|