Tuesday, August 15, 2017

How to install Google Chrome Browser on Ubuntu 17.04

How to install Google Chrome Browser on Ubuntu 17.04


Open a terminal window and type the following four commands.  Hit ENTER after each command;


wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -

sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'

sudo apt-get update

sudo apt-get install google-chrome-stable

That it, your done.

VirtualBox: Getting 16x9 resolution in Guest OS

My Host system is Ubuntu 16.04.3.  In VirtualBox I could not get the 16x9 ratio on my Windows 7 guest display.  To fix that;

I. Install Guest Add On for Virtualbox
  1. Power on virtual machine
  2. Click DEVICES on the VirtualBox Menu at the top of the screen
  3. Click "Install Guest Additions CD Image..."
  4. Follow the on-screen prompts.
  5. Restart the virtual machine
II. Once restarted go to FILE on the VirtualBox Menu at the top of the screen.

III. Select PREFERENCES

IV. Select DISPLAY

V. Set MAXIMUM GUEST SCREEN DISPLAY to HINT

VI. Set the WIDTH and HEIGHT boxes to the resolution you want

VI. Restart your virtual machine.


Saturday, August 12, 2017

How to install OpenVPN and how to make it accessible through the built-in Network GUI on Ubuntu 16.04.3.

Here's how;

1.  Open a Terminal window.

2.  Type the following two commands, hitting ENTER after each.

      sudo apt-get install openvpn

      sudo apt-get install network-manager-openvpn-gnome

3.  That's it, your done with software install part.



To add an openVPN connection make sure you've got your KEY file from your VPN provider, mine had a .opvn extension.

1.  Click on your Network Indicator icon and select EDIT CONNECTIONS.

2.  Click on the ADD button.

3. Click on the little arrow in the Drop Down Box (beside ETHERNET)

4. Select the IMPORT A SAVED VPN CONFIGURATION option.

5.  Browse to and select your .OVPN Key file you got from your VPN provider.

6.  Fill in your USER NAME and PASSWORD and click on the SAVE button.


That's it your done, your VPN has been added.  Just Click on the Network Indicator icon (from step 1) and select VPN Connections and pick your newly created VPN connection to connect to it.



Tuesday, August 08, 2017

Changing the Alt+Left Mouse Click action to work with Photoshop CS2

After doing a fresh install of Ubuntu 16.04.3 and reinstalling WINE 2.01 I couldn't use any of the Photoshop CS2 tools that need the an ALT+Left Mouse Click.  Ubuntu would intercept this key combo and would initiate a Windows Move action instead of the tool action.

To change Alt+Left Mouse Click action from "Move Window" in Ubuntu 16.04.3 you will need to do the following:

1.  Open Ubuntu Software Center, search for and install  CompizConfig Settings Manager or CCSM.

2.  Once installed start CompizConfig Settings Manager and click on the Windows Management button on the left.

3.  Then click on the Move Window option.

4. Now Uncheck the Initiate Window Move which should disable it.

5.  Or you can also select a different Key Combination to activate the Initiate Window Move action if you use that feature or if disabling it doesn't work for you.

Your done.  You should now be able to use your Alt+Left Mouse Click in WINE with Photoshop CS2 or any other app that needs that key combo. (I changed mine to <SUPER><Left Mouse Click> which worked for me).


WINE, Photoshop CS2, "Unable to continue because of a hardware or system error. Sorry, but this error is unrecoverable."

I did a clean install of Ubuntu 16.04.3 including the 4.10 Linux kernel after a system crash.  When I did, I had to do a fresh clean install of WINE 2.01.  I then installed Adobe Photoshop CS2 from an ISO of it's install CD.  It installed just fine with no errors and it booted once.  When I tried to start it a second time it crashes upon startup with an "Unable to continue because of a hardware or system error. Sorry, but this error is unrecoverable." This error now occurs on every time I tried to start it.  Rebooting and nothing else I found fixed this.  After a lot of Googling I found a solution that worked and I figured out how you can avoid this problem altogether.

HOW TO AVOID THIS PROBLEM

To avoid the "unrecoverable hardware error" problem with Photoshop CS2 under WINE do the following BEFORE YOU INSTALL PHOTOSHOP CS2:

1. Search for and install WINETRICKS from you Ubuntu Software Center.

2. Launch (run) WINETRICKS (in Terminal type winetricks)

3. Check the "Select the Default Wineprefix" and click OK.

4.  Check "Install a Font" and click OK.

5. Check all the Microsoft Fonts including CORE FONTS and click OK.

6. Wait until it finishes doing the installs.

7. Once it's finished just install install Photoshop CS2 as usual under WINE.

By installing the Microsoft CORE FONTS first you should have avoided the problem and your Photoshop install should be able to boot every time.


HOW TO FIX THE PROBLEM

If you installed Photoshop CS2 before the CORE FONTS and you've ran it more than once and you're getting the error message "Unable to continue because of a hardware or system error. Sorry, but this error is unrecoverable." do the following to fix it:

Using Nautilus (or your favorite file browser) navigate to:
Replace [USER NAME] with your user name.

/home/[USER NAME]/.wine/drive_c/users/[USER NAME]/Application Data/Adobe/Photoshop/9.0/Adobe Photoshop CS2 Settings/

 NOTE:  In Nautilus you'll have to go to VIEW and select SHOW HIDDEN FILES to see the .wine directory.


Once in the /home/[USER NAME]/.wine/drive_c/users/[USER NAME]/Application Data/Adobe/Photoshop/9.0/Adobe Photoshop CS2 Settings/ directory do the folowing:

1. Delete the corrupted file, Adobe Photoshop CS2 Prefs.psp or rename it.

2. Start Photoshop CS2.

3. After Photoshop CS2 has started and while Photoshop CS2 is running,  navigate back to the /home/[USER NAME]/.wine/drive_c/users/[USER NAME]/Application Data/Adobe/Photoshop/9.0/Adobe Photoshop CS2 Settings/ directory and copy the newly re-created Adobe Photoshop CS2 Prefs.psp file to a safe known location (make a copy of it).

4. Close Photoshop CS2, which will corrupt the Adobe Photoshop CS2 Prefs.psp file in that directory. (this is why we made a copy and put it in a safe known place).

5. With Photoshop CS2 closed, copy our good copy of Adobe Photoshop CS2 Prefs.psp (the one we put in a safe known place in step 3) back to the  /home/[USER NAME]/.wine/drive_c/users/[USER NAME]/Application Data/Adobe/Photoshop/9.0/Adobe Photoshop CS2 Settings/ directory, replacing the corrupt one.

DO NOT RESTART PHOTOSHOP YET DO STEP 6 FIRST.

6.  Now install the CORE FONTS by doing the steps 1-6 in the above HOW TO AVOID THIS PROBLEM section (DO NOT DO STEP 7, don't reinstall Photoshop or you'll just recreate the problem).

That's it, you should now be able to start and use Photoshop CS2 as much as you want now.  But we are still not done.  On Ubuntu the ALT key + Left Mouse Click is mapped to a Move Windows Function and won't let you use it with certain tools in Photoshop (i.e. Clone Tool).  Don't worry we can fix this too but that will be in the next article.

Monday, August 07, 2017

Update to 16.04.3 Broke Nvidia Drivers

I tried to force an update to 16.04.3 with the 4.10 kernel and it crashed my Nvidia graphic drivers. This was not unusual as I've had to reinstall my graphic's drivers before after a kernel update.  When I followed my usual steps, it didn't work.  I tried uninstalling the drivers, purging them and even tried to reinstall the generic stock graphic drivers.  In the end I just trashed my system to the point where it wouldn't boot.

By "Forced an Update" I mean updating my Linux Kernel with the following command;
(I recommend against doing this if you're using priority Nvidia Drivers unless they are up-to-date)

sudo apt install --install-recommends linux-generic-hwe-16.04 xserver-xorg-hwe-16.04

As I said that command crashed me, so be careful.  After I did a total reinstall using the 16.04.3 ISO with the 4.10 kernel it worked just fine with priority Nvidia driver.  I noticed I was using and trying to reinstall the NVIDIA-Linux-x86_64-361.45.11 version of the driver when it crashed me.  After the clean install and using the Ubuntu Priority Video Driver Install it worked but the the driver version was NVIDIA-Linux-x86_64-375.66 so maybe if I used the newer driver I wouldn't have trashed my system. (Note the newest is NVIDIA-Linux-x86_64-384.59 but I was scared to try it :-)  )

The data in the Home directory was still readable and I had a newer/bigger SSD laying around so I decided to just start fresh with a clean install.  The reinstall went well and I recovered all the data including my Virtualbox VM's.  The only problem I had was with Photoshop CS2 under wine 2.01.  It wasn't WINE's fault it was mine.  I eventually fixed it and I'll do another post on what went wrong, how to fix it, and how to avoid it.

Thursday, July 27, 2017

Ubuntu 16.04 (host) running Virtualbox 5.1.24 upgrading the guest to Windows 10 Creator Edition 1703

I'm running Ubuntu 16.04 with Virtualbox 5.1.24.  In Virtualbox I was Running Windows 10 Home 64bit (version 1607).  I wanted to upgrade it to Windows 10 Creator Edition (version 1703) which was released in April 2017.

I was a little worried about this update because there are multiple stories on the net about Creator Edition killing machine and that was when they were native Windows upgrades.  My virtual Windows 10 was not offering the upgrade so I decided to take a chance and downloaded the Stand Alone Updater for Windows 10 Creator Edition.

It took about 90 minutes total for it to download and install the update but it worked without problems.  After the resets my Virtualbox booted Windows 10 Creator Edition just fine.

The only problem I've noticed is that my network shares were not connecting.  I manually removed and reconnected them and they would work for a few minutes then started throwing errors about missing drives.

To work around this I setup SHARED FOLDERS in Virtualbox which worked.  When I clicked on NETWORK in Windows 10 it showed a server named VBOXSVR which had my SHARED FOLDERS (from my Ubuntu host) in it.  To connect it, I just mapped the drive in Windows 10 to reconnect at startup.  I used \\VBOXSRV\Downloads to connect my Ubuntu Downloads directory. That worked.  It now connects my Ubuntu Downloads directory as drive z: on my Windows 10 virtual.

To do this just;

1. Open Virtualbox
2. Right Click on your Windows 10 virtual
3. Select SETTINGS


4.  Select SHARED FOLDERS



5.  Click on the ADD FOLDER icon (blue folder with green plus)
6.  Browse to the (host) Ubuntu folder you want to access in your Virtual Win 10
7.  Select that folder and click OK.
8.  Start your Virtual Windows 10.
9.  Once booted click on your Windows 10 File Manager and click on NETWORK



10.  You should see a machine called VBOXSRV and your
       Virtual Win 10 Machine name.
11.  Double click on the VBOXSRV and you should see your
       Folder that you shared in Virtualbox during (Steps 5-7).
12.  Note that Folder Name
13.  In Windows File Manager double click on THIS PC



14.  Click on the MAP NETWORK DRIVE in the toolbar
15.  In the FOLDER block type \\VBOXSRV\FolderName
       (Replace FolderName with your Folder Name from Step 12)
16.  Check the RECONNECT AT SIGN-IN tick.


That's it you're done.  This is just a work around.  I tried to directly map the network drive in my virtual Win 10 to my Actual Ubuntu Share but that kept failing after a minutes of use.  Turning on the SHARED FOLDERS in Virtualbox and Substitute VBOXSRV for the name of my Ubuntu Computer name worked.


Tuesday, July 25, 2017

Make Iphone 7 ios 10.3.3 work on Ubuntu 16.04

My Iphone 7 ios version 10.3.3 would not show me my photos or videos when I plugged it into my Ubuntu 16.04 box.  And I couldn't transfer anything on or off the phone.  This was really annoying and I wanted it fixed.  So I started Googling for answers and found very few.  

The picture to the right is what showed up in Nautilus when I plugged in the Iphone and hit the TRUST button on the phone.

Yep that's right, nothing showed up.  But we won't leave it at that, let's get access to our photos again.

Before we start, I want you to know that you should read through these instruction before you just start copying and pasting.  You will be using the MAKE command a few time and need to pay attention to what you're doing.  There are 21 steps, many with 5 or 6 substeps, that you will have to complete, and most are done in a Terminal Window (CLI).  This is NOT a simple copy and paste howto.  


MAKE SURE YOUR IPHONE IS NOT PLUGGED INTO YOUR COMPUTER


1. Open a Terminal Window and type:

     sudo apt-get install ideviceinstaller python-imobiledevice libimobiledevice-utils python-plist usbmuxd
     (Hit Enter)

                    If your Iphone iOS version is 8 or back, then skip steps 2 thru 17 
                    and type the following then continue with step 18. If your iOS 9 +
                   then skip this and goto Step 2 and complete all steps:

                           sudo apt-get install libimobiledevice6 libplist3 ifuse
                           (Hit Enter)

2.  In the Terminal Window type:

     sudo apt-get install libtool autoconf automake
      (Hit Enter)

3.  Type the following in your Terminal Window:

    sudo apt-get install libxml2-dev python-dev
    (Hit Enter)

4.  Download the latest version of libplist from Here.

5.  Extract the file you just downloaded (libplist-master.zip)
      A.  Open Nautilus and browse to the directory where the file libplist-master.zip was placed.
            Mine was put in my Downloads directory.



      B.  Right Click on the  libplist-master.zip file and select EXTRACT HERE from the right click
            menu.

            This will extract the files and create a directory called  libplist-master.

      C.  Browse to this newly created directory in your Terminal Window.
            Mine was located here:

            cd $HOME/Downloads/libplist-master
             (Hit Enter)

      D. Once in the libplist-master Type the following in your Terminal Window:

           ./autogen.sh
            (Hit Enter)

       E.  When Step D finishes Type the following in your Terminal Window:

             make
             (Hit Enter)

       F.  Type the following in your Terminal Window:

            sudo make install
             (Hit Enter)

6.  Download the latest version of libusbmuxd from here 

7.  Extract the file you just downloaded (libusbmuxd-master.zip)
      A.  Open Nautilus and browse to the directory where the file libusbmuxd-master.zip was placed.
            Mine was put in my Downloads directory.



      B.  Right Click on the libusbmuxd-master.zip file and select EXTRACT HERE from the right click menu.

            This will extract the files and create a directory called  libusbmuxd-master.

      C.  Browse to this newly created directory in your Terminal Window.
            Mine was located here:

            cd $HOME/Downloads/libusbmuxd-master
             (Hit Enter)

      D. Once in the libusbmuxd-master Type the following in your Terminal Window:

           ./autogen.sh
            (Hit Enter)

       E.  When Step D finishes Type the following in your Terminal Window:

             make
             (Hit Enter)

       F.  Type the following in your Terminal Window:

            sudo make install
             (Hit Enter)



8.  Install the build dependencies by Typing the following in a Terminal WIndow:

sudo apt-get install libssl-dev

9.  Download the latest version of libimobiledevice from here 

10.  Extract the file you just downloaded (libimobiledevice-master.zip)
      A.  Open Nautilus and browse to the directory where the file libimobiledevice-master.zip was placed.
            Mine was put in my Downloads directory.



       B.  Right Click on the libimobiledevice-master.zip file and select EXTRACT HERE from the right click menu.

            This will extract the files and create a directory called  libimobiledevice-master.

      C.  Browse to this newly created directory in your Terminal Window.
            Mine was located here:

            cd $HOME/Downloads/libimobiledevice-master
             (Hit Enter)

      D. Once in the libimobiledevice-master Type the following in your Terminal Window:

           ./autogen.sh
            (Hit Enter)

       E.  When Step D finishes Type the following in your Terminal Window:

             make
             (Hit Enter)

       F.  Type the following in your Terminal Window:

            sudo make install
             (Hit Enter)

11. Install usbmuxd by first, uninstall the old, then installing the new version of usbmuxd.  Type the following into a Terminal Window:

     sudo apt-get remove usbmuxd
     (Hit Enter)

      sudo apt-get install libimobiledevice-dev libplist-dev libusb-dev libusb-1.0.0-dev libtool-bin libtool
     (Hit Enter)

12.  Download the latest version of usbmuxd

13.  Extract the file you just downloaded (usbmuxd-master.zip)
      A.  Open Nautilus and browse to the directory where the file usbmuxd-master.zip was placed.
            Mine was put in my Downloads directory.




       B.  Right Click on the usbmuxd-master.zip file and select EXTRACT HERE from the right click menu.

            This will extract the files and create a directory called  usbmuxd-master.

      C.  Browse to this newly created directory in your Terminal Window.
            Mine was located here:

            cd $HOME/Downloads/usbmuxd-master
             (Hit Enter)

      D. Once in the usbmuxd-master Type the following in your Terminal Window:

           ./autogen.sh
            (Hit Enter)

       E.  When Step D finishes Type the following in your Terminal Window:

             make
             (Hit Enter)

       F.  Type the following in your Terminal Window:

            sudo make install
             (Hit Enter)


14.  Install ifuse
     
        sudo apt-get install libfuse-dev

15.  Download the latest version of ifuse from here

16.  Extract the file you just downloaded (ifuse-master.zip)
      A.  Open Nautilus and browse to the directory where the file ifuse-master.zip was placed.
            Mine was put in my Downloads directory.




       B.  Right Click on the ifuse-master.zip file and select EXTRACT HERE from the right click menu.

            This will extract the files and create a directory called  ifuse-master.

      C.  Browse to this newly created directory in your Terminal Window.
            Mine was located here:

            cd $HOME/Downloads/ifuse-master
             (Hit Enter)

      D. Once in the ifuse-master Type the following in your Terminal Window:

           ./autogen.sh
            (Hit Enter)

      E.  Type the following in your Terminal Window:
   
            ./configure
            (Hit Enter)

      E.  When Step D finishes Type the following in your Terminal Window:

             make
            (Hit Enter)

       F.  Type the following in your Terminal Window:

            sudo make install
             (Hit Enter)

17.  Type the following in your Terminal Window:

       usbmuxd
       (Hit Enter)

18. PLUG IN YOUR IPHONE NOW

19.  Type the following in your Terminal Window:

        dmesg | grep ipheth
        (Hit Enter)
   

        You should see some info in your Terminal Window.  If not unplug your iphone and try to run these commands again.  You may have hit the TRUST popup on your Iphone too.

                      usbmuxd
                      (Hit Enter)

                      dmesg | grep ipheth
                      (Hit Enter)


20.  Creating a mount point by typing the following into your Terminal Window:

        sudo mkdir /media/iPhone
         (Hit Enter)

        sudo chmod 777 /media/iPhone
         (Hit Enter)


21. Edit your ifuse configuration file by typing the following into your Terminal Window

      sudo gedit /etc/fuse.conf

Once the fuse.conf file opens in gedit, add the following two lines directly under the line that reads

 # Allow non-root users to specify the allow_other or allow_root mount options:

Add these two line under the #Allow non-root...

op$
user_allow_other

When done these should be your last three lines:

 # Allow non-root users to specify the allow_other or allow_root mount options:
op$
user_allow_other

Save the fuse.conf file and exit out of the editor.


The work part it done.  Now we can Pair our Iphone so that we can once again transfer pictures and other files to and from our Iphone on Ubuntu 16.04.


Pairing the iPhone

1.  Type the following into your Terminal Window;

       idevicepair pair
        (Hit Enter)

2.  Mount your Iphone by typing the following into your Terminal Window;

     ifuse /media/iPhone
      (Hit Enter)

You can now get to your files on your Iphone through the Nautilus File Browser.  You should see an Iphone directory link on the left side panel in Nautilus.



Unpairing the Iphone

1.  Now to Unmount/Unpair your Iphone, Open a Terminal Window and type the following

    fusermount -u /media/iPhone/
    (Hit Enter)

    idevicepair unpair
    (Hit Enter)


That's it, we're done, easy wasn't it :-)


NOTES:  You have to do the Pairing and Unpairing steps every time you connect your Iphone (Last 4 steps on this page).  I know that's a pain is the ass but hey you got access at least.  I wrote two BASH scripts (connect and disconnect) and make desktop shortcuts for those BASH scripts.  Now I plug my Iphone into my Ubuntu 16.04 box, Click on the CONNECT shortcut (minding the TRUST button) and I'm good to go.  When I'm done I just click on the DISCONNECT shortcut and unplug the Iphone.  This howto was put together from several Google searches but most of it was from here.  To encourage you to read his article too, he tells you what to do if you've rooted your iphone so you can get full file system access.

Tuesday, July 18, 2017

Upgrade Virtualbox 5.0x to 5.1x

On my Ubuntu 16.04 machine, my Virtualbox 5.0x told me there was an update.  I clicked the link and downloaded the update (Virtualbox version 5.1.24).  When I clicked on the downloaded .DEB file it launched the UBUNTU SOFTWARE CENTER and I clicked on the INSTALL Button.  Then... Nothing... It flashed to INSTALLING, then stopped and offered up the INSTALL Button again.

I few Google searches later and I found the following Terminal commands that worked.  I was a little scared of these since the first command uninstalls your 5.0 version of Virtualbox because I have several paid for apps running on my Windows 10 virtual but this worked perfectly.

Now let's open a TERMINAL windows and get this update done!

Copy and paste the following five (5) commands into your TERMINAL window (one at a time).  Provide your password when asked:


sudo apt remove virtualbox virtualbox-5.0 virtualbox-4.*

sudo sh -c 'echo "deb http://download.virtualbox.org/virtualbox/debian xenial contrib" >> /etc/apt/sources.list.d/virtualbox.list'

wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add -

sudo apt update

sudo apt install virtualbox-5.1


Once your done, when you first run your virtual, you'll be asked to update your GUEST ADDITIONS which also worked just fine.

NOTE:  This adds the official Virtualbox Repository to your software sources so you should get auto-updates after following these steps.


Monday, June 12, 2017

Vertical Selecting text in GEANY

I use the GEANY text editor for program code editing because it has both Linux and MS Windows  versions.  It's a good general text editor that supports multiple programing languages and has plugins that add functionality.



One of the things I use a lot is Vertical Text Selection or Block Text Selection.  This allows you select text vertical down multi-lines and make changes to all selected text at once.  In the picture above I've selected everything in grey, "Multi-Line", when I type, all the "Multi-Line" text will change to whatever I type, "All Changed at once".



To use this feature just hold down the Ctrl (control) key and select the text with your mouse (hold down left mouse button and drag vertical over desired text).  This is a very useful feature when using Geany for program code editing.

This isn't the only thing that Geany does but I had trouble figuring this out so I thought I'd share.

Tuesday, January 24, 2017

“Failure to download extra data files” with ttf-mscorefonts-installer on Ubuntu 16.04

I kept getting the Error Message “Failure to download extra data files with ttf-mscorefonts-installer on Ubuntu 16.04". This message would pop up about once a day and if I clicked on the "run this action now" button it would open a terminal window and do nothing.  To fix this you goto Debian and download the ttf-mscorefonts and install them through the .deb file.Get the Debian MS-Core Font Installer Here.



The short and simple of it, download the linked file and double click on it then choose Install once the software center opens up.  From what I've read this may be an error in Ubuntu and this is a work around.

Saturday, January 21, 2017

KDE Connect Indicator SMS from your Destop

I hear my Cell Phone beep telling me I have a text message, but it all the way across the room, what am I to do?

It's KDE Connect Indicator to the rescue.  With KDE Connect Indicator installed on your Ubuntu 16.04 machine and it's helper app installed on your Android Device, you will be able to view your cell phone's text messages on your Linux Desktop and you can reply to them from your Desktop too.  But wait there's more! You can send files from your Desktop to your Phone and vice versa, you can use your phone as a remote touchpad and keyboard, control your media files, and even ring your phone to help find it if it's lost.  

To get it install and work you do the following:

1.  Install the KDE Connect App on your cellphone with this LINK

2.  Then run the following commands in a Terminal window.

      sudo add-apt-repository ppa:varlesh-l/indicator-kdeconnect
      sudo apt update
      sudo apt install indicator-kdeconnect kdeconnect

That's it you're done with the installation.  Now you have to pair your computer with your android device (cell phone)

To pair KDE Connect Indicator with your Android device:

 1.  Click "Request pairing" from the KDE Connect Indicator on your desktop and accept the request from your Android Device.

OR

2.  Select the desktop device from the KDE Connect app on your Android device, tap "Request Pairing" then, on the desktop, click "Request Pairing" in the KDE Connect Indicator menu.

You are now done!  If you get a text message on your phone it will show up on your linux desktop. You can also transfer your photos or any file to/from your cell phone to your desktop with just a few clicks.

A Video Review of KDE Connect Indicator.


NOTE:  This will install several Dependencies, here is a list of them:

The following NEW packages will be installed:
humanity-icon-theme indicator-kdeconnect kde-cli-tools kde-cli-tools-data kdeconnect kinit kio kpackagelauncherqml kpackagetool5 kwayland-data kwayland-integration libdbusmenu-qt5 libfakekey0 libfam0
libkf5archive5 libkf5attica5 libkf5auth-data libkf5auth5 libkf5bookmarks-data libkf5bookmarks5 libkf5codecs-data libkf5codecs5 libkf5completion-data libkf5completion5 libkf5config-bin libkf5config-data
libkf5configcore5 libkf5configgui5 libkf5configwidgets-data libkf5configwidgets5 libkf5coreaddons-data libkf5coreaddons5 libkf5crash5 libkf5dbusaddons-bin libkf5dbusaddons-data libkf5dbusaddons5
libkf5declarative-data libkf5declarative5 libkf5globalaccel-bin libkf5globalaccel-data libkf5globalaccel5 libkf5globalaccelprivate5 libkf5gpgmepp5 libkf5guiaddons5 libkf5i18n-data libkf5i18n5
libkf5iconthemes-bin libkf5iconthemes-data libkf5iconthemes5 libkf5idletime5 libkf5itemviews-data libkf5itemviews5 libkf5jobwidgets-data libkf5jobwidgets5 libkf5kcmutils-data libkf5kcmutils5
libkf5kdelibs4support-data libkf5kdelibs4support5 libkf5kdelibs4support5-bin libkf5kiocore5 libkf5kiofilewidgets5 libkf5kiontlm5 libkf5kiowidgets5 libkf5notifications-data libkf5notifications5
libkf5package-data libkf5package5 libkf5parts-data libkf5parts-plugins libkf5parts5 libkf5pty-data libkf5pty5 libkf5quickaddons5 libkf5service-bin libkf5service-data libkf5service5 libkf5solid5
libkf5solid5-data libkf5sonnet5-data libkf5sonnetcore5 libkf5sonnetui5 libkf5su-bin libkf5su-data libkf5su5 libkf5textwidgets-data libkf5textwidgets5 libkf5wallet-bin libkf5wallet-data libkf5wallet5
libkf5waylandclient5 libkf5widgetsaddons-data libkf5widgetsaddons5 libkf5windowsystem-data libkf5windowsystem5 libkf5xmlgui-bin libkf5xmlgui-data libkf5xmlgui5 libkwalletbackend5-5 libphonon4qt5-4
libpolkit-qt5-1-1 libqca-qt5-2 libqca-qt5-2-plugins libqt5quickwidgets5 libqt5waylandclient5 libvoikko1 qtwayland5 sonnet-plugins sshfs ubuntu-mono 





B O N U S   A P P 

If you're like me, you miss notifications all the time on the desktop, so here's a nice Indicator App that will hold the last 5 notices for your viewing pleasure.
RECENT NOTIFICATION INDICATOR.

Here's how to install it:

Type the following commands into a Terminal Window.

sudo add-apt-repository ppa:jconti/recent-notifications
sudo apt update
sudo apt-get install indicator-notifications

This will add a nice little mailbox shaped Indicator App where you will be able to review your last five messages.




Friday, January 20, 2017

Insync Causing a "requires installation of untrusted packages" Error

When I went to update my software packages on Ubuntu 16.04 I was getting an Error saying "requires installation of untrusted packages".  After some investigating, I found that my Insync Key was showing Expired.  To fix this I ran the following commands in Terminal:

sudo apt-key remove ACCAF35C
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys ACCAF35C sudo apt-get update

This fixed my problem and let my Software Updates run.  

To figure out which KEY is expired run the following command in Terminal:

 apt-key list

This will display all your KEYS and you can look for the expired one. Or you can run:

apt-key list | grep “expired:”

Which will just show EXPIRED Keys.

Here's an article which explains it all better than I can. ARTICLE.

Sunday, June 26, 2016

Upgraded to 16.04

1.  On upgrading all your PPAs are disabled.  Most just need to be rechecked and they work again but VirtualBox needed it's PPA removed and replaced.  Here's the replacement Command;

wget -q https://www.virtualbox.org/download/oracle_vbox.asc -O- | sudo apt-key add -

I'll post more and make this article better as I fix things.

2.  KeePass updated and you have to IMPORT your old Database to use it.

3.  Nvidia Driver Reinstall


Monday, June 20, 2016

Make GIMP 2.8 Look Like Photoshop

This links to an article on WEB UPD8 which has easy to follow instructions to make GIMP 2.8 look more like Photoshop.


"The tweaks include Photoshop like toolbox icons, keyboard shortcuts, modified dockable dialogs and even a tweaked background color to match Photoshop."

Link to the Article

Saturday, May 21, 2016

Installing Google Earth Ubuntu 14.04 - 16.04

So you want to install Google Earth, it's not hard.

Open a Terminal Windows and type;

wget -O google-earth.sh http://drive.noobslab.com/data/apps/google-earth/google-earth.sh
(HIT ENTER)

chmod +x google-earth.sh;sudo ./google-earth.sh
(HIT ENTER)

sudo apt-get install msttcorefonts
(HIT ENTER)

That's it nice and easy.

These instructions came from noobslab.com, a nice Linux Blog. Know that you are running a BASH Script that makes changes to your system.  Please read his COMPLETE article before you execute these commands. http://www.noobslab.com/2016/05/google-earth-for-ubuntulinux-mint-easy.html  

The first command just downloads the script. You can run the first command (download the script) then open it and check it for yourself before you execute the second command which makes it executable and executes it.  The third command installs some Microsoft Fonts that will make Google Earth and other programs (Wine) look better.

Thursday, March 17, 2016

Fixing failed Update when using a Launchpad PPA (Geany)

I use the Geany Text Editor as my programing/txt file editor.  I installed it from a Launchpad PPA. When updating I kept getting the error "This requires installing packages from unauthenticated sources".  A quick Google search for this found this fix which worked.

Open a terminal window and type the following three steps;

Step 1.
sudo apt-get update
This will give you your KEYNUMBER that is giving you problems.
your failed KEYNUMBER will look something like 71240B8FB3641876.

Step 2.
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys KEYNUMBER 
Substitute KEYNUMBER with the your failed keys.

Step 3.
sudo apt-get update
click on OK when the Update Window appears.


That's it you should be good to go.  Sorry I fixed mine before I could get screen shots.




Tuesday, March 15, 2016

Kill All Wine Processes (Command Line)

Sometimes Wine programs crash and leave some processes running making it hard to restart them. Here's a nice command line program that kills ALL Wine processes and reports what it killed.  This command lets me just restart whatever Wine program crashed without doing a reboot of my computer.

wineserver -k; killall -9 wine wineserver; for i in `ps ax|egrep "*\.exe"|grep -v 'egrep'|awk '{print $1 }'`;do kill -9 $i;done

I made this command into a Bash Script so I could use it without having to retype or copy/paste it every time I want to use it.

Here's the video where I found this command and it tells you how to make this command into a Bash Script.


Sunday, February 21, 2016

Canon i9900 Printer Working Ubuntu 14.04

I've owned a Canon i9900 printer for a long time.  I've had it since Windows XP was new. It's a great photo printer and can handle large format papers.  When I switched to Ubuntu I still had an XP machine to handle all my printing and after that I used VirtualBox to run XP, then Window 7.  Now with Windows 10 on the VirtualBox it does not support the Canon i9900 so it's time to get it working in Ubuntu 14.04 +.

The short answer is use the CANON BJC8500 DRIVER not the i9900.


To ADD a printer to Ubuntu go to SYSTEM SETTING and click on PRINTERS or use your SEARCH Panel and type in PRINTER.  Once the PRINTERS window opens select ADD.


This will open up the ADD PRINTER dialog window. My Canon i9900 is attached to my network with a small Print Server Box and NOT through USB.  I selected the Find Network Printer option and typed in the IP Address of my Print Server Box (replace the XX.XX with you IP).

Click the FIND Button


After Ubuntu finds your Print Server Box just Click on the FORWARD Button.


Next Select CANON and click the FORWARD Button


Here is the big Secret!!! Select the BJC8500 Driver.  There is a i9900 Driver and a 9900i Driver but they do NOT WORK.  Trust me and Select the BJC8500 Driver.  The only thing you lose is some resolution, it drops to 600x600 but at lest your printer works.


Click the APPLY Button, then print a Test Page to make sure it works.

To show you NOT to pick the i9900, 9900i, 9100i, i9100, 9950i or i9950 Drivers I've scanned in my test prints with the i9900 Driver and one with the BJC8500.  I don't know why the rightly named driver does not work but trust me it doesn't (two weeks time invested in this discovery).

CANON i9900 DRIVER TEST PRINT
Notice the faded colors especially black, the elongated text and ovals instead of circles. Everything runs off the edge of the paper too. 



CANNON BJC8500 DRIVER TEST PRINT
Much better, no fade, good color, true circles and it fits on the page.


I did not try this with the printer plugged directly into a USB port.  You should try the i9900 first before you use my work around.  I would assume that Ubuntu would just FIND your printer if it was plugged directly into USB which would let you skip the NETWORK and IP steps.


Monday, December 28, 2015

Speech Recognition for Ubuntu?

You ever wish you could have speech recognition for Ubuntu? Now you can with the Chrome Browser and Google Docs.  This one is really easy to do.


1.  Make sure you have a Google Account (Gmail) and enabled Google Docs with this account.

2.  Install the Chrome Browser.
3. Open a Google Docs in the Chrome Browser.

That's It. Google, now has built-in Speech Recognition in Google Docs while using the Chrome Browser.

Here's how to start the Speech Recognition Module and what formating/edit commands you can use. (This is from the Help File on Google's site)

-------------------------------------------------------------------------------------------------------------------------


Type with your voice

You can type and edit a document by speaking in Google Docs.
Note: This feature is only available in Chrome browsers.

Voice typing

Start voice typing

  1. Check that your microphone works.
  2. Open a document in Google docs with a Chrome browser.
  3. Click Tools > Voice typing. A microphone box appears.
  4. When you're ready to speak, click the microphone.
  5. Speak clearly, at a normal volume and pace (see below for more information on using punctuation).
  6. When you're done, click the microphone again.

Correct mistakes while voice typing

  • If you make a mistake while you're typing with your voice, you can move your cursor to the mistake and fix it without turning off the microphone.
  • After you correct the mistake, move the cursor back to where you want to continue.
  • To see a list of suggestions, right-click words underlined in gray.
You can use these phrases to add punctuation to your text:
  • Period
  • Comma
  • Exclamation point
  • Question mark
  • New line
  • New paragraph
Note: Punctuation works in German, English, Spanish, French, Italian, and Russian.

Voice commands

You can use commands to edit and format your document when you voice type. For example, "Select paragraph," "italics," or "Go to the end of the line."
Note: Voice commands are available only in English. The account language and document language must both be English.
To select text, say these commands:
  • Select [word or phrase]
  • Select all
  • Select all matching text
  • Select list item
  • Select list items at current level
  • Select next character
  • Select next [number] characters
  • Select last character
  • Select last [number] characters
  • Select line
  • Select next line
  • Select next [number] lines
  • Select last line
  • Select last [number] lines
  • Select paragraph
  • Select next paragraph
  • Select next [number] paragraphs
  • Select last paragraph
  • Select last [number] paragraphs
  • Select word
  • Select next word
  • Select next [number] words
  • Select last word
  • Select last [number] words
  • Deselect
  • Unselect
  • Select none
To format your document, say these commands:

Alignment

  • Align center
  • Align justified
  • Align left
  • Align right
  • Center align
  • Left align
  • Right align

Text formatting

  • Apply heading [1–6]
  • Apply normal text
  • Apply subtitle
  • Apply title
  • Bold
  • Italicize
  • Italics
  • Strikethrough
  • Subscript
  • Superscript
  • Underline

Text color and highlighting

  • Text color [color]
  • Highlight
  • Highlight [color]
  • Background color [color]
  • Remove highlight
  • Remove background color
Note: The colors available are: red, orange, yellow, green, cyan, blue, purple, magenta. If you say "highlight" by itself, the highlighting color is yellow.

Font size

  • Decrease font size
  • Increase font size
  • Font size [6-400]
  • Make bigger
  • Make smaller

Paragraph formatting

  • Decrease indent
  • Increase indent
  • Line spacing [1-100]
  • Line spacing double
  • Line spacing single

Lists

  • Create bulleted list
  • Create numbered list
  • Insert bullet
  • Insert number

Remove formatting

  • Clear formatting
  • Remove formatting
  • Remove bold
  • Remove italics
  • Remove strikethrough
  • Remove underline
To edit your document, say these commands:
  • Copy
  • Cut
  • Paste
  • Copy link
  • Delete
  • Delete last word
  • Delete link
  • Insert table of contents
  • Delete table of contents
  • Update table of contents
  • Insert bookmark
  • Insert equation
  • Insert footer
  • Insert footnote
  • Insert header
  • Insert horizontal line
  • Insert page break
To add and edit tables, say these commands:
  • Insert table
  • Insert table [1-20] rows by [1-20] columns
  • Insert row
  • Insert column
  • Insert new column
  • Insert new column on the left
  • Insert new row
  • Insert new row above
  • Insert new row below
  • Delete column
  • Delete row
  • Delete table
  • Remove column
  • Remove row
  • Remove table
  • Exit table
To move around your document, say these commands:
Part 1Part 2Part 3
Example:
Go to
end ofparagraph
Go to
Move to
end of
start of
paragraph
column
line
row
table
document
Go to
Move to
next
previous
character
column
footnote
formatting change
heading
heading [1-6]
image
line
link
list
list item
misspelling
paragraph
row
table
word
page
Go
Move
forward
backward
[number] characters
[number] words
Go
Move
up
down
[number] lines
[number] paragraphs

Scroll

  • Scroll down
  • Scroll up
To move the cursor to the end of the paragraph and start voice typing again, say "Resume."
To move the cursor to a particular word or phrase, say "Resume with [word]." The cursor moves to the end of the word that you speak.
Here are all the commands you can say to resume voice typing:
  • Resume
  • Resume with [word or phrase]
  • Go to the end of the paragraph
  • Move to the end of the paragraph
  • Go to the end of the line
  • Move to the end of the line
To open a list of voice commands in your document, say these commands:
  • Voice typing help
  • Voice commands list
  • See all voice commands
To use these commands, turn on screen reader support. It's best to wear headphones so the screen reader feedback isn't typed into your document.
  • Speak cursor location
  • Speak from cursor location
  • Speak selection
  • Speak selection formatting
  • Speak table row and column headers
  • Speak table cell location
  • Speak table column header
  • Speak table row header