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

Thursday, November 26, 2015

VirtualBox: Getting USB to Work Ubuntu 14.04

Don't ask why but I installed a Virtualbox of Windows 10 (I wanted to experiment with all it's new features, some of which required me to have a mic and camera working).  I have a Logitech C270 Webcam that works great on my Ubuntu Install.

I started Virtualbox, went to setting and clicked on the USB tab and clicked on the ADD USB button but it kept telling me that I had NO USB Devices to Add.  I know my camera works on my Ubuntu Install so something else was wrong.

After some Google reading I learned that you have to make sure you've install GUEST ADDITIONS in your Virtualbox, which I did, so that wasn't it.  So I read on and figured out that it was a Permission problem.  Here's how I fixed it;

1.  Install gnome-system-tools
     a.  Open a TERMINAL Windows
     b.  In the Terminal Windows type.
          sudo apt-get install gnome-system-tools
     c.  Hit ENTER and give it your password when asked

2.  Open Users and Groups
     a.  Go to your DASH and type USER
     b.  You will see a few items show up but you need
           to run the one called USERS AND GROUPS.

3.  Once USERS AND GROUPS opens
     a.  Click on ADVANCED SETTINGS
     b.  In the Advanced Settings Click on USER PRIVILEGES
     c.  Check Mark the USE VIRTUALBOX VIRTUALIZATION SOLUTION
     d.  Click OK and you're done.
           ** NOTE:  It will ask for your password at some point.


RESET YOUR COMPUTER!!! Not just your Virtual Computer, your Host Computer too.  This is NOT optional, trust me and reset your whole system!

Now let's add your USB devices to your Virtual Computer.  Before we began I word of warning, devices being used by a GUEST OS through a USB filter will not be accessible by the HOST OS while the GUEST OS is running. Therefore, DO NOT add a filter for any USB devices that you will need in your HOST System while the GUEST is running.  i.e. shared printers, mice, keyboards, usb storage devices, etc...


1.  Open VirtualBox (don't start your Guest OS)
     a.  Select your Guest OS
     b.  Click on SETTINGS
     c.  When Settings opens Click on USB
     d.  Click the ADD USB Button (green plus symbol)
     e.  Select the USB Device you want to add to your GUEST OS


That's it you're done. You may be able to manually add your USB Device if it still isn't showing up but that'll have to be a later Post because mine is working now :-) 






Saturday, October 24, 2015

Preserving the life of your SSD (Linux)

Your new SSD drive has a limited number of write cycles that it will take before it fails.  This number is pretty high and it should last a long time but why waste these writes if you don't have too? The biggest thing you can do to limit the wear and tear on your SSD drive is changing how often Ubuntu writes to the SWAP PARTITION.  This is achieved by editing a single file, sysctl.conf.  The other thing you can do to help keep your SSD's performance up is occasionally running the FSTRIM command.  Here's how to do these two things.

(Note; SWAP is an important function of Ubuntu and if you have a small amount of memory (RAM) in your system you may want a larger SWAPPINESS number than I used.  I have 16gb of ram in my system.)


Limit SWAP PARTITION use (SWAPPINESS).

You will need to limit the use of the swap partition if it's located on your SSD (It was put there by default in Ubuntu). Don't disable it entirely, Ubuntu does need to be able to "swap".

Ubuntu uses a number between 0 and 100 to determine how often to "swap".  The default is 60.  The lower the number the less Ubuntu SWAPS. 60 is too high for an SSD, let's change it.

Open a Terminal Window and type the following pressing enter afterwards;

    cat /proc/sys/vm/swappiness

This will tell you your current SWAPPINESS setting (default is 60). We want to change it to 1.

So type the following into the Terminal Window and press enter.

     sudo gedit /etc/sysctl.conf

This will launch GEDIT with the sysctl.conf file open for editing.

Add the following line at the end of the sysctl.conf file;

    vm.swappiness=1

Save the file and close it.

That's it!  Ubuntu will now SWAP (write to your SSD SWAP Partition) much less now.  If you notice that your system's performance dropped noticeably after making this change just try a number a little higher or just put it back to 60.



How to execute FSTRIM manually.

The second thing we can do to help our SSD Drive out is manually running the FSTRIM command.  This lets your SSD Drive get rid of clutter and lets it keep it's fast speed.  You should run this command a couple of times a month or maybe once a week.

Open a Terminal Window and type;

     sudo fstrim -v /

Press Enter Key.
Type your password when prompted and Press Enter Key again.

This command take a few minutes to complete and it will look like the terminal froze up. It didn't, just wait it out.  When it's done it will tell you the amount of space it Trimmed.


MORE

Here is a link to more information and other people's thoughts on preserving the life and speed of your SSD.






Monday, October 05, 2015

Installing Nvidia GTX 950 Drivers in Ubuntu 14.04.3 Linux

STEP 1.

Download the correct nvidia-driver for your Nvidia Graphic Card. You have to pick the right Graphic Card and Operating System (O.S.) (Mine was GTX 950 and LINUX 64-bit).

You can get the drivers at;
http://www.nvidia.com/Download/index.aspx?lang=en-us
If that link fails, just search web for “nvidia download linux".

Once the file is downloaded, you need to Right-click on the file you downloaded and make it Executable.




STEP 2.

Open a TERMINAL Window and type:
sudo apt-get update && sudo apt-get upgrade && sudo apt-get dist-upgrade && sudo apt-get install build-essential && sudo apt-get install linux-source && sudo apt-get install linux-headers-generic
 (Hit Enter)


  • That is all one line (cut and paste it all at once)


STEP 3.

It takes some time for STEP 2 to run. When it finishes, type;
   sudo gedit /etc/default/grub 
   (Hit Enter)


  • This opens the file grub in GEDIT as root.  Use gedit to change the line that has;

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nomodeset"

  • Replace it with; 

GRUB_CMDLINE_LINUX_DEFAULT="nouveau.blacklist=1 quiet splash nomodeset"

  • This forces putty to use low-level graphics mode to get rid of the Blank Black Screen.


Once you've made the change to the grub file, you just save it in GEDIT
FILE-->SAVE

  • remember where you save this file too.

After saving the grub file, with the changes, close GEDIT.

Now back in the TERMINAL Window type;
   sudo update-grub2
   (Hit Enter)


STEP 4.

Type;
   sudo apt-get remove nvidia* && sudo apt-get autoremove
   (Hit Enter)

  • This uninstalls any previous version of the Nvidia drivers
Type;
   sudo reboot 
  (Hit Enter)

  • This resets (reboots) your computer


Step 5.

Once the computer reboots open a TERMINAL Window and type;
    sudo gedit /etc/modprobe.d/blacklist.conf
   (Hit Enter)

add these lines to the end:
blacklist vga16fb
blacklist nouveau
blacklist rivafb
blacklist nvidiafb
blacklist rivatv
blacklist lbm-nouveua
options nouveau modeset=0
alias nouveau off
alias lbm-nouveau off



Once you've made the change to the blacklist.conf file, you just save it in GEDIT
    FILE-->SAVE
After saving the blacklist.conf file with the changes, close GEDIT.


STEP 6.

Open a PUTTY-TERMINAL by pressing Ctrl + Alt + F1
Once TERMINAL opens type;
    sudo service lightdm stop 
    (Hit Enter)

  • This stops graphic the session so we can now install the new drivers.

type;
    cd Downloads
    (Hit Enter)

  • This assumes you downloaded your nvidia-file to the DOWNLOADS directory.  Adjust as needed

type;
     sudo ./NVIDIA-Linux-x86_64-355.11.run
    (Hit Enter)

  • Your NVIDIA-Linux-x86_64-355.11.run file may have a different name, just substitute it for mine
  • Follow the onscreen installation instructions (normally YES to all questions)


SPECIAL STEP (Skip this step usually)

  • Type: sudo nvidia-xconfig (Hit Enter) only if you did not chose “yes” to this in the installation 



STEP 7.

Still in the TERMINAL type;
   sudo reboot
   (Hit Enter)

Once your machine restarts, type;
   sudo gedit /etc/default/grub 
   (Hit Enter)

This opens the file grub in GEDIT as root.  Use gedit to change the line that has;
GRUB_CMDLINE_LINUX_DEFAULT="nouveau.blacklist=1 quiet splash nomodeset"
Replace it with;
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nomodeset"

  • This puts back what we did in STEP 3.

Once you've made the change to the grub file, you just save it in GEDIT
     FILE-->SAVE
After saving the grub file with the changes, close GEDIT.


STEP 8.

Back in TERMINAL type;
   sudo update-grub2 
   (Hit Enter)

Last one type;
   sudo reboot
   (Hit Enter)



You are DONE!!!!  
If all went well you now have Priority Nvidia Drivers installed and working.  The bad news is that every time your Linux Kernel gets updated you have to reinstall your Nvidia Drivers.  To do this reinstall, I just completed the instruction in STEP 6 only.  This worked for me.   I guess you could try doing STEP 4 first then STEP 6. if STEP 6 only didn't work.  I hope this helps and it should work for Nvidia GTX 750ti, 950, 960, 970, 980, Titan X.

On my system when my Kernel Updates I get stuck at the logon screen.  To reinstall your Nvidia Drivers you have to open a PUTTY-TERMINAL by pressing Ctrl + Alt + F1. This will open a TERMINAL Window to get you started.

UPDATE*** On the first Kernel Update I had to reinstall the Nvidia Driver but the second kernel update I did not.

If this method is not working for you or you don't want to try the "Manual" method, try this link to an article on WEB UPD8 which uses a PPA.

Sunday, October 04, 2015

Built a New Linux (Ubuntu 14.04) Box

I wanted to build a new Linux compatible box but couldn't find much information about which parts would work and which wouldn't.  After a lot of research and some plain ass guessing, I pulled the trigger and ordered some parts.  Everything on this list works just fine on Ubuntu 14.04.03 and on 15.04.  All these parts can be purchased at NewEgg.Com or Amazon.Com.


  • NZXT Phantom 410 Series CA-PH410-W1 Black/White Steel / Plastic ATX Mid Tower Computer Case . (NewEgg.com Part Number 11-146-087) $99.99


  • ASUS Z97-A/USB 3.1 LGA 1150 Intel Z97 HDMI SATA 6Gb/s USB 3.1 ATX Intel Motherboard.  (NewEgg.com Part Number 13-132-510) $139.99   ***


  • CORSAIR CX series CX500M 500W ATX12V v2.3 SLI Ready CrossFire Ready 80 PLUS BRONZE Certified Modular Active PFC CP-9020059-NA Power Supply. (NewEgg.com Part Number17-139-050) $54.99


  • Intel Core i5-4590 Haswell Quad-Core 3.3GHz LGA 1150 84W BX80646I54590 Desktop Processor Intel HD Graphics 4600. (NewEgg.com Part Number 19-116-991) $189.99


  • SAMSUNG 850 EVO MZ-75E500B/AM 2.5" 500GB SATA III 3-D Vertical Internal Solid State Drive (SSD).  (NewEgg.com Part Number 20-147-373) $183.99


  • G.SKILL Ares Series 16GB (2 x 8GB) 240-Pin DDR3 SDRAM DDR3 1866 (PC3 14900) Desktop Memory Model F3-1866C10D-16GAB. (NewEgg.com Part Number 20-231-560) $75.99


  • LITE-ON DVD Burner 24X DVD+R 8X DVD+RW 8X DVD+R DL 24X DVD-R 6X DVD-RW 16X DVD-ROM 48X CD-R 24X CD-RW 48X CD-ROM SATA Model iHAS124-14. (NewEgg.com Part Number 27-106-393) $9.99


If you do not need additional Hard Drive storage or don't want better Video performance, you can stop buying here as the motherboard above has on-board intel 4600 video.  However I wanted more storage room and faster video so I placed a 2nd order at amazon.com.  But I have to tell you that the next three items require you to do some Terminal Commands and install a couple of helper apps to get them working (Hard Drives bigger than 2TB require special attention if you want them to be one big drive and the GTX 950 is new and needs to have its drivers installed from the Terminal Command Line).


  • Seagate 5TB Enterprise Capacity HDD SATA 6Gb/s 128MB Cache 3.5-Inch Internal Bare Drive (amazon.com Part Number ST5000NM0024) $169

  • WD Red 2TB NAS Hard Drive: 1 to 8-bay RAID Hard Drive: 3.5-inch SATA 6 Gb/s, IntelliPower, 64MB Cache (amazon.com Part Number WD20EFRX) $89


  • EVGA GeForce GTX 950 SSC Graphics Card (amazon.com Part Number 02G-P4-2957-KR) $169

You may be asking "why did you get a 2TB hard drive and a 5TB hard drive"?  Well I was not sure if I could get the 5TB drive to work with Linux so the 2TB was a "just in case" buy.  I thought of just sending it back and getting another 5TB but I still have 2 open hard drive ports on the motherboard so I kept it (plus I was just too lazy to return it).

In the next couple of Posts, I'll tell you how to get your Geforce GTX 950 running at full speed and how to partition and format your larger than 2TB hard drives to work as a single large unit.

NOTES:

*** Everything is working in UBUNTU 14.04.3 on the ASUS Z97-A/USB 3.1 LGA 1150 Intel Z97 motherboard but I'm not sure on USB 3.1 at full 10GB speed.  The ports are working and are running at least at USB 3.0 (5GB) speed.  I don't have any USB devices that run at the full 3.1 speed. The only change to the BIOS I made was a check block that asked what O.S. I was going to use, I checked OTHER (Microsoft Windows was the other option).  There is an "AutoTune" button that I hit once everything was installed and it kick my RAM up to full speed and did a small overclock to my CPU (I undid the CPU overclock as I will be leaving this computer on 24/7). ASUS makes about 4 motherboards in this line, I assume they would all work with Linux (one had Wifi built-in if needed)

*** The case is really nice with a great paint job but is kinda big for a "mid" and the top is not flat.  However wire management, fan placement and inclusion, water cooling options, toolless drive bays, and a 3 speed fan controller make up for the large size.  (4.5 stars out of 5)


*** The 16GB of memory is a faster speed (1866) than required (1600 is standard) but it was on sale at the same price so what the hell.


*** The CPU is LOCKED.  For $30 more you can get a K model that allows big overclocking which this motherboard makes very easy to do.  This CPU was on sale for $189.


*** DVD vs. Blueray.  I debated this when I setup this system but the DVD burner was on sale $9 and the Blueray Burner was $50 and I think Blueray is dying.


*** SSD vs. Standard hard drive.  I made the SSD my Boot Drive, installed all my Apps on it and put my HOME files on it.  Once I notice that I'm not accessing files in my HOME drive much, I'll move those files to either the 2TB drive or archive them on the 5TB drive (music and docs on the 2TB and old photos on the 5TB).  I bought a second SSD hard drive for a 3 year old laptop and it made the laptop scream!  If you have a laptop and it has a standard mechanical hard drive you have to BUY An SSD for it.  It's like getting a new laptop for $150 bucks!!!  


*** Power supply.  You get what you pay for.  If you are going to run a single graphics card with a couple of hard drives and fans (like I am) then 500 Watts work.  More graphic cards and peripherals means more power, suck it up, spend the money and get a good P.S.


*** Graphic card.  The motherboard supports the built-in graphic of the intel CPU so you do NOT need to spend money on a graphic card BUT...If you want to do any gaming (Steam) or Dual Boot Windows then get a graphics card.  I wanted an Nvidia card and there are many choices.  Get at least a GTX 750ti ($120) or better yet the new GTX 950 ($160) it uses the latest Nvidia parts.  If you really want to kick up your graphics GTX 960 ($200), GTX 970 ($310), GTX 980 ($500) or if you don't care about money GTX Titan ($1000).  The higher the "GTX Number" the faster, more memory, better the card is.  But the sweet spot looks to be the GTX 960 or 970.  Because the GTX 9xx series is newer you have to install their drivers from the Terminal and every time the linux kernel updates you have to reinstall the drivers.  I'll post the howto on that next.  I tried to get the RESTRICTED DRIVERS built-in option to work but it didn't recognize that I had an Nvidia Card installed.


*** Last Note.  When shopping at NewEgg.Com always, always, always google for special codes to get big savings.  NewEgg has hourly, daily, weekly, holiday and other "flash" deals.  I saved about $50 and got free shipping from deals I found but lost a 10% off my SDD because it was a "Flash" deal with limited quantities.  


Thursday, April 02, 2015

Startup Disk Creator doesn't make DVDs

Just a quick note;  Startup Disk Creator will only make bootable USB Drives NOT Bootable DVD's.  To make a bootable DVD use a Disc Burning program like BRASERO using the BURN IMAGE option and selecting your ISO image.

I trashed a Windows 7 install trying to make a dual boot laptop.  I should have read the instructions first.  Well now it's just a Linux Laptop :-)

Ubuntu 14.04.2