My first moves after installing a fresh Linux (Mint).

Linux Mint first move#

First things I do after installing a fresh Linux (Mint)

Table of contents :

Date format#

Right click on the date (from the bottom right toolbar), configure.

Date format : %Y.%m.%d ‧ %H:%M:%S

Personal Everyday Softwares#

First, installing some softwares, using APT :

sudo apt install \
curl \
nfs-common \
keepassxc \
filezilla \
pdfarranger \
exiv2 \
audacity \

Then, installing other softwares, at their very last version, using Flatpak :

flatpak install org.gimp.GIMP \
org.inkscape.Inkscape \

Explanations :


See my DeaDBeeF dedicated page.


sudo wget -O /usr/local/bin/yt-dlp; \
sudo chmod a+rx /usr/local/bin/yt-dlp;

Also see my yt-dlp dedicated page, about the nice stuffs you can do with yt-dlp.

Personal Linux Helpers#

Some little scripts I've made

sudo wget -O /usr/local/bin/; \
sudo wget -O /usr/local/bin/; \
sudo wget -O /usr/local/bin/; \
sudo wget -O /usr/local/bin/; \
sudo wget -O /usr/local/bin/; \
sudo chmod +x /usr/local/bin/; \
sudo chmod +x /usr/local/bin/; \
sudo chmod +x /usr/local/bin/; \
sudo chmod +x /usr/local/bin/; \
sudo chmod +x /usr/local/bin/;

Mediaprefixer requires EXIFTOOL#

wget -O /tmp/Image-ExifTool.tar.gz; \
cd /tmp; \
gzip -dc Image-ExifTool* | tar -xf -; \
cd Image-ExifTool*/; \
perl Makefile.PL \;
make -j$(nproc) test \;
sudo make -j$(nproc) install;

x264-Expecto-Patronum requires FFmpeg#

Install it or, even better, compil it !


SMPlayer : a video player (based on mpv) that is less buggy and faster than VLC (but taking a little more CPU here for some reasons)

Install the very last version :

flatpak install info.smplayer.SMPlayer


See my Firefox dedicated page


Got any e-reader ? Then grab the latest Calibre ebook file manager & converter :

flatpak install com.calibre_ebook.calibre

Need to draw diagrams ? Then (now called is the perfect free tool for that :

flatpak install com.jgraph.drawio.desktop

Web development (Apache, PHP, MariaDB)#

If you are a web developer, classic but robust style (Apache / PHP / SQL)

sudo apt install git apache2 php php-cli php-common php8.1 libapache2-mod-php8.1 php8.1-xml php8.1-gd php8.1-mbstring mariadb-server php8.1-mysql;

Apache / PHP configuration#

Allow htaccess rewrite :

sudo a2enmod rewrite;

Then limit Apache to your computer, only :

sudo nano /etc/apache2/apache2.conf;

Look for :

<Directory /var/www/>
        Options Indexes FollowSymLinks
        AllowOverride None
        Require all granted

Replace by :

<Directory /var/www/>
  Options Indexes FollowSymLinks
  AllowOverride All
    Require local

Allow PHP errors

sudo nano /etc/php/8.1/apache2/php.ini;

Find and update those two lines :

error_reporting = E_ALL
display_errors = On

Let's conf MySQL/MariaDB

sudo mysql_secure_installation;

Then :

Then create a superuser (which is different from the previous MySQL root user)

sudo mysql;

And when you have the MySQL/MariaDB prompt (MariaDB [(none)]>), type :

WARNING : please change TYPE_YOUR_PASSWORD_HERE with .. the password of your choice !

GRANT ALL PRIVILEGES ON *.* TO 'superman'@'localhost';
GRANT GRANT OPTION ON *.* TO 'superman'@'localhost';

Then restart Apache

sudo systemctl restart apache2;

Then give /var/www/html the right permissions

sudo chown -R TYPE_YOUR_LINUX_USERNAME_HERE:www-data /var/www/html && chmod -R g+sw /var/www/html;

Then remove the /var/www/html/index.html preventing us from listing our web projects.

rm /var/www/html/index.html


Let's install it :

wget -qO - \
    | gpg --dearmor \
    | sudo dd of=/usr/share/keyrings/vscodium-archive-keyring.gpg; \
echo 'deb [ signed-by=/usr/share/keyrings/vscodium-archive-keyring.gpg ] vscodium main' \
    | sudo tee /etc/apt/sources.list.d/vscodium.list; \
sudo apt update && sudo apt install codium;

Then configure it following this page.

Disable the Linux Mint Alt keyboard binding#

This is so annoying for VSCodium, let's disable it :

Boom, this is cool, uh ? (this thing used to turn me crazy)

VSCodium extensions#

See my VSCodium dedicated page (français)


Simply adding our username & password

git config --global "my fantastic username"; \
git config --global "my fantastic email address"


Regarding web development, I'm using Chromium (but only for its great DevTools), and the good news is we don't have to use the Google official spyware version, we can rely on that "UngoogledChromium" :

flatpak install com.github.Eloston.UngoogledChromium

How to keep everything up to date ?#

Here is the magical one line command to keep our linux up to date :

sudo apt update && sudo apt upgrade && sudo apt autoremove && flatpak update

That's it, one line !


"Mint" by Ian Dick is licensed under CC BY 2.0.

This page was last edited on , generated from this markdown. Content is available under the Creative Commons CC BY-SA 3.0 License unless otherwise noted. This site is ad-free and contains no third party cookies or tracking, just as the Web should remain.
HomepageBack to top