01-11-2018, 08:24 AM | #1 |
Addict
Posts: 209
Karma: 83543
Join Date: Jan 2018
Device: none
|
Termux on Onyx Boox Max 2 (and Note?)
Termux:
an Android terminal emulator and Linux environment app that works directly with no rooting seems to work on Onyx Boox Max 2 devices -- I presume that the same will hold on the Note devices too. (IIUC, the minimum requirements for Termux are currently Android 5.x.) Example installation and use:
For getting git, vim, and emacs to work:
For getting python and jupyter to work:
For browser access to a jupyter notebook, haven't had luck with IceCat, but Lightning seems to work fine. For jupyter notebook extensions:
-------- On a related note, I had problems while installing python(-dev?): PermissionError: [Errno 13] Permission denied: '/' on a rather different device, but found a work-around at: I believe it was: $PREFIX/bin/python -m ensurepip --upgrade --default-pip -------- References: https://wiki.termux.com/wiki/Package...e_the_dream.29 http://www.leouieda.com/blog/scipy-on-android.html http://jupyter-contrib-nbextensions....t/install.html https://github.com/termux/termux-packages/issues/1142 Last edited by sogaiu; 01-21-2018 at 06:04 AM. Reason: updated to include jupyter notebook extensions instructions |
01-11-2018, 09:04 AM | #2 |
Zealot
Posts: 131
Karma: 1400002
Join Date: Sep 2014
Location: UK
Device: Onyx Note Pro
|
Great news! Thanks! Did you try to install python`s pip, numpy and scipy?
|
01-11-2018, 04:26 PM | #3 |
Addict
Posts: 209
Karma: 83543
Join Date: Jan 2018
Device: none
|
If I understand your question and the python package for termux correctly, yes.
Currently installing termux's python leads to installing pip, and step 5 of 'getting python and jupyter to work' involves installing numpy and scipy using pip. To confirm some level of 'working' I just started up python and did 'import scipy; import numpy'. Seemed to work fine |
01-12-2018, 01:56 AM | #4 |
Zealot
Posts: 131
Karma: 1400002
Join Date: Sep 2014
Location: UK
Device: Onyx Note Pro
|
This is amazing! It means that scientific computations are possible on Max2 Of course probably nothing too computationally intensive but for prototyping should be enough!
I read a post somewhere that they managed to install jupyter on android but visualization packages like matplotib didn`t work. Did you try creating some diagrams in jupyter? |
01-12-2018, 03:39 AM | #5 | |
Wizard
Posts: 1,481
Karma: 9010563
Join Date: Jul 2013
Device: none
|
Quote:
Speed, it is a non-small fraction of your desktop: half if you do not update frequently, even closer if you use weak processors (Atom etc. - mentioned sust for the sake of it). Of course, no CUDA ; ) |
|
01-15-2018, 12:25 PM | #6 | |
Enthusiast
Posts: 39
Karma: 148
Join Date: Jan 2018
Device: bug
|
Quote:
|
|
01-15-2018, 11:17 PM | #7 | ||
Addict
Posts: 209
Karma: 83543
Join Date: Jan 2018
Device: none
|
Quote:
Quote:
There is something that's awkward here using a Jupyter notebook though -- when one is in command mode (as compared to edit mode), the on-screen keyboard is not displayed... |
||
01-15-2018, 11:19 PM | #8 |
Addict
Posts: 209
Karma: 83543
Join Date: Jan 2018
Device: none
|
|
01-18-2018, 10:27 AM | #9 |
Enthusiast
Posts: 39
Karma: 148
Join Date: Jan 2018
Device: bug
|
Works great thanks.
I prefer 16greyscale or black&white from stylings package. I wonder if there is another possibility for zooming with finer granularity, to exactly fit e.g. vim window width. Also wondering how it would be possible to rotate it 90°. Also would be nice to have a virtual keyboard that features meta keys and offers for example CTRL + whatever combinations. Is it possible to substitute built in keyboard with something else? I've no experience with android. Last edited by alcedo; 01-18-2018 at 04:37 PM. |
01-18-2018, 07:51 PM | #10 |
Wizard
Posts: 1,326
Karma: 1077205
Join Date: Jun 2011
Device: Kobo Touch, Sony T1, Kobo Mini
|
Bluetooth keyboard is much better than on screen touch keyboard. I only use on screen keyboard when only option.
|
01-19-2018, 02:12 AM | #11 | ||||
Addict
Posts: 209
Karma: 83543
Join Date: Jan 2018
Device: none
|
Quote:
Quote:
Quote:
Quote:
|
||||
01-19-2018, 07:45 AM | #12 | |
Wizard
Posts: 1,481
Karma: 9010563
Join Date: Jul 2013
Device: none
|
Quote:
Find the apk, install it and manage the keyboards from the Language Settings. On Android, you can have any "rub your elbow for A, while sneezing for B, slower for C" keyboard. |
|
01-19-2018, 12:43 PM | #13 |
Enthusiast
Posts: 39
Karma: 148
Join Date: Jan 2018
Device: bug
|
Thanks for pointing to hacker's keyboard, it's great, even has neo layout.
So it's possible to navigate in vim without external keyboard. The keyboard has a dark theme, and I guess it cannot be changed, but it's acceptable, though I would prefer a light one. It's possible to hide the keyboard (independent which one) by pressing the back button. If termux shows console keyboard is returning after screen is touched, but not so in vim. To bring it back currently I switch to multi-tasking window and then back to termux. It would be more efficient if there is another way to activate the keyboard in an application. |
01-19-2018, 01:47 PM | #14 | |
Wizard
Posts: 1,481
Karma: 9010563
Join Date: Jul 2013
Device: none
|
Quote:
an Android keyboard is summoned as one taps on a text input field. It is possible that the software implements a non standard control and did not properly implement that side. Try other tricks - double tap etc. |
|
01-19-2018, 04:33 PM | #15 | |
Enthusiast
Posts: 39
Karma: 148
Join Date: Jan 2018
Device: bug
|
Quote:
double tap strangely switches to visual mode, and single tapping again goes back to normal. No way to trigger keyboard so far, but that's a question for the devs if I have time. Tapping is caught by vim obviously. EDIT: https://termux.com/touch-keyboard.html It's not working for me with the vol buttons now, but I prefer them to be page turners anyway. For most apps that requires to long tap on the icon in applications menu and then choose "Apps Optimize Setting", uncheck "Use page key as volume key". It's a little bit annoying to do that for every downloaded app. [ Just to check I added Hacker's Keyboard to homescreen and now I don't know how to remove it from there again]. Checked some file managers from f-droid, the most appealing one is Dir, because he has greyscale mode, and automatically uses 3 columns with increased font size. Tiny font size is the biggest problem with most apps. Sadly by now I have no idea how to do cut/paste/rename/delete actions with this one. bVNC for example is good at forcing landscape mode, but the keyboard is way to big then, utilizing 1/3 of screen or so. x11vnc is really the most easy way to get it running. I hadn't time to read the whole monitor thread so far, are you sharing your startup options/config anywhere? I just would use it over encrypted home lan. Last edited by alcedo; 01-19-2018 at 05:34 PM. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Ask me anything about Onyx N96 or Onyx Boox Max! | Qushery | Onyx Boox | 24 | 04-30-2018 09:53 AM |
Onyx Boox Max Carta Note app deletes too much! | dallen1357 | Onyx Boox | 8 | 03-21-2018 07:29 PM |
Recover Note app for Boox Max? | Solvaring | Onyx Boox | 3 | 05-04-2017 02:00 AM |
Onyx Boox max VS onyx Boox n96 CML | Jean-V | Onyx Boox | 5 | 01-26-2017 05:42 AM |