From: Fernando Antunes <fs.antunes@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Changing xorg.conf at runtime (nVidia cards)
Date: Thu, 30 Jul 2009 18:44:10 -0300 [thread overview]
Message-ID: <9065b8fe0907301444m5f717770if01bd6a4a3e31db6@mail.gmail.com> (raw)
In-Reply-To: <184110a70907280735y215a4001v551b738bb1a605ed@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1878 bytes --]
On Tue, Jul 28, 2009 at 11:35 AM, Mike Mazur <mmazur@gmail.com> wrote:
> Hello,
>
Hi
>
> I have an nVidia card, and I can use the NVIDIA X Server Settings app
> to dynamically detect and configure displays I connect to my laptop.
> When I'm done with the configuration, I simply apply it, and keep on
> truckin' without having to restart X.
>
I don't use xorg.conf in my notebook Lenovo T61, Intel 965GSM , xorg and
xfce ~x86, gentoo 2.6.30 with KMS, anymore.
Both kernel and X switch to 1280x800 resolution automatically, xinerama is
disable.
> Doing this manually each time I connect/disconnect an external display
> can get tiresome. I can generate an xorg.conf for each setup I
> frequently use (ie: different monitors at work/home, no monitor on the
> go), but that means restarting X when the display configuration
> changes. This can be undesirable if I just want to move from my desk
> to the living room.
>
> I'd like to run a single command, passing it one of my xorg.conf files
> (for instance), and have my screens configured on-the-fly. I looked at
> the command-line options for nvidia-settings and nvidia-xconfig but
> they don't seem to do what I want. I also looked at XRandR but I'm not
> sure what's the best way forward.
>
> Does anyone have something like this already set up? What did you use?
> Will these nvidia tools do what I need or should I look to XRandR? How
> do I get started with setting up XRandR?
>
When I connect a external monitor, I just use this basic script to adjust my
external monitor to have a wide screen (VGA1)
xrandr --output LVDS1 --mode 1280x800
xrandr --output VGA1 --mode 1280x1024 --above LVDS1
To do this more useful, you can pass the resolution of VGA1 as a parameter.
To disable wide screen :
xrandr --output LVDS --mode 1280x800
xrandr --output VGA --mode 1024x1024 --same-as LVDS
>
> Thanks!
> Mike
>
>
[-- Attachment #2: Type: text/html, Size: 2935 bytes --]
next prev parent reply other threads:[~2009-07-30 21:44 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-28 14:35 [gentoo-user] Changing xorg.conf at runtime (nVidia cards) Mike Mazur
2009-07-29 14:27 ` bn
2009-07-30 21:44 ` Fernando Antunes [this message]
2009-07-31 2:34 ` Mike Mazur
2009-07-31 3:23 ` Dale
2009-07-31 14:28 ` Mike Mazur
2009-07-31 16:48 ` Fernando Antunes
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9065b8fe0907301444m5f717770if01bd6a4a3e31db6@mail.gmail.com \
--to=fs.antunes@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox