/Linux-Ubuntu-18.04-LTS-Setup

Basic setup for Linux Ubuntu 18.04 LTS (Recommended For ROS)

Linux-Ubuntu-18.04-LTS-Setup

Basic setup for Linux Ubuntu 18.04 LTS (Recommended For ROS)

  • These are some suggested changes one should do while starting using Linux Ubuntu 18.04 especailly using it for ROS.

To Update Linux

sudo apt-get update

Entering this command you'll be prompted to enter your password in the same terminal.

Note: While typing No character or * will be displayed, as this is a password. Simply type your password and press 'Enter Key'

To Upgrade Linux

sudo get-apt upgrade

While upgrade command you'll be asked to installing the packages, Simply pyress y and press Enter key

You can also run boths the commands at the same time

sudo apt-get update && sudo get-apt upgrade

Additional Setting

Go to Software and Updates

image image

Change the settings as per the images and close the dailougebox.

Go to Software Updater

Update and Restart the system.


Minimize in Dock

If you click on the icon of any application in the dock, it will not minimize, to fix this

gsettings set org.gnome.shell.extensions.dash-to-dock click-action 'minimize'

New Document/File Option

To get a 'New Document' option in the Right Click Menu

touch `xdg-user-dir TEMPLATES`/Empty\ Text\ File.txt

Nvidia Drivers for Linux

Click Here for the Link

Alternatively, Go to Software And Updates, Go to Additional Drivers

image

Select the Recommended Drivers by ( ubuntu-drivers devices ) and Apply Changes

Install Synaptic Package Manager

Open Ubuntu Software Store and download Synaptic Package Manager image

Open Synaptic Package Manager

Search for,

openjdk-8-jre

Click on it and select Mark For Installation.

Search for,

ttf-mscorefonts-installer

Click on it and select Mark For Installation.

Search for,

ubuntu-restricted-extras

Click on it and select Mark For Installation.

Search for,

apt-xapian-index

Click on it and select Mark For Installation.

Search for,

microcode

Click on it and select Mark For Installation for Intel and AMD Microcode.

Click on apply and Close.

Alternatively, To get the media codecs (Using CLI)

sudo apt-get install ubuntu-restricted-extras

To Reduce Swappiness

To reduce the usage of the disk and use the RAM first

cat /proc/sys/vm/swappiness
gedit admin:///etc/sysctl.conf

Now, you'll be prompted to enter the password, after entering the password a file will be opened. Scroll down the file and at the end write,

vm.swappiness = 10

Save and Close the file and Reboot Your System

After rebooting open terminal and type,

cat /proc/sys/vm/swappiness 

The value should be 10

To improve overall performance of Linux System

Open Disc App, image

Select Hard Drive in which you have set up linux and Select the Linux Partition image

Go to Menu (Right Top)and Go to Drive Setting (ctrl + E) image

Go to Write Cache Enable It image and Close the dailougebox.

To Install Some Linux Packages

sudo apt-get install libavcodec-dev libsdl1.2-dev xsltproc libbullet-dev libsdl1.2-dev libgoogle-glog-dev protobuf-compiler python-wstool

To Set Up Git

sudo apt-get install git

To get Flatpak Supports

It enables the softwares which are not provided by Default App Store in Linux; Go to flathub website for more softwares and info

sudo apt-get install flatpak
sudo apt-get install gnome-software-plugin-flatpak

To get the Flatpak softwares directly into the app store

flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo

For removing unnecessary files and Maintaining System

sudo apt autoremove

Install Terminator

Terminator is a software which will be best suitable for managing multiple terminal windows while using ROS

sudo add-apt-repository ppa:gnome-terminator
sudo apt-get install terminator

GNOME EXTENSIONS

To install Gnome Tweaks

sudo apt-get install gnome-tweaks

To know version of GNOME Shell

gnome-shell --version

To install Gnome Extensions

sudo apt install gnome-shell-extensions

To get the Host Connector

sudo apt install chrome-gnome-shell

GNOME Extensions Website

(https://extensions.gnome.org/)


References

(1) https://averagelinuxuser.com/30-things-to-do-after-installing-ubuntu-18-04-lts/#1-configure-the-update-manager-and-repositories

(2) https://itsfoss.com/things-to-do-after-installing-ubuntu-18-04/

(3) https://www.youtube.com/watch?v=BLVtxpm5c2A

(4) https://www.youtube.com/watch?v=ynA_zv2eRzE

(5) https://www.youtube.com/watch?v=CPDDBVeIyLw

(6) https://github.com/PranshuTople/Tools-For-ROS

(7) https://www.youtube.com/watch?v=g25yTWiuUcg

(8) https://itsfoss.com/gnome-shell-extensions/