The i3 FAQ has migrated to All content here is read-only.
Ask Your Question

i3wm mod4 and xfreerdp

asked 2014-07-11 10:08:38 +0000

mak gravatar image

So I just installed i3wm on ArchLinux and overall I find it quite awesome ;-) There is just one Thing that bugs me, and I can't seem to find a way around it. Frequently I need to use XFreeRDP for work, I have the Modifier set to Mod4(WindowsKey) because I use Emacs, so I can't use ALT. Apparently If I start xfreerdp in fullscreen-mode, I'm not able to quit it or switch workspaces, I'm stuck in the RDP-Session till I log out.

Anybody an Idea for a Workaround to this Problem?

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2014-07-11 14:04:12 +0000

cee gravatar image

updated 2015-02-17 21:06:53 +0000

for rdesktop i can press [Ctrl] + [Alt] + [Enter] to leave fullscreen mode. When rdesktop window is not fullscreen anymore the normal i3 keyboard shortcuts are working.

I guess there must be a shortcut to leave/toggle fullscreen mode for XFreeRDP as well. A quick google search revealed this to try: [Ctrl] + [Alt] + [Break]

edit flag offensive delete link more


you're right this works, thanks ;-)

mak gravatar imagemak ( 2014-07-11 14:10:29 +0000 )edit

answered 2015-02-05 13:43:39 +0000

phealy gravatar image

While this is an old question, I wanted to post my workaround: if you use "-grab-keyboard" as an option to xfreerdp, it will not capture your i3 keyboard shortcuts even in full screen mode. I just remapped a few things to not conflict and can use all of my shortcuts in both rdp and out.

A note, though - if you use an i3 shortcut while in xfreerdp, sometimes it will see the KeyDown on Mod4 but not the KeyUp. If this happens things will get weird, as it will act like you're holding down Mod4 at all times within the session. If this does happen, just tap Mod4 once while in the RDP window and it will go back to normal.

edit flag offensive delete link more

Question Tools


Asked: 2014-07-11 10:08:38 +0000

Seen: 691 times

Last updated: Feb 17