[Bug 331918] Re: Clipped area for multiple X screens with different dimensions

TJ ubuntu at tjworld.net
Tue Feb 24 10:28:39 UTC 2009


On Tue, 2009-02-24 at 08:30 +0000, Danny Baumann wrote:
> Also, what are your settings for the detect_outputs option on _screen
> 1_?

Danny, many thanks for taking the time to review this.

Your question is a good one. I've previously tried enabling and
disabling detect_outputs and observed no difference.

Prompted by your question I've just looked closer. Because I was
intrigued by where the settings are stored I opened gconf-editor and had
a peek.

At the same time I used CCSM to check and change values for screen 0 and
screen 1.

I was surprised to find the *only* screen 0 detect_outputs was changed;
no entry for detect_outputs shows up for screen 1.

grep -r detect_outputs ~/.gconf/*
/home/tj/.gconf/apps/compiz/general/screen0/options/%gconf.xml:	<entry
name="detect_outputs" mtime="1235468827" type="bool" value="false"/>

Experimenting further I also found that when I edit the list of outputs
in CCSM, whether for screen 0 or 1, the resulting change is made only to
screen 0.

I left it with "detect_outputs" false and did some experiments.

Looking closer at "outputs" with gconf-editor for screen 1 it reports "!
This key has no schema" but shows (where from I don't know) "1024x768+0
+0" - this doesn't show up in CCSM editing the "outputs" for screen 1.

I tried replacing that value using gconf-editor with "128x1024+0+0" and
starting compiz on screen 1 only, but it hasn't changed the result.

I then tried changing the "outputs" for screen 0 to "1280x1024+0+0" and
starting compiz on screen 1 only (hoping it might be using the wrong
screen options) but that didn't improve matters either.

I tried adding "detect_outputs" 'true' to screen 1 options (whilst
leaving screen 0 'false'):

sed -i -e '/<gconf>/a\
\t<entry name="detect_outputs" mtime="1235468827" type="bool"
value="true"/>\
' ~/.gconf/apps/compiz/general/screen1/options/%gconf.xml

Starting compiz on screen 1 only - no change.

I set screen 1 "detect_outputs" to 'false' (screen 1 "outputs" is
listing "1280x1024+0+0") and tried again.

Hallelujah !!

Finally, screen 1 fills the full 1280x1024 of the screen.

I then tried starting compiz "normally" - managing both screens - and it
seems to behave as it used to.

So, it seems as if the issue is partly to do with CCSM?

Anything else you need checking/testing, let me know.

-- 
Clipped area for multiple X screens with different dimensions
https://bugs.launchpad.net/bugs/331918
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list