Here are the step to install Cannon LBP-810 on to Arch Linux:
- Turn off printer
- install capt-src if it's not already installed
yay capt-src- restart CUPS service:
| #!/bin/bash | |
| # Check or install dialog | |
| if ! command -v dialog &>/dev/null; then | |
| echo "'dialog' is not installed." | |
| read -p "Install now for better progress display? (y/n): " resp | |
| if [[ $resp =~ ^[Yy]$ ]]; then | |
| echo "Installing dialog..." | |
| sudo apt-get update &>/dev/null | |
| sudo apt-get install -y dialog &>/dev/null |
| #!/bin/bash | |
| # Re-applies my preferred ThinkPad touchpad settings for GNOME on Wayland. | |
| gsettings set org.gnome.desktop.peripherals.touchpad tap-to-click true | |
| gsettings set org.gnome.desktop.peripherals.touchpad click-method 'fingers' | |
| echo "Touchpad settings applied." |
| #!/usr/bin/env bash | |
| # list‐desktop‐apps.sh | |
| # Requires: apt-rdepends | |
| # Prints: package<TAB>total-size-in-MiB (including all Depends) | |
| set -e | |
| # 1) find all packages that install a .desktop file | |
| mapfile -t desktop_pkgs < <( | |
| dpkg-query -S /usr/share/applications/*.desktop 2>/dev/null \ |
Here are the step to install Cannon LBP-810 on to Arch Linux:
yay capt-src| #!/bin/sh | |
| function readlink_file() | |
| { | |
| next_path=$1 | |
| while [ "$i" != 10 ] && [ "x$next_path" != "x$path" ]; do | |
| path=$next_path | |
| next_path=$(readlink "$path" || echo $path) | |
| i=`expr $i + 1` | |
| done |
| #!/bin/bash | |
| # check to see is git command line installed in this machine | |
| IS_GIT_AVAILABLE="$(git --version)" | |
| if [[ $IS_GIT_AVAILABLE == *"version"* ]]; then | |
| echo "Git is Available" | |
| else | |
| echo "Git is not installed" | |
| exit 1 | |
| fi |
| #!/bin/sh | |
| # | |
| # list the given file's filesize next to each commit | |
| # usage: git-fs-history path/to/file | |
| # | |
| if [ $# -ne 1 ]; then | |
| echo "Error: invalid number of arguments." | |
| exit 1 |
| gsettings set org.gnome.desktop.wm.keybindings switch-input-source "['<Shift>Alt_L']" &&\ | |
| gsettings set org.gnome.desktop.wm.keybindings switch-input-source-backward "['<Alt>Shift_L']" |
Maintainer: Keil Miller Jr
How to create and manage an AUR package.
The following link should be read:
| [opcache] | |
| ; Determines if Zend OPCache is enabled | |
| opcache.enable=1 | |
| ; Determines if Zend OPCache is enabled for the CLI version of PHP | |
| ;opcache.enable_cli=1 | |
| ; The OPcache shared memory storage size. | |
| opcache.memory_consumption=512 |