Re: [wmii] Separate Wmii instances on Matrox Millennium G450 DualHead

2009-05-18 Thread Alex Kilgore

Robert C Corsaro wrote:

Alex Kilgore wrote:

Robert C Corsaro wrote:
 
How hard would it be to make wmii assign different tags to different 
screens?  I would guess the real problem would start when you move a 
window from one screen to the next.  It would have to change tags 
too.. :P

Hmm, not only that, but if the window was floating, and half on one 
screen and half on the other, it would have to have both tags? ..or 
would it have just one? interesting thought though...

Alex

  

I don't use floating windows ;)



Niether do i usually, just pointing something out =]



Re: [wmii] Separate Wmii instances on Matrox Millennium G450 DualHead

2009-05-18 Thread Christian G. Warden
On Mon, May 18, 2009 at 03:51:56PM -0400, Robert C Corsaro wrote:
> Christian G. Warden wrote:
>> On Mon, May 18, 2009 at 12:15:56PM -0400, Kris Maglione wrote:
>>   
>>> On Mon, May 18, 2009 at 12:12:37PM -0400, Bryan Peters wrote:
>>> 
 Not quite sure what i'm doing wrong here. I want 2 separate instances
 of wmii running on my dual monitor setup. I'm not concerned about
 dragging windows from screen to screen, but I am concerned with each x
 server being able to accept my mouse and keyboard commands.
[...]
>>> wmii supports Xinerama. Is there some reason you can't use it instead? 
>>> There used to be some measures in place to ensure that two instances 
>>> would cooperate, but since that setup doesn't get much use any more, 
>>> they may have faded away a bit.
>>> 
>>
>> I tried upgrading my two-screen (no Xinerama) setup to hg a couple
>> days ago, and wmii would die when trying to start the second instance
>> on the second screen.  I didn't have time to troubleshoot much, so I'm
>> stuck on my ancient version of wmii for now.
[...]
> I would guess that it's trying to bind on the same socket.  Try manually  
> setting the WMII_ADDRESS.

Thanks for the tip, but no luck running
WMII_ADDRESS='unix!/tmp/ns.cwarden.:0.1/wmii' DISPLAY=:0.1 wmii

The two processes are binding to the right sockets, but I'm not sure
how to debug further.

...
20498 connect(3, {sa_family=AF_FILE, path="/tmp/ns.cwarden.:0.1/wmii"}, 27) = 0
20498 write(3, "\23\0\0\0d\377\377\0 \0\0\6\0009P2000", 19) = 19
20498 read(3,  
20494 wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, {ru_utime={0, 0}, 
ru_stime={0, 4000}, ...}) = 20497
20494 wait4(-1,  
20407 <... select resumed> )= 1 (in [3])
20407 read(3, "", 4096) = 0
20407 write(2, "XIO:  fatal IO error 11 (Resourc"..., 79) = 79
20407 --- SIGTERM (Terminated) @ 0 (0) ---
20407 rt_sigaction(SIGTERM, {SIG_DFL}, NULL, 8) = 0
20407 rt_sigaction(SIGALRM, {0x805bded, [], 0}, NULL, 8) = 0
20407 alarm(1)  = 0
20407 sigreturn()   = ? (mask now [])
20407 write(2, "  after 42 requests (38 know"..., 71) = -1 EPIPE (Broken 
pipe)
20407 --- SIGPIPE (Broken pipe) @ 0 (0) ---
20407 exit_group(1) = ?
20454 <... read resumed> "", 1) = 0
20454 select(4, [3], [3], NULL, NULL)   = 2 (in [3], out [3])
20454 read(3, "", 4096) = 0
20454 write(2, "XIO:  fatal IO error 11 (Resourc"..., 79) = -1 EPIPE (Broken 
pipe)
20454 --- SIGPIPE (Broken pipe) @ 0 (0) ---
20454 write(2, "  after 11 requests (7 known"..., 70) = -1 EPIPE (Broken 
pipe)
20454 --- SIGPIPE (Broken pipe) @ 0 (0) ---
20454 exit_group(1) = ?
20498 <... read resumed> 0x9fd1740, 4)  = -1 ECONNRESET (Connection reset by 
peer)
...

...
20500 connect(3, {sa_family=AF_FILE, path="/tmp/ns.cwarden.:0/wmii"}, 25) = 0
20500 write(3, "\23\0\0\0d\377\377\0 \0\0\6\0009P2000", 19) = 19
20500 read(3,  
20416 <... select resumed> )= 1 (in [3])
20416 read(3, 0x808c060, 4096)  = -1 ECONNRESET (Connection reset by 
peer)
20416 write(2, "XIO:  fatal IO error 104 (Connec"..., 72) = 72
20416 write(2, "  after 99 requests (98 know"..., 71) = 71
20416 exit_group(1) = ?
20444 <... read resumed> "", 1) = 0
20444 select(4, [3], [3], NULL, NULL)   = 1 (out [3])
20444 writev(3, [{"*\1\3\0\1\0\0\0\0\0\0\0<\0\2\0\0\0`\1<\0\2\0\1\0`\1+\2"..., 
32}, {NULL, 0}, {"", 0}], 3) = 32
20444 select(4, [3], [], NULL, NULL)= 1 (in [3])
20444 read(3, 0x8099a50, 4096)  = -1 ECONNRESET (Connection reset by 
peer)
20444 write(2, "XIO:  fatal IO error 104 (Connec"..., 72) = 72
20444 write(2, "  after 11 requests (7 known"..., 70) = 70
20444 exit_group(1) = ?
20500 <... read resumed> 0x8b21590, 4)  = -1 ECONNRESET (Connection reset by 
peer)
20500 read(3, "", 5)= 0
20500 shutdown(3, 2 /* send and receive */) = 0
20500 close(3)  = 0
20500 write(2, "wmiir: fatal: can\'t mount: unexp"..., 43) = 43
20500 exit_group(1) = ?
...



Re: [wmii] Separate Wmii instances on Matrox Millennium G450 DualHead

2009-05-18 Thread Bryan Peters
ah! much thanks

On Mon, May 18, 2009 at 4:14 PM, Alex Kilgore  wrote:
>
> Bryan Peters wrote:
>>
>> Excuse my ignorance here, but how do I go about pulling files from
>> there and getting them installed?
>>
> install mercurial via whatever you use to install software packages, then
> run
>
> hg clone http://code.suckless.org/hg/wmii
>
> cd to the newly created wmii directory,
> make && make install from there
> Alex
>
>



Re: [wmii] Separate Wmii instances on Matrox Millennium G450 DualHead

2009-05-18 Thread Alex Kilgore


Bryan Peters wrote:

Excuse my ignorance here, but how do I go about pulling files from
there and getting them installed?

install mercurial via whatever you use to install software packages, 
then run


hg clone http://code.suckless.org/hg/wmii

cd to the newly created wmii directory,
make && make install from there
Alex



Re: [wmii] Separate Wmii instances on Matrox Millennium G450 DualHead

2009-05-18 Thread Bryan Peters
Excuse my ignorance here, but how do I go about pulling files from
there and getting them installed?

Also, I looked here:  http://code.suckless.org/dl/wmii/

and was kinda confused about the naming scheme of the files versus the
modification dates.  It also seems the xpi ones won't compile on my
system, it's complaining about lacking of 64 bit files, so I guess the
xpi branch is for x86_64 only?

On Mon, May 18, 2009 at 12:30 PM, Alex Kilgore  wrote:
> I am using the latest tip, wmii-hg2454
> from the repo at
> http://code.suckless.org/hg/wmii
> Alex
>
> Thomas Gallen wrote:
>>
>> That's strange. On my dual head setup each screen is separated by the
>> unmovable center line like I'd expect it to. Windows don't stretch
>> across the whole screen like they used to on older versions of Wmii.
>> Only across the screen on which they appear (initially).
>>
>> However, the idea of having different tags per screen has been attractive
>> to others on this mailing list before. Curious, what version of Wmii are
>> you using?
>>
>> Thomas
>>
>> On Mon, May 18, 2009 at 12:19:22PM -0400, Bryan Peters wrote:
>>>
>>> I honestly don't like the way it plays with Xinerama turned on.
>>> Windows auto stretch across both monitors and won't stick to one
>>> monitor.  Also the idea of having to windows with their individual
>>> tagging is appealing.   I initially got the idea from here:
>>>
>>> http://osdir.com/ml/window-managers.wmii/2007-10/msg00050.html
>>>
>>> But that was 2 years ago I guess.
>>>
>>> On Mon, May 18, 2009 at 12:15 PM, Kris Maglione 
>>> wrote:

 On Mon, May 18, 2009 at 12:12:37PM -0400, Bryan Peters wrote:
>
> Not quite sure what i'm doing wrong here. I want 2 separate instances
> of wmii running on my dual monitor setup. I'm not concerned about
> dragging windows from screen to screen, but I am concerned with each x
> server being able to accept my mouse and keyboard commands.
>
> It seems no matter what I do, my Secondary screen on the right of me
> can interact fully with my mouse and keyboard, but the primary screen
> in front of me can only interact with the mouse. It will not accept
> any keyboard commands. And while the mouse can be dragged over to that
> screen, it will not click on 'nil'. Mod+P doesn't work on the primary
> screen to bring up dmenu, I can't open a terminal there, nothing.

 wmii supports Xinerama. Is there some reason you can't use it instead?
 There
 used to be some measures in place to ensure that two instances would
 cooperate, but since that setup doesn't get much use any more, they may
 have
 faded away a bit.

 --
 Kris Maglione

 It is best to read the weather forecast before praying for rain.
       --Mark Twain



>>
>>
>
>
>
>



Re: [wmii] Separate Wmii instances on Matrox Millennium G450 DualHead

2009-05-18 Thread Robert C Corsaro

Christian G. Warden wrote:

On Mon, May 18, 2009 at 12:15:56PM -0400, Kris Maglione wrote:
  

On Mon, May 18, 2009 at 12:12:37PM -0400, Bryan Peters wrote:


Not quite sure what i'm doing wrong here. I want 2 separate instances
of wmii running on my dual monitor setup. I'm not concerned about
dragging windows from screen to screen, but I am concerned with each x
server being able to accept my mouse and keyboard commands.

It seems no matter what I do, my Secondary screen on the right of me
can interact fully with my mouse and keyboard, but the primary screen
in front of me can only interact with the mouse. It will not accept
any keyboard commands. And while the mouse can be dragged over to that
screen, it will not click on 'nil'. Mod+P doesn't work on the primary
screen to bring up dmenu, I can't open a terminal there, nothing.
  
wmii supports Xinerama. Is there some reason you can't use it instead? 
There used to be some measures in place to ensure that two instances would 
cooperate, but since that setup doesn't get much use any more, they may 
have faded away a bit.



I tried upgrading my two-screen (no Xinerama) setup to hg a couple
days ago, and wmii would die when trying to start the second instance
on the second screen.  I didn't have time to troubleshoot much, so I'm
stuck on my ancient version of wmii for now.

I haven't tried Xinerama yet, but not having separate tags per screen
is probably the biggest reason not to switch to Xinerama.  Not being
able to change resolution of one of my screens (assuming Wikipedia is
correct about this) when switching from a monitor to a projector would
be another smaller annoyance.

Christian

  
I would guess that it's trying to bind on the same socket.  Try manually 
setting the WMII_ADDRESS.




Re: [wmii] Separate Wmii instances on Matrox Millennium G450 DualHead

2009-05-18 Thread Christian G. Warden
On Mon, May 18, 2009 at 12:15:56PM -0400, Kris Maglione wrote:
> On Mon, May 18, 2009 at 12:12:37PM -0400, Bryan Peters wrote:
>> Not quite sure what i'm doing wrong here. I want 2 separate instances
>> of wmii running on my dual monitor setup. I'm not concerned about
>> dragging windows from screen to screen, but I am concerned with each x
>> server being able to accept my mouse and keyboard commands.
>>
>> It seems no matter what I do, my Secondary screen on the right of me
>> can interact fully with my mouse and keyboard, but the primary screen
>> in front of me can only interact with the mouse. It will not accept
>> any keyboard commands. And while the mouse can be dragged over to that
>> screen, it will not click on 'nil'. Mod+P doesn't work on the primary
>> screen to bring up dmenu, I can't open a terminal there, nothing.
>
> wmii supports Xinerama. Is there some reason you can't use it instead? 
> There used to be some measures in place to ensure that two instances would 
> cooperate, but since that setup doesn't get much use any more, they may 
> have faded away a bit.

I tried upgrading my two-screen (no Xinerama) setup to hg a couple
days ago, and wmii would die when trying to start the second instance
on the second screen.  I didn't have time to troubleshoot much, so I'm
stuck on my ancient version of wmii for now.

I haven't tried Xinerama yet, but not having separate tags per screen
is probably the biggest reason not to switch to Xinerama.  Not being
able to change resolution of one of my screens (assuming Wikipedia is
correct about this) when switching from a monitor to a projector would
be another smaller annoyance.

Christian



Re: [wmii] Separate Wmii instances on Matrox Millennium G450 DualHead

2009-05-18 Thread Robert C Corsaro

Alex Kilgore wrote:

Robert C Corsaro wrote:
  
How hard would it be to make wmii assign different tags to different 
screens?  I would guess the real problem would start when you move a 
window from one screen to the next.  It would have to change tags too.. :P

Hmm, not only that, but if the window was floating, and half on one 
screen and half on the other, it would have to have both tags? ..or 
would it have just one? interesting thought though...

Alex

  
But I would say, wherever the mouse lands, that is the tag it has and 
it's "hanging" over the edge.




Re: [wmii] Separate Wmii instances on Matrox Millennium G450 DualHead

2009-05-18 Thread Robert C Corsaro

Alex Kilgore wrote:

Robert C Corsaro wrote:
  
How hard would it be to make wmii assign different tags to different 
screens?  I would guess the real problem would start when you move a 
window from one screen to the next.  It would have to change tags too.. :P

Hmm, not only that, but if the window was floating, and half on one 
screen and half on the other, it would have to have both tags? ..or 
would it have just one? interesting thought though...

Alex

  

I don't use floating windows ;)



Re: [wmii] Separate Wmii instances on Matrox Millennium G450 DualHead

2009-05-18 Thread Alex Kilgore

Robert C Corsaro wrote:
How hard would it be to make wmii assign different tags to different 
screens?  I would guess the real problem would start when you move a 
window from one screen to the next.  It would have to change tags too.. :P
Hmm, not only that, but if the window was floating, and half on one 
screen and half on the other, it would have to have both tags? ..or 
would it have just one? interesting thought though...

Alex



Re: [wmii] Separate Wmii instances on Matrox Millennium G450 DualHead

2009-05-18 Thread Robert C Corsaro
How hard would it be to make wmii assign different tags to different 
screens?  I would guess the real problem would start when you move a 
window from one screen to the next.  It would have to change tags too.. :P


Bryan Peters wrote:

 ah thanks Alex, I'll try the latest and greatest.  Thanks everyone
for your assistance.

On Mon, May 18, 2009 at 12:36 PM, Alex Kilgore  wrote:
  

You would have to try a later version, 3.6 did not support xinerama, as it
is quite old, the support came much later.

Bryan Peters wrote:


3.6 in Ubuntu 8.04. �I tried it out on a single monitor on arch over
the weekend and liked it and thought it would be great to use at work.

On Mon, May 18, 2009 at 12:26 PM, Thomas Gallen 
wrote:
  

That's strange. On my dual head setup each screen is separated by the
unmovable center line like I'd expect it to. Windows don't stretch
across the whole screen like they used to on older versions of Wmii.
Only across the screen on which they appear (initially).

However, the idea of having different tags per screen has been attractive
to others on this mailing list before. Curious, what version of Wmii are
you using?

Thomas

On Mon, May 18, 2009 at 12:19:22PM -0400, Bryan Peters wrote:


I honestly don't like the way it plays with Xinerama turned on.
Windows auto stretch across both monitors and won't stick to one
monitor. �Also the idea of having to windows with their individual
tagging is appealing. � I initially got the idea from here:

http://osdir.com/ml/window-managers.wmii/2007-10/msg00050.html

But that was 2 years ago I guess.

On Mon, May 18, 2009 at 12:15 PM, Kris Maglione 
wrote:
  

On Mon, May 18, 2009 at 12:12:37PM -0400, Bryan Peters wrote:


Not quite sure what i'm doing wrong here. I want 2 separate instances
of wmii running on my dual monitor setup. I'm not concerned about
dragging windows from screen to screen, but I am concerned with each x
server being able to accept my mouse and keyboard commands.

It seems no matter what I do, my Secondary screen on the right of me
can interact fully with my mouse and keyboard, but the primary screen
in front of me can only interact with the mouse. It will not accept
any keyboard commands. And while the mouse can be dragged over to that
screen, it will not click on 'nil'. Mod+P doesn't work on the primary
screen to bring up dmenu, I can't open a terminal there, nothing.
  

wmii supports Xinerama. Is there some reason you can't use it instead?
There
used to be some measures in place to ensure that two instances would
cooperate, but since that setup doesn't get much use any more, they may
have
faded away a bit.

--
Kris Maglione

It is best to read the weather forecast before praying for rain.
� � � --Mark Twain




  





  





Re: [wmii] Separate Wmii instances on Matrox Millennium G450 DualHead

2009-05-18 Thread Bryan Peters
 ah thanks Alex, I'll try the latest and greatest.  Thanks everyone
for your assistance.

On Mon, May 18, 2009 at 12:36 PM, Alex Kilgore  wrote:
> You would have to try a later version, 3.6 did not support xinerama, as it
> is quite old, the support came much later.
>
> Bryan Peters wrote:
>>
>> 3.6 in Ubuntu 8.04.  I tried it out on a single monitor on arch over
>> the weekend and liked it and thought it would be great to use at work.
>>
>> On Mon, May 18, 2009 at 12:26 PM, Thomas Gallen 
>> wrote:
>>>
>>> That's strange. On my dual head setup each screen is separated by the
>>> unmovable center line like I'd expect it to. Windows don't stretch
>>> across the whole screen like they used to on older versions of Wmii.
>>> Only across the screen on which they appear (initially).
>>>
>>> However, the idea of having different tags per screen has been attractive
>>> to others on this mailing list before. Curious, what version of Wmii are
>>> you using?
>>>
>>> Thomas
>>>
>>> On Mon, May 18, 2009 at 12:19:22PM -0400, Bryan Peters wrote:

 I honestly don't like the way it plays with Xinerama turned on.
 Windows auto stretch across both monitors and won't stick to one
 monitor.  Also the idea of having to windows with their individual
 tagging is appealing.   I initially got the idea from here:

 http://osdir.com/ml/window-managers.wmii/2007-10/msg00050.html

 But that was 2 years ago I guess.

 On Mon, May 18, 2009 at 12:15 PM, Kris Maglione 
 wrote:
>
> On Mon, May 18, 2009 at 12:12:37PM -0400, Bryan Peters wrote:
>>
>> Not quite sure what i'm doing wrong here. I want 2 separate instances
>> of wmii running on my dual monitor setup. I'm not concerned about
>> dragging windows from screen to screen, but I am concerned with each x
>> server being able to accept my mouse and keyboard commands.
>>
>> It seems no matter what I do, my Secondary screen on the right of me
>> can interact fully with my mouse and keyboard, but the primary screen
>> in front of me can only interact with the mouse. It will not accept
>> any keyboard commands. And while the mouse can be dragged over to that
>> screen, it will not click on 'nil'. Mod+P doesn't work on the primary
>> screen to bring up dmenu, I can't open a terminal there, nothing.
>
> wmii supports Xinerama. Is there some reason you can't use it instead?
> There
> used to be some measures in place to ensure that two instances would
> cooperate, but since that setup doesn't get much use any more, they may
> have
> faded away a bit.
>
> --
> Kris Maglione
>
> It is best to read the weather forecast before praying for rain.
>       --Mark Twain
>
>
>
>>>
>>
>>
>
>
>



Re: [wmii] Separate Wmii instances on Matrox Millennium G450 DualHead

2009-05-18 Thread Robert C Corsaro

Bryan Peters wrote:

Not quite sure what i'm doing wrong here. I want 2 separate instances
of wmii running on my dual monitor setup. I'm not concerned about
dragging windows from screen to screen, but I am concerned with each x
server being able to accept my mouse and keyboard commands.

It seems no matter what I do, my Secondary screen on the right of me
can interact fully with my mouse and keyboard, but the primary screen
in front of me can only interact with the mouse. It will not accept
any keyboard commands. And while the mouse can be dragged over to that
screen, it will not click on 'nil'. Mod+P doesn't work on the primary
screen to bring up dmenu, I can't open a terminal there, nothing.

I've created an ~/.xinitrc file and placed the following in it:
  


[snip]

I have a similar setup here.  I am using ruby-wmii and have these 
bindings setup:


 binding("switch-screen-right", "MODKEY-Shift-comma") do |wmii|
   `bash -c 'DISPLAY=:0.0 swarp 1 1'`
 end
 binding("switch-screen-left", "MODKEY-Shift-period") do |wmii|
   `bash -c 'DISPLAY=:0.1 swarp 1 1'`
 end


You can do the same with whatever wmiirc you use.  You will need swarp 
installed.   It still has some glitches that I haven't worked out.  When 
switching screens, the active window doesn't get the keyboard input 
until I cycle (alt-j, alt-k).  It's second nature to me now, but I wish 
it worked.  also, if you ever get stuck with keys going to the wrong 
screen, click the menu bar and get a dialog to pop up, this seems to 
force the keyboard input to redirect to the proper screen.




Re: [wmii] Separate Wmii instances on Matrox Millennium G450 DualHead

2009-05-18 Thread Alex Kilgore
You would have to try a later version, 3.6 did not support xinerama, as 
it is quite old, the support came much later.


Bryan Peters wrote:

3.6 in Ubuntu 8.04.  I tried it out on a single monitor on arch over
the weekend and liked it and thought it would be great to use at work.

On Mon, May 18, 2009 at 12:26 PM, Thomas Gallen  wrote:

That's strange. On my dual head setup each screen is separated by the
unmovable center line like I'd expect it to. Windows don't stretch
across the whole screen like they used to on older versions of Wmii.
Only across the screen on which they appear (initially).

However, the idea of having different tags per screen has been attractive
to others on this mailing list before. Curious, what version of Wmii are
you using?

Thomas

On Mon, May 18, 2009 at 12:19:22PM -0400, Bryan Peters wrote:

I honestly don't like the way it plays with Xinerama turned on.
Windows auto stretch across both monitors and won't stick to one
monitor.  Also the idea of having to windows with their individual
tagging is appealing.   I initially got the idea from here:

http://osdir.com/ml/window-managers.wmii/2007-10/msg00050.html

But that was 2 years ago I guess.

On Mon, May 18, 2009 at 12:15 PM, Kris Maglione  wrote:

On Mon, May 18, 2009 at 12:12:37PM -0400, Bryan Peters wrote:

Not quite sure what i'm doing wrong here. I want 2 separate instances
of wmii running on my dual monitor setup. I'm not concerned about
dragging windows from screen to screen, but I am concerned with each x
server being able to accept my mouse and keyboard commands.

It seems no matter what I do, my Secondary screen on the right of me
can interact fully with my mouse and keyboard, but the primary screen
in front of me can only interact with the mouse. It will not accept
any keyboard commands. And while the mouse can be dragged over to that
screen, it will not click on 'nil'. Mod+P doesn't work on the primary
screen to bring up dmenu, I can't open a terminal there, nothing.

wmii supports Xinerama. Is there some reason you can't use it instead? There
used to be some measures in place to ensure that two instances would
cooperate, but since that setup doesn't get much use any more, they may have
faded away a bit.

--
Kris Maglione

It is best to read the weather forecast before praying for rain.
   --Mark Twain













Re: [wmii] Separate Wmii instances on Matrox Millennium G450 DualHead

2009-05-18 Thread Bryan Peters
3.6 in Ubuntu 8.04.  I tried it out on a single monitor on arch over
the weekend and liked it and thought it would be great to use at work.

On Mon, May 18, 2009 at 12:26 PM, Thomas Gallen  wrote:
> That's strange. On my dual head setup each screen is separated by the
> unmovable center line like I'd expect it to. Windows don't stretch
> across the whole screen like they used to on older versions of Wmii.
> Only across the screen on which they appear (initially).
>
> However, the idea of having different tags per screen has been attractive
> to others on this mailing list before. Curious, what version of Wmii are
> you using?
>
> Thomas
>
> On Mon, May 18, 2009 at 12:19:22PM -0400, Bryan Peters wrote:
>> I honestly don't like the way it plays with Xinerama turned on.
>> Windows auto stretch across both monitors and won't stick to one
>> monitor.  Also the idea of having to windows with their individual
>> tagging is appealing.   I initially got the idea from here:
>>
>> http://osdir.com/ml/window-managers.wmii/2007-10/msg00050.html
>>
>> But that was 2 years ago I guess.
>>
>> On Mon, May 18, 2009 at 12:15 PM, Kris Maglione  wrote:
>> > On Mon, May 18, 2009 at 12:12:37PM -0400, Bryan Peters wrote:
>> >>
>> >> Not quite sure what i'm doing wrong here. I want 2 separate instances
>> >> of wmii running on my dual monitor setup. I'm not concerned about
>> >> dragging windows from screen to screen, but I am concerned with each x
>> >> server being able to accept my mouse and keyboard commands.
>> >>
>> >> It seems no matter what I do, my Secondary screen on the right of me
>> >> can interact fully with my mouse and keyboard, but the primary screen
>> >> in front of me can only interact with the mouse. It will not accept
>> >> any keyboard commands. And while the mouse can be dragged over to that
>> >> screen, it will not click on 'nil'. Mod+P doesn't work on the primary
>> >> screen to bring up dmenu, I can't open a terminal there, nothing.
>> >
>> > wmii supports Xinerama. Is there some reason you can't use it instead? 
>> > There
>> > used to be some measures in place to ensure that two instances would
>> > cooperate, but since that setup doesn't get much use any more, they may 
>> > have
>> > faded away a bit.
>> >
>> > --
>> > Kris Maglione
>> >
>> > It is best to read the weather forecast before praying for rain.
>> >        --Mark Twain
>> >
>> >
>> >
>>
>
>



Re: [wmii] Separate Wmii instances on Matrox Millennium G450 DualHead

2009-05-18 Thread Alex Kilgore

I am using the latest tip, wmii-hg2454
from the repo at
http://code.suckless.org/hg/wmii
Alex

Thomas Gallen wrote:

That's strange. On my dual head setup each screen is separated by the
unmovable center line like I'd expect it to. Windows don't stretch
across the whole screen like they used to on older versions of Wmii.
Only across the screen on which they appear (initially).

However, the idea of having different tags per screen has been attractive
to others on this mailing list before. Curious, what version of Wmii are
you using?

Thomas

On Mon, May 18, 2009 at 12:19:22PM -0400, Bryan Peters wrote:

I honestly don't like the way it plays with Xinerama turned on.
Windows auto stretch across both monitors and won't stick to one
monitor.  Also the idea of having to windows with their individual
tagging is appealing.   I initially got the idea from here:

http://osdir.com/ml/window-managers.wmii/2007-10/msg00050.html

But that was 2 years ago I guess.

On Mon, May 18, 2009 at 12:15 PM, Kris Maglione  wrote:

On Mon, May 18, 2009 at 12:12:37PM -0400, Bryan Peters wrote:

Not quite sure what i'm doing wrong here. I want 2 separate instances
of wmii running on my dual monitor setup. I'm not concerned about
dragging windows from screen to screen, but I am concerned with each x
server being able to accept my mouse and keyboard commands.

It seems no matter what I do, my Secondary screen on the right of me
can interact fully with my mouse and keyboard, but the primary screen
in front of me can only interact with the mouse. It will not accept
any keyboard commands. And while the mouse can be dragged over to that
screen, it will not click on 'nil'. Mod+P doesn't work on the primary
screen to bring up dmenu, I can't open a terminal there, nothing.

wmii supports Xinerama. Is there some reason you can't use it instead? There
used to be some measures in place to ensure that two instances would
cooperate, but since that setup doesn't get much use any more, they may have
faded away a bit.

--
Kris Maglione

It is best to read the weather forecast before praying for rain.
   --Mark Twain












Re: [wmii] Separate Wmii instances on Matrox Millennium G450 DualHead

2009-05-18 Thread Thomas Gallen
That's strange. On my dual head setup each screen is separated by the
unmovable center line like I'd expect it to. Windows don't stretch
across the whole screen like they used to on older versions of Wmii.
Only across the screen on which they appear (initially).

However, the idea of having different tags per screen has been attractive
to others on this mailing list before. Curious, what version of Wmii are
you using?

Thomas

On Mon, May 18, 2009 at 12:19:22PM -0400, Bryan Peters wrote:
> I honestly don't like the way it plays with Xinerama turned on.
> Windows auto stretch across both monitors and won't stick to one
> monitor.  Also the idea of having to windows with their individual
> tagging is appealing.   I initially got the idea from here:
> 
> http://osdir.com/ml/window-managers.wmii/2007-10/msg00050.html
> 
> But that was 2 years ago I guess.
> 
> On Mon, May 18, 2009 at 12:15 PM, Kris Maglione  wrote:
> > On Mon, May 18, 2009 at 12:12:37PM -0400, Bryan Peters wrote:
> >>
> >> Not quite sure what i'm doing wrong here. I want 2 separate instances
> >> of wmii running on my dual monitor setup. I'm not concerned about
> >> dragging windows from screen to screen, but I am concerned with each x
> >> server being able to accept my mouse and keyboard commands.
> >>
> >> It seems no matter what I do, my Secondary screen on the right of me
> >> can interact fully with my mouse and keyboard, but the primary screen
> >> in front of me can only interact with the mouse. It will not accept
> >> any keyboard commands. And while the mouse can be dragged over to that
> >> screen, it will not click on 'nil'. Mod+P doesn't work on the primary
> >> screen to bring up dmenu, I can't open a terminal there, nothing.
> >
> > wmii supports Xinerama. Is there some reason you can't use it instead? There
> > used to be some measures in place to ensure that two instances would
> > cooperate, but since that setup doesn't get much use any more, they may have
> > faded away a bit.
> >
> > --
> > Kris Maglione
> >
> > It is best to read the weather forecast before praying for rain.
> >        --Mark Twain
> >
> >
> >
> 



Re: [wmii] Separate Wmii instances on Matrox Millennium G450 DualHead

2009-05-18 Thread Alex Kilgore
as i recall, wmii does not stretch windows across both monitors in 
xrandr / xinerama, it did that when it was not supported, it is 
supported in the releases from the mercurial repo

 Alex


Bryan Peters wrote:

I honestly don't like the way it plays with Xinerama turned on.
Windows auto stretch across both monitors and won't stick to one
monitor.  Also the idea of having to windows with their individual
tagging is appealing.   I initially got the idea from here:

http://osdir.com/ml/window-managers.wmii/2007-10/msg00050.html

But that was 2 years ago I guess.

On Mon, May 18, 2009 at 12:15 PM, Kris Maglione  wrote:

On Mon, May 18, 2009 at 12:12:37PM -0400, Bryan Peters wrote:

Not quite sure what i'm doing wrong here. I want 2 separate instances
of wmii running on my dual monitor setup. I'm not concerned about
dragging windows from screen to screen, but I am concerned with each x
server being able to accept my mouse and keyboard commands.

It seems no matter what I do, my Secondary screen on the right of me
can interact fully with my mouse and keyboard, but the primary screen
in front of me can only interact with the mouse. It will not accept
any keyboard commands. And while the mouse can be dragged over to that
screen, it will not click on 'nil'. Mod+P doesn't work on the primary
screen to bring up dmenu, I can't open a terminal there, nothing.

wmii supports Xinerama. Is there some reason you can't use it instead? There
used to be some measures in place to ensure that two instances would
cooperate, but since that setup doesn't get much use any more, they may have
faded away a bit.

--
Kris Maglione

It is best to read the weather forecast before praying for rain.
   --Mark Twain











Re: [wmii] Separate Wmii instances on Matrox Millennium G450 DualHead

2009-05-18 Thread Bryan Peters
I honestly don't like the way it plays with Xinerama turned on.
Windows auto stretch across both monitors and won't stick to one
monitor.  Also the idea of having to windows with their individual
tagging is appealing.   I initially got the idea from here:

http://osdir.com/ml/window-managers.wmii/2007-10/msg00050.html

But that was 2 years ago I guess.

On Mon, May 18, 2009 at 12:15 PM, Kris Maglione  wrote:
> On Mon, May 18, 2009 at 12:12:37PM -0400, Bryan Peters wrote:
>>
>> Not quite sure what i'm doing wrong here. I want 2 separate instances
>> of wmii running on my dual monitor setup. I'm not concerned about
>> dragging windows from screen to screen, but I am concerned with each x
>> server being able to accept my mouse and keyboard commands.
>>
>> It seems no matter what I do, my Secondary screen on the right of me
>> can interact fully with my mouse and keyboard, but the primary screen
>> in front of me can only interact with the mouse. It will not accept
>> any keyboard commands. And while the mouse can be dragged over to that
>> screen, it will not click on 'nil'. Mod+P doesn't work on the primary
>> screen to bring up dmenu, I can't open a terminal there, nothing.
>
> wmii supports Xinerama. Is there some reason you can't use it instead? There
> used to be some measures in place to ensure that two instances would
> cooperate, but since that setup doesn't get much use any more, they may have
> faded away a bit.
>
> --
> Kris Maglione
>
> It is best to read the weather forecast before praying for rain.
>        --Mark Twain
>
>
>



Re: [wmii] Separate Wmii instances on Matrox Millennium G450 DualHead

2009-05-18 Thread Kris Maglione

On Mon, May 18, 2009 at 12:12:37PM -0400, Bryan Peters wrote:

Not quite sure what i'm doing wrong here. I want 2 separate instances
of wmii running on my dual monitor setup. I'm not concerned about
dragging windows from screen to screen, but I am concerned with each x
server being able to accept my mouse and keyboard commands.

It seems no matter what I do, my Secondary screen on the right of me
can interact fully with my mouse and keyboard, but the primary screen
in front of me can only interact with the mouse. It will not accept
any keyboard commands. And while the mouse can be dragged over to that
screen, it will not click on 'nil'. Mod+P doesn't work on the primary
screen to bring up dmenu, I can't open a terminal there, nothing.


wmii supports Xinerama. Is there some reason you can't use it 
instead? There used to be some measures in place to ensure that 
two instances would cooperate, but since that setup doesn't get 
much use any more, they may have faded away a bit.


--
Kris Maglione

It is best to read the weather forecast before praying for rain.
--Mark Twain




[wmii] Separate Wmii instances on Matrox Millennium G450 DualHead

2009-05-18 Thread Bryan Peters
Not quite sure what i'm doing wrong here. I want 2 separate instances
of wmii running on my dual monitor setup. I'm not concerned about
dragging windows from screen to screen, but I am concerned with each x
server being able to accept my mouse and keyboard commands.

It seems no matter what I do, my Secondary screen on the right of me
can interact fully with my mouse and keyboard, but the primary screen
in front of me can only interact with the mouse. It will not accept
any keyboard commands. And while the mouse can be dragged over to that
screen, it will not click on 'nil'. Mod+P doesn't work on the primary
screen to bring up dmenu, I can't open a terminal there, nothing.

I've created an ~/.xinitrc file and placed the following in it:


DISPLAY=:0.0 wmii &
DISPLAY=:0.1 exec wmii

I've played with it and changed it around a few times:
Code:

DISPLAY=:0.0 wmii &
DISPLAY=:0.1 exec wmii &

and this:

DISPLAY=:0.0 wmii &
DISPLAY=:0.1 wmii &

but those didn't work either.

Here's the relevant parts of my /etc/X11/xorg.conf



Section "InputDevice"
   Identifier"Generic Keyboard"
   Driver"kbd"
   Option"XkbRules""xorg"
   Option"XkbModel""pc105"
   Option"XkbLayout""us"
EndSection

Section "InputDevice"
   Identifier"Configured Mouse"
   Driver"mouse"
   Option"CorePointer"
EndSection

Section "Device"
   Identifier"0 Matrox Millenium G450 DualHead"
   Driver"mga"
   BusID"PCI:1:0:0"
   Screen0
   Option"DDCMode""True"
   Option "AGPMode" "4"
EndSection

Section "Device"
   Identifier"1 Matrox Millenium G450 DualHead"
   Driver"mga"
   BusID"PCI:1:0:0"
   Screen1
   Option"DDCMode""True"
   Option "AGPMode" "4"
EndSection

Section "Monitor"
   Identifier"Sun"
   Option"DPMS"
   HorizSync30-121
   VertRefresh48-160
EndSection

Section "Monitor"
   Identifier"N9 LCD"
   Option"DPMS"
   HorizSync30-79
   VertRefresh56-75
EndSection

Section "Screen"
   Identifier"Primary Screen"
   Device"0 Matrox Millenium G450 DualHead"
   Monitor"Sun"
   DefaultDepth24
   SubSection "Display"
   Depth16
   Modes"1280x1024" "1280x960" "1152x864" "1024x768"
"800x600" "640x480"
   EndSubSection
   SubSection "Display"
   Depth24
   Modes"1600x1200" "1280x1024" "1280x960" "1152x864"
"1024x768" "800x600" "640x480"
   EndSubSection
EndSection

Section "Screen"
   Identifier"Secondary Screen"
   Device"1 Matrox Millenium G450 DualHead"
   Monitor"N9 LCD"
   DefaultDepth24
   SubSection "Display"
   Depth16
   Modes"1280x1024" "1280x960" "1152x864" "1024x768"
"800x600" "640x480"
   EndSubSection
   SubSection "Display"
   Depth24
   Modes"1280x1024" "1280x960" "1152x864" "1024x768"
"800x600" "640x480"
   EndSubSection
EndSection

#Section "ServerLayout"
#Identifier"Xinerama Layout"
#Screen0 "Primary Screen"
#Screen1 "Secondary Screen" RightOf "Primary Screen"
#InputDevice"Generic Keyboard"
#InputDevice"Configured Mouse"
#Option"Xinerama" "True"
#EndSection

Section "ServerLayout"
   Identifier "Default Layout"
   Screen 0 "Primary Screen"
   Screen 1 "Secondary Screen" RightOf "Primary Screen"
   InputDevice"Generic Keyboard"
   InputDevice"Configured Mouse"
EndSection

Section "DRI"
   Mode0666
EndSection