title
stringlengths
1
61
section
stringlengths
2
92
content
stringlengths
6
236k
ASUS Zenbook UX430/UX530
Intro
# ASUS Zenbook UX430/UX530 \[ ] 1 language * [日本語](https://wiki.archlinux.jp/index.php/ASUS_Zenbook_UX430/UX530 "ASUS Zenbook UX430/UX530 – 日本語") From ArchWiki < [ASUS Zenbook UX430](../../en/ASUS_Zenbook_UX430/UX530.html "ASUS Zenbook UX430") ![](../../File:Tango-edit-clear.svg)**This article or section does not...
ASUS Zenbook UX430/UX530
Configuration
## Configuration ### Secure Boot (option) In order to boot any Linux operating system, navigate to BIOS, then hit `F7` or click on *Advanced Menu*, then the *Security* tab and set *Secure Boot* to `Off`. If the aforementioned *Secure Boot* option is a menu rather than an on-or-off option, click on *Secure Boot*, *K...
ASUS Zenbook UX430/UX530
Troubleshooting
## Troubleshooting ### Microcode During boot you might get the message `[Firmware Bug]: TSC_DEADLINE disabled due to Errata; please update microcode to version: 0x52 (or later)`. See [Microcode](../../en/Microcode.html "Microcode") to resolve it. ### Nvidia issues with Bumblebee It is likely that it is one of thes...
ASUS Zenbook UX430/UX530
Tips and tricks
## Tips and tricks ### Power saving and performance As advertised by ASUS, both laptops are capable to last up to 9 hours on battery. In order to achieve this, see: * BIOS update - It is generally recommended to update BIOS, as it usually brings performance, power-saving and security features. - [Power Saving](../...
Advanced Linux Sound Architecture/Configuration examples
Intro
# Advanced Linux Sound Architecture/Configuration examples \[ ] 3 languages * [Italiano](../../it/Advanced_Linux_Sound_Architecture/Configuration_examples.html "Advanced Linux Sound Architecture (Italiano)/Configuration examples – italiano") * [日本語](https://wiki.archlinux.jp/index.php/Advanced_Linux_Sound_Architectu...
Advanced Linux Sound Architecture/Configuration examples
Upmixing of stereo sources to 7.1 using dmix while saturated sources do not get upmixed
## Upmixing of stereo sources to 7.1 using dmix while saturated sources do not get upmixed ``` # 2008-11-15 # # This .asoundrc will allow the following: # # - upmix stereo files to 7.1 speakers. # - playback real 7.1 sounds, on 7.1 speakers, # - allow the playback of both stereo (upmixed) and surround(7.1) sources at...
Advanced Linux Sound Architecture/Configuration examples
Surround51 incl. upmix stereo & dmix, swap L/R, bad speaker position in room
## Surround51 incl. upmix stereo & dmix, swap L/R, bad speaker position in room Bad practice but works fine for almost everything without additional per-program/file customization: ``` pcm.!default { type route ## forwards to the mixer pcm defined below slave.pcm dmix51 slave.channels 6 ## "Native Chann...
Advanced Linux Sound Architecture/Configuration examples
Loopback interface with dmix external interface
## Loopback interface with dmix external interface Used to control which output goes to external, loopback, or both. Others have reported working setups without specifying format [\[1\]](https://unix.stackexchange.com/questions/194547/how-can-i-use-alsa-dmix-and-multi-plugins-together) ``` # Use this to output to ex...
Advanced Linux Sound Architecture/Troubleshooting
Intro
# Advanced Linux Sound Architecture/Troubleshooting \[ ] 2 languages * [日本語](https://wiki.archlinux.jp/index.php/Advanced_Linux_Sound_Architecture/%E3%83%88%E3%83%A9%E3%83%96%E3%83%AB%E3%82%B7%E3%83%A5%E3%83%BC%E3%83%86%E3%82%A3%E3%83%B3%E3%82%B0 "Advanced Linux Sound Architecture/トラブルシューティング – 日本語") * [中文(简体)](http...
Advanced Linux Sound Architecture/Troubleshooting
Volume
## Volume ### No output If `speaker-test` produces sound but some other program does not, determine whether [PulseAudio](../../en/PulseAudio.html "PulseAudio") is being used: ``` # fuser -v /dev/snd/* ``` If it is, try using [apulse](https://aur.archlinux.org/packages/apulse/)AUR, as described in [Advanced Linux S...
Advanced Linux Sound Architecture/Troubleshooting
Microphone
## Microphone ### No microphone input In alsamixer, make sure that all the volume levels are up under recording, and that CAPTURE is toggled active on the microphone (e.g. Mic, Internal Mic) and/or on Capture (in alsamixer, select these items and press space). Try making positive Mic Boost and raising Capture and Di...
Advanced Linux Sound Architecture/Troubleshooting
Audio Quality
## Audio Quality ### Crackling sound through mini-jack (headphones connector) Following [Advanced Linux Sound Architecture#Simultaneous output](../../en/Advanced_Linux_Sound_Architecture.html#Simultaneous_output "Advanced Linux Sound Architecture") might lead to crackling sound through headphones or external speaker...
Advanced Linux Sound Architecture/Troubleshooting
Hardware and Cards
## Hardware and Cards ### Verifying output parameters Check the contents of `/proc/asound/cardX/pcmYp/subZ/hw_params`, where `X`, `Y`, and `Z` are system dependent. In order to find this file, execute the following command while outputting anything via ALSA: ``` $ find /proc/asound/ -name hw_params | xargs -I FILE ...
Advanced Linux Sound Architecture/Troubleshooting
Applications
## Applications ### SDL: No sound with SDL applications If you get no sound using SDL based applications, try setting the [environment variable](../../en/Environment_variables.html "Environment variable") `SDL_AUDIODRIVER` to `alsa`. ### OpenAL: No sound in applications that use OpenAL OpenAL defaults to PulseAudi...
Advanced Linux Sound Architecture/Troubleshooting
Other Issues
## Other Issues ### Simultaneous playback problems If you are having problems with simultaneous playback, and if [PulseAudio](../../en/PulseAudio.html "PulseAudio") is installed, its default configuration is set to "hijack" the soundcard. Some users of ALSA may not want to use [PulseAudio](../../en/PulseAudio.html "...
Apache HTTP Server/mod fcgid
Intro
# Apache HTTP Server/mod fcgid \[ ] 2 languages * [Español](../../es/Apache_HTTP_Server/mod_fcgid.html "Apache HTTP Server (Español)/mod fcgid – español") * [日本語](https://wiki.archlinux.jp/index.php/Apache_HTTP_Server/mod_fcgid "Apache HTTP Server/mod fcgid – 日本語") From ArchWiki < [Apache HTTP Server](../../en/Apa...
Apache HTTP Server/mod fcgid
Installation
## Installation [Install](../../en/Help:Reading.html#Installation_of_packages "Install") the [mod\_fcgid](https://aur.archlinux.org/packages/mod_fcgid/)AUR package.
Apache HTTP Server/mod fcgid
Usage
## Usage First you need to load the fastcgi module. Make sure that the following is **present** and **uncommented** in your `httpd.conf`: ``` LoadModule fcgid_module modules/mod_fcgid.so ``` Then you need to tell Apache when to use FastCGI. For example you can ask Apache to treat all .fcgi files as fastcgi applica...
Apache HTTP Server/mod fcgid
Troubleshooting
## Troubleshooting It does not work? Apache error log (`/var/log/httpd/error_log`) should help you find the problem.
Apache HTTP Server/mod fcgid
See also
## See also * [lighttpd#FastCGI](../../en/Lighttpd.html#FastCGI "Lighttpd") * [Apache HTTP Server#Using php-fpm and mod\_proxy\_fcgi](../../en/Apache_HTTP_Server.html#Using_php-fpm_and_mod_proxy_fcgi "Apache HTTP Server") [Category](../../Special:Categories.html "Special:Categories"): * [Web server](../../en/Catego...
Apache HTTP Server/mod\_gnutls
Intro
# Apache HTTP Server/mod\_gnutls \[ ] 2 languages * [Español](../../es/Apache_HTTP_Server/mod_gnutls.html "Apache HTTP Server (Español)/mod gnutls – español") * [日本語](https://wiki.archlinux.jp/index.php/Mod_gnutls "Mod gnutls – 日本語") From ArchWiki < [Apache HTTP Server](../../en/Apache_HTTP_Server.html "Apache HTT...
Apache HTTP Server/mod\_gnutls
Installation
## Installation Install [mod\_gnutls](https://aur.archlinux.org/packages/mod_gnutls/)AUR, available in the [Arch User Repository](../../en/Arch_User_Repository.html "Arch User Repository"). ### Configure Apache Add these lines to `/etc/httpd/conf/httpd.conf`: ``` LoadModule gnutls_module modules/mod_gnutls.so Incl...
Apache HTTP Server/mod\_gnutls
Testing
## Testing You can test or verify your https configuration via [SSL Labs analyze tool](https://www.ssllabs.com/ssltest/analyze.html). [Category](../../Special:Categories.html "Special:Categories"): * [Web server](../../en/Category:Web_server.html "Category:Web server") - Retrieved from "<https://wiki.archlinux.org...
Apache HTTP Server/mod\_perl
Intro
# Apache HTTP Server/mod\_perl \[ ] 2 languages * [Español](../../es/Apache_HTTP_Server/mod_perl.html "Apache HTTP Server (Español)/mod perl – español") * [日本語](https://wiki.archlinux.jp/index.php/Mod_perl "Mod perl – 日本語") From ArchWiki < [Apache HTTP Server](../../en/Apache_HTTP_Server.html "Apache HTTP Server")...
Apache HTTP Server/mod\_perl
Installation
## Installation Install the [mod\_perl](https://aur.archlinux.org/packages/mod_perl/)AUR package.
Apache HTTP Server/mod\_perl
Configuration
## Configuration Load the module via the main Apache configuration file: ``` httpd.conf ``` ``` LoadModule perl_module modules/mod_perl.so ``` ### Allow perl to execute scripts for certain directories There are two possible methods to enable the `mod_perl` module: * [#Using virtual hosts](#Using_virtual_hosts), ...
Apache HTTP Server/mod\_wsgi
Intro
# Apache HTTP Server/mod\_wsgi \[ ] 2 languages * [Español](../../es/Apache_HTTP_Server/mod_wsgi.html "Apache HTTP Server (Español)/mod wsgi – español") * [日本語](https://wiki.archlinux.jp/index.php/mod_wsgi "mod wsgi – 日本語") From ArchWiki < [Apache HTTP Server](../../en/Apache_HTTP_Server.html "Apache HTTP Server")...
Apache HTTP Server/mod\_wsgi
Installation
## Installation [Install](../../en/Help:Reading.html#Installation_of_packages "Install") [mod\_wsgi](https://aur.archlinux.org/packages/mod_wsgi/)AUR which provides the module working with all common versions of Python (3.x).
Apache HTTP Server/mod\_wsgi
Apache configuration
## Apache configuration As indicated during installation, add the following line to the configuration file of Apache: ``` /etc/httpd/conf/httpd.conf ``` ``` LoadModule wsgi_module modules/mod_wsgi.so ``` [Restart](../../en/Help:Reading.html#Control_of_systemd_units "Restart") `httpd.service`. Check that Apache is...
Apache HTTP Server/mod\_wsgi
Module test
## Module test Add this line in Apache configuration file: ``` /etc/httpd/conf/httpd.conf ``` ``` WSGIScriptAlias /wsgi_app /srv/http/wsgi_app.py ``` Create a test file: ``` /srv/http/wsgi_app.py ``` ``` #-*- coding: utf-8 -*- def wsgi_app(environ, start_response): import sys output = sys.version.encode(...
Apache HTTP Server/mod\_wsgi
See Also
## See Also * [LAMP](../../en/Category:Web_applications.html "LAMP") * [Quick Configuration Guide](https://modwsgi.readthedocs.org/en/develop/user-guides/quick-configuration-guide.html) [Category](../../Special:Categories.html "Special:Categories"): * [Web server](../../en/Category:Web_server.html "Category:Web ser...
Arch package guidelines/Security
Intro
# Arch package guidelines/Security \[ ] 2 languages * [日本語](https://wiki.archlinux.jp/index.php/Arch_%E3%83%91%E3%83%83%E3%82%B1%E3%83%BC%E3%82%B8%E3%82%AC%E3%82%A4%E3%83%89%E3%83%A9%E3%82%A4%E3%83%B3/%E3%82%BB%E3%82%AD%E3%83%A5%E3%83%AA%E3%83%86%E3%82%A3 "Arch パッケージガイドライン/セキュリティ – 日本語") * [Português](../../pt/Arch_...
Arch package guidelines/Security
Usage
## Usage Hardening protections can be reviewed by running [checksec](https://archlinux.org/packages/?name=checksec). ``` $ checksec --file=/usr/bin/cat ```
Arch package guidelines/Security
RELRO
## RELRO RELRO is a generic mitigation technique to harden the data sections of an ELF binary/process. When a program is loaded several ELF memory sections need to be written to by the linker but can be turned read-only before turning control over to the program. This prevents attackers of overriding some ELF section...
Arch package guidelines/Security
Stack canary
## Stack canary A [stack canary](https://en.wikipedia.org/wiki/Stack_canary "wikipedia:Stack canary") is added by the compiler between the buffer and control data on the stack. If this well known value is corrupted, a buffer overflow occurred and the running program segfaults to prevent possible arbitrary code execut...
Arch package guidelines/Security
NX
## NX ### C/C++ Executable-space protection marks memory regions as non-executable, such that an attempt to execute machine code in these regions will cause an exception. It makes use of hardware features such as the NX bit (no-execute bit), or in some cases software emulation of those features.
Arch package guidelines/Security
PIE
## PIE ### C/C++ The [gcc](https://archlinux.org/packages/?name=gcc) package has it enabled by default for C/C++ with [--enable-default-pie](https://github.com/archlinux/svntogit-packages/blob/packages/gcc/trunk/PKGBUILD#L99). ### Golang Pass the following flags to `go build`: ``` export GOFLAGS='-buildmode=pie' ...
Arch package guidelines/Security
RPATH/RUNPATH
## RPATH/RUNPATH RUNPATH/RPATH provides further search paths for the object it is listed in (it can be used both for executable and for shared objects). ``` $ objdump -x /usr/bin/perl | grep -E 'RPATH|RUNPATH' ``` If the RPATH value contains a path within an attackers control it can possibly execute code by install...
Arch package guidelines/Security
FORTIFY
## FORTIFY Fortify source is a macro that adds buffer overflow protection in various functions that perform operations on memory and strings. It checks whether an attacker tries to copy more bytes to overflow a buffer and then stops the execution of the program. This protection is enabled with the default `CPPFLAGS`:...
Arch package guidelines/Security
systemd services
## systemd services ![](../../File:Tango-go-next.svg)**This article or section is a candidate for moving to [systemd/Sandboxing](/index.php?title=Systemd/Sandboxing\&action=edit\&redlink=1 "Systemd/Sandboxing (page does not exist)").** **Notes:** Covers the same topic as [systemd#Sandboxing application environments]...
Bash/Functions
Intro
# Bash/Functions \[ ] 4 languages * [Español](../../es/Bash/Functions.html "Bash (Español)/Functions – español") * [日本語](https://wiki.archlinux.jp/index.php/Bash/%E9%96%A2%E6%95%B0 "Bash/関数 – 日本語") * [Русский](../../ru/Bash/Functions.html "Bash (Русский)/Functions – русский") * [中文(简体)](https://wiki.archlinuxcn.org/...
Bash/Functions
Display error codes
## Display error codes To set `trap` to intercept a non-zero return code of the last program run: ``` EC() { echo -e '\e[1;33m'code $?'\e[m\n' } trap EC ERR ```
Bash/Functions
Compile and execute a C source on the fly
## Compile and execute a C source on the fly The following function will compile (within the `/tmp/` directory) and execute the [C](https://en.wikipedia.org/wiki/C_\(programming_language\) "wikipedia:C (programming language)") source argument on the fly (and the execution will be without arguments). And finally, afte...
Bash/Functions
Extract
## Extract The following function will extract a wide range of compressed file types. Use it with the syntax `extract <file1> <file2> ...` ``` extract() { local c e i (($#)) || return for i; do c='' e=1 if [[ ! -r $i ]]; then echo "$0: file is unreadable: \`$i'" >&2...
Bash/Functions
cd and ls in one
## cd and ls in one Very often changing to a directory is followed by the `ls` command to list its contents. Therefore it is helpful to have a second function doing both at once. In this example we will name it `cl` (change list) and show an error message if the specified directory does not exist. ``` cl() { local ...
Bash/Functions
Simple note taker
## Simple note taker ``` note () { # if file doesn't exist, create it if [[ ! -f $HOME/.notes ]]; then touch "$HOME/.notes" fi if ! (($#)); then # no arguments, print file cat "$HOME/.notes" elif [[ "$1" == "-c" ]]; then # clear file printf "%s" > "$HOME/.n...
Bash/Functions
Simple task utility
## Simple task utility Inspired by [#Simple note taker](#Simple_note_taker) ``` todo() { if [[ ! -f $HOME/.todo ]]; then touch "$HOME/.todo" fi if ! (($#)); then cat "$HOME/.todo" elif [[ "$1" == "-l" ]]; then nl -b a "$HOME/.todo" elif [[ "$1" == "-c" ]]; then > ...
Bash/Functions
Calculator
## Calculator ``` calc() { echo "scale=3;$@" | bc -l } ```
Bash/Functions
IP info
## IP info Detailed information on an IP address or hostname in bash via <https://ipinfo.io>: ``` ipif() { if grep -P "(([1-9]\d{0,2})\.){3}(?2)" <<< "$1"; then curl ipinfo.io/"$1" else ipawk=($(host "$1" | awk '/address/ { print $NF }')) curl ipinfo.io/${ipawk[1]} fi echo } ``` **Note:** Bash ...
Bash/Prompt customization
Intro
# Bash/Prompt customization \[ ] 4 languages * [Deutsch](https://wiki.archlinux.de/title/Bash-Prompt_anpassen "Bash-Prompt anpassen – Deutsch") * [Español](../../es/Bash/Prompt_customization.html "Bash (Español)/Prompt customization – español") * [日本語](https://wiki.archlinux.jp/index.php/Bash/%E3%83%97%E3%83%AD%E3%8...
Bash/Prompt customization
Prompts
## Prompts Bash has five *prompt strings* that can be customized: * `PS0` is displayed after each command, before any output. * `PS1` is the primary prompt which is displayed before each command, thus it is the one most people customize. * `PS2` is the secondary prompt displayed when a command needs more input (e.g....
Bash/Prompt customization
Techniques
## Techniques While one can simply set their prompt to a plain string, there are a variety of techniques for making the prompt more dynamic and useful. ### Bash escape sequences When printing the prompt string, Bash looks for certain backslash-escaped characters and will expand them into special strings. For exampl...
Bash/Prompt customization
Examples
## Examples ### Colors ![](../../File:Tango-edit-clear.svg)**This article or section needs language, wiki syntax or style improvements. See [Help:Style](../../en/Help:Style.html "Help:Style") for reference.** **Reason:** Too much duplication with [Color output in console](../../en/Color_output_in_console.html "Colo...
Bash/Prompt customization
See also
## See also * Community examples and screenshots in the Forum thread: [What's your PS1?](https://bbs.archlinux.org/viewtopic.php?id=50885) (only accessible if logged in) * [Gentoo's /etc/bash/bashrc](https://gitweb.gentoo.org/repo/gentoo.git/tree/app-shells/bash/files/bashrc). See also [gentoo-bashrc](https://aur.arc...
Binfmt misc for Java/Wrapper examples
Intro
# Binfmt misc for Java/Wrapper examples \[ ] 1 language * [日本語](https://wiki.archlinux.jp/index.php/Java_%E3%81%AE_binfmt_misc/%E3%83%A9%E3%83%83%E3%83%91%E3%83%BC%E3%81%AE%E4%BE%8B "Java の binfmt misc/ラッパーの例 – 日本語") From ArchWiki < [Binfmt misc for Java](../../en/Binfmt_misc_for_Java.html "Binfmt misc for Java") ...
Binfmt misc for Java/Wrapper examples
jarwrapper
## jarwrapper ``` #!/bin/bash # /usr/local/bin/jarwrapper - the wrapper for binfmt_misc/jar # set path to java using JAVA_HOME if available, otherwise assume it's on the PATH JAVA_PATH=${JAVA_HOME:+$JAVA_HOME/jre/bin/}java $JAVA_PATH -jar "$@" ```
Binfmt misc for Java/Wrapper examples
javawrapper
## javawrapper ``` #!/bin/bash # /usr/local/bin/javawrapper - the wrapper for binfmt_misc/java if [ -z "$1" ]; then exec 1>&2 echo Usage: $0 class-file exit 1 fi CLASS=$1 FQCLASS=`/usr/local/bin/javaclassname $1` FQCLASSN=`echo $FQCLASS | sed -e 's/^.*\.\([^.]*\)$/\1/'` FQCLASSP=`echo $FQCLASS | sed -e 's-\.-/-g...
Binfmt misc for Java/Wrapper examples
javaclassname (support for javawrapper)
## javaclassname (support for javawrapper) This program is used by the *javawrapper* script above. Compile it with the command ``` $ gcc -O2 -o javaclassname javaclassname.c ``` and move the executable to `/usr/local/bin`. ``` /* javaclassname.c * * Extracts the class name from a Java class file; intended for us...
Bubblewrap/Examples
Intro
# Bubblewrap/Examples \[ ] 1 language * [日本語](https://wiki.archlinux.jp/index.php/Bubblewrap/%E4%BE%8B "Bubblewrap/例 – 日本語") From ArchWiki < [Bubblewrap](../../en/Bubblewrap.html "Bubblewrap")
Bubblewrap/Examples
dhcpcd
## dhcpcd Create a simple [dhcpcd](../../en/Dhcpcd.html "Dhcpcd") sandbox: * Determine available kernel namespaces ``` $ ls /proc/self/ns cgroup ipc mnt net pid uts ``` **Note:** The absence of `user` indicates that the kernel has been built with `CONFIG_USER_NS=n` or is user namespace restricted. * Bind as...
Bubblewrap/Examples
Unbound
## Unbound Create a more granular and complex [Unbound](../../en/Unbound.html "Unbound") sandbox: * Bind as read-only the system `/usr` directory to `/usr` in the sandbox * Create a symbolic link from the system `/usr/lib` directory to `/lib64` in the sandbox * Bind as read-only the system `/etc` directory to `/etc`...
Bubblewrap/Examples
MuPDF
## MuPDF ![](../../File:Inaccurate.svg)**The factual accuracy of this article or section is disputed.** **Reason:** Forwarding the X11 socket may lead to a sandbox escape (Discuss in [Talk:Bubblewrap/Examples](../../en/Talk:Bubblewrap/Examples.html)) The power and flexibility of *bwrap* is best revealed when used t...
Bubblewrap/Examples
p7zip
## p7zip Applications which have not yet been patched against [known vulnerabilities](https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2016-9296) constitute prime candidates for bubblewrapping: * Bind as read-only the host `/usr/bin/7za` executable path to the sandbox * Create a symbolic link from the system `/...
Bubblewrap/Examples
Firefox
## Firefox Network facing applications with large surface attack areas are also ideal candidates to be bubblewrapped: * [Transmission](../../en/Transmission.html "Transmission") included in the sandbox to launch with magnet and torrent links * Example wrap supports audio ([PulseAudio](../../en/PulseAudio.html "Pulse...
Bubblewrap/Examples
Chromium
## Chromium A simple chromium sandbox on wayland and with pipewire: ``` bwrap \ --symlink usr/lib /lib \ --symlink usr/lib64 /lib64 \ --symlink usr/bin /bin \ --symlink usr/bin /sbin \ --ro-bind /usr/lib /usr/lib \ --ro-bind /usr/lib64 /usr/lib64 \ --ro-bind /usr/bin /usr/bin \ --ro-b...
Bubblewrap/Examples
Skype for Linux
## Skype for Linux ![](../../File:Inaccurate.svg)**The factual accuracy of this article or section is disputed.** **Reason:** Forwarding the X11 and/or DBus sockets may lead to a sandbox escape (Discuss in [Talk:Bubblewrap/Examples](../../en/Talk:Bubblewrap/Examples.html)) The following example provides these featu...
Bubblewrap/Examples
Steam
## Steam ![](../../File:Inaccurate.svg)**The factual accuracy of this article or section is disputed.** **Reason:** Forwarding the X11 and/or DBus sockets may lead to a sandbox escape (Discuss in [Talk:Bubblewrap/Examples](../../en/Talk:Bubblewrap/Examples.html)) A simple Steam sandbox ``` #!/usr/bin/bash set -e ...
Bubblewrap/Examples
NPM, Node Version Manager (NVM), Maven Java
## NPM, Node Version Manager (NVM), Maven Java In order to be able to run *npm* in a project root you can use the following command. It works in combination with Angular, Cypress and Maven Java. X11 and wayland are on top included because Cypress starts a GUI based on electron. It allows full file access to the cur...
CUPS/Printer-specific problems
Intro
# CUPS/Printer-specific problems \[ ] 2 languages * [日本語](https://wiki.archlinux.jp/index.php/CUPS/%E3%83%97%E3%83%AA%E3%83%B3%E3%82%BF%E3%83%BC%E5%88%A5%E3%81%AE%E5%95%8F%E9%A1%8C "CUPS/プリンター別の問題 – 日本語") * [Русский](../../ru/CUPS/Printer-specific_problems.html "CUPS (Русский)/Printer-specific problems – русский") ...
CUPS/Printer-specific problems
Brother
## Brother **Note:** Some printer models can be found in several entries because there are several packages or drivers for them. Drivers for several models: | Printers ...
CUPS/Printer-specific problems
Canon
## Canon There are many possible drivers for Canon printers. [Many Canon printers](https://gimp-print.sourceforge.net/p_Supported_Printers.php) are supported by [Gutenprint](../../en/CUPS.html#Gutenprint "Gutenprint") and [foomatic-db-ppds](https://archlinux.org/packages/?name=foomatic-db-ppds). Some of Canon's LBP, ...
CUPS/Printer-specific problems
Dell
## Dell | Printer | Driver/filter | Notes ...
CUPS/Printer-specific problems
Epson
## Epson [epson-inkjet-printer-escpr](https://aur.archlinux.org/packages/epson-inkjet-printer-escpr/)AUR and [epson-inkjet-printer-escpr2](https://aur.archlinux.org/packages/epson-inkjet-printer-escpr2/)AUR are sets of drivers using the Epson Inkjet Printer Driver (ESC/P-R) for Linux. Drivers for multiple printer mo...
CUPS/Printer-specific problems
HP
## HP See also [CUPS/Troubleshooting#HP issues](../../en/CUPS/Troubleshooting.html#HP_issues "CUPS/Troubleshooting"). Most HP printers will use [hplip](https://archlinux.org/packages/?name=hplip), some may use [hpoj](https://aur.archlinux.org/packages/hpoj/)AUR, while for multifunction laser printers [hpuld](https:/...
CUPS/Printer-specific problems
Kodak
## Kodak [c2esp](https://aur.archlinux.org/packages/c2esp/)AUR\[[broken link](../../en/Help:Procedures.html#Fix_broken_package_links "Help:Procedures"): package not found] is free software. [Upstream notes](https://sourceforge.net/projects/cupsdriverkodak/) it is likely to work on all ESP and Hero printers/scanners.
CUPS/Printer-specific problems
Konica Minolta
## Konica Minolta | Printer | Driver/filter | Notes | | ------------------------ | -------------------------------------------------- | ----- | | Minolta Magicolor 1600W | [foomatic](../../en/CUPS.html#Foomatic "Foomatic") | | | Minolta Magicolor 1680MF | ...
CUPS/Printer-specific problems
Lexmark
## Lexmark Note that most Lexmark printers are now supported by CUPS without needing further installation. See also [SANE/Scanner-specific problems#Lexmark](../../en/SANE/Scanner-specific_problems.html#Lexmark "SANE/Scanner-specific problems") for Lexmark scanners issues. ### Utilities Lexmark provides a utility ca...
CUPS/Printer-specific problems
Oki
## Oki | Printer | Driver/filter | Notes | | ------- | --------------------------------------------------------- | ----- | | C110 | [foomatic](../../en/CUPS.html#Foomatic "Foomatic") | | | MC561 | [foomatic-db-nonfree](../../en/CUPS.html#Foomatic "CUPS") |...
CUPS/Printer-specific problems
Ricoh
## Ricoh Install [openprinting-ppds-pxlmono-ricoh](https://aur.archlinux.org/packages/openprinting-ppds-pxlmono-ricoh/)AUR if your device is black and white, or [openprinting-ppds-pxlcolor-ricoh](https://aur.archlinux.org/packages/openprinting-ppds-pxlcolor-ricoh/)AUR if it is color. Note that Ricoh copiers are somet...
CUPS/Printer-specific problems
Samsung
## Samsung Since 2016, or 2017, Samsung is no longer in the printers/scanners business. As of 2019, HP partially support some of Samsung printers/scanners. Before 2016, Samsung was a major player. Which is why there are still many Samsung machines around. In addition, Linux, and cups, keep evolving. The bottom line o...
CUPS/Printer-specific problems
Xerox or FujiXerox
## Xerox or FujiXerox | Printer | Driver/filter | Notes ...
CUPS/Printer sharing
Intro
# CUPS/Printer sharing \[ ] 2 languages * [日本語](https://wiki.archlinux.jp/index.php/CUPS/%E3%83%97%E3%83%AA%E3%83%B3%E3%82%BF%E3%83%BC%E5%85%B1%E6%9C%89 "CUPS/プリンター共有 – 日本語") * [Русский](../../ru/CUPS/Printer_sharing.html "CUPS (Русский)/Printer sharing – русский") From ArchWiki < [CUPS](../../en/CUPS.html "CUPS")...
CUPS/Printer sharing
Creating class for multiple printers
## Creating class for multiple printers In CUPS, a class is a group of printers which appears to clients as a single printer. When a client selects to print to the class, CUPS selects any printer in the group to accept the print job. This may be especially useful when one printer from the class must be removed. If it...
CUPS/Printer sharing
Printer sharing
## Printer sharing ![](../../File:Tango-view-fullscreen.svg)**This article or section needs expansion.** **Reason:** List ports which need to be opened in the firewall.[\[1\]](https://www.cups.org/doc/firewalls.html) (Discuss in [Talk:CUPS/Printer sharing](../../en/Talk:CUPS/Printer_sharing.html)) ### DNS-SD advert...
CUPS/Printer sharing
Remote administration
## Remote administration Once the server is set up as described in [#Printer sharing](#Printer_sharing), it can also be configured so that it can be remotely administered. Add the allowed hosts to the `<Location /admin>` block in `/etc/cups/cupsd.conf`, using the same syntax as described in [#Sharing via Internet Pri...
CUPS/Printer sharing
Troubleshooting
## Troubleshooting See [CUPS/Troubleshooting](../../en/CUPS/Troubleshooting.html "CUPS/Troubleshooting") for general troubleshooting tips. ### Cannot print with GTK applications If you get a *getting printer information failed* message when you try to print from GTK applications, add this line to your `/etc/hosts`:...
CUPS/Printer sharing
Other operating systems
## Other operating systems More information on interfacing CUPS with other printing systems can be found in the CUPS manual, e.g. on <http://localhost:631/help/network.html>. [Category](../../Special:Categories.html "Special:Categories"): * [Printers](../../en/Category:Printers.html "Category:Printers") Hidden cat...
CUPS/Troubleshooting
Intro
# CUPS/Troubleshooting \[ ] 2 languages * [日本語](https://wiki.archlinux.jp/index.php/CUPS/%E3%83%88%E3%83%A9%E3%83%96%E3%83%AB%E3%82%B7%E3%83%A5%E3%83%BC%E3%83%86%E3%82%A3%E3%83%B3%E3%82%B0 "CUPS/トラブルシューティング – 日本語") * [Русский](../../ru/CUPS/Troubleshooting.html "CUPS (Русский)/Troubleshooting – русский") From ArchW...
CUPS/Troubleshooting
Debug log
## Debug log The best way to get printing working is to set `LogLevel` in `/etc/cups/cupsd.conf` to: ``` LogLevel debug ``` And then viewing the output from `/var/log/cups/error_log` like this: ``` # tail -n 100 -f /var/log/cups/error_log ``` The characters at the left of the output stand for: * D=Debug * E=Erro...
CUPS/Troubleshooting
Problems resulting from upgrades
## Problems resulting from upgrades *Issues that appeared after CUPS and related program packages underwent a version increment* ### CUPS stops working The chances are that a new configuration file is needed for the new version to work properly. Messages such as "404 - page not found" may result from trying to mana...
CUPS/Troubleshooting
Networking issues
## Networking issues ### Unable to add printer or message "print in progress" but nothing happens In GNOME Printer settings for example, you could find troubles adding your printer, even though you have installed the drivers. You can try installing [system-config-printer](https://archlinux.org/packages/?name=system-...
CUPS/Troubleshooting
USB printers
## USB printers ### Conflict with SANE If you are also running [SANE](../../en/SANE.html "SANE"), it is possible that it is conflicting with CUPS. To fix this create a [Udev](../../en/Udev.html "Udev") rule marking the device as matched by libsane: ``` /etc/udev/rules.d/99-printer.rules ``` ``` ATTRS{idVendor}=="v...
CUPS/Troubleshooting
HP issues
## HP issues ![](../../File:Merge-arrows-2.svg)**This article or section is a candidate for merging with [CUPS/Printer-specific problems#HP](../../en/CUPS/Printer-specific_problems.html#HP "CUPS/Printer-specific problems").** **Notes:** There should not be two different places for these issues. (Discuss in [Talk:CUP...
CUPS/Troubleshooting
Other
## Other ### Printer "Paused" or "Stopped" with Status "Rendering completed" #### Low ink When low on ink, some printers will get stuck in "Rendering completed" status and, if it is a network printer, the printer may even become unreachable from CUPS' perspective despite being properly connected to the network. Rep...
Category:Sandbox/A
Intro
# Category:Sandbox/A [Help](https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Categories) From ArchWiki tset2tset1tset tset2tset1tset
Category:Sandbox/A
Subcategories
## Subcategories This category has the following 2 subcategories, out of 2 total. ### S * [Sandbox/AA](../../en/Category:Sandbox/AA.html "Category:Sandbox/AA") * [Sandbox/AB](../../en/Category:Sandbox/AB.html "Category:Sandbox/AB") [Categories](../../Special:Categories.html "Special:Categories"): * [Sandbox](../....
Category:Sandbox/AA
Intro
# Category:Sandbox/AA [Help](https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Categories) From ArchWiki
Category:Sandbox/AA
Subcategories
## Subcategories This category has only the following subcategory. ### S * [Sandbox/AAA](../../en/Category:Sandbox/AAA.html "Category:Sandbox/AAA") [Category](../../Special:Categories.html "Special:Categories"): * [Sandbox/A](../../en/Category:Sandbox/A.html "Category:Sandbox/A") - Retrieved from "<https://wiki....
Category:Sandbox/AAA
Intro
# Category:Sandbox/AAA [Help](https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Categories) From ArchWiki
Category:Sandbox/AAA
Subcategories
## Subcategories This category has only the following subcategory. ### S * [Sandbox/A](../../en/Category:Sandbox/A.html "Category:Sandbox/A") [Category](../../Special:Categories.html "Special:Categories"): * [Sandbox/AA](../../en/Category:Sandbox/AA.html "Category:Sandbox/AA") - Retrieved from "<https://wiki.arc...