[i3] How to move workspace by name to a given named output

2014-09-22 Thread Sargrad, Dave
i3-msg move workspace 6 to output DVI-I-3

I am trying to move a named workspace to a named output. The command above does 
not seem to work. Rather it moves the current window to a new workspace with 
the name 6 to output DVI-I-3

How can I achieve this?

-
This message is intended only for the addressee and may contain information 
that is company confidential or privileged.  Any technical data in this message 
may be exported only in accordance with the U.S. International Traffic in Arms 
Regulations (22 CFR Parts 120-130) or the Export Administration Regulations (15 
CFR Parts 730-774). Unauthorized use is strictly prohibited and may be 
unlawful. If you are not the intended recipient, or the person responsible for 
delivering to the intended recipient, you should not read, copy, disclose or 
otherwise use this message. If you have received this email in error, please 
delete it, and advise the sender immediately. 
-  

[i3] Python save/append layout - toolbar auto-hide bug

2014-09-22 Thread Sargrad, Dave
I have written my own python script to append a workspace layout to a 
workspace. As part of this it also creates the workspace on the fly. The script 
will automatically append a layout to a named workspace and launch applications 
that will get swallowed by that workspace upon launch.

It works fine, except for one small detail. Once the applications get swallowed 
everything looks fine. I see the applications in their proper layout and I see 
the toolbar that shows the workspaces (including the newly created one). 
However as soon as I move the cursor the toolbar disappears (the layout expands 
to cover it). If I kill the applications in that workspace then the toolbar 
becomes visible again.

The layout file is generated by another python script that I created. It mimics 
i3-save-tree (except that it does not have the i3-save-tree bug that I 
mentioned previously).

I'm sure that I'm doing something slightly wrong with the layout file creation. 
Yet as I said this mechanism is almost working perfectly. W

What would cause the toolbar to auto-hide?


-
This message is intended only for the addressee and may contain information 
that is company confidential or privileged.  Any technical data in this message 
may be exported only in accordance with the U.S. International Traffic in Arms 
Regulations (22 CFR Parts 120-130) or the Export Administration Regulations (15 
CFR Parts 730-774). Unauthorized use is strictly prohibited and may be 
unlawful. If you are not the intended recipient, or the person responsible for 
delivering to the intended recipient, you should not read, copy, disclose or 
otherwise use this message. If you have received this email in error, please 
delete it, and advise the sender immediately. 
-  

Re: [i3] How to move workspace by name to a given named output

2014-09-22 Thread Bigby James
On 09/22, Sargrad, Dave wrote:
 i3-msg move workspace 6 to output DVI-I-3
 
 I am trying to move a named workspace to a named output. The command above 
 does not seem to work. Rather it moves the current window to a new workspace 
 with the name 6 to output DVI-I-3
 
 How can I achieve this?
 

Use cardinal directions instead of the output name.[1]

[1]: 
http://i3wm.org/docs/userguide.html#_moving_containers_workspaces_to_randr_outputs

-- 
A common mistake that people make when trying to design something completely
foolproof is to underestimate the ingenuity of complete fools. - Douglas Adams



Re: [i3] How to move workspace by name to a given named output

2014-09-22 Thread Sargrad, Dave
I've also tried this:

i3-msg workspace 5 output DVI-I-3

The following section of the users guide says that should work. However this 
just creates a new workspace with the name 5 output DVI-I-3

4.13. Automatically starting applications on i3 startup
http://i3wm.org/docs/userguide.html


DISPLAY=:0.0 xrandr
Screen 0: minimum 8 x 8, current 2960 x 1050, maximum 8192 x 8192
DVI-I-0 disconnected primary (normal left inverted right x axis y axis)
DVI-I-1 disconnected (normal left inverted right x axis y axis)
TV-0 disconnected (normal left inverted right x axis y axis)
DVI-I-2 connected 1680x1050+1280+0 (normal left inverted right x axis y axis) 
473mm x 296mm
   1680x1050  60.0*+
   1280x1024  75.0 60.0
   1152x864   75.0
   1024x768   75.0 60.0
   800x60075.0 60.3
   640x48075.0 59.9
DVI-I-3 connected 1280x1024+0+0 (normal left inverted right x axis y axis) 
376mm x 301mm
   1280x1024  60.0*+   75.0
   1152x864   75.0
   1024x768   75.0 60.0
   800x60075.0 60.3
   640x48075.0 59.9

-Original Message-
From: Sargrad, Dave 
Sent: Monday, September 22, 2014 8:37 AM
To: i3-discuss@i3.zekjur.net
Subject: How to move workspace by name to a given named output

i3-msg move workspace 6 to output DVI-I-3

I am trying to move a named workspace to a named output. The command above does 
not seem to work. Rather it moves the current window to a new workspace with 
the name 6 to output DVI-I-3

How can I achieve this?

-
This message is intended only for the addressee and may contain information 
that is company confidential or privileged.  Any technical data in this message 
may be exported only in accordance with the U.S. International Traffic in Arms 
Regulations (22 CFR Parts 120-130) or the Export Administration Regulations (15 
CFR Parts 730-774). Unauthorized use is strictly prohibited and may be 
unlawful. If you are not the intended recipient, or the person responsible for 
delivering to the intended recipient, you should not read, copy, disclose or 
otherwise use this message. If you have received this email in error, please 
delete it, and advise the sender immediately. 
-  

Re: [i3] Re-tiling a bunch of windows?

2014-09-22 Thread Sean Reifschneider
On 09/17/14 11:18, Kareem wrote:
 So I guess you've heard about layout saving and restoring?

I just got my system updated to the latest i3, and rebooted to get this and
other updates active.  It works quite well for this need, thanks!

Sean


Re: [i3] How to move workspace by name to a given named output

2014-09-22 Thread Joep van Delft
On Mon, 22 Sep 2014 12:37:20 +
Sargrad, Dave dave.sarg...@saabsensis.com wrote:

 i3-msg move workspace 6 to output DVI-I-3
 (...)
 U.S. International Traffic in Arms Regulations

Maybe inquire the ballistics department? 

Kind regards, 

Joep


Re: [i3] How to move workspace by name to a given named output

2014-09-22 Thread Michael Stapelberg
On Mon, Sep 22, 2014 at 8:49 AM, Sargrad, Dave
dave.sarg...@saabsensis.com wrote:
 I've also tried this:

 i3-msg workspace 5 output DVI-I-3

 The following section of the users guide says that should work. However this 
 just creates a new workspace with the name 5 output DVI-I-3

 4.13. Automatically starting applications on i3 startup
No — section 4 is about configuration, not about commands that you can
send at runtime.

 http://i3wm.org/docs/userguide.html


 DISPLAY=:0.0 xrandr
 Screen 0: minimum 8 x 8, current 2960 x 1050, maximum 8192 x 8192
 DVI-I-0 disconnected primary (normal left inverted right x axis y axis)
 DVI-I-1 disconnected (normal left inverted right x axis y axis)
 TV-0 disconnected (normal left inverted right x axis y axis)
 DVI-I-2 connected 1680x1050+1280+0 (normal left inverted right x axis y axis) 
 473mm x 296mm
1680x1050  60.0*+
1280x1024  75.0 60.0
1152x864   75.0
1024x768   75.0 60.0
800x60075.0 60.3
640x48075.0 59.9
 DVI-I-3 connected 1280x1024+0+0 (normal left inverted right x axis y axis) 
 376mm x 301mm
1280x1024  60.0*+   75.0
1152x864   75.0
1024x768   75.0 60.0
800x60075.0 60.3
640x48075.0 59.9

 -Original Message-
 From: Sargrad, Dave
 Sent: Monday, September 22, 2014 8:37 AM
 To: i3-discuss@i3.zekjur.net
 Subject: How to move workspace by name to a given named output

 i3-msg move workspace 6 to output DVI-I-3

 I am trying to move a named workspace to a named output. The command above 
 does not seem to work. Rather it moves the current window to a new workspace 
 with the name 6 to output DVI-I-3

 How can I achieve this?

 -
 This message is intended only for the addressee and may contain information 
 that is company confidential or privileged.  Any technical data in this 
 message may be exported only in accordance with the U.S. International 
 Traffic in Arms Regulations (22 CFR Parts 120-130) or the Export 
 Administration Regulations (15 CFR Parts 730-774). Unauthorized use is 
 strictly prohibited and may be unlawful. If you are not the intended 
 recipient, or the person responsible for delivering to the intended 
 recipient, you should not read, copy, disclose or otherwise use this message. 
 If you have received this email in error, please delete it, and advise the 
 sender immediately.
 -

-- 
Best regards,
Michael


Re: [i3] Python save/append layout - toolbar auto-hide bug

2014-09-22 Thread Michael Stapelberg
If you can reproduce this, file a bugreport with the layout file
you’re using at http://bugs.i3wm.org/

i3bar is placed in a dock container, perhaps in your situation the
container type is not properly set up…

On Mon, Sep 22, 2014 at 5:44 AM, Sargrad, Dave
dave.sarg...@saabsensis.com wrote:
 I have written my own python script to append a workspace layout to a 
 workspace. As part of this it also creates the workspace on the fly. The 
 script will automatically append a layout to a named workspace and launch 
 applications that will get swallowed by that workspace upon launch.

 It works fine, except for one small detail. Once the applications get 
 swallowed everything looks fine. I see the applications in their proper 
 layout and I see the toolbar that shows the workspaces (including the newly 
 created one). However as soon as I move the cursor the toolbar disappears 
 (the layout expands to cover it). If I kill the applications in that 
 workspace then the toolbar becomes visible again.

 The layout file is generated by another python script that I created. It 
 mimics i3-save-tree (except that it does not have the i3-save-tree bug that I 
 mentioned previously).

 I'm sure that I'm doing something slightly wrong with the layout file 
 creation. Yet as I said this mechanism is almost working perfectly. W

 What would cause the toolbar to auto-hide?


 -
 This message is intended only for the addressee and may contain information 
 that is company confidential or privileged.  Any technical data in this 
 message may be exported only in accordance with the U.S. International 
 Traffic in Arms Regulations (22 CFR Parts 120-130) or the Export 
 Administration Regulations (15 CFR Parts 730-774). Unauthorized use is 
 strictly prohibited and may be unlawful. If you are not the intended 
 recipient, or the person responsible for delivering to the intended 
 recipient, you should not read, copy, disclose or otherwise use this message. 
 If you have received this email in error, please delete it, and advise the 
 sender immediately.
 -



-- 
Best regards,
Michael