python-clipboard-speaker

Want your computer to speak a bit? Mark some text and let it rip.
git clone https://kaka.farm/~git/python-clipboard-speaker
Log | Files | Refs | README | LICENSE

CHANGELOG.md (1503B)


      1 ## 2022-04-02
      2 
      3 Wrap the file numbers returned by `os.open()` inside a file object using
      4 `os.fdopen()` and use them in a context manager with the `with` statement. That
      5 seems to have solved (some of?) the FIFO buffering problems mentioned in
      6 <https://codeberg.org/yuvallangerontheroad/clipboard-speaker/issues/1>.
      7 
      8 ## 2022-01-28
      9 
     10 Add the command line options `-p` (`--primary`) and `-b` (`--clipboard`).
     11 `--clipboard` for the ctrl-c kind of clipboard and `--primary` for the mouse
     12 selection kind of clipboard.
     13 
     14 ## 2021-11-27
     15 
     16 Turn it into a Python package by adding a setup.py and sticking the files into
     17 a module.
     18 
     19 ## 2021-11-26
     20 
     21 More Python script experimentations. I've started with a shell threeliner using
     22 ready made packages and I ended up reimplementing them badly.
     23 Something something UNIX philosophy.
     24 
     25 There is now a `~/.clipboard-speaker/words-per-minute` setting file for the
     26 Python version.
     27 
     28 Switched (again) to FIFO so you can:
     29 
     30     10. Marking text and press the keybinding that runs clipboard-speaker as
     31         usual. While clipboard-speaker is running and speaking, you can
     32     20. Mark more text and press the keybindings for it to feed more text into
     33         clipboard-speaker's text buffer, and if you wish
     34     30. GOTO 20.
     35 
     36 ## 2021-11-25
     37 
     38 Trying to remove the daemonize dependency, but I don't know how to kill the
     39 speak-ng child process of the shell script.
     40 
     41 Also trying to write a clipboard-speaker Python script.
     42 
     43 ## 2021-11-24
     44 
     45 Shell scripts using daemonize, xsel, and speak-ng.