Keyboard does not work with Linux KDE 5
JohnBat26 opened this issue · 4 comments
JohnBat26 commented
Hello
I'm trying to run observer_cli in KDE5 konsole.
Program starts normally, but it doesn't react at pressing any keys :(.
Why ?
zhongwencool commented
I don't have KDE5 environment to reproduce this.
- One possible way is
You must enter ENTER button after every command, such as:
>observer_cli:start().
> press A -> press enter -> change to Application view.
- If the above doesn't work. please check the
io:get_line/1
works on your KDE5.
$ erl
> io:get_line("whatever:").
whatever:A ## press A ---> press enter
>"A\n"
or
$iex
iex(1)> :io.get_line("whatever:")
whatever:A ## press A ---> press enter
"A\n"
JohnBat26 commented
Hi. Thanks for quick answer!
3> io:get_line("whatever:").
whatever:A
"A\n"
4> io:get_line("whatever:").
whatever:D
"D\n"
5>
And I start observer_cli how:
./observer_cli host cookie
Thus I don't use iex or erl.
zhongwencool commented
All seems normal...
- Please try it in local shell mode to see if it's normal.
%% rebar3 project
rebar3 shell
1> observer_cli:start().
%% mix project
iex -S mix
iex(1)> :observer_cli.start
- If the above works fine, then try remote mode to see if it's normal.
start a master node by:
erl -name test@127.0.0.1 -setcookie test
%% rebar3 project
rebar3 shell --name 'observer_cli@127.0.0.1'
1> observer_cli:start('test@127.0.0.1', 'test').
%% mix project
iex --name "observer_cli@127.0.0.1" -S mix
iex(1)> :observer_cli.start(:'test@127.0.0.1', :'test')
- If all works fine, the try the last one:
start a master node by:
erl -name test@127.0.0.1 -setcookie test
./observer_cli test@127.0.0.1 test
JohnBat26 commented
Yes. It's clear for me now. I need press Enter atfer select target tab.
Thanks for awesome tool! 👍