Package Details: triliumnext-bin 0.90.12-2

Git Clone URL: https://aur.archlinux.org/triliumnext-bin.git (read-only, click to copy)
Package Base: triliumnext-bin
Description: Build your personal knowledge base with TriliumNext Notes.(Prebuilt version.Use system-wide electron)
Upstream URL: https://github.com/TriliumNext/Notes
Keywords: documentation-tool electron knowledge-graph knowledgebase local-first markdown note-managment note-taking-app notebook notes personal-wiki scriptable self-hosted self-hosting wiki wysiwyg
Licenses: AGPL-3.0-only
Conflicts: trilium, trilium-cn, triliumnext
Provides: trilium, triliumnext
Submitter: zxp19821005
Maintainer: zxp19821005
Last Packager: zxp19821005
Votes: 1
Popularity: 0.055502
First Submitted: 2024-08-07 05:36 (UTC)
Last Updated: 2024-11-26 01:35 (UTC)

Latest Comments

zxp19821005 commented on 2024-11-26 01:38 (UTC)

@fluffme Thanks for your feedback, I forgot to change the process.resourcesPath to /usr/lib/triliumnext . Fixed now.

fluffme commented on 2024-11-25 18:25 (UTC) (edited on 2024-11-25 18:26 (UTC) by fluffme)

One of the new features in 0.90.12-1 is code highlight.

When trying to set it up in Options -> Appearance the following error pops up:

ENOENT: no such file or directory, scandir '/usr/lib/electron31/resources/styles'

Trace:

ERROR: get /api/options/codeblock-themes threw exception: 'ENOENT: no such file or directory, scandir '/usr/lib/electron31/resources/styles'', stack: Error: ENOENT: no such file or directory, scandir '/usr/lib/electron31/resources/styles'
    at Object.readdirSync (node:fs:1506:26)
    at Object.t.readdirSync (node:electron/js2c/node_init:2:13703)
    at readThemesFromFileSystem (file:///usr/lib/triliumnext/app.asar/src/services/code_block_theme.ts:65:15)
    at listSyntaxHighlightingThemes (file:///usr/lib/triliumnext/app.asar/src/services/code_block_theme.ts:35:26)
    at getSyntaxHighlightingThemes (file:///usr/lib/triliumnext/app.asar/src/routes/api/options.ts:146:12)
    at Function.cb (file:///usr/lib/triliumnext/app.asar/src/routes/routes.ts:458:34)
    at Function.sqliteTransaction (/usr/lib/triliumnext/app.asar/node_modules/better-sqlite3/lib/methods/transaction.js:65:24)
    at Object.transactional (file:///usr/lib/triliumnext/app.asar/src/services/sql.ts:273:61)
    at file:///usr/lib/triliumnext/app.asar/src/routes/routes.ts:460:44
    at /usr/lib/triliumnext/app.asar/node_modules/cls-hooked/context.js:118:13

Judging by /usr/lib/electron31 it's an issue with triliumnext.sh and not upstream, but I am only guessing.

zxp19821005 commented on 2024-08-11 22:48 (UTC)

@Vahtos Thanks for your feedback, fixed it.

Vahtos commented on 2024-08-11 18:46 (UTC)

I was getting an error when launching this:

/usr/bin/triliumnext: line 8: LD_LIBRARY_PATH: unbound variable

I changed lines 4 and 8 in triliumnext.sh as follows and it works fine:

_RUNNAME="${_APPDIR}/app.asar"
...
...
export LD_LIBRARY_PATH="${_APPDIR}/swiftshader:${_APPDIR}/lib:${LD_LIBRARY_PATH:+LD_LIBRARY_PATH:}"