This project is at an early test stage and may not be suitable for a daily desktop environment. It requires the develop branch of Fyne to operate and will do so until the 1.2 Fyne release completes in November. That said we use this regularly and would be happy for anyone to test, play with or contribute to this project and prepare it for a first release.
For a full desktop experience you will also need the following external tools installed:
- xbacklight
Using standard go tools you can install Fyne's desktop using:
go get fyne.io/desktop/cmd/fynedesk
And you can run that in an embedded X window for testing using:
DISPLAY=:0 Xephyr :1 -screen 1280x720 &
DISPLAY=:1 fynedesk
It should look like this:
(The default wallpaper is under Creative Commons by dave souza found on Wikipedia.)
If you run the command when there is a window manager running, or on an operating system that does not support window managers (Windows or macOS) then the app will start in UI test mode. When loaded in this way you can run all of the features except the controlling of windows - they will load on your main desktop.
A desktop needs to be rock solid and, whilst we are working hard to get there,
any alpha or beta software can run in to unexpected issues.
For that reason we have included a fynedesk_runner
utility that can help
manage unexpected events. If you start the desktop using the runner then
if a crash occurs it will normally recover where it left off with no loss
of data in your applications.
Using standard go tools you can install the runner using:
go get fyne.io/desktop/cmd/fynedesk_runner
From then on execute that instead of the fynedesk
command for a more
resillient desktop when testing out pre-release builds.