Saturday, March 2, 2013

My switch Linux Mint 11 Gnome -> Mint 14 Cinnamon x64

Here are my notes on my switch over for my main desktop OS....

To Linux Mint 14 Cinnamon x64
from Linux Mint 11 Gnome 64 bit.   I had tried Linux Mint Debian XFCE, but decided I wanted the added ease of use, stability and packages afforded by Ubuntu base and did not need so much the bleeding edge afforded by Debian testing base.  I then tried Linux Mint 13 XFCE x64, but after installing Mint 14 Cinnamon on my daughter's computer I was hooked!

Nifty Help from Others
Tips and tricks on Mint 13 Cinnamon:

Video Driver and Updates
Installed the nVidia Graphics card proprietary driver (now via tab in software sources program) and performed all other system updates

Netflix and Amazon Prime Setup
Netflix setup is available using ehoover's repository.  Setup from there as follows:
  • sudo add-apt-repository ppa:ehoover/compholio
  • sudo apt-get update
  • sudo apt-get install netflix-desktop
Amazon Prime was working correctly in Firefox for a while, then in Dec 2012 suddenly quit working for some videos.  After some search, I discovered the solution.  The package 'hal' needed to be installed.  Once installed from Software manager, Amazon prime movies began working again.

Java 7 from Oracle
ProxMox Server administration would not work properly under OpenJDK (unfortunately), so I needed to install Oracle Java 7.  My instructions for doing so are here:

  • sudo add-apt-repository ppa:webupd8team/java
  • sudo apt-get update
  • sudo apt-get install oracle-java7-installer
  • java -version
    • this verifies the oracle java 7 is installed (if not link to tutorial)
  • update-java-alternatives -l
    • this lists the installed alternatives - note the openjdk java listed
  • sudo update-java-alternatives -s [name of openjdk]
    • this switches back to primary java use of openjdk, but keeps links to Oracle Java 7 intact for functions not supported in openjdk
    • will show some errors because of the missing alternatives in openjdk
  • java -version
    • this should show the openjdk java
Create Menu Item or Launcher
At first I could not figure out how to Create a menu item or modify the menu, a bit tricky, though simple and logical...
  • To Create menu item or modify Menu
    • Right click on "Menu" on the panel and choose "Edit menu"
    • Add menu item or modify menu as desired
  • To create Launcher
    • right click anywhere on desktop and choose "create launcher"
  • Move Menu item to Panel (quick launch), desktop, or favorites (left in Menu)
    • simply right click the desired program in Menu and choose the desired location
Minecraft Launcher
The suggested sample launcher script given on does not work.  Following is what works for me:
  • command:  java -jar /home/user/.minecraft/minecraft.jar
  • downloaded image file for menu icon and placed in .minecraft folder
  • Created menu item as described above with the command given here

Pithos - Pandora Music Player
This nifty program allows me to use Pandora service in a true aplication/program so my keyboard media buttons work.
  • sudo add-apt-repository ppa:kevin-mehall/pithos-daily
  • sudo apt-get update
  • sudo apt-get install pithos

Rapid Photo Downloader - The best for getting images off your devices, renaming and ordering
To get the latest version, added the following ppa repository.  Followed this help:  and performed the following in console.

  • sudo add-apt-repository ppa:dlynch3
  • sudo apt-get update
  • sudo apt-get install rapid-photo-downloader

Steam Games and Flash Player within steam
Installed Steam for buying and installing games.  (I'm not much of a gamer, but want to support the the industry as they consider porting games for Linux.)  One of the issues is that the flash player within steam does not work.  Found this workaround:  It entails doing the following:

  • download Adobe Flash Player 32 bit from here (even though my system is 64 bit - yes):
  • unzip in the download directory
  • Make a directory for the new flash plugin
    • mkdir -p ~/.local/share/Steam/ubuntu12_32/plugins
  • Move the file .../install_flash_player_11_linux.i386/ into the folder you made ~/.local/share/Steam/ubuntu12_32/plugins
  • you can now delete the downloaded and unzipped files
  • made sure the libxt6:i386 was installed on my computer:  it was
    • sudo apt-get install libxt6:i386
GRIVE - Google Drive Configuration
Because Google does not have an official Google Drive client for Linux yet (to automatically sync Google drive to a spot on your local hard drive), can use an open source alternative.  One is available via a WebUpd8 PPA.  See this page for details:  Problems are that it is command line only, no auto sync, doesn't download google docs.

Another Google drive setup available is via a .deb package.  Found here with instructions:
Problems with the above are: no downloading of Google docs, no auto-sync.

I'm skipping this setup for now... think I will wait for official client.

SpiderOak Backup has a good online backup solution and has had a stable Linux client for much time.  Allows you to share files with others, file encryption, etc.  Download client install file from

Printer Configuration
Because gnome-control-center has a broken or useless link to printer setup options, I added a launcher to system-config-printer, which seems to be awol from the menu.
  • To Create desktop launcher
    • Right click desktop and select "create launcher"
    • Write system-config-printer in the command box.
  • To create Menu Item
    • Right click on Menu and select "Edit menu"
    • Fill out options the same as when creating a launcher

Cinnamon Nightly Build
Maybe a bit risky, but because Cinnamon is new enough, decided to add repository to update to nightly builds.
mySQL or MariaDB
I am looking at MariaDB as a replacement for mySQL.  Seems like the way to go, but for now, going to install mySQL, then play with MariaDB on the side.  I've been installing mySQL right on my desktop computer and running it in the background for my business accounting database back end without any issues.  Following are the packages installed.

  • mysql-server 
  • automysqlbackup - for automatic backups
  • libreoffice-mysql-connector - for moving data between mySQL database and spreadsheets
  • Install MySQL Workbench.  This replaces MySQL Administrator and MySQL browser
    • Download from here; tried the 12.04 download as no 12.10 listed.
    • try to install the 64bit deb package, has depency problem: libctemplate0 not installed
    • Add PPA repository someone created as follows:
      • sudo add-apt-repository ppa:olivier-berten/misc
      • sudo apt-get update
      • sudo apt-get install mysql-workbench
      • to start the application 
        • type in terminal:  "mysql-workbench &"
        • or select MySQL Workbench from menu
      • reference 1  Reference 2
  • Other Admin front ends to try
  • Help on SQL
  • MySQL Workbench
    • First go through the "New Server Instance" setup to connect to local SQL Server
    • Now I can "Manage Import/Export" to add in my SQL dump file from my old computer
  • Connecting to SQL database from LibreOffice Base
    • /Edit/Database/Properties
      • Database name = GVaccounts
      • Server  = localhost
      • Port = 3306
      • User name = []
      • select password required
    • /Edit/Database/Connection Type
      • Database type = MySQL (Native)
This program is a good screen recording program which overcomes some of the problems of other options.  Enter the following in a terminal.  Thanks to Jim Lynch for the heads up.
  • sudo add-apt-repository ppa:maarten-baert/simplescreenrecorder
  • sudo apt-get update
  • sudo apt-get install simplescreenrecorder

Sony Music Player - flash player woes
I have 2 Sony mp3 players.  Both stopped working in recent versions of Linux in terms of being able to transfer music files on or off the player.  I had given up on this, deciding to not buy this brand again, and keeping my music stagnant on it, occasionally updating from someone else's computer.
WORK AROUND is now working again.  Just installed jsymphonic from the software manager and now able to access these players again.  jsymphonic - file manager for sony's mp3 players.

Add my Favorite Programs
  • Accessories
    • KeypassX - password vault
    • Lucky Backup - full featured front end for rsync
    • grsync - another rsync front end, connects to network drives
    • Guake - my favorite terminal app
    • Shutter - screen saver that lets you edit screen shots before saving them to custom location
    • SpiderOak Backup - computer back up service front end
    • optional:
      • ClamTK - antivirus front end
      • jSymphonic - allows access to Sony music players
      • f.lux - night time screen dimmer
      • USB Image writer (LM 17 has USB writer)
  • Administration
    • optional
      • APTonCE
      • GParted - disk format utility  (LM 17 has USB formatter & Disks)
      • hardinfo - System Information - shows detailed info on hardwqare
  • ChromeApps - installs automatically with Chrome apps
  • Education
    • BibleTime - bible study program

  • Games
    • Steam - I am not a gamer, but I appreciate the Linux support of the Steam community (same reasoning for purchasing Humble Indy Bundles).  I signed up and bought a couple titles... works great, even in Beta!
    • Neverball
  • Graphics
    • darktable - professional grade negative and image editor
    • Fotowall - very nice and easy collages and photo arrangements
    • gThumb - quick photo cropping and simple editing
    • Inkscape - vector graphics creator
    • Openshot - easy to use video editor
    • PhotoPrint - simple but powerfull photo printing program, better photo printing results
    • rapid-photo-downloader - Great for automatic downloading, renaming, then deleting of photos and videos off of device digital camera or other devices 
    • Optional
      • Document Viewer - if PDFs are not displaying correctly in default viewer
      • pdfmod - edit pdf docs
      • pdf shuffler - rearrange, merge, etc
      • Shape collage - powerful java based program to make photo collages from many photos, needs to be downloaded from web site  
      • Inkscape - vector graphics program
  • Internet
    • Chrome Browser (Download .deb from Internet)
    • EtherApe - graphical view of network traffic and more
    • FileZilla - Easy file browsing and transfer over sftp, ftp, ssh, etc
    • Google Music Manager - allows me to upload titles to/from Google account (both for purchasing from Play and for downloading my other music onto my Android devices)
    • Pidgin - My favorite (for now) IM client
    • Transmission - simple, stable bitTorrent client
    • Optional
      • Chromium Browser
      • Google Earth
      • Skype
  • Office
    • ePDFviewer - worked to print a few PDF docs when the default viewer had misplaced numberical dataap
    • Optional
      • GNUCash - Personal finance
      • Gnumeric - light weight spreadsheet
      • KeepNote - simple note taking
      • PDF Shuffler - working with PDFs
  • Programming (optional)
    • Emma - SQL front end, simple
    • Meld
  • Sound & Video
    • Audio Tag Tool - fixing mp3 tags
    • Pithos - Pandora music player
    • K3B - awesome disk writer
    • Netflix desktop - from PPA, see above, but maybe obsolete soon!
    • Openshot video editor - video projects
    • VLC media player
    • Optional
      • simple screen Recorder
      • Sound Recorder
  • System
    • Lucky Backup - fav backup program
    • Guake - (my favorite quick command line access) via F12
    • VirtualBox  Non-free
    • Optional
      • Unet Boot  (LM 17 has USB writer)
      • Wine
Other packages to install:
  • ubuntu-restricted-extras  This package allows playing of mp3s, etc. Perhaps unnecessary with Linux Mint.  Actually, thsi uninstalled libavcodec53 and libavutil51 and replaced them with libavcodedc-extra-53 and libavutil-extra51.  It also installed various other packages..

Programs I am testing

Other Resources
  • Web Upd8 PPA repository source for adding tweaks and content to Ubuntu via repositories:

Side Launch Bar Setup


Maria Database vs MySql
Database backup:

Programs to try
SM Player - reviewed as the best video player for all media including DVDs
PeaZip - all inclusive and fast
Splash Top - Remote viewer, proprietary, up to 10x faster, access computer from pad even
Pitivi - video editing
Devede - for creating video dvds, different focus from above
Firestarter or GUFW - graphical front end to UFW firewall
Crashplan - alternate backup to LuckyBackup
XBMC - home theater software for turning your pc into a home theater
Tomahawk - music center combining local and online music sources
Okular - nice pdf (, etc) reader, but best with KDE desktop

Notes, Other Resources

Wednesday, January 9, 2013

MineOS Turnkey on ProxMox VM server

MineOS on ProxMox VM server

Using MineOS Turnkey!
Will, the developer of MineOS and MineOS Crux is at it again with the upcoming release of MineOS Turnkey.  The great news here is stable, kept up to date OS core behind Will's great Minecraft front end.!topic/mineos/zGloo4J0vnc

I had been using MineOS Crux, MineOS+, and MineOS at times before, but on reinstalling a server found the 64 bit versions buggy at best and not working at worst.  Plus the install procedures were difficult.

On the VM architecture I had previously used Ubuntu based KVM, Oracle VirtualBox and VMWare Vsphere.  This is my first OS install on ProxMox VM server, so thought I would take time and document both ProxMox utilization as well as my MineOS install and preferred settings.

  1. My ProxMox Setup Blog:
  2. Pull the latest Mineos_turnkey.iso from Will's MineOS download page: 
  3. see other links below


Upload ISO OS image
  • Pull the latest Mineos_turnkey.iso from Will's MineOS download page: 
  • Select a storage device by clicking on it (e.g. "local") in the left column
  • Choose the "content" tab in in the main (right) window
  • Click on the "Upload" link on the top of the main content window
  • Select the MineOS Crux iso from the local hard drive

Setup VM Characteristics
  • In the ProxMox Web Interface, select the Desired Server, then in upper right hand corner click on the "Create VM" button.
  • VM settings
    • General: 
      • select the server node and leave the default VMID of 100
      • Name it "MineOSCruxTurnkey"
      • leave the Resource Pool Blank as I have none defined yet
    • OS: Select LInux 3.x/2.6 Kernel
    • CD/DVD: Use image file, and select the iso image I had uploaded
    • Hard Disk:  IDE 8 to 16 GB raw disk image
    • CPU: 1 socket, 2 core, qemu64 type
    • Memory: 3072 MB
    • Network: Bridged Mode with all defaults
    • Confirm and finish
Install MineOS Turnkey
  • Pull the latest Mineos_turnkey.iso from Will's MineOS download page: 
  • Follow the install screen, self explanitory
  • I had problems with MineOS web GUI username not being accepted, but understand this is not a normal problem... If by chance you get the same error see my problem and resolution here
MineOS Additions
  • Added Bukketbeta by "create new profile" button on Overview screen.  This added entries to the mineos.config file as follows 
    • [downloads] 
      • bukkitbeta_jar=
    • [bukkitbeta]
      • ignore =
      • jar_file = craftbukkit-beta.jar
      • jar_args =

Webmin Tweaks
  • Change timezone, so my cronjobs work when expected
    • Log into webmin https://[serverip]:12321
    • Navigate to system/software packages
    • select Package from APT, type in webmin-time and click install
    • Navigate to system/system time, click on change timezone, select your and apply

(Update: this section no longer needed as Turnkey MineOS now is complete)
Install Missing things Using Will's Ubuntu Guide


Minecraft Server Problems
  • I had significant problems with the 64 bit versions of MineOS Crux and MineOS +, so abandoned trying to get them to work for now.

Java Problems:
I updated java on my local computer to get proxmox server functionality working, but now am having problems with Minecraft and other java programs on my computer.

  • Right click the new VM located under the server in the left pane, then select start
  • Next select Console... and find out we have a java problem
  • follow this advice:
  • Now java works after I tell it to trust the content... and I can start the install

MineOS Crux can be found here:
ProxMox can be found here:
ProxMox Installation tips here:
ProxMox HOW TOs:

Tuesday, January 8, 2013

Getting Java working in Linux Mint 14 XFCE and Cinnamon for ProxMox and other apps

Linux Mint 14 XFCE and Cinnamon
The following are the Steps which I took to install Oracle Java 7, which I needed for ProxMox functionality, then reverting back to openJDK so other apps I have (don't work on Oracle Java 7) still work.

What I Actually Did
  • Followed the advice here:
    • sudo add-apt-repository ppa:webupd8team/java
    • sudo apt-get update
    • sudo apt-get install oracle-java7-installer
  • This installed Java 7, but not all my java stuff works with Java 7 yet, so for now I switch back to the default Openjdk.  This leaves the new functionality of java 7 needed for ProxMox intact, namely the embedded vncviewer functions.  So after we are left with a mixed setup,  but it works for now, and I can switch back and forth between java versions using the command given below.
    • switch back to the openjdk java
      • java -version
        • this verifies the oracle java 7 is installed (if not link to tutorial)
      • update-java-alternatives -l
        • this lists the installed alternatives
        • note the openjdk java listed
      • sudo update-java-alternatives -s [name of openjdk]
        • this switches back to primary java use of openjdk, but keeps links to Oracle Java 7 intact for functions not supported in openjdk
        • will show some errors because of the missing alternatives in openjdk
      • java -version
        • this should show the openjdk java
  • Various command options:
    • Check the java version installed
      • java -version
    • help on the update-java-alternatives
      • man update-java-alternatives
    • Remove the Oracle Java 7
      • sudo apt-get remove oracle-java7-installer

How this is setup on Linux Mint 14 XFCE and Cinnamon
  • update-java-alternatives: this is the program setup for 
  • jinfo files: java info files are used to inform the update-java-alternatives program, which is the program that is used to change java alternatives
    • hidden file located in /usr/lib/jvm/ ... example /usr/lib/jvm/.java-1.7.0-openjdk-amd64.jinfo
    • contains information on where to access java sub-programs and plugins
  • Sim links from /usr/bin/[file] to /etc/alternatives/[file] for the following
    • java --> java
    • javaws --> javaws
    • jexec --> jexec
    • missing is a jar link that some help sites reference
  • Sim link from /etc/alternatives/[file] to /usr/lib/jvm/[dir/file] for the following (thus a link of a link is formed)
    • java --> java-7-openjdk-amd64/jre/bin/java
    • javaws --> java-7-openjdk-amd64/jre/bin/javaws
    • jexec --> java-7-openjdk-amd64/jre/lib/jexec
    • keytool --> java-7-openjdk-amd64/jre/bin/keytool
    • itweb-settings --> java-7-openjdk-amd64/jre/bin/itweb-settings
    • Plus the sim links for .1.gz files from and to same directories as above for the following
      • java.1.gz  --> java-7-openjdk-amd64/jre/man/man1/java.1.gz
      • javaws.1.gz --> java-7-openjdk-amd64/jre/man/man1/javaws.1.gz
      • jexec-binfmt --> java-7-openjdk-amd64/jre/lib/jar.binfmt
      • keytool.1.gz --> java-7-openjdk-amd64/jre/man/man1/keytool.1.gz
      • itweb-settings.1.gz --> java-7-openjdk-amd64/jre/bin/itweb-settings.1.gz

Links to other help resources:

I had started out on this path, but abandoned it when seeing the easier install method I used above:
  • Download the latest Java from Oracle's website
  • Open a terminal and do the following
  • Move this file into the right directory for Linux Mint
    • sudo mv ~/Downloads/jre-7* /usr/lib/jvm
  • Unpack in place, then delete the original file.  You will now have a directory in place with the new java runtime file in it. /usr/lib/jvm/jre1.7.0_10
    • cd /usr/lib/jvm
    • sudo tar zxvf jre-7u10-linux-x64.tar.gz
    • sudo rm jre -7u*
  • Create links to new java programs
    (this will be a LOT of work)