Notepadqq is a text editor designed by developers, for developers.
This repo is about flatpak package.
For EL7:
# yum install 'flatpak' 'flatpak-builder'
You may also wish to install the xdg-desktop-portal*
packages:
# yum install 'xdg-desktop-portal*'
See also:
$ flatpak remote-add --if-not-exists "flathub" "https://dl.flathub.org/repo/flathub.flatpakrepo"
See also:
$ flatpak install "flathub" "org.kde.Sdk//5.11"
$ flatpak install "flathub" "org.kde.Platform//5.11"
$ flatpak install "flathub" "io.qt.qtwebkit.BaseApp//5.11"
Clone this repository, then checkout the right branch.
$ flatpak-builder "build" "com.notepadqq.Notepadqq.yaml" --force-clean --install-deps-from="flathub"
$ flatpak-builder --run "build" "com.notepadqq.Notepadqq.yaml" "sh"
$ flatpak-builder --run "build" "com.notepadqq.Notepadqq.yaml" "notepadqq"
$ flatpak-builder --repo="repo" --force-clean "build" "com.notepadqq.Notepadqq.yaml"
$ flatpak --user remote-add --no-gpg-verify "notepadqq" "repo"
$ flatpak --user install "notepadqq" "com.notepadqq.Notepadqq"
$ flatpak run "com.notepadqq.Notepadqq"
$ flatpak --user uninstall "com.notepadqq.Notepadqq"
$ flatpak --user remote-delete "notepadqq"
$ flatpak build-bundle "repo" "notepadqq.flatpak" "com.notepadqq.Notepadqq" --runtime-repo="https://flathub.org/repo/flathub.flatpakrepo"
If you have already installed the package, you have to uninstall it before continuing.
$ flatpak --user install "notepadqq.flatpak"
See also:
I already provided a repo with RPM packages.
Try:
- install the latest version of
flatpak
- install the
xdg-desktop-portal*
packages - install the com.notepadqq.Notepadqq as a flatpak package
- set the XDG_RUNTIME_DIR environment variable:
XDG_RUNTIME_DIR="/run/user/${UID}"
Go to the extension directory, then:
$ flatpak run --command='bash' 'com.notepadqq.Notepadqq' -c 'node /app/share/notepadqq/extension_tools/pack.js . npm'
It should create a *.nqqext
file.
See notepadqq-extensions for details.
- Select
Extensions
, thenInstall extensions
. - Select a
*.nqqext
file, then pressOpen
. - Press
Install
orUpdate
. - Press
OK
. - Restart Notepadqq.
They should be available from the Extensions
menu.
All extensions are located in the ~/.var/app/com.notepadqq.Notepadqq/config/Notepadqq/extensions/
directory.
Use flatpak-spawn with the --host
option.
For example:
flatpak-spawn --host cat /etc/os-release
No, I only created the flatpak package for it.
See also: