Re: [gentoo-user] KDE-4 multi-monitor + fullscreen applications

2010-11-18 Thread YoYo Siska
On Wed, Nov 17, 2010 at 11:41:25PM +0100, Florian Philipp wrote:
 Am 17.11.2010 23:26, schrieb Alan McKinnon:
  Apparently, though unproven, at 00:08 on Thursday 18 November 2010, Florian 
  Philipp did opine thusly:
  
  Hi list!
 
  Today, KDE nearly killed a presentation I held and now I want to
  understand what's going on:
 
  Following setup: One laptop, two outputs (internal display + projector).
 
  Now I configure KDE to expand the desktop on both (instead of simple
  cloning). So far, so good.
  
  For anyone to help at all, we'll need to know your hardware and video 
  drivers, 
  plus versions in use of X.org and it's drivers, plus relevant config stuff.
  
  Everything else is highly configurable and subject to the whim of driver 
  writers and the user. And there's always nVidia's stance to be taken into 
  account as well
  
 
 Ah, right, forgot about that. Intel GMA HD graphics (i915 driver),
 x11-base/xorg-server-1.8.2 (USE=udev -hal) and x11-base/xorg-drivers-1.8
 
 No xorg.conf. Tried it with composite effects off and on.
 
 KDE is on version 4.4.5 and some packages 4.4.7 (current stable).
 
 
  First question: How does KDE choose on which output the standard
  desktop ends up and which gets the second set of desktop background +
  plasma widgets? It seems like the one with the higher resolution is
  standard and on a draw, it is the right-most. Is that correct? Can it be
  configured?
 
  Now that I have both desktops, I open Acroread or Okular and start the
  fullscreen/presentation mode. What happens is that the presentation is
  deterministically opened on one of the displays. What I don't understand
  is how it chooses which one it uses?
xrandr 1.3 has a new option to say which output should be 'primary'

you can try something like

xrandr --output LVDS1 --mode 1024x768 --pos 0x0 --primary --output VGA1
--mode 1024x768 --righ-of LVDS1

However IIRC kde used to ignore which display was primary (reported as
xinerama screen 0) and somehow decided on its own order...

Here okular works correclty (well, at least Current screen and Screen
XX used to work, don't remember for Default screen and can't test
right now...), but right now I'm using fluxbox as window manager and not
kwin, but I it would be weird if it actually made things break.. ;)

yoyo

 
  It doesn't depend on the placement of the window (although other
  applications like Flash in Firefox, MPlayer, Kaffeine and Gwenview do).
  It doesn't always open on the secondary or standard desktop (as
  specified above). It rather seems like it always opens on the one with
  the higher resolution and if both are equal, it opens on the left-most.
 
  So, what happened when I tried to hold my presentation? The projector
  had a low resolution (1024x768) and therefore neither Acroread nor
  Okular showed on fullscreen on the projector. None of my previous tests
  showed that problem since I used two displays with equal resolution.
  Great fun! In the end, I cloned the output and thereby gave Okular no
  other choice. (Lucky me that I didn't any additional notes or anything
  on the other display ...)
 
  What can I do to influence this behavior?
 
  Edit: I just noticed that both applications have settings for this.
  However, they are ignored and the setting in Acroread is even reset to
  Current display each time I close the settings dialog! What is going
  on here?
 
  Thanks in advance!
  Florian Philipp
  
 
 




Re: [gentoo-user] KDE-4 multi-monitor + fullscreen applications

2010-11-18 Thread BRM
- Original Message 

 From: YoYo Siska y...@gl.ksp.sk
 To: gentoo-user@lists.gentoo.org
 Sent: Thu, November 18, 2010 12:41:03 PM
 Subject: Re: [gentoo-user] KDE-4 multi-monitor + fullscreen applications
 
 On Wed, Nov 17, 2010 at 11:41:25PM +0100, Florian Philipp wrote:
  Am  17.11.2010 23:26, schrieb Alan McKinnon:
   Apparently, though  unproven, at 00:08 on Thursday 18 November 2010, 
Florian 

   Philipp  did opine thusly:
   
   Hi list!
   
   Today, KDE nearly killed a presentation I held and now  I want to
   understand what's going on:
  
Following setup: One laptop, two outputs (internal display +  
projector).
  
   Now I configure KDE to expand the  desktop on both (instead of simple
   cloning). So far, so  good.
   
   For anyone to help at all, we'll need to know  your hardware and video 
drivers, 

   plus versions in use of X.org and  it's drivers, plus relevant config 
stuff.
   
   Everything  else is highly configurable and subject to the whim of driver 
writers and the user. And there's always nVidia's stance to be taken 
   into 

   account as well
   
  
  Ah, right, forgot  about that. Intel GMA HD graphics (i915 driver),
   x11-base/xorg-server-1.8.2 (USE=udev -hal) and  x11-base/xorg-drivers-1.8
  
  No xorg.conf. Tried it with composite  effects off and on.
  
  KDE is on version 4.4.5 and some packages  4.4.7 (current stable).
  
  
   First  question: How does KDE choose on which output the standard
desktop ends up and which gets the second set of desktop background +
plasma widgets? It seems like the one with the higher resolution  is
   standard and on a draw, it is the right-most. Is that  correct? Can it be
   configured?
  
Now that I have both desktops, I open Acroread or Okular and start  the
   fullscreen/presentation mode. What happens is that the  presentation is
   deterministically opened on one of the  displays. What I don't understand
   is how it chooses which one  it uses?
 xrandr 1.3 has a new option to say which output should be  'primary'
 
 you can try something like
 
 xrandr --output LVDS1 --mode  1024x768 --pos 0x0 --primary --output VGA1
 --mode 1024x768 --righ-of  LVDS1
 
 However IIRC kde used to ignore which display was primary (reported  as
 xinerama screen 0) and somehow decided on its own order...
 
 Here  okular works correclty (well, at least Current screen and Screen
 XX used  to work, don't remember for Default screen and can't test
 right now...),  but right now I'm using fluxbox as window manager and not
 kwin, but I it  would be weird if it actually made things break.. ;)
 


snip
You may be interested in this post by Aaron Seigo:

http://aseigo.blogspot.com/2010/11/multihead-plasma-desktop-needs-you.html

Also, check the KDE System Settings as I mentioned in my first post on this 
thread.
I don't have an Xorg config file, and yet I can do multiple displays through 
KDE;
I also don't configure xRandr. This is all independent of any video card; 
though,
as A. Seigo points out there are some issues still being fixed.

Not sure if you're trying to run multi-head or simply multi-screen; though I 
think
multi-screen since you don't have an xorg.conf file too. Please read Aaron's 
post.

Ben



Re: [gentoo-user] KDE-4 multi-monitor + fullscreen applications

2010-11-17 Thread Alan McKinnon
Apparently, though unproven, at 00:08 on Thursday 18 November 2010, Florian 
Philipp did opine thusly:

 Hi list!
 
 Today, KDE nearly killed a presentation I held and now I want to
 understand what's going on:
 
 Following setup: One laptop, two outputs (internal display + projector).
 
 Now I configure KDE to expand the desktop on both (instead of simple
 cloning). So far, so good.

For anyone to help at all, we'll need to know your hardware and video drivers, 
plus versions in use of X.org and it's drivers, plus relevant config stuff.

Everything else is highly configurable and subject to the whim of driver 
writers and the user. And there's always nVidia's stance to be taken into 
account as well





 
 First question: How does KDE choose on which output the standard
 desktop ends up and which gets the second set of desktop background +
 plasma widgets? It seems like the one with the higher resolution is
 standard and on a draw, it is the right-most. Is that correct? Can it be
 configured?
 
 Now that I have both desktops, I open Acroread or Okular and start the
 fullscreen/presentation mode. What happens is that the presentation is
 deterministically opened on one of the displays. What I don't understand
 is how it chooses which one it uses?
 
 It doesn't depend on the placement of the window (although other
 applications like Flash in Firefox, MPlayer, Kaffeine and Gwenview do).
 It doesn't always open on the secondary or standard desktop (as
 specified above). It rather seems like it always opens on the one with
 the higher resolution and if both are equal, it opens on the left-most.
 
 So, what happened when I tried to hold my presentation? The projector
 had a low resolution (1024x768) and therefore neither Acroread nor
 Okular showed on fullscreen on the projector. None of my previous tests
 showed that problem since I used two displays with equal resolution.
 Great fun! In the end, I cloned the output and thereby gave Okular no
 other choice. (Lucky me that I didn't any additional notes or anything
 on the other display ...)
 
 What can I do to influence this behavior?
 
 Edit: I just noticed that both applications have settings for this.
 However, they are ignored and the setting in Acroread is even reset to
 Current display each time I close the settings dialog! What is going
 on here?
 
 Thanks in advance!
 Florian Philipp

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] KDE-4 multi-monitor + fullscreen applications

2010-11-17 Thread Florian Philipp
Am 17.11.2010 23:26, schrieb Alan McKinnon:
 Apparently, though unproven, at 00:08 on Thursday 18 November 2010, Florian 
 Philipp did opine thusly:
 
 Hi list!

 Today, KDE nearly killed a presentation I held and now I want to
 understand what's going on:

 Following setup: One laptop, two outputs (internal display + projector).

 Now I configure KDE to expand the desktop on both (instead of simple
 cloning). So far, so good.
 
 For anyone to help at all, we'll need to know your hardware and video 
 drivers, 
 plus versions in use of X.org and it's drivers, plus relevant config stuff.
 
 Everything else is highly configurable and subject to the whim of driver 
 writers and the user. And there's always nVidia's stance to be taken into 
 account as well
 

Ah, right, forgot about that. Intel GMA HD graphics (i915 driver),
x11-base/xorg-server-1.8.2 (USE=udev -hal) and x11-base/xorg-drivers-1.8

No xorg.conf. Tried it with composite effects off and on.

KDE is on version 4.4.5 and some packages 4.4.7 (current stable).


 First question: How does KDE choose on which output the standard
 desktop ends up and which gets the second set of desktop background +
 plasma widgets? It seems like the one with the higher resolution is
 standard and on a draw, it is the right-most. Is that correct? Can it be
 configured?

 Now that I have both desktops, I open Acroread or Okular and start the
 fullscreen/presentation mode. What happens is that the presentation is
 deterministically opened on one of the displays. What I don't understand
 is how it chooses which one it uses?

 It doesn't depend on the placement of the window (although other
 applications like Flash in Firefox, MPlayer, Kaffeine and Gwenview do).
 It doesn't always open on the secondary or standard desktop (as
 specified above). It rather seems like it always opens on the one with
 the higher resolution and if both are equal, it opens on the left-most.

 So, what happened when I tried to hold my presentation? The projector
 had a low resolution (1024x768) and therefore neither Acroread nor
 Okular showed on fullscreen on the projector. None of my previous tests
 showed that problem since I used two displays with equal resolution.
 Great fun! In the end, I cloned the output and thereby gave Okular no
 other choice. (Lucky me that I didn't any additional notes or anything
 on the other display ...)

 What can I do to influence this behavior?

 Edit: I just noticed that both applications have settings for this.
 However, they are ignored and the setting in Acroread is even reset to
 Current display each time I close the settings dialog! What is going
 on here?

 Thanks in advance!
 Florian Philipp
 




signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] KDE-4 multi-monitor + fullscreen applications

2010-11-17 Thread BRM
- Original Message 

 From: Florian Philipp li...@f_philipp.fastmail.net
 To: Gentoo User List gentoo-user@lists.gentoo.org
 Sent: Wed, November 17, 2010 5:08:33 PM
 Subject: [gentoo-user] KDE-4 multi-monitor + fullscreen applications
 
 Hi list!
 
 Today, KDE nearly killed a presentation I held and now I want  to
 understand what's going on:
 
 Following setup: One laptop, two  outputs (internal display + projector).
 
 Now I configure KDE to expand the  desktop on both (instead of simple
 cloning). So far, so good.
 
 First  question: How does KDE choose on which output the standard
 desktop ends up  and which gets the second set of desktop background +
 plasma widgets? It  seems like the one with the higher resolution is
 standard and on a draw, it  is the right-most. Is that correct? Can it be
 configured?

I haven't played with the KDE4 mult-monitor mode enough yet; but I would think
it would be in the Display settings section of the System Settings for KDE4.
 
Reading over:
http://forum.kde.org/viewtopic.php?f=66t=82510
http://forum.kde.org/viewtopic.php?f=66t=25765

It seems Kephal is the culprit. Quite a bit was fixed for 4.2, and even more 
for 
4.3, 4.4, and 4.5.
So you may want to see if it's a bug related to something pre-4.5.
Looks like 4.5 is in testing:

http://gentoo-portage.com/kde-base/kde-meta

Just a thought; wish I could be more helpful.

Ben