During Installation, always create swap space and a separate partition for the Home directory. Always select that partition for other Linux distributions also but do not format it. And create separate users for different-different distributions like /home/ubuntu for Ubuntu, /home/arch for arch Linux and so on.
If your system has SSD then donot create swap space from SSD.
Run sudo command without password
If you don’t want to type sudo password again and again then run commandsudo visudoand append the below line at the end.your_username ALL=(ALL) NOPASSWD: ALLSave using
Ctrl + XandShift + yand press Enter. That’s it.Create user from Command line
useradd --create-home --system --shell /bin/bash --user-group your_usernameXUbuntu is the best Linux distribution (in terms of performance). It has the power to give a new fresh life to slow and dying old pcs.
To Generate subtitles of audio and video, install -
sudo apt-get install ffmpeg && sudo pip install autosubTo generate subtitle :
autosub -o subtitlefile.srt "/path/to/file.mp4 or .mp3"If you are using Vlc to play the .mp3 file, then you have to select a visualization (Menu > Audio > Visualization > Select any) because Vlc cannot display subtitles without it.
Detach a Linux Processes From Controlling Terminal
command </dev/null &>/dev/null &For setting the paths, the file is
/etc/environmentFix Duplicate icons for manually created GNOME launcher items
Execute sudo without Password : Open terminal and execute command
sudo visudoAdd the below line at the bottom
username ALL=(ALL) NOPASSWD: ALLReplace username with the username of your system. Now press
Ctrl + XthenCtrl + Yand then press Enter.Display full list of startup applications and processes
sudo sed -i 's/NoDisplay=true/NoDisplay=false/g' /etc/xdg/autostart/*.desktopNow you can open Startup Applications and remove unnecessary applications that starts as ubuntu starts.
Add noatime to fstab to disable last accessed time.