DevDungeon
- Labs
Knowledge
Social
DevDungeon
Knowledge
Social
This is an old revision of the document!
apt install build-essential linux-headers-$(uname -r)
then run VBoxLinuxAdditions.run
from the disk. There is also a copy of the ISO in the Debian non-free repository. You might need to do sudo su -
to get a “true root” shell, otherwise it might install the drivers under the wrong low-privilege user.vgremove my-volume-group
and vgremove –removemissing my-volume-group
if it gets into a bad state.apt-get download firmware-iwlwifi
or download from https://packages.debian.org/buster/all/firmware-iwlwifi/download for X220 drivers.) then simply install with sudo dpkg -i firmware-iwlwifi
- Or download the releases with non-free firmware included (easiest) - The firmware collection download is just all the .deb
packages inside a folder named firmware/
, if you have that on a usb stick when you install it can use them. or install manually afterwards - on desktop ROG motherboard: sudo dpkg -i firmware-realtek
mount
and list them with dmesg
edit /etc/systemd/login.conf
and set HandleLidSwitchExternalPower=ignore
or HandleLidSwitch=ignore
cat /sys/class/power_supply/BAT0/capacity{,_level}')
or upower -i /org/freedesktop/UPower/devices/battery_BAT0
, or use sudo apt install acpitool
and run acpitool
.curl mygist > /etc/grub.d/99_danostheme; sudo update-grub
sudo dpkg-reconfigure console-setup
setxkbmap
https://www.devdungeon.com/content/rebind-caps-lock-key-escapecontrolsudo apt edit-sources
and add right repos whether DVD or remotesudo update-alternatives –config editor
sudo visudo
and set %sudo ALL=NOPASSWD:ALL
on the linegpasswd -a sudo myuser
startx
: echo “exec gnome-session” > ~/.xinitr
or exec openbox-session
(sudo apt install openbox
)which zsh; chsh
) - Customizing Zsh: https://www.youtube.com/watch?v=0yPj-BfGRug sudo apt install cifs-utils;
sudo mount -t cifs -o uid=dano,gid=sudo,user=dano,password=“my password” \\\\10.0.0.99\\home /mnt
and just chmod/chown it as necessary. - My imount
script to help mount stuff easier/etc/fstab
(or make my script imount
to get my password and mount when I loginexec openbox-session
in ~/.xinitrc
to use openbox.sudo apt install fail2ban
vlc
and libdvdcss2
.handbrake
with libdvdcss2
or use vlc
and choose File → Convert/Streamffmpeg -i x.m4v x.ogg
ffmpeg -i x.m4v -vn x.ogg