Re: [orca-list] repoting the battri status/Orca



Howdy,

ArchLinux users can just install it via AUR.
Debain just picks it off for its repos this year. so it will be available via package manager there (in testing?). For all others its some kind of manual work. I provide an basic install script for that.

first of all it needs python3 and GTK installed
the basic plugin Manager needs "yad". an console programm to create dialogs.

the manual way its done by 2 simple steps ( i hopfully get it right out of my brain):
1. install the Simple Orca Plugin Loader to the system:
git clone https://github.com/chrys87/simple-orca-plugin-system.git
cd simple-orca-plugin-system/
sudo cp -dpr . /usr/share/SOPS
2. make SOPS available to the user:
/usr/share/SOPS/install-for-current-user.sh
3. restart orca
4. test installation with OrcaKey + c to read current clipboard

after that you have a some new folders:
~/.config/SOPS/ # this is the integration for your user
/usr/share/SOPS/ # this is the global plugin loader
and a reference in
~/.local/share/orca/orca-customizations.py # to load SOPS

those can also be removed for uninstall.

to add new plugins you can add every shell script to :
/home/chrys/.config/SOPS/plugins-enabled/
with an special scheme. the name of the file represents the shortcut.
the basic sheme is the following:
description__-__key_x.py
to give the shortcut the name "description" (separated by __-__ to the shortcut) and assign it to orca + x (key_x). the orca modifier is added automatical.
read more here:
https://wiki.archlinux.org/index.php/Simple_Orca_Plugin_System#Structure_of_the_filename

you find good plugins here:
https://github.com/chrys87/SOPS-Plugins

i know. it could be more friendly to users. but like noted i stopped cause by lacking feedback (so seems no one trys it) and i do not continue work for the birds ;). if needed i will of course fix things or pick up maintaining it again (stopped never means not start it again ;) ).

cheers chrys

Am 24.09.18 um 19:26 schrieb bittukumar jaiswal:
sorry I forgot to mention my distro.
I am using Ubuntu made 18.04 LTS
with Orca master.
thank you

On 9/24/18, chrys <chrys linux-a11y org> wrote:
Howdy,

sure i can do. what distro are you using?

cheers chrys

Am 24.09.18 um 08:11 schrieb bittukumar jaiswal:
but please guide me how to get and install that pluggins.
but thanks for reply.


On 9/24/18, chrys <chrys linux-a11y org> wrote:
Howdy,

There is no need to do it. Its already there:
SOPS (Simple Orca Plugin System) offer those commands.

The System:
https://github.com/chrys87/simple-orca-plugin-system
The Plugins:
https://github.com/chrys87/SOPS-Plugins
Wiki:
https://wiki.archlinux.org/index.php/Simple_Orca_Plugin_System

for example:
- battery.py announces the battery
- clipboard.py tells you the current clipboard
- wlan.sh tells to the WIFI connectivity state and SSID

SOPS can handle simple shell scripts to announce its output via the Orca
Screenreader.
you can write more complex stuff also with using orca internals.

there is for sure room for improvements but i stopped the development
because i never get mutch feedback for that.

cheers chrys
Am 23.09.18 um 20:09 schrieb bittukumar jaiswal via orca-list:
hey all!
on linux system there is no such command available to check the battri
status with orca screenreader.
but at the same time screen readers like NVDA and Jaws are having
command to check that. the
Screen reader: NVDA/Jaws
command: insert+shift+B
now I am thinking  that, we should also add this command in Orca but
with some extra thing like reporting network status, conected devices
and many more so that  user always no need to go to the top or bot um
panal to check whether internet is conected  or not, bluetooth is on
or off, hotsport is on or off and many more. then VI person can also
check this quickly.
there is already one option is available to read last notification and
list of notifications, so apart from this we should look on other
system status.

here are few thing wich I feel it should be there:
1. Report system power status:
command: insert+shift+B
announcement: battery level: 44%
if plugged in: charging battery-45%
command: insert+shift+B double click
Detailed information:
announcement: Battery level: 88%, Brightness level: 100%, Volume
level: 60%, night light-on "if it is on only."

2. report network status:
Command: insert+shift+N
if connected to Wi-Fi network:
announcement:  Wi-Fi: My Internet Service: 72%, secure.
if on wired connection:
Announce: network name  and internet access is there or not.
Command: insert+shift+N double click
detailed information:
announcement: Networking-on, Wi-Fi-on, Hotsport-off, not connected to
internet.

3. report connected devices and services:
Command: insert+shift+V
Announcement: Bluetooth: on, connected to so and so device.

Note: above listed  options were only for computers with battery.
commands can be change if user wants.
anyone can   add or remove anything to above listed things.
lets think on it and make Orca more powerful Screen reader.
pleasee let me know if I am going wrong anywhere.
_______________________________________________
orca-list mailing list
orca-list gnome org
https://mail.gnome.org/mailman/listinfo/orca-list
Orca wiki: https://wiki.gnome.org/Projects/Orca
Orca documentation: https://help.gnome.org/users/orca/stable/
GNOME Universal Access guide:
https://help.gnome.org/users/gnome-help/stable/a11y.html
Log bugs and feature requests at http://bugzilla.gnome.org






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]