On Fri, May 12, 2006 at 03:49:00PM -0700, Robert Persson wrote
> Is it possible to choose between different xorg.conf files depending
> on your needs? What I mean is, can you get startx or xinit to choose
> a config file other than the default?

  I do that myself.  I normally run at 1280x1024, but occasionaly I want
to run at 2048x1536 when editing large digital photos.  2048x1536 is OK
as long as you don't have large expanses of white.  36 hz refresh can be
murder on the eyes for normal web surfing.  I have multiple xorg files
with different modelines, like so...

[m3000][waltdnes][~] ll /etc/X11/*xorg.conf
-rw-r--r-- 1 root root 14580 May 14 10:22 /etc/X11/1024xorg.conf
-rw-r--r-- 1 root root 14583 May 14 10:23 /etc/X11/1280xorg.conf
-rw-r--r-- 1 root root 14583 May 15 01:02 /etc/X11/2048xorg.conf
-rw-r--r-- 1 root root 14577 May 14 10:21 /etc/X11/800xorg.conf
-rw-r--r-- 1 root root 14583 May 14 10:19 /etc/X11/xorg.conf

  I have a script ~/bin/x like so...

#! /bin/bash
startx -- -nolisten tcp -nosilk -config ${1}xorg.conf &

  The command "x" translates to the default...
 "startx -- -nolisten tcp -nosilk -config xorg.conf &"

  The command "x 2048" translates to...
 "startx -- -nolisten tcp -nosilk -config 2048xorg.conf &"

  The command "x 800" translates to...
 "startx -- -nolisten tcp -nosilk -config 800xorg.conf &"

etc, etc.  I used to have several more before I discovered xrandr.  Now
I use xrandr when I want to watch a small-screen streaming video blown
up to near fullscreen.  Lower resolution (via xrandr or modeline) gives
me the benfits of rescaling without killing the cpu.  Think of it as a
backdoor method to hardware rescaling without exotic drivers.

  Is there anything similar to SIGWINCH after xrandr changes screen
size?  My launch panel (pypanel) disappears off the bottom of the screen
when I use xrandr to go from 1280x1024 to 512x384.

-- 
Walter Dnes <[EMAIL PROTECTED]> In linux /sbin/init is Job #1
My musings on technology and security at http://tech_sec.blog.ca
-- 
gentoo-user@gentoo.org mailing list

Reply via email to