Re: [i3] append layout works from commandline but not from .i3/config

2015-08-25 Thread Michael Stapelberg
On Tue, Aug 25, 2015 at 12:53 PM,  i3.theg...@spamgourmet.com wrote:
 Hello Michael!

 Please don’t break threading in your replies, that makes it hard for
 people to follow the discussion.

 Ups, I'm sorry. It seems that using spamgourmet on the list might not be the
 best idea... I hope, the thread isn't broken this time...?

It’s broken again at least in gmail, and you didn’t have a To: address
set, which mailman didn’t like.



  Hope, that's in one line now:
 
  exec --no-startup-id i3-msg 'workspace $wsp3; append_layout 
  /home/markus/.i3/emacs.json'

 See http://i3wm.org/docs/debugging.html for how to look at i3’s log.
 It should give you some more details about what’s going on.

 Now I had the opportunity to follow those instructions. This is the log:
 http://logs.i3wm.org/logs/5665370564198400.bz2

 I had a look at it - but the data is a bit too much and I couldn't find any
 hint. Maybe you could help me?

 To remind you: the line mentioned above works fine when started from a
 terminal (without exec... of course), but when called from the config file,
 the placeholder for the window to the right of the emacs terminal is 
 missing...

Can you also provide the contents of /home/markus/.i3/emacs.json
please? Also, a screenshot of the working/non-working version would be
helpful.

While you’re at it, please file this as a bug at
https://github.com/i3/i3, so that we have all bugs in one place.
Thanks.


 Thanks for your help!
 (And if the threading is broken again, I'll re-subscribe without spamgourmet)

 cu
 --
 Markus Grunwald
 https://www.the-grue.de

 Fragen zur Mail? https://www.the-grue.de/mail_und_co
 https://www.the-grue.de/~markus/markus_grunwald.gpg



-- 
Best regards,
Michael


Re: [i3] append layout works from commandline, but not from .i3/config

2015-08-11 Thread Michael Stapelberg
On Tue, Aug 11, 2015 at 6:37 PM,  i3.theg...@spamgourmet.com wrote:
 Hello,

 I have a layout stored in emacs.json (attached). When I run this command from
 the commandline, everything works fine:

 markus@haktar % i3-msg 'append_layout /home/markus/.i3/emacs.json'

 But when I run this command from .i3/config, one placeholder is missing: the
 one in the horizontal container next to emacs:

 exec --no-startup-id i3-msg 'workspace $wsp3;
 append_layout /home/markus/.i3/emacs.json'

 What am I doing wrong?

append_layout is a command, not a configuration directive. Just like
the workspace command you are using a line above, you’ll need to use
i3-msg to send it.


 Thanks for your help,
 --
 Markus Grunwald



-- 
Best regards,
Michael