Give your Linux Peach Installation Windows Program Functionality

  • 2 February 2016
  • Administrator

Ok – here we go with how to give Linux – hence Peach OSI/TV or any of its derivatives – as much Windows program support as currently accepted as possible.

First you must have Peach installed on your machine and you should have no less than 13GB of available storage space (I highly suggest that you have at least 20GB.)

Make sure that you have updated your Peach Distro via the Software Update Icon on the bottom of your Peach desktop. (It’s the orange icon with the 2 half turned circles.) See the very bottom of this tutorial if you have encountered a newer Linux Kernel installation during the update process. (Titled: Final Information.)

Also note: After performing the following installations – You will not be able to use RemasterSystem for backup copies or distribution copies of your Peach system. RemasterSystem has a built in limitation of 4GB and the following additions to your Peach installation will be far greater than 4GB.

Please follow these instructions step by step and do not leave out any of the steps. If you do not follow these steps in order – you may not get the desired outcome.

 

Step 1: Remove any existing Wine versions and files that you may have previously installed. Perform this step even if you have not tried to install Wine.

Open a terminal and type or copy and paste the following commands:

sudo apt-get autoremove wine                           (this will uninstall wine)

sudo apt-get autoremove                                     (this will purge all wine files)

Reboot Your PC

 

Step 2: Install Wine

Open a terminal:

Type or cut and paste the following command – all in one –

sudo add-apt-repository ppa:ubuntu-wine/ppa -y && sudo apt-get update && sudo apt-get install wine 1.9

Pay attention to the installers and respond when needed so as to allow the installation(s) to continue. This will take a few minutes as there is a lot of installing of files to perform.

Reboot again when the download and installation completes. Make sure that all operations have completed before rebooting. You should be back at the “username”-“appliance”:~$ prompt when finished.

Step 3: Configure Wine

Click on "Applications" on your top left

You now should have a tab named "Wine"

Click on that tab - "Wine"

Click on “Configure Wine” Let Wine configure itself. It may ask to install additional software. If it does, allow it to install that additional software

When the next window pops up titled Wine configuration - at the bottom of that tab you'll see a Menu item entitled " Windows version". I prefer to set the Windows version to Windows 7. Close the configurator. Install the latest developmental version of Wine: The following steps will install versions of Wine, Winetricks, Q4Wine and PlayonLinux that are not yet available in the Ubuntu Software Download Center. Meaning that you will have more advanced Windows programming support.

Step 4: Install Q 4 Wine

Open a terminal and type or cut and paste the following: (3 separate commands)

sudo add-apt-repository ppa:tehnick/q4wine

sudo apt-get update

sudo apt-get install q4wine

This will not only install q4wine but it will give you the PPA capability to automatically install any future updates to q4wine.

Step 5: Install PlayonLinux

Easiest way - Open Firefox and go to:

https://www.playonlinux.com/script_files/PlayOnLinux/4.2.10/PlayOnLinux_4.2.10.deb

and this will allow you to download the PlayonLinux .deb file. Once downloaded simply click on the file and it will open Ubuntu’s Software Center and inform you that you are installing a version of PlayonLinux that is higher than the one offered by Ubuntu. Allow it to install.

After installation – PlayonLinux will be located in the top left “Applications Menu” under “Games”. Click on it and run it. If after opening you get a message like “PlayonLinux is unable to find 32bits OpenGL libraries” Please see the following URL:   https://www.playonlinux.com/en/topic-11861.html.

Down near the bottom of the page you’ll see how this user corrected the issue. It seems to be a common issue with computers with some NVidia cards.

Even if you make no changes to your OpenGL Libraries you may not have any issues with PlayonLinux but if you do help is available if you need it. Just email me.

Now I want to show you something you’ve never been able to do with your Peach/Linux/Wine setup. If you have a particular Windows program that you want to install - make that Windows .EXE file available to Peach. Right click on the .EXE file and select “Open With”. In the menu that pops up select to open with Q4Wine. About 75% of all Windows programs will now install simply by using this right click technique and by allowing Q4Wine to do it’s magic.

 

Final Information: Setup Peach to boot to a newer or newly installed Linux Kernel.

This is a common issue in different flavors of Ubuntu and you can find plenty of information on the web about a distro of Ubuntu not automatically updating the grub boot menu. Below I will give you what I believe is the simple method to get Peach to boot to a newer Kernel but there are other methods. To look at a couple of those methods and a brief explanation as to why Peach OSI or any Ubuntu derivative does not automatically boot to a newer kernel - take a look at the following URLs.

 

http://statusq.org/archives/2012/10/24/4584/

 

and

 

http://www.brighthub.com/computing/linux/articles/36648.aspx

 

 

With that said and hopefully read - here is how we suggest that you update Peach OSI to a newer kernel.

 

 

Setup Peach to boot to a newer installed Linux Kernel.

You will be using two programs already pre-installed in Peach OSI.

The two programs are Grub Customizer and Ubuntu Tweak.

 

First install the newer Kernel if given as available via the Software Updater (Orange Icon in the bottom dock of your desktop window with two half turned arrows.)

 

Reboot after update or upgrade installation.

 

Open from the top left - Applications/Settings/Grub Customizer

 

Enter password

 

Select to not open Burg

 

Allow the program to populate all of the current boot options

 

Your newer Linux Kernel will not be on the populated list

 

It is available to you from the right side menu

 

Usually the newer Kernel will be listed under "Advanced Options for Ubuntu"

 

Expand the "Advanced Options for Ubuntu" folder

 

Underneath the folder heading will be Ubuntu, with Linux ...... showing the newer Kernel option

 

Right click on the top item under “Advanced Options for Ubuntu”  and click on add.

 

If you want to have the recovery mode available at bootup right click on the next

item  under “Advanced Options for Ubuntu” and add it to the populated list.

 

Now you have two new menu items with Ubuntu as their title - don't worry - this will not default to the look or feel of Ubuntu -

 

I usually edit these Ubuntu items by right clicking and changing the Ubuntu to Peach OSI but you can rename it however you like - or not at all. For instance in the Peach TV distro I'll edit the title to something like: Peach OSI TV.14.04.77.64bit.Wine, with Linux 3.13.0-77-generic

 

Once satisfied with your menu - click on "File" at the top left of the open window

 

Then click on "Save" - Wait for it to finish saving and then -

 

Then click on "File" again at the top left of the open window,

 

 Then click on "Install to MBR" and then OK in the popup window. Allow it to finish.

 

Shutdown Grub Customizer by File/Quit

 

You are now ready to reboot to the newer Kernel - the old kernel will still be there in the Grub menu should you have an issue with the newer kernel.

 

You can edit the populated list however you like. You can move menu items up and down and remove them as well if no longer needed. I usually reboot to the newer kernel before removing any options to make sure the newer kernel has no issues with Peach. (I have never had any issues.)

 

Overtime you will accumulate many menu items for different installed Kernels if you do not delete some of the older ones that you have saved.

 

In order to completely delete an older Kernel perform the following. First remove it from your bootable list via Grub Customizer as used above.

 

(Please note, you should keep 1 or 2 older kernels even if they are not available to boot from Grub. In this way if you happen to have issues with a newer kernel you can always return to an older more stable kernel. However, Ubuntu Tweak’s Janitor function will delete any and all Kernels that are not actively stored in your Grub boot options and currently available to boot from via Grub.)

 

To completely delete older kernels from your computer.

 

First make sure that you remove any old kernels from the Grub boot menu while using Grub Customizer. Follow the instructions above on loading Grub Customizer and from the active menu - right click on the older kernel and select to remove it from the menu. This does not delete the older kernel - it just removes it from the selection list. After making your changes save the changes and then install the changes to the MBR, (Master Boot Record) as you did before in the instructions above.

 

Reboot again to confirm that your changes were correct, your system boots and the older kernel is no longer visible in the Grub boot menu.

 

To Remove the older kernel(s)

 

Top Left got to - Applications/Settings/Ubuntu Tweak/Start Janitor

 

Click on all the boxes on the left column of Ubuntu Tweak

 

Once the list of available deletable items populate click on all the boxes on the left of the populated options

 

Then click “Clean” on the bottom right corner

 

You will usually be asked to enter your password twice.

 

Let Ubuntu Tweak do its magic.

 

This will remove any older Kernels that are not placed in the populated list that you boot with.

 

When Ubuntu Tweak completes

 

Reboot

Enjoy

Jim