diff --git a/content/docs/computer/_index.md b/content/docs/computer/_index.md index 8a275a9..e396212 100644 --- a/content/docs/computer/_index.md +++ b/content/docs/computer/_index.md @@ -25,7 +25,29 @@ system inside out. Use the pagination link below the foot notes to get started following the guides of my installation and system setup or directly navigate to topics of interest -by using the sidebar links. +by using the sidebar links. As of [Multimedia and web](../multimedia-web) the +guides focus more specific use cases briefly described in the following. + +## Use cases + +{{< cards >}} + {{< card link="multimedia-web/" title="Multimedia and web" + image="img/pipewire-logo.svg" + imageStyle="aspect-ratio: 16/9; background: #fff; object-fit:contain;" + subtitle="Setup basic multimedia and web" >}} + {{< card link="pro-audio/" title="Professional audio" + image="img/ardour-logo.svg" + imageStyle="aspect-ratio: 16/9; background: #212a30; object-fit:contain;" + subtitle="Configure a pro audio environment" >}} + {{< card link="pro-audio/" title="Professional video" + image="img/openshot-logo.png" + imageStyle="aspect-ratio: 16/9; background: #1d2127; object-fit:contain;" + subtitle="Configure a pro video environment" >}} + {{< card link="office-tools/" title="Office tools" + image="img/libreoffice-logo.svg" + imageStyle="aspect-ratio: 16/9; object-fit:contain;" + subtitle="Use software suites for office work" >}} +{{< /cards >}} [^1]: A quote from the [Arch Linux](https://archlinux.org/) website [^2]: The [principles](https://wiki.archlinux.org/title/Arch_Linux#Principles) diff --git a/content/docs/computer/img/ardour-logo.svg b/content/docs/computer/img/ardour-logo.svg new file mode 100644 index 0000000..afef5cb --- /dev/null +++ b/content/docs/computer/img/ardour-logo.svg @@ -0,0 +1,475 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/content/docs/computer/img/libreoffice-logo.svg b/content/docs/computer/img/libreoffice-logo.svg new file mode 100644 index 0000000..0e92149 --- /dev/null +++ b/content/docs/computer/img/libreoffice-logo.svg @@ -0,0 +1,128 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/content/docs/computer/img/openshot-logo.png b/content/docs/computer/img/openshot-logo.png new file mode 100644 index 0000000..cf1438c --- /dev/null +++ b/content/docs/computer/img/openshot-logo.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d854e245c4145682dcd179eb5b3b5792666af85287f8044874ccd13d5abfda3e +size 10604 diff --git a/content/docs/computer/img/pipewire-logo.svg b/content/docs/computer/img/pipewire-logo.svg new file mode 100644 index 0000000..8c53544 --- /dev/null +++ b/content/docs/computer/img/pipewire-logo.svg @@ -0,0 +1,18 @@ + + +PipeWire logo + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/content/docs/computer/maintenance-peripherals.md b/content/docs/computer/maintenance-peripherals.md new file mode 100644 index 0000000..a52c885 --- /dev/null +++ b/content/docs/computer/maintenance-peripherals.md @@ -0,0 +1,401 @@ +--- +title: 'Maintenance and peripherals' +date: 2024-06-25T08:32:00+02:00 +weight: 6 +prev: /docs/computer/xfce-desktop +next: /docs/computer/multimedia-web +--- + +[System maintenance](https://wiki.archlinux.org/title/System_maintenance) and +[troubleshooting](https://wiki.archlinux.org/title/General_troubleshooting) is a +reoccurring task to take care of your system and be able to analyze and solve +technical issues. In addition, peripherals[^1] sometimes require some tinkering, +which supports in the process of learning the details and quirks of your system. +For this reason, the sections in this guide focus on the following tasks: + +1. General [#Maintenance](#maintenance) tasks and automation +2. Setting up [#Peripherals](#peripherals) + 1. [#Bluetooth](#bluetooth) controller + 2. [#Printer and scanner](#printer-and-scanner) + 3. Additional encrypted [#Storage](#storage) + +## Maintenance + +Ensure the intended system functionality over a period of time: constantly check +for errors by using the following command to identify failed systemd services: + +```bash +sudo systemctl --failed +``` + +Use the [Systemd journal](https://wiki.archlinux.org/title/Systemd/Journal) to +read logfiles as follows: + +```bash +sudo journalctl -p 3 -b +``` + +[Xorg troubleshooting](https://wiki.archlinux.org/title/Xorg#Troubleshooting) +also starts by checking the Systemd journal. Its own logfiles are created in +case of any errors inside your user directory. The filename scheme is in the +form of `Xorg.n.log` with `n` designating the display number. Search your user +directory for such files by using this command: + +```bash +grep -e Log -e tty Xorg.0.log +``` + +Search the [forums](https://bbs.archlinux.org)and ask questions, lookup terms in +the [ArchWiki](https://wiki.archlinux.org), and consult a search engine of your +choice for debugging errors and interpreting warnings. + +### Backup + +Most important is to maintain a backup[^2] of your system. Filesystem level +backup can be done via [rsync](https://wiki.archlinux.org/title/Rsync) and +[disk cloning](https://wiki.archlinux.org/title/Disk_Cloning#Using_ddrescue) is +a task for the `ddrescue` copmmand. It supports block devices including +(optical) disks and SD cards. Install the following packages: + +```bash +sudo pacman -Sy ddrescue rsync +``` + +[Full system backup](https://wiki.archlinux.org/title/Rsync#Full_system_backup) +from `$SRC` to `$DST` excluding directory contents of devices and typical mount +points is achieved using this command: + +```bash +sudo rsync -aAXv --exclude={"/dev/*","/proc/*","/sys/*","/tmp/*","/run/*","/mnt/*","/media/*","/lost+found"} $SRC/ $DST/ +``` + +Note that the trailing slash is mandatory for synchronizing the folder contents! +You probably want to write a backup script for automation. I like to backup my +the filesystems of my machines into a directory named after the hostname on a +physical HDD[^3] and clean the filesystem in advance to save space: + +```bash {filename="full-sys-bkp.sh"} +#!/bin/bash +# +# Full system backup using rsync with deletion of non-existent files in $DST +# https://wiki.archlinux.org/title/Rsync#Full_system_backup + +SRC=/ +HST=$(hostnamectl hostname) +DST=$(pwd)/$HST + +# Remove old local packages to save space +sudo pacman -Scc + +# Clean user data cache +rm -rf ~/.cache/* + +# Synchronize +sudo rsync \ + -aAXHv \ + --delete \ + --exclude={"/dev/*","/proc/*","/sys/*","/tmp/*","/run/*","/mnt/*","/media/*","/lost+found"} \ + $SRC \ + $DST +``` + +### Logfile limit + +I like to keep Systemd's journal size limit below 200 MB. For this setting, I +uncomment and adapt a line in the `/etc/systemd/journald.conf` file to match: + +```{filename="/etc/systemd/journald.conf"} +SystemMaxUse=200M +``` + +Afterwards I need to restart the Journald service: + +```bash +sudo systemctl restart systemd-journald.service +``` + +### Filesystem cleanup + +Files which are not owned by any package can be listed and written to a text +file with [lostfiles](https://github.com/graysky2/lostfiles). Additionally, the +[rmlint](https://github.com/sahib/rmlint) tool finds (and optionally removes) +duplicate files. I install both packages as follows: + +```bash +sudo pacman -Sy lostfiles rmlint +``` + +Lostfiles command is executed via [#sudo](../basic-configuration/#sudo-not-su): + +```bash +sudo lostfiles > ~/lostfiles.txt +``` + +And in addition, The following command finds broken symlinks[^4] and writes them +into another `.txt` file for easier post-processing: + +```bash +sudo find / -xtype l -print | sudo tee broken_symlinks.txt +``` + +{{< callout type="warning" >}} + If a file is not owned by a package or a symlink is broken does not mean that + it is useless! Custom configurations and files copied to system directories + are not identified by lostfiles and broken symlinks can have a purpose, see + this [Stackexchange post](https://unix.stackexchange.com/questions/151763/is-there-a-downside-to-deleting-all-of-the-broken-symbolic-links-in-a-system) + for more information! +{{< /callout >}} + +Additionally, I ocasionally create a list of installed packages to investigate +potentionally unused or legacy applications by invoking the following command: + +```bash +sudo pacman -Qqe > /etc/pkglist.txt +``` + +### Automation + +You may want to automate some of the aforementioned tasks to happen on a regular +basis. The [cronie](https://archlinux.org/packages/?name=cronie) package is a +[cron](https://wiki.archlinux.org/title/Cron) functionality provider on a +per-user crontab file and can be installed using: + +```bash +sudo pacman -Sy cronie +``` + +{{< callout type="warning" >}} + Be careful to not automate the removing of any lost files to prevent missing + configurations or other important system-related files! +{{< /callout >}} + +I use [Kalu](https://github.com/Thulinma/kalu) as a notifier for package updates +available in the official repositories and the AUR. It can be installed with: + +```bash +yay kalu +``` + +I execute `kalu &` to start the notifier. Though I still need to manually run +the upgrade process, Kalu can regularly check new packages and offers a 1-click +system upgrade. + +## Peripherals + +### Bluetooth + +{{< callout type="info" >}} + Before continuing, ensure that the bluetooth device is not blocked by rfkill. + I issue the following command and identify the `SOFT` and `HARD` state: + + ```bash + sudo rfkill + ``` +{{< /callout >}} + +There is an increasing amount of peripherals for short-range wireless connection +via [bluetooth](https://wiki.archlinux.org/title/Bluetooth). The basic bluetooth +capabilities are provided by [bluez](https://archlinux.org/packages/?name=bluez) +and [bluez-utils](https://archlinux.org/packages/?name=bluez-utils). These +packages are installed as follows: + +```bash +sudo pacman -Sy bluez bluez-utils +``` + +Afterwards I enable and start `bluetooth.service`: + +```bash +sudo systemctl enable bluetooth.service +sudo systemctl start bluetooth.service +``` + +Follow [pairing](https://wiki.archlinux.org/title/Bluetooth#Pairing) +instructions in the ArchWiki to setup bluetooth devices. + +#### Headset + +Connecting a [headset](https://wiki.archlinux.org/title/Bluetooth_headset) via +PipeWire, as configured in [#Sound system](multimedia-web#sound-system), +requires the pipewire-pulse package. Proceed with the section Configuration via +CLI similar to pairing other bluetooth devices. Or to ease this process, a full- +featured management GUI is [Blueman](https://wiki.archlinux.org/title/Blueman). +I install the package via: + +```bash +sudo pacman -Sy blueman +``` + +Start the application by invoking `blueman-applet &` and configure bluetooth +devices according to the [usage](https://wiki.archlinux.org/title/Blueman#Usage) +documentation. + +#### Known bugs + +If the controller is not available or bluetooth seems to crash regularly, +disable USB autosuspend to prevent reloading of the `btusb` module. Create a +`/etc/modprobe.d/btusb.conf` file with the following content to achieve this +behavior: + +``` {filename="/etc/modprobe.d/btusb.conf"} +options btusb enable_autosuspend=n +``` + +### Printer and scanner + +#### CUPS + +Printing is realized with [CUPS](https://wiki.archlinux.org/title/CUPS). After +installing the package [cups](https://archlinux.org/packages/?name=cups): + +```bash +sudo pacman -Sy cups +``` + +I start and enable its service: + +```bash +sudo systemctl enable cups.service +sudo systemctl start cups.service +``` + +{{< callout type="info" >}} + [Printer drivers](https://wiki.archlinux.org/title/CUPS#Printer_drivers) may + be required depending on your brand and model. +{{< /callout >}} + +Any further configuration of printers can be done graphically via the web +interface available at [http://localhost:631](http://localhost:631). One +exception is setting the default paper size. However, appending it to the file +`/etc/papersize` solves this issue due to CUPS's support lipaper. In Germany the +[ISO 216](https://en.wikipedia.org/wiki/ISO_216) (DIN A4) paper size defines the +standard. To set `a4` for lipaper I execute the following command: + +```bash +sudo echo "a4" | sudo tee -a /etc/papersize +``` + +#### SANE + +For scanning, I install the [sane](https://archlinux.org/packages/?name=sane) +package to use the [SANE](https://wiki.archlinux.org/title/SANE) library. As a +graphical frontend [XSane](http://www.xsane.org) provides vast functionality. I +install both packages by executing: + +```bash +sudo pacman -Sy sane xsane +``` + +{{< callout type="info" >}} + [Scanner drivers](https://wiki.archlinux.org/title/SANE#Scanner_drivers) may + be required for your device. +{{< /callout >}} + +### Storage + +Additional removable storage such as an USB flash drive[^5] or an external HDD/ +SSD may be necessary for archiving data at rest. While I tend to use data at +rest [encryption](https://wiki.archlinux.org/title/Data-at-rest_encryption) such filesystems can be mounted automatically by using a key stored in and read from +the root filesystem for convenience. + +{{% steps %}} + +#### Device identification + +First, I identify the disk device using: + +```bash +sudo fdisk -l +``` + +#### Encryption and opening + +Assuming that your disk is `/dev/sda` the next steps are straightforward and +similar to [#Encryption and LVM](../system-preparation#encryption-and-lvm) as +documented in the System preparation guide. + +I encrypt and open the block device as follows: + + sudo cryptsetup luksFormat /dev/sda + sudo cryptsetup open /dev/sda csd + +{{< callout type="warning" >}} + Be careful not to use the disk of your installed system if this disk is at + `/dev/sda`! Double check the mount point of your root filesystem by invoking: + + ```bash + df | grep -w '/' + ``` + +{{< /callout >}} + +#### Filesystem creation + +Other than in the System preparation a single ext4 filesystem inside the LUKS +container is sufficient and will be formatted using the command: + +```bash +sudo mkfs.ext4 /dev/mapper/csd +``` + +#### Tuning and labeling + +[Reserved blocks](https://wiki.archlinux.org/title/Ext4#Reserved_blocks) (for +root) are not necessary on a removable device. For this reason, I use `tune2fs` +and set a label using the `e2label` utility before closing the mapper device: + +```bash +sudo tune2fs -m 0 /dev/mapper/csd +sudo e2label /dev/mapper/csd csd +sudo cryptsetup close csd +``` + +#### Unlock and mount automation + +I use unlocking with a keyfile to automatically mount the device at boot. A +[keyfile](https://wiki.archlinux.org/title/Dm-crypt/Device_encryption#Keyfiles) +is created and added to slot 1 of my block device (`/dev/sda` in this example): + +```bash +sudo mkdir /etc/cryptsetup-keys.d +sudo dd if=/dev/urandom of=/etc/cryptsetup-keys.d/csd.key bs=512 skip=4 count=8 +sudo cryptsetup luksAddKey /dev/sda /etc/cryptsetup-keys.d/csd.key --key-slot 1 +``` + +Next, I identify and save the UUIDs of `/dev/sda` and `/dev/mapper/csd` in order +to append it to the `/etc/crypttab` file using the following commands: + +```bash +DevUuid=$(sudo blkid | grep /dev/sda | cut --delimiter=' ' --field=2 | sed 's/[^a-z0-9\\-]//g') +echo "csd UUID=$DevUuid /etc/cryptsetup-keys.d/csd.key noauto" | sudo tee -a /etc/crypttab +``` + +{{< callout type="info" >}} + The `noauto` parameter prevents Systemd trying to automatically mounting the + encrypted file system at boot leading to a long timeout, if the device is not + plugged in. If you are working with non-removable media you must also edit + `/etc/fstab` and create mountpoints as necessary. +{{< /callout >}} + +Finally, I reload the Systemd daemon using: + +```bash +sudo systemctl daemon-reload +``` + +And I re-plug my storage device to proceed as usual in Thunar [using removable media](https://docs.xfce.org/xfce/thunar/using-removable-media). + +{{% /steps %}} + +Proceed with the configuration of basic [multimedia and web](../multimedia-web) +capabilities or go back to the overview and follow instructions for specific +[use cases](../#use-cases). + +[^1]: [Peripheral](https://en.wikipedia.org/wiki/Peripheral) in the Wikipedia +[^2]: [Backup](https://en.wikipedia.org/wiki/Backup) in the Wikipedia +[^3]: [Hard disk drive](https://en.wikipedia.org/wiki/Hard_disk_drive) in the +Wikipedia +[^4]: [Symbolic link](https://en.wikipedia.org/wiki/Symbolic_link) in the +Wikipedia +[^5]: [USB flash drive](https://en.wikipedia.org/wiki/USB_flash_drive) in the +Wikipedia \ No newline at end of file diff --git a/content/docs/computer/multimedia-web.md b/content/docs/computer/multimedia-web.md index 61205bd..70aac45 100644 --- a/content/docs/computer/multimedia-web.md +++ b/content/docs/computer/multimedia-web.md @@ -1,9 +1,9 @@ --- title: 'Multimedia and web' date: 2024-06-07T14:57:09+02:00 -weight: 6 -prev: /docs/computer/xfce-desktop -next: /docs/computer/office-tools +weight: 7 +prev: /docs/computer/maintenance-peripherals +next: /docs/computer/pro-audio --- The multimedia category[^1] and the list of (Internet) applications[^2] provides @@ -177,7 +177,7 @@ and provided by AUR: yay -Sy nomacs ``` -If nomacs does not appeal to you, find many other [image viewers](https://wiki.archlinux.org/title/List_of_applications/Multimedia#Image_viewers) +If nomacs does not appeal to you, find many other [image viewers](https://wiki.archlinux.org/title/List_of_applications/Multimedia#Image_viewers) in the List of applications in the ArchWiki. ### Graphics editing @@ -331,11 +331,10 @@ sudo pacman -Sy dino element-desktop signal-desktop the [Messenger-Matrix](https://www.messenger-matrix.de). {{< /callout >}} -## Next up - -The [maintainance and peripherals](maintainance-peripherals.md) guide is on how -to get an overview on the system state, automating reoccuring tasks, using -several utilities and configuring peripherals. +The computer is now setup for basic daily tasks and it's time to have some fun. +Thus, the next guide deals with setting up a [professional audio](../pro-audio/) +environment. If this is not your [use case](../#use-cases), go back to the +overview and select another guide. [^1]: [Category:Multimedia](https://wiki.archlinux.org/title/Category:Multimedia) in the ArchWiki @@ -351,7 +350,7 @@ in the Xfce Developer Wiki [^8]: [MP4 file format](https://en.wikipedia.org/wiki/MP4_file_format) in the Wikipedia [^9]: [WAV](https://en.wikipedia.org/wiki/WAV) in the Wikipedia -[^10]: CD-Text](https://en.wikipedia.org/wiki/CD-Text) in the Wikipedia +[^10]: [CD-Text](https://en.wikipedia.org/wiki/CD-Text) in the Wikipedia [^11]: [Raw image format](https://en.wikipedia.org/wiki/Raw_image_format) in the Wikipedia [^12]: [QR code](https://en.wikipedia.org/wiki/QR_code) in the Wikipedia diff --git a/content/docs/computer/office-tools.md b/content/docs/computer/office-tools.md new file mode 100644 index 0000000..8eadb34 --- /dev/null +++ b/content/docs/computer/office-tools.md @@ -0,0 +1,130 @@ +--- +title: 'Office tools' +date: 2024-06-25T11:05:57+02:00 +weight: 11 +prev: /docs/computer/utilities-misc +--- + +The [Xfce desktop](../xfce-desktop) does not provide any applications for office +work. If you need to create office documents containing images and graphs, do +spreadsheet[^1] and conduct presentations, there are a lot of packages providing +either individual applications or software suites[^2]. I'll cover the most basic +needs as follows and refer each application to their proprietary counterpart: + +1. An [#Office suite](#Office-suite) for: + 1. Word processing + 2. Spreadsheet + 3. Presentation +2. Viewing and manipulating [#PDF files](#pdf-files) + +## Office suite + +[LibreOffice](https://www.libreoffice.org) is a very powerful office suite and +alternative to Microsoft Office. It has improved compatibility to proprietary +document formats using file type endings such as `.docx`, `.pptx`, and `.xlsx`, +and is regarded as the more actively developed successor to OpenOffice. (See a +[comparison](https://www.libreoffice.org/discover/libreoffice-vs-openoffice).) +If you need to work with "office files", this is the best option. + +To use the release variant containing the newest features I install the package +[libreoffice-fresh](https://archlinux.org/packages/?name=libreoffice-fresh). +Additionally, I install a language, spell checking and hyphenation package: + +```bash +sudo pacman -Sy libreoffice-fresh +sudo pacman -Sy libreoffice-fresh-de hunspell-de hyphen-de +``` + +There are many [extensions](https://extensions.libreoffice.org) available. +I try to find packages in the official repositories or in the AUR to circumvent +manual upgrading. + +### Java environment + +Some functions of LibreOffice depend on the Java[^3] programming language. The +[OpenJDK](https://wiki.archlinux.org/title/Java#OpenJDK) version is sufficient +and provided by [jre-openjdk](https://archlinux.org/packages/?name=jre-openjdk): + +```bash +sudo pacman -Sy jre-openjdk +``` + +### Additional fonts + +Though the Liberation fonts installed in the [#fonts](../xfce-desktop/#fonts) +section of the Xfce desktop guide are metric-compatible you might need other +[font families](https://wiki.archlinux.org/title/Fonts#Families) to avoid font +replacement and metric problems while collaborating. I install the packages +[ttf-ms-fonts](https://aur.archlinux.org/packages/ttf-ms-fonts/) and +[ttf-vista-fonts](https://aur.archlinux.org/packages/ttf-vista-fonts/) from the +AUR as follows: + +```bash +yay ttf-ms-fonts ttf-vista-fonts +``` + +{{< callout type="info" >}} + [Current packages](https://wiki.archlinux.org/title/Microsoft_fonts#Current_packages) + for Microsoft fonts require access to the installation media and do not + provide the fonts itself. +{{< /callout >}} + +Other recommended font packages are ttf-bitstream-vera, ttf-croscore, +gnu-free-fonts, noto-fonts, ttf-roboto and ttf-ubuntu-font-family. I install +these using the following command: + +```bash +sudo pacman -Sy ttf-bitstream-vera ttf-croscore gnu-free-fonts noto-fonts ttf-roboto ttf-ubuntu-font-family +``` + +If you need fonts optimized for emojis and symbols, math or other operating +system fonts search the ArchWiki. + +## PDF files + +A [comparison](https://wiki.archlinux.org/title/PDF,_PS_and_DjVu#Comparison) of +PDF applications reveals that [Xreader](https://github.com/linuxmint/xreader/) +seems to be a lightweight but also full-featured PDF viewer powered by the +[Poppler](https://poppler.freedesktop.org) rendering library. It is capable of +annotation, forms, and non-rectangle selection of text, and can be installed +using the following command: + +```bash +sudo pacman -Sy xreader +``` + +### Signatures and handwrriting + +If you need to add a signature or image to pages in a PDF or want to use +handwritten notes also install the [Xournal++](https://xournalpp.github.io) +application: + +```bash +sudo pacman -Sy xournalpp +``` + +### Encrypt PDF files + +In order to encrypt PDF files I use [qpdf](https://qpdf.sourceforge.io) and +visual extraction, split, merge and reorganization of pages can be done in the +[PDF Mix Tool](https://www.scarpetta.eu/pdfmixtool). I Install these apps using +the following command: + +```bash +sudo pacman -Sy qpdf pdfmixtool +``` + +To actually encrypt a PDF file the syntax is: + +```bash +qpdf --encrypt $USERPASSWORD $OWNERPASSWORD $KEYLENGTH -- file.pdf encrypted.pdf +``` + +I set an `$USERPASSWORD`, `$OWNERPASSWORD`, and `$KEYLENGTH` variable in advance +and set the key length to the maximum of 256 bits (`KEYLENGTH=256`). + +[^1]: [Spreadsheet](https://en.wikipedia.org/wiki/Spreadsheet) in the Wikipedia +[^2]: [Software suite](https://en.wikipedia.org/wiki/Software_suite) in the +Wikipedia +[^3]: [Java](https://en.wikipedia.org/wiki/Java_(programming_language)) in the +Wikipedia \ No newline at end of file diff --git a/content/docs/computer/pro-audio.md b/content/docs/computer/pro-audio.md new file mode 100644 index 0000000..141ed49 --- /dev/null +++ b/content/docs/computer/pro-audio.md @@ -0,0 +1,8 @@ +--- +title: 'Professional audio' +date: 2024-06-25T18:52:42+02:00 +weight: 8 +prev: /docs/computer/multimedia-web +next: /docs/computer/pro-video +draft: true +--- diff --git a/content/docs/computer/pro-video.md b/content/docs/computer/pro-video.md new file mode 100644 index 0000000..3d323ff --- /dev/null +++ b/content/docs/computer/pro-video.md @@ -0,0 +1,8 @@ +--- +title: 'Professional video' +date: 2024-06-25T18:52:45+02:00 +weight: 9 +prev: /docs/computer/pro-audio +next: /docs/computer/utilities-misc +draft: true +--- diff --git a/content/docs/computer/utilities-misc.md b/content/docs/computer/utilities-misc.md new file mode 100644 index 0000000..08f64c3 --- /dev/null +++ b/content/docs/computer/utilities-misc.md @@ -0,0 +1,85 @@ +--- +title: 'Utilities and miscellaneous' +date: 2024-06-25T18:56:41+02:00 +weight: 10 +prev: /docs/computer/pro-video +next: /docs/computer/office-tools +--- + +## File renaming + +Working with files containing special characters is cumbersome (especially in +the terminal) and the [FAT](https://wiki.archlinux.org/title/FAT) filesystem, +for example, does not allow them. The [detox](https://detox.sourceforge.net) +utility removes umlauts[^1], spaces and special characters, such as `?`, and +replaces them with an underscore (`_`) (or in case of `&` with an `_and_`). I +install the [detox](https://archlinux.org/packages/?name=detox) package: + +```bash +sudo pacman -Sy detox +``` + +And to rename files with it I navigate to the directory of interest and run: + +```bash +detox -rv +``` + +## Interoperability + +For some interoperability[^2] during advanced tasks such as labeling partitions +of Windows filesystems (FAT, exFAT and NTFS[^3]) or dealing with control letters +(DOS or Windows carriage returns[^4]), I install the following packages: + +```bash +sudo pacman -Sy dos2unix dosfstools exfatprogs ntfs-3g +``` + +Consider to install [e2fsprogs](https://archlinux.org/packages/?name=e2fsprogs) +for [ext4](https://wiki.archlinux.org/title/Ext4) partition tasks if this is not +installed by dependencies, already. + +## Password manager + +I use a local password manager[^5] to generate random secrets and store secret +information for convenience and security. My favorite application is the cross- +plattform application [KeepassXC](https://wiki.archlinux.org/title/KeePass). It +uses encrypted password database files and can be installed with the command: + +```bash +sudo pacman -Sy keepassxc +``` + +For browser integration, (see [#Web browser](multimedia-web#web-browser) section +of the Multimedia and web guide) you need to install the add-on [KeepassXC-Browser](https://addons.mozilla.org/en-US/firefox/addon/keepassxc-browser/). +Click the *Add-ons and themes* option in LibreWolf's menu, or open a new tab and +navigating to the page `about:addons`, or the use the `++` +keystroke. + +In KeepassXC go to *Tools* > *Settings* > *Browser Integration* > *Advanced* > +*Config Location:* and add `~/.librewolf/native-messaging-hosts` to finish the +integration setup. + +## Scientific calculator + +[SpeedCrunch](http://speedcrunch.org) is feature-rich a scientific calculator +with a keyboard-driven interface documented in the page [First Steps](https://heldercorreia.bitbucket.io/speedcrunch/userguide/first_steps.html). +I install the [speedcrunch](https://archlinux.org/packages/?name=speedcrunch) +package as follows: + +```bash +sudo pacman -Sy speedcrunch +``` + +Proceed with installing and configuring [Office tools](../office-tools) in just +another guide or go back to the overview and follow instructions for specific +[use cases](../#use-cases). + +[^1]: [Umlauts](https://en.wikipedia.org/wiki/Umlaut_(linguistics)) in the +Wikipedia +[^2]: [Interoperability](https://en.wikipedia.org/wiki/Interoperability) in the +Wikipedia +[^3]: [NTFS](https://wiki.archlinux.org/title/NTFS-3G) in the ArchWiki +[^4]: [Vim#DOS/Windows carriage returns](https://wiki.archlinux.org/title/Vim#DOS.2FWindows_carriage_returns) setion in the ArchWiki +[^5]: [Password manager](https://en.wikipedia.org/wiki/Password_manager) in the +Wikipedia \ No newline at end of file diff --git a/content/docs/computer/xfce-desktop.md b/content/docs/computer/xfce-desktop.md index 860044f..e8d4380 100644 --- a/content/docs/computer/xfce-desktop.md +++ b/content/docs/computer/xfce-desktop.md @@ -3,7 +3,7 @@ title: 'Xfce desktop' date: 2024-05-19T16:20:19+02:00 weight: 5 prev: /docs/computer/advanced-networking -next: /docs/computer/multimedia-web +next: /docs/computer/maintenance-peripherals --- [Xfce](https://wiki.archlinux.org/title/Xfce) is a lightweight but full-featured @@ -317,8 +317,9 @@ at [Fosslicious](https://www.fosslicious.com/2019/09/fix-xfce-desktop-error-cant xfdesktop & ``` -For setting up multimedia capabilities and Internet technologies proceed with -the next guide [Multimedia and web](../multimedia-web). +Proceed with [maintenance and peripherals](../maintenance-peripherals) or for +skip to the [Multimedia and web](../multimedia-web) use case setting up +multimedia capabilities and Internet technologies. [^1]: [Desktop Environment](https://wiki.archlinux.org/title/Desktop_environment) in the ArchWiki