just trying to find the answer…

Category: Linux

Civilization V extra crashy on Linux?

I really do not play many games on my computer, but one game I play on occasion (and only on occasion, since it such a time vampire) is Civilization V.

The Time Vampire counts the hours you waste playing Civ 5… ah ah ah!

Unfortunately, Civ V is very crashy on Linux, and it seems to nail my CPU and fan while I am running it.

Until I fixed it.

Civ V is an OLD game, and wasn’t really designed to do multi-threading well. Civ is supposed to detect on first time start up your total number of available threads.

But it doesn’t. So you need to fix it.

The file you need to edit is in a hidden folder called .local under your home directly. Set your ‘Files’ browser to “show hidden” and you’ll see it.

/home/heinrich/.local/share/Aspyr/Sid Meier's Civilization 5/config.ini

The file is called config.ini. Open the file and look for this line:

; This is capped at runtime to the number of physical processors
MaxSimultaneousThreads = 8

The problem is, my CPU is a 6 core CPU with 12 threads. I need to change this number to 12.

If you need to know how many cores and threads your CPU has, enter this command in the terminal:

Your total number of threads is CPU x Threads per CPU. Change the number of MaxSimultaneousThreads to your actual max number of threads.

Save and re-start Civ 5. It should run now, and suck hours and hours of your life away.


I’m rooting for Fedora 28!

Fedora 28 was released last week and it’s buttery smooth.

Many of the old issues with Nvidia graphics which required arcane spells and command line magic (which is the most powerful magic) to configure are GONE! Hooray!

Bizarrely, when you install Fedora 28 now, the user account is configured AFTER installation on THE FIRST boot up. Previously, everything was set up at installation, which I actually prefer.

Furthermore, root is not configured, meaning that UNLESS you set the root password, you won’t be able to wield ultimate command line magic.

But to set it up takes under 30 seconds. Ready? GO!

In the Terminal type:

sudo su -

it will ask for your admin/user password and you’ll get the “Spiderman” warning. Then type:


to set the password.



Fresh Fedora Install? Do this next…

A while back, I installed Fedora 27 on a Dell laptop. I installed it as a partition, so I could dual boot either Windows 10 or Fedora. After a while, I found myself using only Fedora. So I reformatted the drive (using LVM whole disk encryption) and now it’s a Fedora only machine. If I want Windows, I’ll create a VM image.

Update your install

I know you think, “I just installed this, it must be updated…” Yeah, well…. no.

Do this

sudo dnf upgrade --refresh

The instructions are detailed here https://fedoraproject.org/wiki/DNF_system_upgrade.

The upgrade will take a while but it’s worth it. After it’s done, a system reboot is a good idea (it couldn’t hurt).

Install GCC and Ruby

Bizarrely, GCC and Ruby are not installed by default. But you can check by typing:

gcc --version

and if you don’t have gcc installed, you will be offered the choice to install it.

bash: gcc: command not found...
Install package 'gcc' to provide command 'gcc'? [N/y]

Say yes.

Now for Ruby.

ruby -v
bash: ruby: command not found...
Install package 'rubypick' to provide command 'ruby'? [N/y]

again, say yes.

That’s all for this installation of “Fun with Fedora”.



Linux Distro of Choice

If you ask 20 people who  use Linux, “what is the best version of Linux?” you will probably get 20 different answers.   If you’re lucky.

There is actually a website dedicated to tracking every distribution of Linux called,  DistroWatch.

Choosing a version of Linux can be daunting, but it ultimately comes down to what are you looking for in an operating system.

I wanted a version of Linux that had the following specifications:

  • Well documented. When everything goes south, I can’t call somebody, so give me a wikipage I can read.
  • Well supported by a community of users. Many distros are “here today, and gone tomorrow”. That means I need to learn the ins and outs of a new system every few years? No thank you, I am busy enough.
  • Works well, easy to use, doesn’t require a lot of maintenance.
  • Regularly updated. I was looking at one variant of Linux, that looks GORGEOUS, but it hasn’t been updated in over a year.
  • Offers a variety of developer tools. This is a minor consideration, as most Linux distros can use all the same tools.

So which Linux ticked all my boxes? Fedora.

Currently at version 27 (as of this writing), I have been using it a few months now and I am very happy with it.

  • It’s very well documented.
  • It has great community support. In fact, the good people at Red Hat Linux sponsor Fedora.
  • Has it’s own “magazine” with regular tips and tricks for users of all levels. I liked the article which showed how to change your boot up window to a Hot Dog.
  • It works great. Try it yourself.
  • It’s regularly updated, and they release a new update every six months or so. Fedora 27 was released Nov 14th, 2017, and Fedora 28 is expected May 1st, 2018. Upgrading is pretty easy.
  • Has all the software tools and toys you could ever want.

Give it try! It’s light years better, faster, and more secure than Windows.

Mr Hot Dog says, "Eat me!"

Mr Hot Dog says, “Eat me!”

Powered by WordPress & Theme by Anders Norén