Tag Archives: Ubuntu

Life with Linux

220px-TuxIt’s been about two months since the XPocalypse, and also two months of living with Linux (specifically Zorin) on two desktops and my old netbook, and I thought it was time to share some of my thoughts/feelings. As a programmer I’ve always had a passing familiarity with Linux (I had to use emacs in an x-window system for a lot of my homework in college), but I’ve never really had it on a computer I used all the time. Most of my day to day work is done on the new Windows 8 machine (which has hella crazy battery life), but I use the old Linux box as a way to train myself for a day when I want to make old hardware work for me rather than buying new hardware. So, in no particular order, here are my impressions.

  • I love startup and shutdown. Updates don’t hold up my shutdown and the thing is all the way off in less than ten seconds. One of the dreads of any windows computer is going to leave and realizing the thing wants to do 13 updates you weren’t planning on. This actually screwed up a netbook computer of my dad’s when he was cut off from the internet at a Panera. Not so with this box. It boots up quick, and shuts down quicker.
  • Zorin’s Windows look and feel is pretty good, but the version I installed (6.4 LTS) isn’t the best with desktop icons so I find myself mostly using the menu. The menu keeps programs pretty organized, though not always where I would expect them, and I’m not sure how to re-arrange and create my own folders and sub-categories.
  • I got Steam to work and brought over roughly 25% of all the games I own. I haven’t messed with Wine yet, but presumably I could get a lot more programs to work that way as well.
  • The Ubuntu Software Center is convenient for finding programs and installing them from a centralized location, but most programs seem horrendously out of date. Calibre was at least 40 revisions back, and ScummVM was back several releases as well. If it’s software you use all the time, you’re probably better off going straight to the developer’s site and getting the latest version.
  • Installing programs manually can take many forms. ScummVM came with a .deb package that Ubuntu could install through the software center. Calibre came with a long command line command that you paste into a terminal to install. Neither seem to have built in update mechanisms so this procedure must be repeated each time a new version comes out. Your mileage will vary depending on the programs you are using.
  • For internet Chrome seems to be the best, mainly from a plugins perspective (flash is installed and working without having to download). I use Opera but the one packaged with Zorin is very old, 12.16. I haven’t tried to update to the latest yet, but the old version serves well enough.
  • I use the old netbook a lot for downloading torrents from Humble Bundle (my latest eBook or game purchases) . Torrents tend to be the fastest and easiest way to manage the bandwidth downloads take up (sharing 15Mbps while trying to watch Netflix can get a little tight). qTorrent is pretty good, though its default setup crashed my router a few times before I told it to dial back the number of connections.
  • Using Google Docs and LibreOffice are fine, close to the OpenOffice experience I used to use. Probably won’t use it for any long projects, but nice to know it’s available.
  • ScummVM and DBGL work well and allow me to port a lot of my old games to this machine. Overhead can sometimes make games run more laggy than they seemed to on Windows.
  • The file explorer is tabbed and capable, arranged in the same groupings as Vista-8 (Docs, Music, Videos, etc.)
  • I like that print screens automatically write out a file.
  • Wireless connections seem better able to handle security at the enterprise level. My old netbook is the only computer I have that can connect to my company’s wireless.
  • VLC media player is a classic for video playback. Haven’t found an audio player I love yet.
  • Still playing with notepad replacements equivalent to Notepad++. Haven’t found one I like yet.
  • I’ve been meaning to test programming IDE’s but haven’t really gotten around to it. Installed CodeBlocks and Geany.
  • I’m not really happy with PDF readers either yet. SumatraPDF is one of the best windows ebook, pdf and comic book readers and I have yet to find something that simple and elegant for linux.
  • Lubuntu is definitely better on old hardware and Zorin’s lite release is very similar to its full release so switching between them isn’t difficult.
  • The number of updates seems much higher than Windows, but at least they don’t get in the way.
  • USB devices recognize easily except for my USB 3.0 hard drives. Might be more a fault of the hardware (though Windows XP did not have this problem).

Have you ever played with a Linux system? What are your impressions? Any recommendations?

Leave a comment

Filed under Trube On Tech

After the XPocalypse: Zorin – As close to Windows as Linux can get

Say you have an old desktop that used to run XP. You don’t really want to spend the money to replace it, but you don’t want it gathering dust either. Bottom line, you don’t want to spend any money right now and you’re willing to try something new and radical, yet safe and familiar.

Look no further than Zorin:

Screenshot from 2014-04-07 08_02_06

Never heard of it? Well, you’ve probably heard of Ubuntu. Zorin’s a flavor of linux with Ubuntu as its starting point. Zorin’s mission is to provide a Windows like experience for people who are new to Linux. Be warned, it is still Linux. There will be a learning curve, but you can do it!

First off a word about versions. The version I’m recommending you install is Zorin 6.4 Core LTS (0r 6.2 Lite LTS if your machine is really ancient). LTS stands for “long term support” which in the Ubuntu Linux world means 5 years. Zorin 6.4 is the latest LTS available, based off Ubuntu’s 12.04 LTS. It’ll be good for about another three years, and then you’ll probably need to do another install. You can try something newer but support times are shrinking. They used to be 18 months and now they’re 9 months. So this OS should last you 2-4 times as long as any other option besides spending money.

For this install you will need:

*Clarification on support. Zorin 6.2 and 7.1 lite are no longer supported, but there is no version of lite for version 8 of Zorin (the latest). The 6.4 Core has the longest support of 2017. The reason for this is that Lite version is based on Lubuntu (lightweight Ubuntu) which has a different support cycle. I recommend using Core if your system can handle it, and the latest lite if not until a new version is released. (This differs from the version of Zorin I originally recommended for download, I am correcting the original post). A new LTS version of Ubuntu should be released sometime this month, but when that update affects Zorin is unknown.

You’ll be installing Zorin either with a live USB or live CD/DVD. There are some pros and cons to either solution:

  • Burning a CD or DVD from an ISO is pretty easy. If you don’t have the software on your computer, try InfraRecorder.
  • If you don’t have an optical drive (external or built-in), then flash is really the only way to go.
  • But not all BIOS’s support booting from a USB (more on this later).
  • Using a USB allows you to create a full linux live system with persistent files that you can boot on any machine (in other words kind of like a virtual machine).
  • But the data files are unencrypted and lost if you lose the USB.
  • USB will be faster, but DVD will be easier and will auto-eject when finished installing.

My suggestion is create both options (flash drive and CD/DVD) and try both to see which works. Flash drives can always be reformatted and CD/DVDs are cheap. Plus you have a backup of the OS if you ever want it.

Step One: Bring your USB to live

Assuming you’ve already burned a live disc, we’ll now create a live USB.

Clipboard-1

Pendrivelinux’s UUI has some pretty simple to follow instructions. Select the Linux OS you’re installing from a drop down list (Zorin OS is under “other”). Browse to the location of your ISO. Select your flash drive (and optionally format it).

The persistent file size is the area of your drive used to store any files or settings you create while running the live system. This makes it easy for you to try what you like, and then install everything you’ve changed without having to repeat it. If you’ve got a big flash drive, go ahead and slide this bar all the way to the end.

Click create. Be patient, this could take as much as a half an hour to complete, but probably more like 15 minutes. Get a coffee. Send some e-mail.

Clipboard-2

At some point it will start extracting the ISO image. This will pop up another window and will probably be one of the longer parts of the creation.

Clipboard-3

The only disadvantage to the persistent drive it takes a few minutes to create. The program has to create a virtual drive that’s formatted correctly. If the program doesn’t look like it’s doing anything, trust me, it is.

Some people prefer UNetbootin. Both work, there’s no real advantage to either. Use whichever you prefer.

Step Two: Get to your BIOS, or hit F2 repeatedly

Your BIOS is what actually runs first whenever you turn on a machine. Modern computers hide the BIOS so you don’t even see that it’s working, you just see Windows. But trust me it’s there. They’re all a little different, and you even hit different keys to get to them. You’ll have to look up which one works for your computer but good candidates are F2, F9, F10, F11 and F12. My older ASUS netbook (model eee 1005 HA), used F2.

You’re looking for a tab marked Boot settings or something like it. You probably will only be able to use your keyboard to move around.

On the ASUS there are two boot orders, one marked “Boot Device Priority” and the other marked “Hard Disk Drives”. Make sure to have your USB plugged in when you are making these changes. Make “Removable dev” your first boot priority, and make the USB the first of the two hard drives. This setting doesn’t seem to hold if you remove the drive or even shut the computer all the way off.

Most BIOS have CDs as the first priority item. You can leave this and make USB the second to cover all bases.

If you’re successful you should see UUI’s load screen and then the Zorin live system will boot.

Step Three: Look Around

Screenshot from 2014-04-07 08_02_06

There’s an icon on the desktop that might just be how we install this OS. It’s called “Install Zorin OS”. Before you click it, click on the network icon in the bottom right and connect to your internet connection. Make sure your device is plugged in. This install may take about an hour.

Feel free to play around with the menu, or any of the buttons at this point. Familiarize yourself with the programs that come pre-installed. Everything’s organized by category so it should be pretty easy to find what you want.

Step Four: Push the button

Click the “Install Zorin OS”. If you’re running from a live CD, be patient if it doesn’t respond immediately. After a few screens asking what language you speak Zorin will bring up this screen:

Screenshot from 2014-04-07 12_42_48

You can do one of a few things at this point. The first option is to install Zorin alongside the existing operating system. If you think you’re going to need XP in the future, just to run some programs you can’t get running anywhere else, go ahead and choose this option (I did).

Note: XP demanded a chkdsk after I finished installing Zorin (probably because of the repartitioning). This is normal and XP should run fine after it finishes the check.

If you think you’re ready to only live with Linux, go ahead and pick option two. Be aware this erases all your files and programs so hopefully you made a backup? If not, quit and try again.

Step Five: Figure out how big you want Zorin to be

After you hit continue you will see this screen:

Screenshot from 2014-04-07 12_44_38

On the left is your old OS (assuming you kept it), on the right, Zorin’s new home. 40GB is a pretty good size though you can always go bigger depending on your needs. Just click and drag the bar in the middle to manipulate.

Note: Ubuntu does not define a GB in this case as a true gigabyte. It is instead 1,000,000,000 bytes. A real gigabyte is 1,073,741,824 bytes. So our 40 “GB” drive is actually about 38.4 gigabytes, still more than sufficient.

Step Six: Click “Install Now” and Wait

Partitioning the drive for your installation will probably take a while, especially if your hard drive is really full and hasn’t been defragged in a while. When true installation begins there will be a few screens for determining time zone, keyboard layout, and login credentials. Once you’re done, Zorin may show you a video while it finishes copying all the files over.

Note: Your user icon can be difficult to change after installation so make sure you pick one you’re going to like (especially if you take a picture of yourself 🙂 ).

Step Seven: Reboot when finished

If you’ve plugged in a flash drive to install the OS you may want to choose to continue playing with the live so you can do a full shutdown rather than just a restart. Otherwise you might boot back up into the live system instead of the one you just installed.

Step Eight: Run updates

The shutdown icon in the bottom left will have a menu option that says either “System Up To Date” or “Check For Updates”. Click this either way, and then click “check” on the screen that comes up.

Screenshot from 2014-04-07 19_07_00

Zorin 6.4 had 337 updates as of this writing. After you click install you’ll be asked to authenticate:

Screenshot from 2014-04-07 19_07_23

Get used to doing this, this is linux’s user account control.

You may see this screen:

Screenshot from 2014-04-07 19_20_05

“If you don’t know why the file is there already, it is usually safe to replace it”. Not a great habit, but seems okay in this case.

Step Nine: Enjoy!

Here’s a few things to try:

  • Click on the internet category and use Zorin’s internet manager to install the browser of your choice.
  • Click on the system group to change the look and feel of zorin.
  • Take screenshots and see them auto appear in your pictures folder.
  • Try to use WINE to install a windows program (more on this another time).

This primer should get you started at least. Feel free to leave any questions in the comments, or show me something cool you’ve done with Zorin.

—————————

Disclaimer: Any advice or tips given here will not be valid for all users in all circumstances. Do what makes sense to you and don’t do what doesn’t make sense. These posts are for educational, informative purposes only. Show these posts to your computer friends and have them tell you if I’m right on the money or out to lunch. In any case, please realize that anything you do to your computer is your responsibility. If you have a specific problem and need help, shoot me a comment, but if your computer bricks you were warned.

1 Comment

Filed under Trube On Tech

AGFV: DBGL, a friendlier way to play in the DOSBox (+150 free games)

Our first post introduced you to ScummVM, a virtual machine or emulator for running LucasArts and other 2D adventure games. Today we’ll looking at another emulator, DOSBox, and one of the friendlier ways to interact with it, the DBGL front-end.

What is DOSBox?

DOSBox is an emulator which simply put allows you to run games and programs that were designed to work in the DOS operating system common on computers in the late 80s and early 90s. DOSBox can simulate a wide variety of hardware configurations and has been tested with 1000s of games. It can even be used to create virtual machines of DOS based Windows operating systems like Windows 3.1, 95, 98, etc.

Interacting with DOSBox directly is not for the faint of heart. DOSBox starts with no knowledge of the computer it’s running on, or the programs and files it can access. It does not even know where the CD drive is. This is similar in many ways to linux, in which peripheral drives need to be “mounted” before they can be used. Mounting a hard drive or CD drive is just another way of telling DOSBox where to look for programs and how to treat them. Still for building up a library of games to play, typing in a bunch of commands up front can be tedious and time consuming.

Front-End to the Rescue

A front-end is another interface designed to run another program with a specific set of commands. In this case we’re using DBGL, or DOSBox Game Launcher. DBGL has access to all of the machine settings and configurations of DOSBox, but also has the capability to store these configurations for future use. After a program is initially configured, playing it is as simple as selected the game title and pressing play.

We’ll be using DBGL a lot for configuring and cataloging games in the future, but today I’ll just give you the quick tour, and show you how to install 150 games for free.

The Elder Scrolls Running

The Elder Scrolls Running

Installing DBGL

Installing DBGL is pretty simple. Both DBGL and DOSBox are cross-platform and should run in most major operating systems. Most of the screenshots for today are from my Windows 7 machine, though I’ve also provided some material from Ubuntu 12.04 for reference.

For Windows users simply download the program from here and extract the files to a folder (typically DBGL or dbgl073). To start DBGL double-click the launch program.

Linux Users have a couple of extra steps. Download the tar.gz from here and extract wherever you have read/write/execute permission (I just did it in my documents folder).

You’ll need to make sure several packages are installed for Java Runtime and for various sound and visual libraries. To install bring up a terminal window and run these three instructions (typing yes after any prompts)

sudo apt-get install libsdl-sound1.2

sudo apt-get install libsdl-net1.2

sudo apt-get install openjdk-6-jre

apt-get installs

apt-get installs

Double clicking on the DBGL file in the directory will launch a terminal window and run the program.

Launch DBGL

Launch DBGL

Run DBGL (Terminal Prompt)

Run DBGL (Terminal Prompt)

DBGL Running

DBGL Running

Importing Packages

As of this writing DBGL has downloads for nine different game packages, containing 154 freeware/shareware games in total. Among the more notable titles are shareware copies of Doom 1+2, Duke Nukem 1-3D, System Shock, Dark Forces, Magic Carpet and more. Commander Keens 1,4 and 6 are here in their entirety as well as full versions of the first two Elder Scrolls Games (if you want to see what came before Morrowind, Oblivion and Skyrim). A number of lesser known titles are here as well, including a number of Risk like games put about by Soleau Games (I used to spend a lot of time playing these), and newer Indie titles. The games included span from 1984 to 2004 and cover all basic genres (shooters, RPG, puzzle, text adventure).

You can download the packages here.

To import a package click on the “File” menu at the top left and selection”Import”.

File-->Import

File–>Import

You’ll see a browse window. Click on the package you wish to import and click “Open”.

Open GamePak

Open GamePak

Once you’ve opened the Pak you’ll see a basic description of the contents, author, and any other pertinent information. Click “Next” to continue import.

GamePak Description

GamePak Description

The next screen will give you some options as to what to import. For now, leave everything at defaults and click “Next”.

Import Options

Import Options

The next screen will give you a list of games including in the Pak. All games with a check mark next to them will be import. Uncheck any games you do not wish to import.

Games List

Games List

NOTE: Almost all games from these Paks install without any naming collisions except for “The Thor Trilogy” and “Thor’s Hammer” which both try to save to a folder “THOR”. To avoid this collision select the game and click “Add game title to BaseDir” for either game, then proceed with import by clicking “Next”.

Thor Import

Thor Import

Our last screen before importing will have any other versions of DOSBox that are being imported. DBGL comes with the latest version of DOSBox (as of this writing 0.74), but supports any of the previous versions. DOSBox is open-source and sometimes updates and fixes to one game breaks another. 95% of all DOS games and programs will run in the latest version. The rest may not be supported, or may be able to be run in a previous version. DOSBox’s website provides detailed compatibility charts for every program and game imaginable on its website.

For now, click any versions other than DOSBox 0.74 and import them. Click “Next” to bring up the last step before import.

DOSBox Alt Versions

DOSBox Alt Versions

Click “Start” to begin the import. Click “OK” and “Finish” when all games are installed.

Games Installing

Games Installing

Select a game and click “Play” to run!

Install Finished

Install Finished

All games in the Paks are pre-configured with all of the settings necessary for DOSBox. DBGL supports importing MobyGames descriptions of games, and all games in the Paks will have this information already downloaded, as well as screenshots of the game.

We’ll be playing with DBGL a lot and will explore it’s features in detail in future posts. For now, enjoy some vintage gaming and your upcoming weekend!

1 Comment

Filed under AGFV, Trube On Tech