Home

Awesome

fbink-xdamage

A xclient that listens for xdamage events and refreshes EPD using FBInk

Getting started

  1. Clone repository including submodules on a Kindle:
git clone --recurse-submodules https://github.com/schuhumi/fbink-xdamage
  1. Satisfy dependencies, those are (on Alpine Linux):
  1. Build on the Kindle:
cd fbink-xdamage
make
  1. Run:

First, in another shell, stop the running Kindle GUI including X, which also includes awesome windowmanager that usually caters for EPD refreshes. Then start X without any windowmanager:

stop lab126_gui
stop x
X

Then in the shell you compiled fbink-xdamage in start it as root. If you are a user currently, you can run the command like sudo su -c "command below":

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/path/to/fbink-xdamage/FBInk/Release/; env DISPLAY=:0 ./fbink_xdamage
  1. Run any other xclient

Now you can run any xclient you want (xeyes / mate-session / whatever), you also don't need to be careful with the window title anymore as awesome is out of the way. You only may have to prepend your command with "env DISPLAY=:0", as that might not be exported. The window of whatever you started should appear/update just fine on the epaper screen as long as fbink_xdamage runs.