1 |
On Fri, May 12, 2006 at 03:49:00PM -0700, Robert Persson wrote |
2 |
> Is it possible to choose between different xorg.conf files depending |
3 |
> on your needs? What I mean is, can you get startx or xinit to choose |
4 |
> a config file other than the default? |
5 |
|
6 |
I do that myself. I normally run at 1280x1024, but occasionaly I want |
7 |
to run at 2048x1536 when editing large digital photos. 2048x1536 is OK |
8 |
as long as you don't have large expanses of white. 36 hz refresh can be |
9 |
murder on the eyes for normal web surfing. I have multiple xorg files |
10 |
with different modelines, like so... |
11 |
|
12 |
[m3000][waltdnes][~] ll /etc/X11/*xorg.conf |
13 |
-rw-r--r-- 1 root root 14580 May 14 10:22 /etc/X11/1024xorg.conf |
14 |
-rw-r--r-- 1 root root 14583 May 14 10:23 /etc/X11/1280xorg.conf |
15 |
-rw-r--r-- 1 root root 14583 May 15 01:02 /etc/X11/2048xorg.conf |
16 |
-rw-r--r-- 1 root root 14577 May 14 10:21 /etc/X11/800xorg.conf |
17 |
-rw-r--r-- 1 root root 14583 May 14 10:19 /etc/X11/xorg.conf |
18 |
|
19 |
I have a script ~/bin/x like so... |
20 |
|
21 |
#! /bin/bash |
22 |
startx -- -nolisten tcp -nosilk -config ${1}xorg.conf & |
23 |
|
24 |
The command "x" translates to the default... |
25 |
"startx -- -nolisten tcp -nosilk -config xorg.conf &" |
26 |
|
27 |
The command "x 2048" translates to... |
28 |
"startx -- -nolisten tcp -nosilk -config 2048xorg.conf &" |
29 |
|
30 |
The command "x 800" translates to... |
31 |
"startx -- -nolisten tcp -nosilk -config 800xorg.conf &" |
32 |
|
33 |
etc, etc. I used to have several more before I discovered xrandr. Now |
34 |
I use xrandr when I want to watch a small-screen streaming video blown |
35 |
up to near fullscreen. Lower resolution (via xrandr or modeline) gives |
36 |
me the benfits of rescaling without killing the cpu. Think of it as a |
37 |
backdoor method to hardware rescaling without exotic drivers. |
38 |
|
39 |
Is there anything similar to SIGWINCH after xrandr changes screen |
40 |
size? My launch panel (pypanel) disappears off the bottom of the screen |
41 |
when I use xrandr to go from 1280x1024 to 512x384. |
42 |
|
43 |
-- |
44 |
Walter Dnes <waltdnes@××××××××.org> In linux /sbin/init is Job #1 |
45 |
My musings on technology and security at http://tech_sec.blog.ca |
46 |
-- |
47 |
gentoo-user@g.o mailing list |