The i3 FAQ has migrated to https://github.com/i3/i3/discussions. All content here is read-only.
Ask Your Question
0

How can I pass <meta> key presses to a nested instance of i3

asked 2013-04-19 05:39:20 +0000

stsquad gravatar image

I've been running i3 on my bare-bones VM for development and I'm really liking it. However as I'm mostly working on a remote machine I occasionally need to bring up a minimal VNC session for testing X apps (faster than using the X protocol). It would be nice to run i3 in that session as well but how can I run a nested i3 session? Would I have to make the remote i3 session use a different key modifier or can I configure i3 so when I full-screen my VNC session the modifier key is sent across unmolested?

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
5

answered 2013-04-20 01:14:04 +0000

vandannen gravatar image

Couldn't you just define some kind of pass-through mode in the local i3 instance, which has no keybinding defined except, e.g., escape for switching back to default mode?

edit flag offensive delete link more

Comments

I thought using the modes would be a way. However there doesn't seem to be much documentation other than the resize mode example in the User guide. For one how do I unbind all the existing keys while in the mode?

stsquad gravatar imagestsquad ( 2013-04-23 23:43:23 +0000 )edit

sorry for the late answer. Exisiting keybinding are unbound by default when switching to a mode. So you just need to define the bindings you would like to have. I gave an example for a similar situation here: https://faq.i3wm.org/question/1679/toggle-i3s-listening-behavior/?answer=1681#post-id-1681

vandannen gravatar imagevandannen ( 2013-05-01 12:15:06 +0000 )edit
0

answered 2013-04-19 21:19:46 +0000

joepd gravatar image

Dont think it is possible to do this in a 'nice' way.

You could go for a 'toggle Modifier-key to config file; reload i3'-hotkey on your host. But, assuming you are using ssh to do the X-work, I would have a look at the --compression option to ssh, and, on a trusted network, fiddle around with types of encryption.

edit flag offensive delete link more

Comments

VNC over SSH, although the final bit is X of course there is no X over the network.

stsquad gravatar imagestsquad ( 2013-04-23 23:41:49 +0000 )edit

Question Tools

Stats

Asked: 2013-04-19 05:39:20 +0000

Seen: 562 times

Last updated: Apr 19 '13