Giter Site home page Giter Site logo

Comments (2)

Zertsov avatar Zertsov commented on June 14, 2024

Here's the series of steps / commands I ran to get things (mostly) up and running, assuming we are past the dx new step:

  1. dx serve --hot-reload --platform desktop (For brevity sake, when I say "serve" going forward, I mean this command)
  2. rustup update
  3. serve
  4. sudo apt update
  5. sudo apt-get install librust-atk-dev
  6. serve
  7. sudo apt install pkg-config libdbus-1-dev libgtk-3-dev libsoup2.4-dev libjavascriptcoregtk-4.0-dev libwebkit2gtk-4.0-dev
  8. sudo apt-get update
  9. serve
  10. add the export DISPLAY=:0 to profile
  11. serve
  12. sudo apt-get install libxdo-dev
  13. serve <-- Now works

from dioxus.

Zertsov avatar Zertsov commented on June 14, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.