Professional Documents
Culture Documents
Artix
Artix
Roberto Vaquerizo
Contents
1 sudo 2
1.1 Add the following using visudo to avoid being prompted for a
password when using sudo : . . . . . . . . . . . . . . . . . . . 2
1
5 DWM 5
5.1 Patches I have applied (double check they are correct and
change to my liking) . . . . . . . . . . . . . . . . . . . . . . . 5
5.1.1 accessnthmon . . . . . . . . . . . . . . . . . . . . . . . 5
5.1.2 actualfullscreen . . . . . . . . . . . . . . . . . . . . . . 5
5.1.3 alternativetags . . . . . . . . . . . . . . . . . . . . . . 5
5.1.4 vanity gaps . . . . . . . . . . . . . . . . . . . . . . . . 5
5.1.5 restartsig . . . . . . . . . . . . . . . . . . . . . . . . . 5
5.1.6 stacker . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
5.1.7 sticky . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
5.1.8 systray . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
5.1.9 More . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
6 Graphical Environment 6
6.1 Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
6.1.1 xrandr output HDMI-1 above eDP . . . . . . . . . . 6
6.2 Xorg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
6.2.1 picom . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
6.2.2 All available key codes: . . . . . . . . . . . . . . . . . 6
7 AUDIO 6
7.1 pipewire . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
7.2 mpd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
8 File management 6
8.1 nnn . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
9 Networking 6
9.1 wpa_supplicant . . . . . . . . . . . . . . . . . . . . . . . . . . 6
1 sudo
2
3 Use dedicated GPU for a command execution,
DRI_PRIME=1 glxgears
DRI_PRIME=1 glxinfo | grep OpenGL
If DRI_PRIME is not set, the commands executed will use the internal
intel GPU.
4 pacman
4.1 Conguration
Check conf values like: color, easter-egg, parallel downloads, . . .
4.2 Install/Update
4.2.1 pacman -Syu
Update all my programs. (S=install, y=sync pacman DB, u=update my
programs)
4.3 Remove
4.3.1 pacman -Rs <program>
(R=remove, s=remove also dependencies)
3
4.3.2 pacman -Rns <pogram>
This is the most useful option to remove packages.
4.4 Query
4.4.1 pacman -Q
Show every package installed.
4
5 DWM
5.1.3 alternativetags
MOD+n Show icons instead of tag numbers.
5.1.5 restartsig
Mod+Shift+r Recompile without needing to log-out.
5.1.6 stacker
Mod+Shift+j (move window down) Mod+Shift+k (move window up)
5.1.7 sticky
Mod+s Turn window into a sticky one.
5.1.8 systray
5.1.9 More . . .
Mod+m (increase the number of master windows) Mod+d (decrease the
number of master windows)
5
6 Graphical Environment
6.1 Commands
6.1.1 xrandr output HDMI-1 above eDP . . .
6.2 Xorg
6.2.1 picom
Cannot be initiated as a user service, but within an Xorg session.
7 AUDIO
7.1 pipewire
Can be initiated as a user service by init service with supervision (runit, for
instance). Its cong le can be used to instantiate both pipewire-pulse and
wireplumber services, that are needed.
7.2 mpd
Cannot be initiated as a user service using runit, but as a regular user process.
I have tried using the pulse entry in mpd.conf with no success. Also, starting
the mpd daemon as a system service has not worked.
8 File management
8.1 nnn
Attention! Make all plugins executables les to make it work.
9 Networking
9.1 wpa_supplicant
$ touch /etc/wpa_supplicant/wpa_supplicant_wXXX.conf
6
$ vi /etc/wpa_supplicant/wpa_supplicant_wXXX.conf
Add:
ctrl_interface=/run/wpa_supplicant
update_config=1