Hello!
Iām new with NoMachine and just installed NoMachine Terminal Server Evaluation ā Version 5.1.44 on Ubuntu Server 16.04.1 LTS and xubuntu-desktop. Client ā Win7 x64.
I need to run web-browser in “floating window” session with 2 keyboard layouts: us, ru. When I run console in floating window I can execute command
setxkbmap -option grp:alt_shift_toggle us,ru
and then run firefox and that works fine.
I wrote a script
#!/bin/bash
setxkbmap -option grp:alt_shift_toggle us,ru | firefox
and when I execute it from console in “floating window” I can switch layouts.
But if I use “Run the following command” or use it as “Default X client script” in “floating window” and put my script there, firefox starts only with us layout.
“New virtual desktop” session works fine.
Help me please.