The Ultimate Gaming Shell for Linux Mint and Ubuntu!

Flickr API shell script

My Gaming Shell script!

I created this a few years ago because of my son who at the time wanted a system but we couldn’t’ afford Windows 10. So I installed Linux Mint.  I’ve found that this script should allow you to play almost any game that doesn’t require anti-cheat or the new DRM games.   Anything would run without much of a problem at least with stuff like Call of Duty and other games like that, I didn’t have much problem running them with this little shell script.   I am sure you’ve seen my Notepad++ shell script to install on your Linux system.  This is something similar and I thought it was high time to share with my readers.  If you haven’t already, you should go over and find out about shell scripting and learn some cool shell scripts yourself.   This however isn’t going to be very educational for some because it isn’t very complicated.

echo "Installing Wine"
echo y|sudo apt-get install wine-stable
echo y|sudo apt-get install winehq-stable

echo "Installing Playonlinux"
echo y|sudo apt-get install playonlinux

echo "Installing steam"
echo y|sudo apt-get install steam

echo "Installing Minecraft"
echo y|sudo apt-get install minecraft-launcher

echo "Installing Lutris"
sudo add-apt-repository ppa:lutris-team/lutris
sudo apt update
echo y|sudo apt install lutris

read -p "Do you want to uninstall Firefox? (y/n)? " answer
case ${answer:0:1} in
y|Y )
echo y|sudo apt-get uninstall firefox
;;
* )
echo No
;;
esac
read -p "Do you want to install Chrome? (y/n)? " answer
case ${answer:0:1} in
y|Y )
wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" | sudo tee /etc/apt/sources.list.d/google-chrome.list
sudo apt update
echo y|sudo apt install -y google-chrome-stable
;;
* )
echo No
;;
esac
done

You can download it here along with the Notepad++ Script!

Explaining the script

So let’s first explain the top of the script and work our way down.   As you can see these are just installing the Wine and other utilities around on the internet to be able to play the games or maybe install the stuff you are wanting to install.  It doesn’t have to be games but I am sure it can be almost anything.   My son was always playing Minecraft on his Linux machine.  That game is so easy to install on Linux and runs without much o a problem, so that is why I included it here.  The Next one is obviously Lutris which can be installed on any Ubuntu and Linux Mint system without much problems and allows you to play all sorts of games that might be online games.   I’ve not tried it lately but I am sure these will work just as well as the next.

Finally the last part, I really like Chrome and I hate it that Firefox get’s installed most of the time.   So I put in a script to remove Firefox and install Chrome.   As you can see this one asks you the questions so if you like Firefox, then you need not worry and if you like Chrome you can install that and keep Firefox or remove it.   To each there own.

As you can see this isn’t going to be a big post but I did want to share with you my ultimate gaming script for Linux and even Windows 11 can’t hold me back if I ever do decide to do that.  After all, I did get Microsoft Flight Simulator to run on Linux Mint!  Are you going to use Linux more to play games on or are you going to stay with Windows?  Why not let me know and thank me for an awesome script that you can use anytime with your Linux system.

A few facts about scripting language and Why you need to know about Scripting

coding, computer, hacker, hacking, html, programmer, programming, script, scripting, source code, Free Images In PxHere

Is scripting being used in automation?

Scripting can be a powerful tool for anything in the industry from building cars to even creating orders to ship.   Each one has a specific reason to be there,  in all there are many reason why it makes it easier for the user to have scripting.   I know in my life, scripting can be used in many different reason.   For one you could have a PowerShell script to automate a process to wake the daemon or make a service synchronize a service.  In all even in the Microsoft world there are services that need to be restarted or maybe just synched due to the daemon not keeping up.   Having seen this and having to do it from time to time or even create a script to run every hour to keep the what ever might need to be synchronized up to date.   Is that something hard to do or easy, the real questions you should be asking yourself is can you really do it and not make any mistakes?   After all, we are human and bound to make a mistake or two.   So we have to at least consider how any script will affect us in the long run.    Scripting can definitely make certain tasks so much easier when something arises that needs to be done to a server or even process.

What are the options for a script?

Before we begin the options we have to at least consider why scripts are so vastly different from applications.   The short answer is that they can’t do nearly the things applications can because they aren’t integrated into the kernel or there might be processes that the script can’t do without SU permissions and programs can have SU permissions and run in the background without any need for verification from the user.  Now let’s at least talk about the options for what a script  be used for or how we should at least consider it to be used.   First and foremost is to restart a process, and this one is the most common I have seen in the past.   I used to have to restart the Xorg services or drivers due to how the applications caused it to crash for one reason or another in Linux.   This was definitely when the drivers for Nvidia and AMD were still relatively new to the Linux environment.   It would on occasion need to be restarted and people started to have script to use to do that so they didn’t have to write the same codes down each time to restart the service.  This was truly cutting edge for Linux to be able to use a script to restart the graphics drivers and allow the user to continue to use their computer.   Another good option for tasks that can be scripted is downloading files that you might use for Windows and have them update with newest version as they are coming.  You could even create a script to download all the Windows Updates on Linux just like you can on Windows to be able to install them offline if the need arises.

Scripts are just Amazing!

As you can see, I really do love to use scripts and have in the past come up with scripts that can be used for the people who use Linux or might need a script for a certain situation.   Each person can come up with some truly amazing scripts to share with others to help make working in the Linux environment even more better for everyone.  Do you agree or disagree?  Do you have a favorite script you want to share with others?  why not leave a comment and let people know your script and tell them what OS it can be used on.   I am going to link a few good useful bash scripts to let you explore even more.

 

How to install Notepad++ on Linux Mint

Photo by Portable Free apps

Using Wine

I like the Windows version of Notepad++ so I thought I would at least share with you my current shell script, I usually call it install_notepad++.sh but you can call it anything you would like to use for the shell script. If you want to understand shell scripting on my site, please visit my other pages.  You’ll need to make sure to allow execution of the shell script before you can use it.

install_notepad++.sh

echo y|sudo apt-get install wine-stable
echo y|sudo apt-get install winehq-stable
xdg-open https://notepad-plus-plus.org
Echo "What's the current Version of notepad-plus-plus? (example Current version 7.9.2)" |Read Version_number
wget https://github.com/notepad-plus-plus/notepad-plus-plus/releases/download/v$Version_number/npp.$Version_number.Installer.exe
wine npp.$Version_number.Installer.exe
echo y|rm npp.$Version_number.Installer.exe

You can easily remove

Echo "What's the current Version of notepad-plus-plus? (example Current version 7.9.2)" |Read Version_number

if you want to use the shell without that could, You can add:

"$1" = $Version_number in the first line of the shell script.
echo y|sudo apt-get install wine-stable
echo y|sudo apt-get install winehq-stable
xdg-open https://notepad-plus-plus.org
Echo "What's the current Version of notepad-plus-plus? (example Current version 7.9.2)" |Read Version_number
wget https://github.com/notepad-plus-plus/notepad-plus-plus/releases/download/v$Version_number/npp.$Version_number.Installer.exe
wine npp.$Version_number.Installer.exe
echo y|rm npp.$Version_number.Installer.exe

then to use the shell script you can type:
install_notepad++.sh (insert the version numbers you are wanting to use)

Once you launch this, notepad++ will be installed. It will be under the Wine menu but can be launched like any other Linux GUI program.

Notepadqq

The next one is notpadqq which is a really good version of notepad++ but I like the look for Notepad++ better and can be used just like everything else.   To install notepadqq

sudo add-apt-repository ppa:notepadqq-team/notepadqq
sudo apt-get update |sudo apt-get install notepadqq

Then it will be installed in the Linux.  You can also create a shell also or just copy and paste this one into the terminal.   Each one of these are really useful with programming and writing scripts of many different programs.

What is your favorite program in Linux to edit or code with and why?  why not leave a comment and tell people what you’re favorite editor is.

How to use Oracles VirtualBox on Windows 10 (Step by Step Guide)

What is VirtualBox?

That is the first question you should be asking your if you are wanting to use it.   VirtualBox is a way for anyone to play around with other operating systems like Windows 11,  and yet I didn’t like it enough to even think about playing around with it on a Virtual machine.  You can also install different Linux operating systems to get yourself used to the Linux OS.  Either way, the long term’s of using VirtualBox is vastly better than you can imagine.  You can try new Operating system and see how they will do with what you might be interested in.   This will be a how to on Windows 10 because that’s what I am using but I have already talked about doing it on Linux  and installing Windows 10 on it.  If you’re curious about doing it the other way around that would be a good start.

After Installing VirtualBox in Windows 10

What’s the first Step in installing an operating system.  You either need the USB version or If you have a DVD of the operating system you want to install that will also be good.   Each way is not to hard to do while using VirtualBox.   First part of this is to initialize the Virtual System.

You’ll want to click the NEW button and you’ll be lead to this screen.  Give it any name you would but most will say something like MacOS, Linux, Or Windows (xp, 7, 10, 11) because you would basically like to keep track of that when you start using the Virtual machine.

VirtualBox is pretty intuitive when it comes to which operating you will be installing so when you name it the right Operating system.  You should see the version and type change down below to reflect the type of operating system parameters you’ll need to use the Virtual machine.

Dedicating the memory

You’ll want to dedicate a certain amount of memory to be use with VirtualBox so you can have enough to run the virtual operating system and not be sluggish.   If you have 16 gb or more of memory than you can easily divide it by 2 if you are just going to do one virtual machine at a time.  The Minimum I would recommend to use with a Virtual Machine is 4 gb but that is just a personal opinion.

Create a Virtual Hard drive

This is simply the easiest part of the creating the virtual machine.  You can have use as much as you like or as little as you like depending on your situation.  I usually give mine at least 10 gb or more depending on which operating I will be installing.  The more space you give the less you will have to use on your local hard drive so if you have another drive you want to use so as to not fill up your C: drive that would be preferable.

You’ll want to create a VHD or a VMDK but I rather like just useing the Virtual Hard Drive selection because it makes it so much easier for me.

This is where you should say Fixed size, so it doesn’t use up so much space that it will create a problem for you later on.

If you’re unsure of how much to use just keep it where it is.  Most of time when you are just checking out a operating system you will not need to much space to test it out.  All you have to do now is Create the Virtual Hard drive and you’ll all setup for the next part.

Installing the Operating system

The next step is to tell tell VirtualBox which ISO you will be using to install into the virtual machine.  You’ll want make sure the new machine you just created is turned blue by click on it and then hitting the settings key on VirtualBox dashboard.

Finally you’ll want to hit the little disk drive at the top right and add a new ISO you are wanting to use for the virtual environment.

Simply hit the ADD button and navigate to where you downloaded that ISO and use that then click choose.  Once done then you are all set on this part of the setup.

Don’t forget about how the cores

This is not a big issue but sometimes might help with running the Virtual Machine by checking to see how many cores you might want to use with the new operating system.  This is however just something I’ve found to speed up the virtual machine.   If you have 2 cores you can obviously only use 1 but if you have more than 2 cores it can be nice to use a few more cores to make the system a little bit more responsive.

You are all set

This part is obviously the hard part is to just hit the start or double clicking on the virtual machine you want to make it execute.   Either way sit back and play around with what you can do with the new operating system and install it on to the virtual hard drive and you’ll be good to go.  Once you install, you can go back to the storage selecting in the settings and remove the ISO to prevent it from loading again.   In some cases it will so just go back and remove the ISO from the drive and you can just enjoy playing around with whatever system you want to explore.

3 alternatives OS to use instead of Windows 11

Hardware that can’t RUN TPM.

Windows 11 and Secure Boot

Some of the hardware people have will not be able to run Windows 11. Microsoft has said they will stop updating Windows 10 in 2025. This will leave people in hardware limbo because there system is still quite fast and works perfectly well. I thought today we would talk about some other operating to use that might work for you and not require you to have secure boot, which Windows 11 will required.   I’ve talked a little about secure boot in my previous post.  So I am sure Microsoft is doing this to get more Windows 11 revenue.   After all if you have to upgrade your hardware you will most likely have to get a new key from them unless you try to call them and get a free one because you tell them you had to upgrade.   It could work you just have to upgrade the system and when the system boots back up, you have to call and validate that you are using your system.   I think you’ll allowed one or two times like this before you have to go and buy another 100$ key.  I really don’t know if it will, but it is a way around paying for a new key.

Linux All the Way

This will be a Linux post about the different OS you can use that are free.   I am sure you could go buy a Mac and be happy with that also.  Any way it goes, this will at least help not waste the hardware you have and let you use it even longer than you thought you could.  I will always be one of those who advocates for a free OS.   Linux seems to be the only OS that will do the job after Windows 11 is released and Windows 10 is retired so I am hopeful people will at least look into using Linux as an Alternative.

Ubuntu

Picture from Wikimedia

As you can see Ubuntu can look almost like Windows 11. I wonder if Windows 11 got the idea from Ubuntu or from Apple. Any which way, you can customize Ubuntu and have the Start menu anyway you like it. So You have full control of what you can do with it and how to use it. In a way, I like to say that this is the easiest to learn.  It’s pretty easy to start using it and still be able to browse the web and other things.  Once you get your feet wet per say.   You’ll be looking for other OS that might be more of your tastes but this is a good choice.

Download Ubuntu

Linux Mint

Linux Mint Daryna

I personally love Linux Mint and use it more and more.   I have been playing around with it in terms of playing games like Microsoft Flight Simulator.   You can do a lot with Linux Mint and I like it because of what you can do with it.   You can play games on it that you think you wouldn’t be able to play on Linux or even run video editing programs that you thought would only run on a MAC or windows.   In the End, Linux seems to be getting more and more useful.  I think in the end Microsoft and Apple will always be competing with Linux due to the universality of what you can do with it.

Download Linux Mint

Manjaro

Manjaro Linux

Manjaro is the last one I suggest looking into for those that are new to Linux.   it has been one of those that has started growing the last few years.   As you can see they also can let you customize the windows and how you the look of it can be.  I’ve only tried this Distro for a while and went back to Linux mint.

Download Manjaro

I like Linux Mint much better than any other one that may come my way.   I like it due to it’s look and how well it works out of the box but I am sure there is more Distros out there.  There are so many distros out there that I like to look at distrowatch for any new and upcoming distros that I might like to try and look into because you never know when there is one that will do something better than another Linux.  Which Distro do you like the most and why?  I’d love to hear your opinions on this and what your thoughts are on Windows 11.  Why not leave a comment and tell me your experiences.