Posts

Showing posts from February, 2021

networkmanager reduce boot time for non server

  sudo systemctl disable NetworkManager-wait-online.service

multiple language i3wm toggle

pressing both shift switches nepali and english language  find key layouts  using localectl list-x11-keymap-layouts on .config/i3/config for nepali language exec --no-startup-id "setxkbmap -layout us,np -option 'grp:shifts_toggle'"

noatime to fstab

   improves ssd life   sudo mousepad /etc/fstab UUID=9ec38e42-02ed-4e51-a73d-3b504240388c /               ext4    noatime,errors=remount-ro 0       1

Inspiron 3501 wifi fix ubuntu

 echo "blacklist dell-rbtn" | sudo  tee /etc/modprobe.d/dell-rbtn.conf or sudo mousepad /etc/modprobe.d/dell-rbtn.conf ---------------------------------------  blacklist dell-rbtn ------------------------------------- save & reboot

migrate home partition from ssd to hdd for hybrid config

Image
find disk name sudo fdisk -l  create partition using gparted and format using desired file system   find mount point and mount it temporarily sudo mount /dev/sda7 /mnt cd /mnt ls -ahl sudo rm -rf lost+found   sudo cp -rp /home/* /mnt ls to confirm its contents backup original home sudo mv /home /home.orig  sudo mkdir /home sudo mount /dev/sda7 /home/  df to verify mountpoint for persistent we need to edit fstab backup it first in case of mistake we can easily revert  sudo cp /etc/fstab /etc/fstab.orig sudo editor /etc/fstab  editor can be gedit,mousepad,nano,vim anything    # <file system> <mount point> <type> <options> <dump> <pass> UUID=9ec38e42-02ed-4e51-a73d-3b504240388c / ext4 errors=remount-ro 0 1 UUID=8C39-EE85 /boot/efi vfat umask=0077 0 1 /swapfile none swap sw 0 0 UUID=11ba4432-41f3-42a0-a05c-7fc4d47ffcb1 /home ext4 def