Giter VIP home page Giter VIP logo

marktext's Introduction

Mark Text

MarkText

This is the snap for MarkText, “A simple and elegant markdown editor”. It works on Ubuntu, Fedora, Debian, and other major Linux distributions.

enpass enpass

mark-text

Published for with 💝 by Snapcrafters

Install

sudo snap install marktext

Get it from the Snap Store

(Don't have snapd installed?)

The upstream marktext repository/alternative downloads can be located here.

The Snapcrafters

Jason C. Nucciarone
Jason C. Nucciarone

marktext's People

Contributors

nuccitheboss avatar soumyadghosh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

soumyadghosh

marktext's Issues

Error launching MarkText on different Ubuntu system

The error

When trying to launch the beta snap, MarkText fails to open and produces this log message:

nucci@baragon:~$ marktext
[79834:0620/183701.542593:FATAL:zygote_host_impl_linux.cc(117)] No usable sandbox! Update your kernel or see https://chromium.googlesource.com/chromium/src/+/main/docs/linux/suid_sandbox_development.md for more information on developing with the SUID sandbox. If you want to live dangerously and need an immediate workaround, you can try using --no-sandbox.
Trace/breakpoint trap (core dumped)

Solution

Looking at the documentation page referenced, looks like the Chrome developers still have yet to remove the setuid sandbox from Chrome: https://bugs.chromium.org/p/chromium/issues/detail?id=598454. To get around this, I will need to modify the apps section of snapcraft.yaml to the following:

apps:
  marktext:
    extensions: [gnome-3-38]
    command: opt/MarkText/marktext --no-sandbox
    desktop: usr/share/applications/marktext.desktop
    environment:
      TMPDIR: $XDG_RUNTIME_DIR
    plugs:
      - shmem
      - gsettings
      - home
      - login-session-observe
      - network
      - network-bind
      - opengl
      - pulseaudio
      - audio-playback
      - audio-record
      - removable-media
      - screen-inhibit-control
      - unity7
      - camera

The addition of the --no-sandbox flag to the MarkText invocation command will deactivate the check by Chromium and allow the snap package to run on other folk's Linux machines.

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.