-
-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Let's expand setupTermuxArch so users can install Orca screen reader (assistive technology) and also have VNC support added easily. #66
Comments
@JanuszChmiel can you share something similar to, "[Tip] Workaround to get systemctl commands working on TermuxArch" to aid expediting this request? |
I am reading through your notes once more at the beginning of this issue. Is there a way that you could just make a simple script which does this, and share this script here? |
If you cannot get all the pieces just right, that is not so important. Hopefully, the parts you might be missing will fall into place... |
Have you tried https://github.com/angristan/openvpn-install? Here are some excerpts from the README.md file.
I haven't gotten around to testing it. You might want to try it @JanuszChmiel. It seems to fit |
Oh. It is Virtual private network setup script. No VNC. BUt never mind. I
have no issues with making VNC working.
Currently there is issues with responsiveness of running Speech
synthesizers. If sound samples are play very fast there is not problem. One
sample per 100 Milliseconds for example. but if user press keys randomly
with random period of time between every letter pronounciation, there is
some delay.
Thid delay have something to do with Opensless protocol and sound Android
binary service which react on those protocol transfers. Or there is even
some sound kernel driver problem it is device specific issue.
Before my Huavei 10 mate lite has got Android 8 update, sound responsiveness
have been much more better, but Pokedata sys call and other file based
system calls have not been so fast like on Android 8.
|
And The most painfull issue which has The reason, why I have stop to use
ArchLinux script and ArchLinux in general is issue with Seamonkey build in
speech checker.
Seamonkey addon to check spelling work, it can be installed with no issues.
But thanks to issues with .so library, it can not be used. Seamonkey do not
allow user to use check spelling or to choose language context sub menu.
When I have executed pluma, I have got error related to hunspell.so library
which ould not be loaded.
If somebody very advanced C expert could look at this issue. Because spell
checking is very important for Me while using Seamonkey.
To test, install Pluma and some window manager such as Marco, YOu do not
have to install mate at all.
Load Pluma. It is necessary to install hunspell and some dictionary. I AM
sure, that error, which terminal contain when Pluma is being loaded is also
The cause why Seamonkey spell checker do not work.
|
To install orca
pacman -S orca
pacman -S tigervnc
Add to /etc/profile
export DISPLAY=:0
pacman -S tigervnc
To run VNC server securely and simpley start it by using this command
vncserver -kill :0
vncserver -localhost -geometry 1024x768 -depth 24 -name remote-desktop :0
-SecurityTypes=None -extension MIT-SHM
…-localhost
option disable remote access so powerful hackers can not connect to VNC
session remotely for example, when some user would run his loving
Mate-session and some Radio player through The night.
Important is to install
pulseaudio-alsa
pacman -S pulseaudio-alsa
and to install espeak-ng
pacman -S espeak-ng
Pulseaudio-alsa is important also to allow Mate sound effects to work.
X11vnc causes hydden issue with Orca. So I have decided to run tigervnc
Because X11vnc has caused issues when pressing SHIFT+TAB. Orca did not
detected this key stroke correctly.
And Tigervnc is also faster.
|
@JanuszChmiel hopefully I will find the time to create a script shortly, and update. You wouldn't happened to have a suggested name for this installation stcript we are working on, would you? The commands
I'm not sure if the results of these commands will be inspiring. Maybe they will be helpfull, and we'll find a name for this new invention/script that were working on easily. |
If you are still thinking of the name for the configuration script, please keep in mind name collisions. We should try to keep this in mind when we can. It is important if you can begin with a letter that is not there in the ~/bin directory at all. That is all the better. New user legibility is also important. Does the name remind itself of what the user wants to do a couple months from now? Short and sweet is beautiful in this case isn't it? |
Orcaconfig
or
orcaconf
I Am now testing excellent yay and somebody have been so kind that he has
prepared even fakeroot-tcp which do not display code run-time error after
compilation.
Now I Am installing Shortwave from git.
Somebody have been very samrt, who has prepared this script to install yay.
And yay package manager is also excellent tool. Very well done.
|
It will be also very important to extend Termux Java source to support run
Termux in background by using build in Battery setting Android app. This
app, contain manage applications startup sub app which allow to specify, if
background running for every app can be disabled or enabled. User can
specify manual or automatic mode for every app.
Using Ignoring battery optimisations and Wakelock is super, but not enough
to ensure, that Termux app will not automatically terminate if AC adapter or
other energy source will not be connected to Android 8 or newer ANdroid
version based device.
Especially when phone screen will be turned off automatically or if it will
be turned of manually by user, Android can terminate Termux sub processes
and this can damage date created by Termux.
I had to purge ArchLinux because powerful Android auto terminated Termux
because manual mode have not been specified in battery settings.
I will open this issue on Termux app GIT branch.
|
Thank you for the suggestion @JanuszChmiel! The name |
@JanuszChmiel you might not realize this; You are inspiring me! Thank you! One of these inspistions has been to open this QEMU implementation #25 issue. You might be wondering, "How did I accomplish this?" Many a time I have heard from users of the environment that we choose to use in our smartphones, "It is not supported by the architecture in my device." I have received this statement from you more than once. Theoretically the QEMU issue that I mention resolves these numerous architecture requests. Please take a look at it for it might do wonders on your device, and mine too! There is a trade-off for using QEMU, and another issue that I have run into while implementing this QEMU partially implemented feature is that all the variants do not seem to work as intended. |
This 79085cd commit adds commands |
This commit a60b0ac enhances support for |
The command The user does not need to choose the optimal emulation type as this is now derived from the smartphone:
There is more information about the new |
The current tests with native architecture work ok! Usually it is one tap. Manually choose the Yes answer +tap. Then tap the screen a couple times more. When using emulation, the tests usually fail. If not completely. "Wow, This has me seeking through the alternatives to |
Yes MR Rausty, I Am fully aggreeing with yours finding related to yay.
Sure. If some specific application have been allready prepared for X86
or for X64 architecture, it is really resource and time consuming to
recompile it especially when talking about complex and long code.
I had only problem with building locale and to have correct localisation
values. Do you think, that there is A chance to make foreign
architecture installation so fully automatic like when user do not type
argument visualiso to The command line? So non foreign architecture is
installed fully automatically with correct locale generation.
Sure, I will be testing with you. makeyay work like A charn with no
issues and really, Proot programmers have really added shared memory
support. And system work much more stably. so I will purge my non
foreign ArchLinux installation to return to our visualiso project.
Please, try to add world wide server instead of asking users to use
nano. Sure. Even visually impaired users can use screen reader to move
char by char, but it is not so comfort task like using Windows, NVDA and
other computer with some SSH cclient such as putty or Teraterm.
And it will be necessary to repair add locale process. SOme binary may
be do not exist inside X86 X64 system image so it will be necessary to
extend this .tar image with The necessary command if it is not possible
to add those commands by using pacman.
…--
Tento e-mail byl zkontrolován na viry programem AVG.
http://www.avg.cz
|
I would like to congratulate to MR Rausty and other team members.
visualorca option perfectly configures X86 X64 architecture including
correct Czech language localisation setup. Very very well done to yours
Bash scripting language knowledge dear MR Rausty and others.
And I can continue with my experiments.
And because Pulseaudio work I can perfectly continue. Localisation is OK
so no Libc library wwarnings.
Very well done and thank you again.
…--
Tento e-mail byl zkontrolován na viry programem AVG.
http://www.avg.cz
|
Very important information for all not only visually impaired users!
To enable reliable sound for Termux and emulated or non emulated
architectures when using setupTermuxArch.bash script.
while using Termux.
From Termux application run The following commands:
pulseaudio --start --exit-idle-time=-1
pacmd load-module module-native-protocol-tcp auth-ip-acl=127.0.0.1
auth-anonymous=1
And from installed ArchLinux operating system
export PULSE_SERVER=127.0.0.1
You can use /etc/profile
bash script to add those commands for Termux. Or for installed ArchLinux.
…--
Tento e-mail byl zkontrolován na viry programem AVG.
http://www.avg.cz
|
@JanuszChmiel please see https://serviceanimals.github.io/Harper/ I just lost (bullets) mine; Do you have a guidedog? If not, why? |
I'm getting this error when trying to use this,
|
I AM getting this error too. When I Am using v option and script try to install X64 .iso image.
|
_Originally posted by @willbilec in TermuxArch/TermuxArch#36 |
Stale issue message |
Because ArchLinux is very matured Linux distro with many many modern up to date packages,it is time to extend yours script to directly support visually impaired users. And because I have been overloaded you about shared memory, it is time to show, that I can also participate by adding some important commands to you.
The option for setuptermuxarch would be Orca
When visually impaired user would start yours script with Orca word, The needed Bash script code should do The following thinks
From Termux side, no from ArchLinux Guest perspective
apt update
apt upgradeapt install pulseaudio sox
apt clean
Then The script should do The following: add those lines to The termux profile script
pulseaudio --start --exit-idle-time=-1
pacmd load-module module-native-protocol-tcp auth-ip-acl=127.0.0.1 auth-anonymous=1
Script should start Pulseaudio immediately after The code have been added to The script. It is important to determine, if it is possible to add those two lines one by one or if is it necessary to add some other command to ensure, that Pulseaudio will work.
From The perspective of Arch Linux guest system setup script will finish The upgrading process The code should install The following packages.
tigervnc
mate
mate-extra
orca
pulseaudio-alsa
espeak-ng
The script should add The following lines to /etc/profile
export DISPLAY=:0
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS
export PULSE_SERVER=127.0.0.1
The /usr/bin/mate
script should contain The following routine.
vncserver -kill :0
vncserver -extension MIT-SHM -localhost -geometry 1024x768 -depth 24 -name remote-desktop :0 -SecurityTypes=None
Then I do not know how to auto start mate-session automatically. How to detect, that tigervnc have allready finish its initialisation job.
Mate-session contain extension which is older than 1 month which do not allow to run it by typing mate-session &
If C code detect that & have been used, mate/session suspend all its sub processes. This unsoft feature have not been presented in March or April.
Problems to resolve.
Because Mate have been designed mainly for desktop computers, so he crucial hot keys such as ALT+F1 or ALT+F2 are not usable from Android. Scan codes differs. And visually impaired user can not use those important hot keys from Mate desktop to run Orca.
The solution is to run mate-control-center and use hot keys settings to change The crucial keys.
The very well accessible Android VNC client is BVNC Pro or free.
I have bought BVNC Pro since author have prepared fully accessible GUI even with accessible keyboard and app is very fast and support hot keys combination including CAPSLOCk or others and it is very important for Orca screen readers users.
Pulseaudio-alsa is needed to enable mate sound effects. SOund effects will not work without this extension. Espeak package also depend on pulseaudio-alsa. If this feature is not presented, speech-dispatcher 0.9.1 will refuse to work with Espeak. Espeak is currently Theonlyone reliable international engine for producing speech with Orca. Because work reliably also on The speeds higher than 75 when setting it with Orca preferences.
Tigervnc support as A onlyone XVNC solution for Linux reliably combinations such as SHIFT+TAB or TAB.
My real goal is to use ARchLinux in combination with Termux to prepare fully automated solution which will allow visually impaired Android Linux users to run Mate and Orca.
Mate-power-manager must be removed.
It has issues with chroot environments and some C library display errors with long Hexadecimal number list and it is not welcomed.
FOrtunately, pacman allow us to remove this
pacman -R mate-power-manager
Seamonkey is perfectly accessible and support WEB browsing, HTML editor, E-mail client and IRC chat and address book in one process.
Many mate apps are working including archive manager, Caja. There are some issues with Mate, since mate-session communicates with system bus, as A result, console coutput contain many error because of it, but those errors are not fatal and Mate run reliably.
The automated solution would be derivated from Termux Alpine or from No root Debian.
No root debian contain Xserver XSDL and thanks to unsoft AOSP modules in Android newer than 6, ckeyboards ahe very unsupported.
This is The reason why I have started to use vnc protocol instead.
The text was updated successfully, but these errors were encountered: