Things to do after a new Debian installation
So you have a new Debian installation? Maybe a minimal install like I do? Don’t worry, I have you covered what to do next.
Setup a sudo user without password
Go here.
Install software
Install software for daily use.
|
|
Setup touchpad
If you have a machine that supports multitouch, enabling tap to click is a good option. Create directories if they don’t have already created.
|
|
Create a file here as 20-libinput.conf. Mine looks like:
|
|
Brightness Keys
On some hardware, brightness keys don’t work out of the box. So create a file 30-backlight.conf in the same directory as you did in touchpad file.
|
|
Automatically lock screen on resume from suspension
systemd-logind automatically suspends the laptop if lid is closed. But you have to create another unit file and enable it to lock the screen on resume from suspension.
Create a file /etc/systemd/system/wakelock@.service with following contents. Put your favorite locker application path in ExecStart if you don’t use slock.
|
|
Reload the systemd daemon and enable/start it. Replace YOUR USERNAME with your username.
|
|
That’s it. I’ll update this article for more things I remember or anytime I had to reinstall and find something I had to do…