A superflat vector drawing of a ceramic throne.Kaka Farm!

GNU Guile Clipboard Speaker

An accessibility tool that reads the marked text or the clipboard contents.

In X there are three different clipboards, so you need to decide from which of those three clipboards you'd get the text.

Normally you would set four of the window manager's key bindings for this command - one for each of the three clipboards (I myself only set bindings for two of the clipboards), and the fourth for killing the program.

Read the marked text:
clipboard-speaker --clipboard-type=p
Read the regular clipboard contents:
clipboard-speaker --clipboard-type=b
Stop all that racket:
clipboard-speaker --kill
Code repository:
Clipboard Speaker's Codeberg repository

A helpful help message:

$ clipboard-speaker --help
Usage: clipboard-speaker [--kill]
                         [-f]
                         [-l]
                         [-w 230]
                         [--clipboard-speaker-path=]
                         [--clipboard-type=b/s/p (choose b or s or p)]
                         [--words-per-minute=170]

Keywords:
  --clipboard-speaker-path      Path to the clipboard-speaker settings directory.
  --clipboard-type              Type of clipboard (b, s, or p)
  --fifo-file-path          -f  Path to FIFO file.
  --kill                        Kill the espeak-ng loop process.
  --lock-file-path          -l  Path to lock file.
  --words-per-minute            Words per minute spoken.
  --words-per-minute        -w  Words per minute spoken.

Python Clipboard Speaker

NOTICE: The Python version is obsolete. Use the GNU Guile one instead.

Read the currently marked text:
clipboard-speaker -p
Read the clipboard contents:
clipboard-speaker -b
The original Python code:
Python Clipboard Speaker's Codeberg repository

Kaka Farm by Yuval Langer is licensed under Attribution-ShareAlike 4.0 International