Emacspeak support for StumpWM
1 Summary:
Describes my Linux X-Windowing setup using lightdm to initialize the desktop and StumpWM configured as a talking Window Manager.
These files can be found under emacspeak/stumpwm
in your Emacspeak installation, or in the source code cloned from https://github.com/tvraman/emacspeak.
2 Overview
File stumpwmrc
is my StumpWM init file that I use to set up
StumpWM as a talking window manager. With this setup, I run Emacs in
one window and Chrome+ChromeVox in another window.
File xsession
is my .xsession
file — it launches StumpWM once lightdm
has finished authentication.
You can find my lightdm
setup files in directory emacspeak/tvr/lightdm
.
3 Contents
- tts.lisp
- Interface to Emacspeak TTS servers.
- stumpwmrc
- Code to insert into personal =.stumpwmr
- xsession-
- My= .xsession= file.
- xlock
- A light-weight screen-lock script.
4 Resulting Functionality
To set this up, You should only need to edit the value of
*emacspeak-dir*
in the stumpwmrc
file for setup.
- All Keybindings match my usual
screen
setup, including the window-manager prefix-key. - C-\ is the window-manager key.
- Switching windows speaks the title of the new window.
- Stumpwm command for displaying window list
C-\w
also speaks the output. - The init file provides a simple lock-screen command bound to
C-\d
. - The above lock command invokes shell script
xlock
— that script takes care of playing an auditory icon when the desktop is locked or unlocked. - Window manager messages speak automatically; this can be toggled with
C-\t
. - If there is a lot of activity in a window that is not focused,
you can turn off automatic speaking of messages usingC-\t
to
avoid distraction. - StumpWM is set up to deny raise-focus requests — this is so that activity in a window doesn't automatically grab focus.
I typically run with only one window displayed at a time.