Package Details: marktext-bin 0.17.1-1

Git Clone URL: (read-only, click to copy)
Package Base: marktext-bin
Description: A simple and elegant open-source markdown editor that focused on speed and usability
Upstream URL:
Keywords: markdown marktext
Licenses: MIT
Conflicts: marktext
Provides: marktext
Submitter: alf
Maintainer: alerque
Last Packager: alerque
Votes: 18
Popularity: 0.131181
First Submitted: 2019-04-12 16:08 (UTC)
Last Updated: 2022-03-07 22:20 (UTC)

Latest Comments

1 2 Next › Last »

Alex-Kim commented on 2021-01-08 09:21 (UTC) (edited on 2021-01-08 09:22 (UTC) by Alex-Kim)

I had the same problem with Manjaro. I think pamac showed a dialog asking something about /usr/bin directory but I blindly accepted that :D It turned out it backed up this directory under bin.old name and then made the bin symblink to Marktext. I removed the bin symblink and renamed bin.old -> bin and the system was able to boot again.

alerque commented on 2021-01-08 08:53 (UTC)

@trevdev Fixed. The package had a symblink /usr/bin instead of a symblink in /usr/bin. Installing this with pacman directly or indirectly through makepkg -i as are supported would not have worked because it would check that there was nothing being clobbered. I don't know anything about pamac or Manjaro, but neither are officially supported by the AUR and clearly either you or those systems did something wrong by forcing a package install that clobbered existing files.

trevdev commented on 2021-01-08 06:01 (UTC)

This package annihilated my manjaro system by damaging the /usr directory on my machine. I haven't dug into the damage just yet. Pamac sucks. I'm sure this was an unexpected side effect, but just a heads up. Version 0.16.3-1. I will not be trying to replicate the issue :P

macxcool commented on 2021-01-07 17:33 (UTC) (edited on 2021-01-07 23:40 (UTC) by macxcool)

@caleb You have to use: ln -s /usr/lib/marktext/marktext /usr/bin/marktext

If you use /usr/bin you're creating a symlink called 'bin' in the /usr folder, but /usr/bin already exists in the filesystem, of course.

theoldfellow commented on 2021-01-07 14:01 (UTC)

error: failed to commit transaction (conflicting files) marktext-bin: /usr/bin exists in filesystem Errors occurred, no packages were upgraded.

Seems there is something wrong with @hatred's link?

hatred commented on 2020-12-23 23:51 (UTC) (edited on 2020-12-23 23:54 (UTC) by hatred)

@caleb, Hi! Could you please add symlink to the /usr/lib/marktext/marktext into /usr/bin? Like ln -s /usr/lib/marktext/marktext /usr/bin.

Seems it works well.

mgr commented on 2020-06-27 20:00 (UTC)

@caleb: Ah, so that’s why. Thanks for explaining! :)

alerque commented on 2020-06-27 18:36 (UTC)

@mgr That's where the binary gets installed because this is a binary package that just rebundles the upstream Electron distribution. The binary can't be moved relative to the rest of the Electron bundle. If you want something with more normal Linux system norms I recommend the marktext package instead of marktext-bin. It uses the Arch system Electron packages and adds a launcher script in /usr/bin.

Henry78 commented on 2020-04-04 17:22 (UTC) (edited on 2020-04-04 17:22 (UTC) by Henry78)

Updated pkgbuild (just changed pkgver and worked around errors):

# Maintainer: Alfin Bakhtiar Ilhami <alfin at nuclea dot id>

pkgdesc='A simple and elegant open-source markdown editor that focused on speed and usability.'
depends=('gtk3' 'libxss' 'nss')

_source() {
    local _github=

    # Binary tarball
    echo $pkgname-$pkgver.tar.gz::$_github/releases/download/v$pkgver/$_pkgname-x64.tar.gz

    # Desktop entry
    echo $pkgname-$pkgver.desktop::$_github/raw/v$pkgver/resources/linux/$_pkgname.desktop

    # Icons
    for s in 16 24 32 48 64 128 256 512; do
        echo $pkgname-${s}x${s}.png::$_github/raw/v$pkgver/resources/icons/${s}x${s}/$_pkgname.png

prepare() {
    # Change desktop entry to execute /usr/lib/marktext/marktext
    sed -i "s|Exec=.*|Exec=/usr/lib/marktext/marktext %F|" \

package() {
    install -d "$pkgdir/usr/lib"
    cp -rT "$srcdir/$_pkgname-x64" "$pkgdir/usr/lib/$_pkgname"

    # Install desktop entry
    install -Dm644 "$srcdir/$pkgname-$pkgver.desktop" \

    # Install icons
    for s in 16 24 32 48 64 128 256 512; do
        install -Dm644 "$srcdir/$pkgname-${s}x${s}.png" \

    # Install licenses
    install -Dt "$pkgdir/usr/share/licenses/$_pkgname" -m644 \


mgr commented on 2019-11-06 15:46 (UTC)

Why does the binary get installed to '/usr/lib/marktext/marktext'?