Registered Member
|
Hello,
Just needed to share my desktop during presentation, I found the krfb utility, and it works great! Although, I need to share the secondary display, while krfb shares only the primary one. Is there any way to make krfb share a specific display (X output)? It is required as the secondary display is connected to the projector, and I need remote people to see that display. Best Regards, Alon Bar-Lev. |
Administrator
|
How is your desktop setup?
Can you move applications from one screen to the next? Does the output of this command differ depending on what screen you run it on?
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
DISPLAY is the same, as this is a single display. Laptop LCD(LVDS1) is on 0x0, external VGA is on right.
I want to share my extranal VGA (VGA1). Thanks! |
Administrator
|
I took a look at the code, and from what I could gather (it uses X11 specific functions) it seems to be grabbing the currently active screen.
If you start it on the presentation screen it should hopefully broadcast that screen instead.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
Thank you! I will try... however I almost sure I already have... maybe the fact that the tray icon goes into the primary screen makes it grap that one? Maybe add explicit option to grab a specific screen? I know little about X but can create a patch if you point me to the right location (where uses the current active screen). |
Administrator
|
The code for krfb is located at http://websvn.kde.org/trunk/KDE/kdenetwork/krfb/
It can be checked out via AnonSVN as follows:
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
Is it QX11Info::display() and DefaultVisual(QX11Info::display(), 0)?
Need to acquire specific display and replace the 0 with the index? |
Administrator
|
QX11Info::display() returns the XOpenDisplay() handle that Qt is using internally to access the current X display.
If you can move windows across both screens however then the "display" is crossing over both screens - from what I understand of it anyway.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]