forked from tiiuae/ghaf
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add an XDG handler for PDF files to the chromium-vm
The XDG handler script is executed by Chromium when the user attempts to open a PDF file. The script sends the PDF file path to the GUIVM over a TCP connection. The GUIVM copies the file from chromium-vm to a temporary location in the zathura-vm and opens it there. Once the viewer is closed, the file is deleted from the zathura-vm. Signed-off-by: Yuri Nesterov <[email protected]>
- Loading branch information
1 parent
d4fa6a4
commit 96927a1
Showing
2 changed files
with
104 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters