Giter VIP home page Giter VIP logo

plasma-snap's Introduction

Use

  • get snap with zsync http://metadata.neon.kde.org/snap/plasma_5.9_amd64.snap.zsync
  • install sudo snap install --force-dangerous --devmode plasma_5.9_amd64.snap
  • this is only necessary when the snap was newly installed/reinstalled
    • check snap list for installed rev of plasma snap (changes on each install). e.g. x8
    • copy the bin/ directory from the repo into $HOME/snap/plasma/REVISION/
  • run (currently runs a bash) dbus-launch snap run plasma
  • setup environment $HOME/bin/envo
  • at this point startplasmacompositor would work etc.
  • simple test in xsession kwin_wayland --xwayland should bring up a black wayland window

Misc

  • the bin/ stuff is a hack so the snap doesn't have to rebuilt every time the environment needs to be expanded etc.
  • this uses a patched xwayland. xkb/ddxLoad.c in xorg is hardcompiling the xkbcomp path to /usr/bin, the patched build simply strips the pathing so xkbcomp is resolved from $PATH (nb: this is a security leak). There is a relocatibility feature resolving xkbcomp's location relative to the server binary, but it is only implemented and used in the windows server right now.
  • kinit hard-compile paths in start_kdeinit and start_kdeinit_wrapper. the entire pile of binaries seems a bit weird because in part is claims setuid is involved yet none of the involved binaries actually has the setuid set it seems. start_kdeinit does however oom_adj, whether or not that actually works is unknown given it has no setuid AND it seems to utterly ignore return values so I am guessing it probably does not work.
  • kinit has patches to turn the hard-compiled paths into lookup. for wrapper this lookup is relative within same-dir, for start_kdeinit (forks kdeinit) this needs to go through $PATH though. this would be a security hazard if it was setuid and passed that own to a fork but given it isn't to begin with this is probably also fine...

plasma-snap's People

Contributors

hsitter avatar

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.