Hardware-accelerated Linux virtual desktops.
Project description
Bounce Desktop
Bounce Desktop is a cpp library and python package for starting and interacting with lightweight hardware-accelerated virtual desktops. It does this by running VNC-backed Weston sessions and then connecting to them with a VNC client.
I've written Bounce Desktop to serve as a desktop platform for my RL with Games framework: BounceRL.
Dependencies
poetry, libvncserver (optional), gmock, gtest, libgvnc (from gtk-vnc)
Getting started
If you want just want the python package, you'll first need to install the system dependencies listed above. Then you can run this pip command:
pip install bounce_desktop
Usage
I don't have docs or clear examples handy, but for starter pointers, see: src/desktop/client.h, bounce_desktop/bounce_desk_test.py, and src/bindings/client_exe.h.
Roadmap
This project's being developed to support BounceRL, so I'll be focusing development toward that project's needs. With that said, I do think there's value in having a lightweight virtual desktop library available, and I do think one could develop this project toward that goal if they're interested.
I also think this project should be close to feature complete at this point, I may at some point integrate the prototyped, but unused, subprocess reaper into the desktop class, so that callers can get guaranteed process clean-up, but we'll see if or when I need that feature.
Contributing
I don't plan on accepting pull requests in the near term, but I'll take a look at any issues or feature requests you open.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file bounce_desktop-0.1.4.tar.gz.
File metadata
- Download URL: bounce_desktop-0.1.4.tar.gz
- Upload date:
- Size: 5.0 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0c0cf93869314a2976816a6036867d44d2d0c3b40cc1df3ca1b509fdeeba2ba2
|
|
| MD5 |
5f518dd354e3179da9bc5e656714f74d
|
|
| BLAKE2b-256 |
5ca54a66f244b7995295858bdc32857f3bfd9dab62fef4fc72ac001e8bdc5161
|