Re: Changing resolution on laptop

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2007-02-13 at 07:26 +0200, Dotan Cohen wrote:
> On 13/02/07, Aaron Konstam <akonstam@xxxxxxxxxxxxx> wrote:
> > On Mon, 2007-02-12 at 23:23 +0200, Dotan Cohen wrote:
> > > On 12/02/07, Aaron Konstam <akonstam@xxxxxxxxxxxxx> wrote:
> > > > On Mon, 2007-02-12 at 16:40 +0200, Dotan Cohen wrote:
> > > > > I've a Dell E1505 laptop with a 1050*1400 resolution LCD screen, and a
> > > > > regular external CRT monitor that can display video up to 768*1024.
> > > > > I'd like to plug the monitor into the laptop's output, but I need the
> > > > > output to display 768*1024. How would one go about ensuring that the
> > > > > correct resolution is used depending on whether or not the monitor is
> > > > > connected?
> > > > >
> > > > > Googling about led me to a bash script that changes screen resolution,
> > > > > but I'd prefer something automatic: LCD always get 1050*1400 and the
> > > > > CRT always gets 768*1024.
> > > > >
> > > > > Thanks in advance for any ideas.
> > > > >
> > > > This is not exactly automatic but its use depends on the answer to the
> > > > following question. When you plug in the external monitor does the
> > > > internal lcd screen cease working, If so one might do this.
> > > > <ctrl><Alt> + cycles through resolutions in your xorg.conf so if you had
> > > > the resolutions you mention above in your xorg.conf file it would be
> > > > easy to switch between them.
> > >
> > > It only drives one display at a time, so I could switch between
> > > resolutions. My xorg.conf file has no screen resolutions:
> > > # Xorg configuration created by pyxf86config
> > >
> > > Section "ServerLayout"
> > >       Identifier     "Default Layout"
> > >       Screen      0  "Screen0" 0 0
> > >       InputDevice    "Keyboard0" "CoreKeyboard"
> > >       InputDevice    "Synaptics" "CorePointer"
> > > EndSection
> > >
> > > Section "InputDevice"
> > >       Identifier  "Keyboard0"
> > >       Driver      "kbd"
> > >       Option      "XkbModel" "pc105"
> > >       Option      "XkbLayout" "us"
> > > EndSection
> > >
> > > Section "InputDevice"
> > >       Identifier  "Synaptics"
> > >       Driver      "synaptics"
> > >       Option      "Device" "/dev/input/mice"
> > >       Option      "Protocol" "auto-dev"
> > >       Option      "Emulate3Buttons" "yes"
> > > #     Option      "UseShm" "true"
> > >       Option      "SHMConfig" "on"
> > > EndSection
> > >
> > > Section "Device"
> > >       Identifier  "Videocard0"
> > >       Driver      "vesa"
> > > #     Driver      "radeon"
> > > EndSection
> > >
> > > Section "Screen"
> > >       Identifier "Screen0"
> > >       Device     "Videocard0"
> > >       DefaultDepth     24
> > >       SubSection "Display"
> > >               Viewport   0 0
> > >               Depth     24
> > >       EndSubSection
> > > EndSection
> > >
> > You ar right but if you run system-config-display your file will be
> > changed so the last part will look like this:
> > Section "Screen"
> >         Identifier "Screen0"
> >         Device     "Videocard0"
> >         DefaultDepth     24
> >         Option      "passwordfile" "/root/.vnc/passwd"
> >         SubSection "Display"
> >                 Viewport   0 0
> >                 Depth     24
> >                 Modes    "1600x1024" "1440x900" "1400x1050" "1280x1024"
> > "1280x960" "1280x800" "1152x864" "1152x768" "1024x768" "800x600"
> > "640x480"
> >         EndSubSection
> > EndSection
> >
> > and you will be able to choose the resolutions you want to use by
> > removing the ones you don't want. That is the semi-automatic way to do
> > this , but of course you could just type the lines in with the right
> > resolutions, Then restart X.
> >
> 
> I added the line and restarted X. Now, it's stuck in "768*1024", and
> CTRL-ALT-+ does not switch resolutions. I'll go back to my backup of
> xorg.conf, but why will it not switch?
> 
> Note, that before I added the line, CTRL-ALT-+ did switch resolutions,
> but 768*1024 was not amoung the available resolutions. This was with
> no resolutions defined at all in xorg.conf.
It is "768x1024" not "768*1024"  . Also try ctrl-alt - (minus) to get
you back.
-- 
Aaron Konstam <akonstam@xxxxxxxxxxxxx>


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux