As much as I like using Linux for personal use, I have to admit that it is not as straightforward to set up as I’d like it to be; but after setting it up properly, it does feels more personalized.
You also get this sense of freedom because you find that you can adjust the OS to your liking.
So I’d like to share my personal notes on what I usually do every time I set up Manjaro Cinnamon, my current favorite distro.
I had to search and refer to these notes a few times in the past, I’m sharing it now in hopes that it can help others.
How to auto enable Bluetooth
I don’t know why but by default, you have to enable bluetooth everytime you turn on the laptop, which is a hassle if you use a bluetooth keyboard, for example.
To auto enable Bluetooth, open
/etc/bluetooth/main.conf and set
If text is too small
Accessibility and turn on
You can also use
Fractional scaling on Display settings, but for me, turning on
Large text is enough.
How to modify mouse buttons
I use Kensington Expert Wireless Trackball, and I want to be able to modify its buttons.
In order to do that, you can install Key-Mapper from the package manager.
I personally modify a couple of my Kensington buttons to be like this:
|I prefer the middle click on the top right button
|Show the window selection screen
How to set up trackpad gestures
When using the trackpad, I want to have a better gestures so it’s more similar to what you can find on Mac and Windows laptops. Here’s how you can do that:
First, make sure that
libinput is installed. Then install
gestures from the package manager.
Then, add user to input group. Go to terminal and type
sudo gpasswd -a user input where user is the username that you use on Manjaro.
gestures app, so you can setup, well, gestures. I set up mine like this:
|3-finger swipe left
xdotool key ctrl+alt+Right
|Go to workspace on the right
|3-finger swipe right
xdotool key ctrl+alt+Left
|Go to workspace on the left
|3-finger swipe down
xdotool key super+d
|3-finger swipe up
xdotool key ctrl+alt+Down
|Show the window selection screen
I also found that I have to add
Startup Applications in order to activate the gestures after every start up.
Change alt-tab style
System Settings ->
Alt-Tab tab -> change
Alt-Tab switcher style. I personally set up mine to
Icons and thumbnails.
Lock the laptop when waking up from suspend
I recently did a fresh install. Closing the lid will suspend the system, and I expected for it to also lock the system when I wake the computer, but apparently suspend doesn’t automatically lock the system by default.
If you want to lock the system after waking up from suspend, go to
Screensaver setting and turn on
Lock the computer when put to sleep.
How to set up battery charge threshold
On ThinkPads, you can limit the batteries to only charge up to a certain percentage of its full capacity.
The batteries can have a longer lifetime when not kept at maximum charge at all times. I personally limit the charge to 50% if I use my laptop in “desktop” mode (connected to a charger most of the time), or to 80% if I still use the laptop off the charger from time to time.
To do this easily, install
tlpui from the package manager.
ThinkPad Battery and change the
STOP_CHARGE_THRESH_BAT0. In my case, using the T480 with internal and external battery, I also need to change the
|Always connected to charger
|Occasionally off the charger
How to set up SysRq so you can reboot gracefully
When the system freezes, don’t do hard reset by pressing and holding the power button. It’s better to use REISUB (reboot) / REISUO (turn off). This method will let you reboot or shut down your computer gracefully.
In order to do that, first you have to unlock the SysRq key:
- Add to your
echo kernel.sysrq=1 | sudo tee --append /etc/sysctl.d/99-sysctl.conf
On T480, the SysRq button is Fn+S.
To reboot, press Alt + SysRq (Fn+S), release Fn+S, then type
To shut down, press Alt + SysRq (Fn+S), release Fn+S, then type
Full explanation here.
These are the things I usually need to do after a fresh install. Hope it helps!
Sebelum kamu pergi
Kalau kamu suka dengan artikel ini, gunakan tombol-tombol di bawah untuk membagikan artikel ini ke teman-teman kamu, dan daftarkan email kamu untuk mendapatkan update jika ada artikel baru.