Browse Categories All Posts
Categories
K
Kai
Post Timeline
This PC
Timeline
Recycle Bin
multiple language i3wm toggle

multiple language i3wm toggle

Pressing both shift switches nepali and english language 

on .config/i3/config

exec --no-startup-id "setxkbmap -layout us,np -option 'grp:shifts_toggle'"

networkmanager reduce boot time for non server

networkmanager reduce boot time for non server

 sudo systemctl disable NetworkManager-wait-online.service

noatime to fstab

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

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

migrate home partition from ssd to hdd for hybrid config

 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 defaults 0 0


use uuid for better flexibility. you can also use address like /dev/sdax
use blkid cmd get uuid,label,partuuid, info 
sudo reboot now
df to confirm mountpoint
cd /  
sudo rm -rf home.orig/ 



https://naive-many.com/bk3.VG0EPH3EpevCb/mMVUJlZgDD0-3yMZj_Ai3IM-TrUizVLGT/cVyIMuD/cNx/NSTccq