Ubuntu 17.04 Install Notes

Zesty Zapus / Ubuntu 17.04 is finally installed. Below are all of my notes on how I got it to work!

I think it works better than the previous installation. So far, my bluetooth headset pairs better. I haven’t had the clipboard issues that I had before. It’s definitely a step forward.

Restoring files

These are the directories that I restored. Maybe it will give you an idea of things you may want to restore if you do the same thing.

  • ~/.ssh: The keys for my remote ssh connections — most important because of backuppc restoring
  • ~/Documents: This is where I put all my document files
  • ~/Pictures: I have Shotwell pointed at this directory, so it contains all the pictures from my cell phone and digital camera
  • ~/GideonTaylor: I keep my work files in a different directory
  • ~/.config/google-chrome: The settings for Chrome (extensions, bookmarks, etc) (or, ~/.config/google-chrome-beta)
  • ~/.local/share/keyrings: My saved passwords
  • ~/.Skype: Skype history
  • ~/.remmina: The settings for my remote connections
  • ~/.local/share/shotwell: The settings and thumbnails for my photos
  • ~/.sword: The downloaded Bible files for Xiphos (and the underlying Sword library)
  • ~/.filezilla: The settings for my FTP connections
  • ~/.sqldeveloper: The connection settings for SQL developer
  • ~/.vim: stores the plugins installed in Gvim
  • ~/.vimrc: preferences for Gvim
  • ~/.local/share/fonts for custom-installed fonts (see this post)
  • /etc/NetworkManager/system-connections: this saves all of my wireless connections and VPN connections

Note: To make it recognize the keyring updates without rebooting, you can run this command:

<br />
gnome-keyring-daemon -r -d<br />

Also, note that for the network connections to work, you have to make sure the permissions are correct on the files and restart the network manager to get it to use them.

<br />
sudo chmod 600 /etc/NetworkManager/system-connections/*<br />
sudo service network-manager restart<br />

I did have a shortcut or two that I wanted to restore. Those were found in:
.local/share/applications

Networking

Chrome is my browser of choice. I restored my profile so that I am basically back the way it was before I reinstalled. I downloaded the 64-bit Deb install package from Chrome’s website.

Installing it takes a few tweaks. First, I used the command-line to install the package:

<br />
sudo dpkg -i Downloads/google-chrome-stable_current_amd64.deb<br />

I got the following errors this time:

<br />
dpkg: dependency problems prevent configuration of google-chrome-stable:<br />
 google-chrome-stable depends on gconf-service; however:<br />
  Package gconf-service is not installed.<br />
 google-chrome-stable depends on libgconf-2-4 (&gt;= 2.31.1); however:<br />
  Package libgconf-2-4 is not installed.<br />
 google-chrome-stable depends on libappindicator1; however:<br />
  Package libappindicator1 is not installed.<br />

I fixed it with this command:

<br />
sudo apt --fix-broken install<br />

For VPN’s, I installed all of the VPN pacakges:

<br />
sudo apt-get install vpnc \<br />
network-manager-vpnc \<br />
network-manager-openconnect \<br />
network-manager-openconnect-gnome \<br />
openconnect \<br />
network-manager-iodine \<br />
network-manager-openvpn \<br />
network-manager-strongswan<br />

Update (8/172017): I found that in order to add additional Open VPN connections, I also needed to install this:

<br />
sudo apt-get install network-manager-openvpn-gnome<br />

(see this question)

KeePass helps me keep track of my accounts and passwords across the web and my laptop. It’s crucial because there’s no way I could remember all of those accounts and I don’t want to make them all the same password.

I have the library stored and encrypted on drop box, so it is secure but shared across all my devices. So, dropbox is also a requirement for this to work. I’ll install that later.

<br />
sudo add-apt-repository ppa:jtaylor/keepass<br />
sudo apt-get update<br />
sudo apt-get install keepass2<br />

To assist with integrating it into Chrome, I used the ChromIPass plugin. I restored that when I restored the Chrome profile. Then, I needed to install the KeePassHttp plugin.

I downloaded KeePassHttp from the GitHub website. The Readme has the link underneath the “Installation” heading. That downloaded a KeePassHttp.plgx file.

I used the command line to copy the file to my KeePass directory (/usr/lib/keepass2):

<br />
cd ~/Downloads<br />
sudo mv KeePassHttp.plgx /usr/lib/keepass2<br />
sudo chmod 644 /usr/lib/keepass2/KeePassHttp.plgx<br />
sudo apt-get install mono-complete<br />

Skype is a necessary evil for me. I feel like the Linux client is missing key features such the ability to share screens or video with multiple people. Still, since others use it, I have to install it.

So, I downloaded it from the Skype website:
New Skype version

For reference, here’s the old download
Old Skype version

Installed:

sudo dpkg -i skypeforlinux-64.deb<br />
sudo apt install -y libjpeg62:i386<br />

This installed Skype 5.2.0.1.

Before, I would tweak some settings in the options dialog. I don’t find that anymore. Instead, I check the 2 options: Tools > Launch at Login and Tools > Launch Minimized.

I also had to fix the Skype repo. Apparently, it was added automatically, and it isn’t signed.

<br />
dpkg -s apt-transport-https &gt; /dev/null || bash -c &quot;sudo apt-get update; sudo apt-get install apt-transport-https -y&quot;<br />
curl https://repo.skype.com/data/SKYPE-GPG-KEY | sudo apt-key add -<br />
echo &quot;deb [arch=amd64] https://repo.skype.com/deb stable main&quot; | sudo tee /etc/apt/sources.list.d/skype-stable.list<br />
sudo apt-get update<br />

The Skype tray icon didn’t work at first. I had to change it to launch like this:

<br />
env XDG_CURRENT_DESKTOP=Unity skypeforlinux<br />

To make that work, I had to edit the launcher with Menu Libre and also edit it in Startup Applications.

I use Zoom a lot for online meetings. To install, I downloaded it from the download page. And:

<br />
sudo dpkg -i zoom_amd64.deb<br />
sudo apt-get -f install<br />

I installed Filezilla with:

<br />
sudo apt-get install filezilla<br />

Remina came pre-installed, but I like the latest version.

sudo apt-add-repository ppa:remmina-ppa-team/remmina-next<br />
sudo apt-get update<br />
sudo apt-get upgrade remmina remmina-plugin-rdp remmina-plugin-vnc

To get Remmina to autostart, I went to the Preferences dialog, and I checked “Start Remmina in tracy icon at user login” under the Applet section.

I installed Dropbox by downloading from their Download Page.

<br />
sudo dpkg -i dropbox_2015.10.28_amd64.deb<br />
sudo apt-get -f install<br />

I have a client or two that support remote connections with VMWare View. I downloaded it from the download page.

I also had to download libpng12 from here.

I installed it with:

<br />
sudo dpkg -i libpng12-0_1.2.50-2+deb8u3_amd64.deb<br />
chmod +x VMware-Horizon-Client-3.5.0-2999900.x64.bundle<br />
sudo ./VMware-Horizon-Client-3.5.0-2999900.x64.bundle<br />
sudo apt-get install freerdp-x11<br />
sudo ln -s   /lib/x86_64-linux-gnu/libudev.so.1   /lib/x86_64-linux-gnu/libudev.so.0<br />

Configuration and Utilities

I like these tools:

  • MenuLibre — uesful for adding items to the menu
  • 7zip & RAR — compression algorithms
  • Synaptic — more dependable / advanced for installing packages
  • Y PPA Manager — tool for managing PPA’s
  • Compiz Config Settings Manager — allows tweaking compiz settings
  • Unity Tweak Tool — another took that allows for changing configuration settings
  • Caffeine — a tool to turn off the screensaver/ lock
  • Xiphos — a Bible tool that works off of the Sword project

<br />
sudo add-apt-repository ppa:webupd8team/y-ppa-manager<br />
sudo apt-get update<br />
sudo apt-get install menulibre \<br />
      p7zip-full p7zip-rar \<br />
      synaptic \<br />
      y-ppa-manager \<br />
      compizconfig-settings-manager compiz-plugins \<br />
      unity-tweak-tool \<br />
      caffeine \<br />
      xiphos<br />

In the Settings > Displays app, I made 2 small changes. I turned Sticky edges off and changed the launcher placement to only a single screen.

In the CompizConfig Settings Manager, I enabled the Wobbly Windows.

In the Unity Tweak Tool, I went to Unity > Panel and checked the option for 12-hour time, and included seconds and Date. Then, I went to System > Scrolling and changed the Scrollbars to legacy.

On the battery icon near the clock, I clicked the option in that menu to show the time in the menu bar.

Under System Settings > Mouse and Touchpad, I unchecked the “Natural Scrolling” option under Touchpad. That feature mixes me up.

Also, for Caffeine, I went to Startup Applications and added “caffeine-indicator” as a new startup program.

LibreOffice

Initially, Ubuntu came with this version installed:
Version: 5.3.1.2
Build ID: 1:5.3.1-0ubuntu2

I want to keep it up to date, so I am enabling this repo:

<br />
sudo add-apt-repository ppa:libreoffice/ppa<br />
sudo apt-get update<br />
sudo apt-get dist-upgrade<br />

After applying that repo, it upgraded to:
Version: 5.3.3.2
Build ID: 1:5.3.3~rc2-0ubuntu0.17.04.1~lo

There are a few settings that I like to make in the Options. I like the ribbon interface. LibreOffice > Advanced: under optional features, I checked “Enable experimental features”. Then, I can select View > Toolbar Layout > Notebookbar. In LibreOffice, I went to options > LibreOffice Impress > General, there I checked the “Enable remote control”.

Virtual Box

I used these commands to install (from here):

<br />
sudo bash -c 'echo &quot;deb http://download.virtualbox.org/virtualbox/debian zesty contrib&quot; &gt;&gt; /etc/apt/sources.list'<br />
wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add -<br />
wget -q https://www.virtualbox.org/download/oracle_vbox.asc -O- | sudo apt-key add -<br />
sudo apt-get update<br />
sudo apt-get install virtualbox-5.0<br />

Then, I download the extension pack from Oracle’s website.

Programming Tools

  • GVim: Power text editor — vim is the CLI version, and vim-gnome is the GUI version (I like both for different situations)
  • Git: Version control system … git-cola is the GUI client, installs CLI program as a dependency
  • Meld: compare tool like “Beyond Compare”, etc. nautilus-compare is an add on to launch from the file manager
  • Java: I use several Java tools
  • MS Visual Studio Code: I have allowed this to replace brackets

<br />
sudo add-apt-repository ppa:webupd8team/java<br />
sudo apt-get update<br />
sudo apt-get install \<br />
       vim \<br />
       vim-gnome \<br />
       git-cola \<br />
       meld \<br />
       nautilus-compare \<br />
       oracle-java8-installer<br />

I created a directory for the Vi backup files:

mkdir ~/.vimtmp

I was using Brackets, but now Visual Studio Code has become my editor of choice for website development. I downloaded it from the website.

I am using Node JS more and more for website development. So, I am just installing it with my system.

<br />
sudo apt-get install nodejs<br />
sudo ln -s /usr/bin/nodejs /usr/bin/node<br />
sudo apt-get install npm<br />
sudo npm install bower -g<br />
sudo npm install -g protractor<br />
sudo npm install -g gulp<br />

Here are the versions:

<br />
$ nodejs --version<br />
v4.7.2<br />
$ npm -g ls --depth=0<br />
/usr/local/lib<br />
├── bower@1.8.0<br />
├── gulp@3.9.1<br />
└── protractor@5.1.2<br />

I also installed Soap UI from their website.

<br />
sh Downloads/SoapUI-x64-5.3.0.sh<br />

I installed the Gluon Scene Developer from their website.

<br />
sudo dpkg -i Downloads/scenebuilder-8.3.0.deb<br />

I downloaded SQL Developer from Oracle’s website. Then, I used these commands to install it:

<br />
sudo apt-get install sqldeveloper-package \<br />
                     debhelper<br />
make-sqldeveloper-package -b output \<br />
       sqldeveloper*.zip<br />
sudo dpkg -i sqldeveloper*all.deb<br />

I downloaded Eclipse from the Eclipse website.

<br />
cd Downloads/<br />
tar -xzvf eclipse-inst-linux64.tar.gz<br />
cd eclipse-installer<br />
./eclipse-inst<br />

After the install, I installed the following components from the Help menu.

  • Collaboration > Dynamic Languages Toolkit – Mylyn Integration
  • Collaboration > Eclipse GitHub Integration with task focused interface
  • General Purpose Tools > e(fx)clipse – IDE
  • Programming > JavaScript Development Tools Chromium/V8 Remote Debugger
  • Web, XML, Java EE and OSGi Enterprise Development > Eclipse Web Developer Tools
  • Web, XML, Java EE and OSGi Enterprise Development > Eclipse Java Web Developer Tools
  • Web, XML, Java EE and OSGi Enterprise Development > Javascript Development Tools
  • Web, XML, Java EE and OSGi Enterprise Development > PHP Development Tools

The cool part this time is that I didn’t have to add any sites to get e(fx)clipse.

Visual Media Programs

I installed the following other programs for working with visual media:

  • Gimp: for editing photos
  • Inkscape: vector-based drawing
  • Xournal: has features that allow marking up a PDF
  • Shutter: I used for taking and annotating screenshots

<br />
sudo apt-get install gimp \<br />
        gimp-data-extras \<br />
        inkscape \<br />
        xournal \<br />
        shutter<br />

After installing, on Shutter, I went to Edit > Preferences. On Main > Directory, I changed the directory to a new one that I created called screenshots. Pictures is for photos, in my opinion, not screenshots. Under Behavior > First-launch Behavior, I checked “Start Shutter at login” and “Hide window on first launch”.

Audio Media Programs

These are the audio programs that I like:

  • Audacity: sound editing
  • MuseScore: sheet music editor
  • soundconverter: converting audio between formats
  • winff: Front end to ffmpeg

<br />
sudo apt-get install audacity \<br />
          winff-gtk2 \<br />
          soundconverter \<br />
          musescore<br />

Note: The MuseScore Maintainers team has a repository, but they don’t update it for 17.04 until that version gets out of date, so we can’t use it now.

Video Media Programs

These are the programs I use for playing and editing video:

  • mplayer – nice general video/music player from the command line
  • gnome-mplayer
  • vlc – video player
  • kdenlive – video editor
  • openshot – video editor
  • cheese – nice for testing to make sure the webcam works (already installed)
  • EasyTAG
  • YouTube Downloader — downloads videos from Youtube

<br />
sudo apt-get install gnome-mplayer \<br />
      vlc \<br />
      kdenlive \<br />
      openshot \<br />
      youtube-dl \<br />
      easytag<br />

Then, I installed the codecs for videos:

<br />
sudo apt-get install \<br />
     libdvdnav4 \<br />
     libdvdread4 \<br />
     gstreamer1.0-plugins-bad \<br />
     gstreamer1.0-plugins-ugly \<br />
     ubuntu-restricted-extras<br />

Games

0ad has been a hit in our house. I like to keep up to date with it, so I’ll install from their repo

<br />
sudo add-apt-repository ppa:wfg/0ad<br />
sudo apt-get update<br />
sudo apt-get install 0ad<br />

Resources

Leave a Comment

Your email address will not be published. Required fields are marked *