Skip to content


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time

Setup Scripts for Linux

Install scripts for some of the tools I need to get a usable system for my workflows right after installing Linux.

This repository currently covers Ubuntu-derivated distributions, with some specifics for elementary OS and Thinkpad laptops.


When you install snapd on a fresh system that comes without it, you may have to reboot the system for that software installation system to become fully operative. I could not find a scripting solution to apply in the scripts to avoud it. If any script failed due to something related to snap, reboot and try again.

Other thing you may want to do is to execute sudo apt -y install snapd and reboot the machine before start.

Quick Start

These scripts will ask for your password in systems with sudo, so please review the files before executing them.

After cloning the repository, you may still have to give the scripts the appropriate permissions to execute. You can do it recursively for your own user by executing the following in the terminal:

git clone
cd linux-setup
find . -name "*.sh" -type f -exec chmod u+x {} \;


The goal of the following scripts are to be self contained and independent betwen each other. There is no issue for having scripts that install the same tools, if they were already installed they would be updated.

The following scripts are provided:

  • elementary/ -- this script is specific for elementary OS, and installs:
    • Theming and tweaking options for elementary OS.
  • ubuntu/ -- installs some personal utilities like:
    • Firefox,
    • Back in Time,
    • xclip and xsel,
    • Notable (note taking app --see
  • ubuntu/ -- installs a Microsoft OneDrive client for Linux:
    • Git,
    • Binary build tools,
    • Dlang compilers,
    • Dependencies for the OneDrive Free Client for Linux,
    • builds OneDrive Free Client for Linux from its Git Repository.
  • ubuntu/ -- installs the latest versions of:
    • Git,
    • OpenJDK Java 11 (LTS version),
    • Maven,
    • Jetbrains IntelliJ IDEA,
    • Visual Studio Code,
  • ubuntu/ -- sets up the following:
    • Git,
    • Python 3*, Pip for Python 3, and security / keyring access modules for Python 3,
    • Jetbrains PyCharm,
    • updates pip, using pip for Python 3, for the current user,
    • venv (included nowadays for any Python 3.3+),
    • Visual Studio Code
  • `ubuntu/ssd-trim' -- enables trim service for SSD disks, if not enabled before.
  • ubuntu/thinkpad/
    • basic energy management utilities for Lenovo Thinkpad under Ubuntu or derivates.
    • This is specific for Thinkpad laptops and comes without warranty (see LICENSE).
  • ubuntu/misc/ lists all the user-installed packages updatedt heir PPA's, useful to update the scripts in this repository.

(*): Python 3 is installed via apt -y install python3. python3 is a metapackage that will install the latest Python 3 available in your software sources. For LTS Ubuntu distributions, or forks from Ubuntu LTS like elementary OS, such version is 3.6.x, while the latest stable Python version may be 3.8.x or greater.

Configuration files / snippets

The file config/fstab contains an example of mount line for a properly configured NFS share. This is a useful and simple setup for Back In Time when we don't have a proper SSH server (as in the Synology NAS with modern versions of DiskStation).

Note that the mount point (in the example, /media/backup/) has to belong to the users' group and have the appropriate permissions to be able to be mounted and written.

Oh My Zsh

Aside from the existing scripts, consider installing Oh My Zsh!


scripts to setup my tools in Linux







No releases published


No packages published