Change framebuffer pdf viewer used

This commit is contained in:
David Holland 2019-11-05 15:09:14 +01:00
parent 8460d27adb
commit 5c3f96be06
Signed by: DustVoice
GPG Key ID: 47068995A14EDCA9
2 changed files with 19 additions and 27 deletions

3
.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
*.pdf
*.html
*.xml

View File

@ -993,40 +993,29 @@ $ sudo pacman -S mupdf
// TODO: Check if fbpdf is really working
If you want to not always use the graphical desktop with `mupdf`, you might be interested in the `fbpdf` package.
If you want to not always use the graphical desktop with `mupdf`, you might be interested in the `fbgs` software.
As it is an `AUR` package, we can't just install it with pacman. We have to do
This software renders a pdf document using the native framebuffer. To install it simply do
[source, console]
----
dustvoice@DustArch ~
$ git clone https://aur.archlinux.org/mujs-git.git
dustvoice@DustArch ~
$ cd mujs-git
dustvoice@DustArch ~/mujs-git
$ sudo pacman -S fakeroot
dustvoice@DustArch ~/mujs-git
$ makepkg
dustvoice@DustArch ~/mujs-git
$ sudo pacman -U mujs-git-*
dustvoice@DustArch ~/mujs-git
$ cd ..
dustvoice@DustArch ~
$ git clone https://aur.archlinux.org/fbpdf-git.git
dustvoice@DustArch ~
$ cd fbpdf-git
dustvoice@DustArch ~/fbpdf-git
$ sudo pacman -S mupdf libmupdf djvulibre pkg-config
dustvoice@DustArch ~/fbpdf-git
$ makepkg
dustvoice@DustArch ~/fbpdf-git
$ sudo pacman -U fbpdf-git-*
dustvoice@DustArch ~/fbpdf-git
$ cd ..
dustvoice@DustArch ~
$ rm -rf mujs-git fbpdf-git
$ pacman -S fbida ghostscript
----
and to view this pdf document (`Documentation.pdf`) for example, you would run
[source, console]
----
dustvoice@DustArch ~
$ fbgs Documentation.pdf
----
[INFO]
====
You can view all the controls by pressin `h`.
====
==== Partition management
You may also choose to use a graphical partitioning software instead of `fdisk` or `cfdisk`. For that you can install `gparted`