Comments (2)
Here's the series of steps / commands I ran to get things (mostly) up and running, assuming we are past the dx new
step:
dx serve --hot-reload --platform desktop
(For brevity sake, when I say "serve" going forward, I mean this command)rustup update
serve
sudo apt update
sudo apt-get install librust-atk-dev
serve
sudo apt install pkg-config libdbus-1-dev libgtk-3-dev libsoup2.4-dev libjavascriptcoregtk-4.0-dev libwebkit2gtk-4.0-dev
sudo apt-get update
serve
- add the
export DISPLAY=:0
to profile serve
sudo apt-get install libxdo-dev
serve
<-- Now works
from dioxus.
Another note - even after all this, there are still permission errors when running this:
Connected to hot reloading 🚀
libEGL warning: failed to open /dev/dri/renderD128: Permission denied
libEGL warning: failed to open /dev/dri/card0: Permission denied
** (dioxus-desktop:6506): WARNING **: 14:35:10.523: webkit_settings_set_enable_offline_web_application_cache is deprecated and does nothing.
libEGL warning: failed to open /dev/dri/renderD128: Permission denied
libEGL warning: failed to open /dev/dri/card0: Permission denied
from dioxus.
Related Issues (20)
- Opening Multiple Windows on Desktop-Windows Fails 9 out of 10 Times.
- hot reload does not trigger rebuild when string is updated on files different than main.rs HOT 4
- hot reload does refresh rsx! if it contains \n HOT 1
- Permissions issues when bundling app image after recursive dir fixes
- Empty page when `serve`ing a default Fullstack project via `dx build -r` (no server binary) HOT 2
- Dioxus Fullstack server doesn't use/serve Brotli-compressed files HOT 2
- Zed Plugin
- Missing HTML <slot> name attribute
- Dioxus CLI not able to load library after installation via Cargo
- [solved, needs review] Can't launch with props (web) HOT 2
- bug: Cannot pass `Cow<'static, str>` to component props that accept String HOT 2
- `use_coroutine` prints warning
- Nested Link nodes do not stop propagating events HOT 3
- WebView2Error after installation in Program Files folder on windows HOT 1
- centos 8 install dioxus-cli error: failed to run custom build command for `openssl-sys v0.9.102` HOT 1
- dioxus full stack hotreload fails with custom target dir HOT 1
- missing dependency at the dioxus guide HOT 1
- Desktop UI disappears when reloading HOT 1
- Remove unintentionally exposed features from the `dioxus` crate
- Fullstack Desktop CLI support
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dioxus.