Re: More displays

2008-04-11 Thread Abdelrazak Younes

Pavel Sanda wrote:

On Fri, Mar 14, 2008 at 11:22:15PM +0100, Abdelrazak Younes wrote:

Andre Poenitz wrote:

On Fri, Mar 14, 2008 at 09:53:08PM +0100, Pavel Sanda wrote:

hi,

does anybody know whether is possible for one process to own different
windows on different X displays ?

Conceptionally there should be no _X_ problem at all 'interesting' X
functions take a Display argument, and I see no reason why one should
not be able to feed different values there.
However, I doubt this will work with Qt:
qx11info_x11.h:static Display *display();

(dream: lfun-new-window-on-display 15 will let more people to share
one document online.)

Not within the next few years ;-)

Actually, I don't think we're so far away from that dream ;-)
Concurrent editing is something that is not conceptually very different 
from multi-view, we just need to 'lock' the lfun server while a view is 
being edited.

The Gui would need to run in a separate process as right now there's (at
most) one X Display per Qt process and it is rather unlikely to change.

And we are still a bit away from a real GUI/Core separation.


accidentally i just run through the following site:
http://doc.trolltech.com/main-snapshot/qt-embedded-running.html

do you think this can be used?


Maybe. Another interesting link:

http://www.abisource.com/wiki/AbiCollab

Looks like the Abiword folks might achieve that before us...

Abdel.



Re: More displays

2008-04-11 Thread Abdelrazak Younes

Pavel Sanda wrote:

On Fri, Mar 14, 2008 at 11:22:15PM +0100, Abdelrazak Younes wrote:

Andre Poenitz wrote:

On Fri, Mar 14, 2008 at 09:53:08PM +0100, Pavel Sanda wrote:

hi,

does anybody know whether is possible for one process to own different
windows on different X displays ?

Conceptionally there should be no _X_ problem at all 'interesting' X
functions take a Display argument, and I see no reason why one should
not be able to feed different values there.
However, I doubt this will work with Qt:
qx11info_x11.h:static Display *display();

(dream: "lfun-new-window-on-display 15" will let more people to share
one document online.)

Not within the next few years ;-)

Actually, I don't think we're so far away from that dream ;-)
Concurrent editing is something that is not conceptually very different 
from multi-view, we just need to 'lock' the lfun server while a view is 
being edited.

The Gui would need to run in a separate process as right now there's (at
most) one X Display per Qt process and it is rather unlikely to change.

And we are still a bit away from a "real" GUI/Core separation.


accidentally i just run through the following site:
http://doc.trolltech.com/main-snapshot/qt-embedded-running.html

do you think this can be used?


Maybe. Another interesting link:

http://www.abisource.com/wiki/AbiCollab

Looks like the Abiword folks might achieve that before us...

Abdel.



Re: More displays

2008-04-09 Thread Pavel Sanda
 On Fri, Mar 14, 2008 at 11:22:15PM +0100, Abdelrazak Younes wrote:
  Andre Poenitz wrote:
  On Fri, Mar 14, 2008 at 09:53:08PM +0100, Pavel Sanda wrote:
  hi,
 
  does anybody know whether is possible for one process to own different
  windows on different X displays ?
  Conceptionally there should be no _X_ problem at all 'interesting' X
  functions take a Display argument, and I see no reason why one should
  not be able to feed different values there.
  However, I doubt this will work with Qt:
  qx11info_x11.h:static Display *display();
  (dream: lfun-new-window-on-display 15 will let more people to share
  one document online.)
  Not within the next few years ;-)
 
  Actually, I don't think we're so far away from that dream ;-)
  Concurrent editing is something that is not conceptually very different 
  from multi-view, we just need to 'lock' the lfun server while a view is 
  being edited.
 
 The Gui would need to run in a separate process as right now there's (at
 most) one X Display per Qt process and it is rather unlikely to change.
 
 And we are still a bit away from a real GUI/Core separation.

accidentally i just run through the following site:
http://doc.trolltech.com/main-snapshot/qt-embedded-running.html

do you think this can be used?
pavel


Re: More displays

2008-04-09 Thread Pavel Sanda
> On Fri, Mar 14, 2008 at 11:22:15PM +0100, Abdelrazak Younes wrote:
> > Andre Poenitz wrote:
> >> On Fri, Mar 14, 2008 at 09:53:08PM +0100, Pavel Sanda wrote:
> >>> hi,
> >>>
> >>> does anybody know whether is possible for one process to own different
> >>> windows on different X displays ?
> >> Conceptionally there should be no _X_ problem at all 'interesting' X
> >> functions take a Display argument, and I see no reason why one should
> >> not be able to feed different values there.
> >> However, I doubt this will work with Qt:
> >> qx11info_x11.h:static Display *display();
> >>> (dream: "lfun-new-window-on-display 15" will let more people to share
> >>> one document online.)
> >> Not within the next few years ;-)
> >
> > Actually, I don't think we're so far away from that dream ;-)
> > Concurrent editing is something that is not conceptually very different 
> > from multi-view, we just need to 'lock' the lfun server while a view is 
> > being edited.
> 
> The Gui would need to run in a separate process as right now there's (at
> most) one X Display per Qt process and it is rather unlikely to change.
> 
> And we are still a bit away from a "real" GUI/Core separation.

accidentally i just run through the following site:
http://doc.trolltech.com/main-snapshot/qt-embedded-running.html

do you think this can be used?
pavel


Re: More displays

2008-03-15 Thread christian . ridderstrom

On Fri, 14 Mar 2008, Pavel Sanda wrote:

does anybody know whether is possible for one process to own different 
windows on different X displays ?


(dream: lfun-new-window-on-display 15 will let more people to share 
one document online.)


Another dream I had the other day was to be able to shift the display 
on a running LyX instance from one computer to another. Here's the 
scenario.


I was editing a LyX document a work[1] and left it running at work. Then I 
did some work at home and thought it'd be great if I could just shift 
the display so that it now shows up at home instead...  Is there any idea 
of filing this in bugzilla for the extreme future?


Best regards
/Christian

[1] I have a reason to write a document once again with lots of math, so I 
could motivate using LyX :-)  It's still amazing, and I like it quite a 
bit.


Annoyance 1. What are the keyboard shortcuts (and LFUN) for Toggle math 
toolbar?  I couldn't find the old math dialog, but eventually found the 
icon on the toolbar. However, I haven't figured out the shortcut. All the 
tool tip says is Toggle math toolbar, nothing about a shortcut :-(


Annoyance 2. What are the keyboard shortcuts for toggle math panels?
Same thing here really...


Should I file an enhancement request for the toolbar tips to also show 
keyboard shortcuts?  Should I file an enhancement request for giving these 
things a keyboard shortcut if they don't already ahve them? (or LFUN's).


--
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr

Re: More displays

2008-03-15 Thread Andre Poenitz
On Sat, Mar 15, 2008 at 06:08:25PM +0100, [EMAIL PROTECTED] wrote:
 On Fri, 14 Mar 2008, Pavel Sanda wrote:

 does anybody know whether is possible for one process to own different 
 windows on different X displays ?

 (dream: lfun-new-window-on-display 15 will let more people to share one 
 document online.)

 Another dream I had the other day was to be able to shift the display 
 on a running LyX instance from one computer to another. Here's the 
 scenario.

 I was editing a LyX document a work[1] and left it running at work. Then I 
 did some work at home and thought it'd be great if I could just shift the 
 display so that it now shows up at home instead...  Is there any idea of 
 filing this in bugzilla for the extreme future?

I think this is a rather generic X wanted feature (or whatever, it
might even already exist) than a LyX specific one.

Andre'


Re: More displays

2008-03-15 Thread Pavel Sanda
 I was editing a LyX document a work[1] and left it running at work. Then I 
 did some work at home and thought it'd be great if I could just shift the 
 display so that it now shows up at home instead...  Is there any idea of 
 filing this in bugzilla for the extreme future?

i dont think this is the stuff to be implemented by lyx.
anyway have you ever tried vnc?
pavel


Re: More displays

2008-03-15 Thread christian . ridderstrom

On Sun, 16 Mar 2008, Pavel Sanda wrote:


I was editing a LyX document a work[1] and left it running at work. Then I
did some work at home and thought it'd be great if I could just shift the
display so that it now shows up at home instead...  Is there any idea of
filing this in bugzilla for the extreme future?


i dont think this is the stuff to be implemented by lyx. anyway have you 
ever tried vnc?


Yes, but as I hadn't started LyX ina VNC session to begin with, it wasn't 
an option (AFAIK).


Anyway, I was just dreaming of a way to hijack the LyX session.

/Christian

--
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr

Re: More displays

2008-03-15 Thread Pavel Sanda
 I was editing a LyX document a work[1] and left it running at work. Then 
 I
 did some work at home and thought it'd be great if I could just shift 
 the
 display so that it now shows up at home instead...  Is there any idea of
 filing this in bugzilla for the extreme future?

 i dont think this is the stuff to be implemented by lyx. anyway have you 
 ever tried vnc?

 Yes, but as I hadn't started LyX ina VNC session to begin with, it wasn't 
 an option (AFAIK).

http://gentoo-wiki.com/HOWTO_Use_VNC_to_connect_to_existing_X_Sessions

pavel


Re: More displays

2008-03-15 Thread christian . ridderstrom

On Fri, 14 Mar 2008, Pavel Sanda wrote:

does anybody know whether is possible for one process to own different 
windows on different X displays ?


(dream: "lfun-new-window-on-display 15" will let more people to share 
one document online.)


Another "dream" I had the other day was to be able to "shift" the display 
on a running LyX instance from one computer to another. Here's the 
scenario.


I was editing a LyX document a work[1] and left it running at work. Then I 
did some work at home and thought it'd be great if I could just "shift" 
the display so that it now shows up at home instead...  Is there any idea 
of filing this in bugzilla for the extreme future?


Best regards
/Christian

[1] I have a reason to write a document once again with lots of math, so I 
could motivate using LyX :-)  It's still amazing, and I like it quite a 
bit.


Annoyance 1. What are the keyboard shortcuts (and LFUN) for "Toggle math 
toolbar"?  I couldn't find the old math dialog, but eventually found the 
icon on the toolbar. However, I haven't figured out the shortcut. All the 
tool tip says is "Toggle math toolbar", nothing about a shortcut :-(


Annoyance 2. What are the keyboard shortcuts for "toggle math panels"?
Same thing here really...


Should I file an enhancement request for the toolbar tips to also show 
keyboard shortcuts?  Should I file an enhancement request for giving these 
things a keyboard shortcut if they don't already ahve them? (or LFUN's).


--
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr

Re: More displays

2008-03-15 Thread Andre Poenitz
On Sat, Mar 15, 2008 at 06:08:25PM +0100, [EMAIL PROTECTED] wrote:
> On Fri, 14 Mar 2008, Pavel Sanda wrote:
>
>> does anybody know whether is possible for one process to own different 
>> windows on different X displays ?
>>
>> (dream: "lfun-new-window-on-display 15" will let more people to share one 
>> document online.)
>
> Another "dream" I had the other day was to be able to "shift" the display 
> on a running LyX instance from one computer to another. Here's the 
> scenario.
>
> I was editing a LyX document a work[1] and left it running at work. Then I 
> did some work at home and thought it'd be great if I could just "shift" the 
> display so that it now shows up at home instead...  Is there any idea of 
> filing this in bugzilla for the extreme future?

I think this is a rather generic X "wanted feature" (or whatever, it
might even already exist) than a LyX specific one.

Andre'


Re: More displays

2008-03-15 Thread Pavel Sanda
> I was editing a LyX document a work[1] and left it running at work. Then I 
> did some work at home and thought it'd be great if I could just "shift" the 
> display so that it now shows up at home instead...  Is there any idea of 
> filing this in bugzilla for the extreme future?

i dont think this is the stuff to be implemented by lyx.
anyway have you ever tried vnc?
pavel


Re: More displays

2008-03-15 Thread christian . ridderstrom

On Sun, 16 Mar 2008, Pavel Sanda wrote:


I was editing a LyX document a work[1] and left it running at work. Then I
did some work at home and thought it'd be great if I could just "shift" the
display so that it now shows up at home instead...  Is there any idea of
filing this in bugzilla for the extreme future?


i dont think this is the stuff to be implemented by lyx. anyway have you 
ever tried vnc?


Yes, but as I hadn't started LyX ina VNC session to begin with, it wasn't 
an option (AFAIK).


Anyway, I was just dreaming of a way to "hijack" the LyX session.

/Christian

--
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr

Re: More displays

2008-03-15 Thread Pavel Sanda
>>> I was editing a LyX document a work[1] and left it running at work. Then 
>>> I
>>> did some work at home and thought it'd be great if I could just "shift" 
>>> the
>>> display so that it now shows up at home instead...  Is there any idea of
>>> filing this in bugzilla for the extreme future?
>>
>> i dont think this is the stuff to be implemented by lyx. anyway have you 
>> ever tried vnc?
>
> Yes, but as I hadn't started LyX ina VNC session to begin with, it wasn't 
> an option (AFAIK).

http://gentoo-wiki.com/HOWTO_Use_VNC_to_connect_to_existing_X_Sessions

pavel


More displays

2008-03-14 Thread Pavel Sanda
hi,

does anybody know whether is possible for one process to own different windows 
on
different X displays ?

(dream: lfun-new-window-on-display 15 will let more people to share one 
document online.)

pavel


Re: More displays

2008-03-14 Thread Andre Poenitz
On Fri, Mar 14, 2008 at 09:53:08PM +0100, Pavel Sanda wrote:
 hi,
 
 does anybody know whether is possible for one process to own different
 windows on different X displays ?

Conceptionally there should be no _X_ problem at all 'interesting' X
functions take a Display argument, and I see no reason why one should
not be able to feed different values there.

However, I doubt this will work with Qt:

qx11info_x11.h:static Display *display();

 (dream: lfun-new-window-on-display 15 will let more people to share
 one document online.)

Not within the next few years ;-)

Andre'


Re: More displays

2008-03-14 Thread Abdelrazak Younes

Andre Poenitz wrote:

On Fri, Mar 14, 2008 at 09:53:08PM +0100, Pavel Sanda wrote:

hi,

does anybody know whether is possible for one process to own different
windows on different X displays ?


Conceptionally there should be no _X_ problem at all 'interesting' X
functions take a Display argument, and I see no reason why one should
not be able to feed different values there.

However, I doubt this will work with Qt:

qx11info_x11.h:static Display *display();


(dream: lfun-new-window-on-display 15 will let more people to share
one document online.)


Not within the next few years ;-)


Actually, I don't think we're so far away from that dream ;-)
Concurrent editing is something that is not conceptually very different 
from multi-view, we just need to 'lock' the lfun server while a view is 
being edited.


Abdel.



Re: More displays

2008-03-14 Thread Andre Poenitz
On Fri, Mar 14, 2008 at 11:22:15PM +0100, Abdelrazak Younes wrote:
 Andre Poenitz wrote:
 On Fri, Mar 14, 2008 at 09:53:08PM +0100, Pavel Sanda wrote:
 hi,

 does anybody know whether is possible for one process to own different
 windows on different X displays ?
 Conceptionally there should be no _X_ problem at all 'interesting' X
 functions take a Display argument, and I see no reason why one should
 not be able to feed different values there.
 However, I doubt this will work with Qt:
 qx11info_x11.h:static Display *display();
 (dream: lfun-new-window-on-display 15 will let more people to share
 one document online.)
 Not within the next few years ;-)

 Actually, I don't think we're so far away from that dream ;-)
 Concurrent editing is something that is not conceptually very different 
 from multi-view, we just need to 'lock' the lfun server while a view is 
 being edited.

The Gui would need to run in a separate process as right now there's (at
most) one X Display per Qt process and it is rather unlikely to change.

And we are still a bit away from a real GUI/Core separation.

Andre'


Re: More displays

2008-03-14 Thread Abdelrazak Younes

Andre Poenitz wrote:

On Fri, Mar 14, 2008 at 11:22:15PM +0100, Abdelrazak Younes wrote:

Andre Poenitz wrote:

On Fri, Mar 14, 2008 at 09:53:08PM +0100, Pavel Sanda wrote:

hi,

does anybody know whether is possible for one process to own different
windows on different X displays ?

Conceptionally there should be no _X_ problem at all 'interesting' X
functions take a Display argument, and I see no reason why one should
not be able to feed different values there.
However, I doubt this will work with Qt:
qx11info_x11.h:static Display *display();

(dream: lfun-new-window-on-display 15 will let more people to share
one document online.)

Not within the next few years ;-)

Actually, I don't think we're so far away from that dream ;-)
Concurrent editing is something that is not conceptually very different 
from multi-view, we just need to 'lock' the lfun server while a view is 
being edited.


The Gui would need to run in a separate process as right now there's (at
most) one X Display per Qt process and it is rather unlikely to change.


I didn't know that...



And we are still a bit away from a real GUI/Core separation.


Right.

Abdel.



More displays

2008-03-14 Thread Pavel Sanda
hi,

does anybody know whether is possible for one process to own different windows 
on
different X displays ?

(dream: "lfun-new-window-on-display 15" will let more people to share one 
document online.)

pavel


Re: More displays

2008-03-14 Thread Andre Poenitz
On Fri, Mar 14, 2008 at 09:53:08PM +0100, Pavel Sanda wrote:
> hi,
> 
> does anybody know whether is possible for one process to own different
> windows on different X displays ?

Conceptionally there should be no _X_ problem at all 'interesting' X
functions take a Display argument, and I see no reason why one should
not be able to feed different values there.

However, I doubt this will work with Qt:

qx11info_x11.h:static Display *display();

> (dream: "lfun-new-window-on-display 15" will let more people to share
> one document online.)

Not within the next few years ;-)

Andre'


Re: More displays

2008-03-14 Thread Abdelrazak Younes

Andre Poenitz wrote:

On Fri, Mar 14, 2008 at 09:53:08PM +0100, Pavel Sanda wrote:

hi,

does anybody know whether is possible for one process to own different
windows on different X displays ?


Conceptionally there should be no _X_ problem at all 'interesting' X
functions take a Display argument, and I see no reason why one should
not be able to feed different values there.

However, I doubt this will work with Qt:

qx11info_x11.h:static Display *display();


(dream: "lfun-new-window-on-display 15" will let more people to share
one document online.)


Not within the next few years ;-)


Actually, I don't think we're so far away from that dream ;-)
Concurrent editing is something that is not conceptually very different 
from multi-view, we just need to 'lock' the lfun server while a view is 
being edited.


Abdel.



Re: More displays

2008-03-14 Thread Andre Poenitz
On Fri, Mar 14, 2008 at 11:22:15PM +0100, Abdelrazak Younes wrote:
> Andre Poenitz wrote:
>> On Fri, Mar 14, 2008 at 09:53:08PM +0100, Pavel Sanda wrote:
>>> hi,
>>>
>>> does anybody know whether is possible for one process to own different
>>> windows on different X displays ?
>> Conceptionally there should be no _X_ problem at all 'interesting' X
>> functions take a Display argument, and I see no reason why one should
>> not be able to feed different values there.
>> However, I doubt this will work with Qt:
>> qx11info_x11.h:static Display *display();
>>> (dream: "lfun-new-window-on-display 15" will let more people to share
>>> one document online.)
>> Not within the next few years ;-)
>
> Actually, I don't think we're so far away from that dream ;-)
> Concurrent editing is something that is not conceptually very different 
> from multi-view, we just need to 'lock' the lfun server while a view is 
> being edited.

The Gui would need to run in a separate process as right now there's (at
most) one X Display per Qt process and it is rather unlikely to change.

And we are still a bit away from a "real" GUI/Core separation.

Andre'


Re: More displays

2008-03-14 Thread Abdelrazak Younes

Andre Poenitz wrote:

On Fri, Mar 14, 2008 at 11:22:15PM +0100, Abdelrazak Younes wrote:

Andre Poenitz wrote:

On Fri, Mar 14, 2008 at 09:53:08PM +0100, Pavel Sanda wrote:

hi,

does anybody know whether is possible for one process to own different
windows on different X displays ?

Conceptionally there should be no _X_ problem at all 'interesting' X
functions take a Display argument, and I see no reason why one should
not be able to feed different values there.
However, I doubt this will work with Qt:
qx11info_x11.h:static Display *display();

(dream: "lfun-new-window-on-display 15" will let more people to share
one document online.)

Not within the next few years ;-)

Actually, I don't think we're so far away from that dream ;-)
Concurrent editing is something that is not conceptually very different 
from multi-view, we just need to 'lock' the lfun server while a view is 
being edited.


The Gui would need to run in a separate process as right now there's (at
most) one X Display per Qt process and it is rather unlikely to change.


I didn't know that...



And we are still a bit away from a "real" GUI/Core separation.


Right.

Abdel.