remux is an app switcher for the remarkable tablet. once its running, hold the middle button down for several seconds until the remux launcher appears or swipe up either side of the screen.
this is a small article about how remux works
usually, most people install toltec and the apps in toltec all use draft format and are installed into /opt/etc/draft.
but if you are writing a new app or trying out an unpackaged app, there are a few ways to configure the list of apps that appear in remux:
- via code configuration - edit config.launcher.cpy and recompile remux
- add a binary to
/home/root/apps
on the remarkable and make sure it ischmod +x
- using draft remarkable configuration files. they are installed into /opt/etc/draft
The built in ways of launching remux are:
- holding home button
- swiping up on either side of the display (demo)
if you want to adjust them, they can be changed - see the config section below.
- remux restarts xochitl at first launch, it is not crashing
- remux does not show itself after an app exits, you must activate it
- if you can not swipe in xochitl, try swiping with four fingers to reset xochitl's gesture engine
run make remux
from the root dir of rmkit to build it. then run make install_remux
to copy remux to the remarkable. Run make run_remux
to run remux.
Finally, if you want to make the installation permanent, change into the
src/remux
directory and run make install_service
followed by make start_service
- add
filter_palm_events
option to remux.conf to prevent spurious palm touches. Enable this is you have a custom gesture (like 3 or 4 finger) and keep accidentally launching remux.
- add
dialog_height
anddialog_width
option to remux.conf for specifying the dialog width and heigght. Default is 600x800. The rM width is 1404, height is 1872.
- added ability to launch applications through the API:
echo 'launch xochitl' > /run/remux.api
will launch xochitl. the application name should be the name of the application as it shows up in the launch dialog
- added
start_app=
option to specify the app to launch. it can be blank or an app name as seen in the list of apps. if the app isn't found or its blank, no app will launch at startup and remux will require a gesture to be invoked.
- added
manage_power=
boolean option to configuration. setting tofalse
orno
tells remux to not enter suspend mode automatically - this lets you use xochitl solely for power management. useful if remux is messing up drawing your suspend screen
As of remux 0.1.7, remux supports configuration kept in /home/root/.config/remux/remux.conf
. The configuration is kept as key=value lines. As of right now, the two main config options are launch_gesture
and back_gesture
. They can be used to configure the gestures in remux. The format is the same as genie, except semi-colons (;
) are used to separate directives instead of newlines.
For example, the below will show remux when three fingers are tapped and switch to last app on a four finger tap.
launch_gesture=gesture=tap;fingers=3
back_gesture=gesture=tap;fingers=4
You can repeat a key in order to setup multiple gestures for the same action, like so:
launch_gesture=gesture=tap;fingers=3
launch_gesture=gesture=tap;fingers=4
remux opens /run/remux.api
as a FIFO and listens for incoming commands. The supported commands are show
, hide
, and back
.
Using the API and genie, one can setup their own gestures for remux. To disable the built in gestures in remux, set launch_gesture=
, then verify that no gestures were created in remux's output.