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#

sudo apt install \
curl \
nfs-common \
keepassxc \
filezilla \
pdfarranger \
exiv2 \
audacity \
mediainfo \
smplayer \
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 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 !


Web development (Apache, PHP, MariaDB)#

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
# </Directory>

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;

Disable the Linux Mint Alt keyboard binding#

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

system > window > behavior > special key to move and resize windows > disabled

Boom, this is cool.

VSCodium extensions#

See my VSCodium dedicated page (français)


Regarding web development, I'm using Chromium only for its DevTools :

sudo apt install chromium-browser;


See my Firefox dedicated page


"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