RavKav Online for Linux (unofficial packaging effort)
This is unofficial - not related in any way to the ravkavonline site, or to pcentra.
ravkavoline is a service that allows you to charge up your RavKav (Israeli public transport smartcard) from home, with the use of a smartcard reader.
While their solution is standard based (java, websockets, pcsc), for some reason they only published windows and Mac OS executables.
For now this repo has the ArchLinux
PKGBUILD to extarct the
JAR file from
the mac installation zip and install it. Adapting to other distributions
should be easy, as is creating a 'GNU Make' based installation. Contributions
PKGBUILD as you would any other
Then, enable the pcscd socket:
systemctl enable --now pcscd.socket
Insert the card to the card reader, and go to https://www.ravkavonline.co.il/
Everything should work.
The reason we need the desktop file, is to register a mimetype for the 'ravkav:' uri scheme. The ravkav website opens a websocket connection to the application by requesting a url of the form
An alternative to this approach, would be to put the
$HOME/.local/share/applications/, and to run
update-desktop-database ~/.local/share/applications. This would register the mime for this user only, instead of using the global location. You can modify the
Execline, to run the
jarinstead of the shell script, and so with only two files (
.desktop) you can use RavKavOnline.