I am using Xephyr as a nested X server. When I am in Xephyr window and pres the key combination Control_L+Shift_L, Xephyr grabs my input (mouse, keyboard). This grab can be released with Control_R+Shift_R, as I have learned here.
The problem is, these key combinations do not work reliably. Sometimes I have to press repeatedly to have any effect. This is very frustrating.
Is there any way to script these key-combinations using some tool such as xdotool? Or any other tool? I would create a script which I could run once I am trapped inside Xephyr and cannot leave.
I have tried the following and that does not work (no effect):
xdotool key Control_L+Alt_L+Shift_L
xdotoolalready. According to its manual,xdotool key Control_L+Alt_L+Shift_Lis supposed to work. – Teresa e Junior Mar 3 '15 at 3:27Ctrl+Alt+Shiftand not onlyCtrl+Shift? What does Xephyr titlebar says? My version saysctrl+shift grabs mouse and keyboard. Where did you get Xephyr from? – Arkadiusz Drabczyk Mar 3 '15 at 16:37ctrl+shiftat the same time, it really works reliably – Arkadiusz Drabczyk Mar 3 '15 at 16:40