# Hardware

# Memory

# Add memory and make it visible by Debian OS

Even if you add memory with VMWare, debian won't see it free -m You have to make it 'online'

grep offline /sys/devices/system/memory/*/state | while read line; do echo online > ${line/:*/}; done
1

# Listing

lspci
1

list you graphic card

lspci | grep -E "(VGA|3D)" -C 2
lsusb
lscpu : human readable of /proc/cpuinfon
less /proc/cpuinfo
cat /proc/meminfo
nproc
1
2
3
4
5
6

# Monitor

Xrandr common cmd

xrandr --help
xrandr --current

xrandr --output DP-2 --mode 1680x1050 --primary
xrandr --output DP-1 --mode 1280x1024 --right-of DP-2

xrandr --output DP-1 --auto --right-of eDP-1
xrandr --output HDMI-1 --auto --right-of DP-1
1
2
3
4
5
6
7
8

# Troubleshooting

# Black screen when screen cast (Wayland)

On gnome 3.38 the old X11 display server is not used anymore. It's replaced by wayland.
So you may encounter some screen sharing using. For brave and other chromium based browser you can enable enable-webrtc-pipewire-capturer flag. Go to settings and enable it !

  • chrome://flags

original tutoopen in new window

# Monitor plugged in but not displaying anything

Case 1 : Reset xrandr config

xrandr --auto
sudo dpkg-reconfigure libxrandr2
1
2

Case 2 : Logout of your current Windows Manager (like I3 or cinnamon, or gnome), then select another one. Then logout and go back to your prefered WM. It may resolve the error.

Case 3 : Plug your monitor to another source (another laptop), wait for some pixels to be displayed. Then, plug back to your original laptop.

# Bluetooth

# How to pair AirPods pro on gnome

Bluemanopen in new window is a full featured Bluetooth manager written in GTK. Be sure to enable the Bluetooth daemon and start Blueman with blueman-applet. A graphical settings panel can be launched with blueman-manager or your favourite bluetooth manager.

yaourt -S gtk
yaourt -S blueman
1
2

Then run blueman

blueman-applet
1

# Cursor

enable right click if you use Gnome Desktop Manager

gsettings set org.gnome.desktop.peripherals.touchpad click-method areas
1

get your devices details libinput list-devices