[X2Go-User] how to select single display
Ulrich Sibiller
uli42 at gmx.de
Sat Jun 13 23:15:35 CEST 2020
Hello Gian,
I have done some tests with TWO monitors (I don't have more to test)
and it worked fine. But to make it working fine some things need to be
done/taken into account:
1. fix the keystroke configuration on youe server. x2go used to ship
broken keystroke.cfg files. So either check /etc/x2go/keystrokes.cfg
or create a user specific one in ~/,x2go/config/keystrokes.cfg. It is
important to have these entries in it:
<keystroke action="switch_all_screens" Control="1" AltMeta="1" key="f" />
<keystroke action="fullscreen" Control="1" Shift="1" AltMeta="1" key="f" />
<keystroke action="resize" Control="1" AltMeta="1" key="r" />
<keystroke action="viewport_move_left" Control="1" Shift="1"
AltMeta="1" key="Left" />
<keystroke action="viewport_move_left" Control="1" Shift="1"
AltMeta="1" key="KP_Left" />
<keystroke action="viewport_move_up" Control="1" Shift="1" AltMeta="1"
key="Up" />
<keystroke action="viewport_move_up" Control="1" Shift="1" AltMeta="1"
key="KP_Up" />
<keystroke action="viewport_move_right" Control="1" Shift="1"
AltMeta="1" key="Right" />
<keystroke action="viewport_move_right" Control="1" Shift="1"
AltMeta="1" key="KP_Right" />
<keystroke action="viewport_move_down" Control="1" Shift="1"
AltMeta="1" key="Down" />
<keystroke action="viewport_move_down" Control="1" Shift="1"
AltMeta="1" key="KP_Down" />
<keystroke action="viewport_scroll_left" Control="1" AltMeta="1" key="Left" />
<keystroke action="viewport_scroll_left" Control="1" AltMeta="1"
key="KP_Left" />
<keystroke action="viewport_scroll_up" Control="1" AltMeta="1" key="Up" />
<keystroke action="viewport_scroll_up" Control="1" AltMeta="1" key="KP_Up" />
<keystroke action="viewport_scroll_right" Control="1" AltMeta="1" key="Right" />
<keystroke action="viewport_scroll_right" Control="1" AltMeta="1"
key="KP_Right" />
<keystroke action="viewport_scroll_down" Control="1" AltMeta="1" key="Down" />
<keystroke action="viewport_scroll_down" Control="1" AltMeta="1"
key="KP_Down" />
<keystroke action="reread_keystrokes" Control="1" AltMeta="1" key="k" />
<keystroke action="autograb" Control="1" AltMeta="1" key="g" />
2. If you startup the x2co connection you get a window with your
desktop in a scaled version which makes it unusable. Now there are two
possibilies:
a) if you want to keep it in windowed mode press ctrl-alt-g (autograb)
to ensure the keystrokes are not intercepted by your local desktop
environment.
b) switch to fullscreen mode with ctrl-alt-shift-f
3. switch to viewport mode with ctl-alt-r
4a) use ctrl-alt-<arrows> to scroll around in small portions
4b) use ctrl-alt-shoft-<arrows> to move around in big steps
This setup is working fine for me. The only thing that is currently
missing/not implemented is to force viewport mode right at connection
start and the possibility to specify the initial position. I might
implement that one day.
Uli
On Mon, Jun 8, 2020 at 5:26 PM Ulrich Sibiller <uli42 at gmx.de> wrote:
>
> Thanks, and now the same from INSIDE the session, please.
>
> Uli
>
> On Mon, Jun 8, 2020 at 11:45 AM gian sisal <giansisal19 at gmail.com> wrote:
> >
> > Hi Ulrich,
> > sorry for the late reply. In attach the xrandr and xdpyinfo outputs.
> >
> > Thanks in advance for your help.
> > Regards.
> > G
> >
> > Il giorno mer 27 mag 2020 alle ore 18:47 Ulrich Sibiller <uli42 at gmx.de> ha scritto:
> >>
> >> On Wed, May 27, 2020 at 5:59 PM gian sisal <giansisal19 at gmail.com> wrote:
> >> > I already tried the viewport_mode/zoom (ctrl+alt+r then ctrl+alt+arrow), unfortunately it shows me only the "central displays", I cannot move to first nor last "virtual monitor". However I'll go trying again and again... :)
> >>
> >> That is strange. Can you please post the output of "xrandr" and
> >> "xdpyinfo -ext XINERAMA", both inside and outside the session?
> >>
> >> > I would like to ask: in Your opinion, will there be something an evolution like "choose #1...#2.."?
> >>
> >> No, probably not. The shadow mode is very slow compared to the full
> >> desktop mode and is (for me) kind of an "unloved child". I never use
> >> it. However, technically providing a default viewport position on
> >> connection startup is something that should not be too complicated to
> >> implement. (Therefore the viewport mode should work properly, that
> >> is...)
> >>
> >> Uli
More information about the x2go-user
mailing list