Package Details: obsidian-appimage 1.1.9-1

Git Clone URL: https://aur.archlinux.org/obsidian-appimage.git (read-only, click to copy)
Package Base: obsidian-appimage
Description: Obsidian is a powerful knowledge base that works on top of a local folder of plain text Markdown files
Upstream URL: https://obsidian.md/
Licenses: custom:commercial
Conflicts: obsidian, obsidian-insider
Provides: obsidian
Submitter: will.price94
Maintainer: tianruiwei
Last Packager: tianruiwei
Votes: 42
Popularity: 1.09
First Submitted: 2020-05-27 19:58 (UTC)
Last Updated: 2023-01-31 17:49 (UTC)

Latest Comments

1 2 Next › Last »

no_managers commented on 2023-01-12 08:46 (UTC)

Also running aarch64. : )

Kudos @jsimon0.

keipi commented on 2023-01-08 17:31 (UTC)

Hi @tianruiwei,

Any plans on adding support for aarch64 yet? Running into the same issue as @jsimon0. I expected more users will have this issue, it would be a benefit if aarch64 support could be added.

Cheers

tianruiwei commented on 2022-10-14 07:05 (UTC)

Hi @jsimon0,

I'm not planning to add support to aarch64 as aarch64 isn't officially supported by archlinux. Thanks for your contribution, and maybe interested users could get some help from the template you provided.

Best

jsimon0 commented on 2022-10-13 02:08 (UTC) (edited on 2022-10-13 15:40 (UTC) by jsimon0)

@tianruiwei I have an update to this to include aarch64. Can you add me as co-maintainer? Alternatively:

EDIT: I posted this last night but here is a further updated PKGBUILD for 1.0.0

# Maintainer: Tianrui Wei <archlinux_aur at mail dot tianrui-wei dot com>
# Contributor: Marcio Silva <marcionps at gmail dot com>
# Based  on the template from https://daveparrish.net/posts/2019-11-16-Better-AppImage-PKGBUILD-template.html

_pkgname=obsidian

pkgname="${_pkgname}"-appimage
pkgver=1.0.0
pkgrel=1
pkgdesc="Obsidian is a powerful knowledge base that works on top of a local folder of plain text Markdown files"
arch=('x86_64' 'aarch64')
url="https://obsidian.md/"
license=('custom:Commercial')
depends=('zlib' 'hicolor-icon-theme' 'fuse2')
provides=("${_pkgname}")
conflicts=("${_pkgname}" 'obsidian' 'obsidian-insider')
options=(!strip)
_appimage="${pkgname}-${pkgver}.AppImage"
source=()
source_x86_64+=("${_appimage}::https://github.com/obsidianmd/obsidian-releases/releases/download/v${pkgver}/Obsidian-${pkgver}.AppImage")
source_aarch64+=("${_appimage}::https://github.com/obsidianmd/obsidian-releases/releases/download/v${pkgver}/Obsidian-${pkgver}-arm64.AppImage")
noextract=("${_appimage}")
sha256sums=()
sha256sums_x86_64+=('d59a8f6a95aa106dca56de963a8a0af9a7295b39e3258f24bfb4ef6ce076c84e')
sha256sums_aarch64+=('254443ad3877f22c8e1e405c9076ff2338fef64c330d355ac7fc02101d43959f')

prepare() {
    chmod +x "${_appimage}"
    ./"${_appimage}" --appimage-extract
}

build() {
    # Adjust .desktop so it will work outside of AppImage container
    sed -i -E "s|Exec=AppRun|Exec=env DESKTOPINTEGRATION=false /usr/bin/${_pkgname} %u|"\
        "squashfs-root/${_pkgname}.desktop"
    # Fix permissions; .AppImage permissions are 700 for all directories
    chmod -R a-x+rX squashfs-root/usr
}

package() {
    # AppImage
    install -Dm755 "${srcdir}/${_appimage}" "${pkgdir}/opt/${pkgname}/${pkgname}.AppImage"

    # Desktop file
    install -Dm644 "${srcdir}/squashfs-root/${_pkgname}.desktop"\
            "${pkgdir}/usr/share/applications/${_pkgname}.desktop"

    # Icon images
    install -dm755 "${pkgdir}/usr/share/"
    cp -a "${srcdir}/squashfs-root/usr/share/icons" "${pkgdir}/usr/share/"

    # Symlink executable
    install -dm755 "${pkgdir}/usr/bin"
    ln -s "/opt/${pkgname}/${pkgname}.AppImage" "${pkgdir}/usr/bin/${_pkgname}"
}

ucelote commented on 2022-02-19 02:03 (UTC) (edited on 2022-02-19 02:04 (UTC) by ucelote)

@leongr That command works nicely on Plasma with this very package. Thanks so much.

dgarciagarcia commented on 2022-02-16 15:24 (UTC)

@ph14nix the difference consist in the app's window frame. This packages uses the same window style as your Desktop Environment, so the typical minimize, maximize, etc. buttons will look the same as all the other DE's apps.

leongr commented on 2022-02-02 07:10 (UTC)

@ucelote Running this command seems to fix it for me: find ~/.config/obsidian/ -type f -name 'obsidian-*.asar' | xargs --no-run-if-empty -I{} sh -c 'asar extract "{}" /tmp/obsidian.asar.extracted && sed -i "s/frame: false/frame: true/" /tmp/obsidian.asar.extracted/main.js && asar pack /tmp/obsidian.asar.extracted/ "{}"'

From obsidian forums: https://forum.obsidian.md/t/add-option-to-enable-disable-frameless-mode/6991/20

ucelote commented on 2021-12-31 16:16 (UTC)

Not working with last update v0.13.14 here in KDE/Manjaro

ph14nix commented on 2021-12-29 21:32 (UTC)

What the difference between this package and obsidian?

tianruiwei commented on 2021-10-20 12:31 (UTC)

@E3LDDfrK I've added the conflicts. Thanks for the note.