main

LinuxUbuntu

Mint themes: How to install them on Ubuntu

19th November 2019 — by That IT Guy0

install_mint_themes_ubuntu-960x540.jpg

If you’re like me and use Linux Mint as your everyday desktop OS of choice, you’re used to a certain look (be it XFCE, KDE (for older releases) or most likely, Cinnamon) provided by Mint themes.

At work, I use a Ubuntu Server (with a Mate Desktop) with one single Desktop application (the why, when or how isn’t important here). I have this VM in full screen (on a separate monitor).

I’ve recently started using Mint themes (Mint-Y Dark theme) for Mint and while I like it, the difference between this and the screen next to it is annoyingly obvious. The one Dark theme on Ubuntu Mate desktop is blatantly inferior (in my opinion at least) so, what can we do?

We can install Mint themes on Ubuntu. Please note that I’ve only tested this on Ubuntu 19.04. I have no idea if it’ll work on older versions. So, to do this, follow these steps:

Create a new .sh file and open it:

touch mint-themes-installer.sh
nano mint-themes-installer.sh

Copy the following in:

mkdir ~/mint-themes
cd ~/mint-themes
wget http://packages.linuxmint.com/pool/main/m/mint-x-icons/mint-x-icons_1.5.2_all.deb
wget http://packages.linuxmint.com/pool/main/m/mint-y-icons/mint-y-icons_1.3.4_all.deb
wget http://packages.linuxmint.com/pool/main/m/mint-themes/mint-themes_1.8.2_all.deb
sudo dpkg -i mint-x-icons_1.5.2_all.deb
sudo dpkg -i mint-y-icons/mint-y-icons_1.3.4_all.deb
sudo dpkg -i mint-themes/mint-themes_1.8.2_all.deb
cd .. && sudo rm -rf mint-themes/

Make it executable and run it:

sudo chmod +x mint-themes-installer.sh
sudo bash mint-themes-installer.sh

You’ll now be able to find the Mint themes in both areas you’ll need to change them within Ubuntu (“Appearance” and “Window Manager”).

Be sure to check out more Linux Mint & Ubuntu related articles here.

Linux

How to: install Composer on Linux Mint

21st February 2018 — by That IT Guy0

composer-960x527.png

Composer is a tool for dependency management in PHP. It allows you to declare the libraries your project depends on and it will manage (install/update) them for you.

1: Composer does not have a .deb so a manual install is required. The first step, if you haven’t already, is installing PHP. This setup will fail if PHP is not installed. You can install PHP by running the following command:

sudo apt install php

2: While on your home folder on the terminal create a file for the script.

touch composer.sh

3: Open this file with your favorite editor, for this example, I’ve used nano.

nano composer.sh

4: Paste the following script in, save and exit nano.

EXPECTED_SIGNATURE=$(wget -q -O - https://composer.github.io/installer.sig)
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
ACTUAL_SIGNATURE=$(php -r "echo hash_file('SHA384', 'composer-setup.php');")</pre>
if [ "$EXPECTED_SIGNATURE" != "$ACTUAL_SIGNATURE" ]
then
>&2 echo 'ERROR: Invalid installer signature'
rm composer-setup.php
exit 1
fi

php composer-setup.php --quiet
RESULT=$?
rm composer-setup.php
exit $RESULT

5: Make the script executable:

 sudo chmod +x composer.sh

6: Run the file:

sudo ./composer.sh

No output means it all went ok and it has created a composer.phar file in the same directory.

7: Now, move composer.phar to mkae it available anywhere within the system:

sudo mv composer.phar /usr/local/bin/composer

8: You can now test the install by invoking it anywhere by simply running the command

composer

That’s it, you’re done! You can visit the official website by clicking here.

composer