Skip to content

Instantly share code, notes, and snippets.

@sonulohani
Last active May 8, 2021 14:41
Show Gist options
  • Save sonulohani/c84fa0931fd43b99138ee0035c0b3f91 to your computer and use it in GitHub Desktop.
Save sonulohani/c84fa0931fd43b99138ee0035c0b3f91 to your computer and use it in GitHub Desktop.

Fix stuck at dell logo boot

sudo pacman -Syyu haveged
sudo systemctl enable haveged --now

Swappiness

First, check the default swappiness value. Run in a terminal:

cat /proc/sys/vm/swappiness

Showing the default value of the Swappiness Showing the default value of the Swappiness The default value is 60, which is too conservative. I recommend changing the value to 10 if you have more than 4GB of RAM. To do this you need to create the file /etc/sysctl.d/100-manjaro.conf. Run this command:

sudo nano /etc/sysctl.d/100-manjaro.conf

In the file, you have to put the following:

vm.swappiness=10

Timeshift

Timeshift needs Cronie. If you have Cronie installed, you need to enable Cronie. You can do that with:

sudo systemctl enable cronie.service 
sudo systemctl start cronie.service 

After that you can configure Timeshift and it will work.

Some other stuffs

sudo systemctl enable fstrim.timer

https://forum.manjaro.org/t/mouse-natural-scrolling-setting-not-persisting-after-update/36952

Disable bluetooth

sudo systemctl disable bluetooth.service

Qt creator crash while opening files

> QT_QPA_PLATFORMTHEME="xdgdesktopportal" qtcreator

New terminal tabs do not retain current directory

ohmyzsh/ohmyzsh#2887 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment