I’m a little later than I wanted to be, but I’ve finally installed a fresh copy of Ubuntu 18.10: Bionic Beaver. I like to do a fresh install to test my backup skills and to try to get rid of extra stuff I may have installed that I don’t need anymore.
This article is my install notes.
Looking back, my last install explored into the land of Wayland. Unfortunately, it didn’t stick. My screenshot tool quit working and my screen sharing tools quit working. There were just too many major issues. Ubuntu 18.10 goes back to making X11 the default, and I didn’t fight it.
You can confirm with the loginctl command or the XDG_SESSION_TYPE variable:
<br /> skp@cashew:~$ loginctl<br /> SESSION UID USER SEAT TTY<br /> c1 120 gdm seat0 tty1<br /> 2 1000 skp seat0 tty2 </p> <p>2 sessions listed.<br /> skp@cashew:~$ loginctl show-session 2 -p Type<br /> Type=x11<br /> skp@cashew:~$ echo $XDG_SESSION_TYPE<br /> x11<br />
Just for reference, below are the things I restored. I need to remember to go through what I restore, or I am just moving my old junk forward. For example, in Documents, I could stand to clean out a few things that are out of date and not useful anymore.
- ~/.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
- ~/.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
- ~/.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
- .local/share/applications (not the whole directory) for application shortcuts
Either a reboot or this command makes it pick up the restored passwords in the Gnome keyring:
<br /> gnome-keyring-daemon -r -d<br />
For network manager, you have to fix the file permissions and restart it:
<br /> sudo chmod 600 /etc/NetworkManager/system-connections/*<br /> sudo service network-manager restart<br />
Also, import for ssh: fix the permissions
<br /> sudo chmod 400 -R ~/.ssh<br />
Chrome is my browser of choice. By restoring the profile, it even has the tabs open from my previous install. I downloaded the 64-bit Deb install package from Chrome’s website. I just installed it by double clicking on the package in the Downloads folder.
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 /> network-manager-openvpn-gnome<br />
Update 7/12/2018 …
I needed two more packages:
<br /> sudo apt-get install \<br /> network-manager-iodine-gnome \<br /> network-manager-vpnc-gnome<br />
KeePass may not be network-related, but it stores all of my passwords on the Internet. The main program, I installed with apt-get:
<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 that from the GitHub website. I downloaded the file KeePassHttp.plgx.
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 />
I don’t use Skype too much anymore, but just in case, I want it installed. I downloaded it from the Skype website:
Skype Download Page
This time, I just double clicked on the package in the downloads folder. I didn’t install libjpeg62:i386, and hopefully that doesn’t come back to bite me.
This installed Skype 18.104.22.168.
Althought Chime has taken over most of my meetings, we sometimes use Zoom. To install, I downloaded it from the download page. I double clicked on the package in the downloads folder to install.
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
In the preferences, I changed the screenshots folder to my screenshots folder. I also checked “Start Remmina in tray icon at user login” under the Applet section. Finally, under Appearance, I changed the Tab Interface to “Tab all Connections”.
I installed Dropbox by downloading from their Download Page. It installed easily by double clicking on the package. After installing, you have to start dropbox from the menu and go through the “download” and setup stuff.
Configuration and Utilities
Here are some of the tools like I like:
- 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
- Gnome Tweak Tool — allows tweaking additional settings
- 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 /> gnome-tweak-tool \<br /> xiphos<br />
For Gnome Extensions, I had to install the browser extension first from this page. And, I had to install the program:
<br /> sudo apt-get install chrome-gnome-shell<br />
Here are a few gnome extensions that I like to install:
- Keep Awake — a tool to turn off the screensaver/ lock
- Bing Wallpaper — a tool to switch backgrounds
- Clipboard Indicator — a tool for remembering and recalling clipboard items
Some of the applications that I installed are App Images. To make it register them so I can access them through the menu, I installed this program:
<br /> cd ~/Downloads<br /> wget https://github.com/AppImage/AppImageKit/releases/download/10/appimaged_1.0_amd64.deb<br /> sudo dpkg -i appimaged_1.0_amd64.deb<br /> systemctl --user enable appimaged.service<br /> systemctl --user start appimaged.service<br />
The changes I made in the “Tweaks” tool:
- Top Bar — Turned “Date” on to show date in top bar
Under system settings, I made the following changes:
- Devices, Mouse & Touchpad: turned Natural Scrolling off
- Details, Date & Time: Changed Time Format to AM/PM
Finally, I removed Firefox, Amazon, and some of the other icons from favorites on my left bar. I also made KeePass and Chrome a favorite.
Initially, Ubuntu came with this version installed:
Build ID: 1:6.0.3-0ubuntu1
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:
Build ID: 1:6.0.4~rc2-0ubuntu0.18.04.1
There are a few settings that I like to make in the Options (Tools > Options). I like the ribbon interface. LibreOffice > Advanced: under optional features, I checked “Enable experimental features”. Then, I can select View > Toolbar Layout > Notebookbar. After that, there is a hamburger menu on the far right. In there, I can turn the menubar back on and get the best of both worlds.
In Impress, I went to LibreOffice Impress > General and checked the “Enable remote control”.
You could just download the virtualbox package directly (from here).
Instead I used the commandline:
<br /> sudo add-apt-repository "deb http://download.virtualbox.org/virtualbox/debian `lsb_release -cs` contrib"<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.2<br />
Then, I download the extension pack from Oracle’s website.
- 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 found Java 9 is discontinued. I installed Java 10 from a different place.
<br /> sudo add-apt-repository ppa:linuxuprising/java<br /> sudo apt update<br /> sudo apt install oracle-java10-installer<br /> sudo apt install oracle-java10-set-default<br />
I created a directory for the Vi backup files (this is configured in my .vimrc):
Visual Studio Code is currently my editor of choice for website development. I downloaded it from the website. Here are the extensions that I installed:
To install, I opened the “quick open” with Ctrl+P and typed: “ext install johnpapa.angular-essentials”. A second time, I typed “ext install humao.rest-client”.
(FYI: extensions are stored in ~/.vscode/extensions/).
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 apt-get install npm<br /> sudo npm install bower -g<br /> sudo npm install -g gulp<br /> sudo npm install -g grunt<br />
Here are the versions:
<br /> $ node --version<br /> v8.10.0<br /> $ npm -g ls --depth=0<br /> /usr/local/lib<br /> ├── email@example.com<br /> ├── firstname.lastname@example.org<br /> └── email@example.com<br />
I installed the open source version of Soap UI from their website.
<br /> sh ~/Downloads/SoapUI-x64-5.4.0.sh<br />
I installed the Gluon Scene Developer from their website. This time, I downloaded and installed the Java 9 version (I didn’t see a Java 10 version).
I downloaded SQL Developer from Oracle’s website. Then, I used these commands to install it:
<br /> cd ~/Downloads<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 />
I chose the “Eclipse IDE for Java Developers” version.
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 > PHP Development Tools (PDT)
- Programming > PHP Development Tools (PDT) PHPUnit Support
- 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 > PHP Development Tools
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, I changed some Shutter settings: 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”.
I had issues with the indicator showing up. I found that I could run the following three commands:
<br /> sudo apt-get install libappindicator-dev<br /> sudo apt-get install cpanminus<br /> sudo cpanm Gtk2::AppIndicator<br />
I also had issues with the Edit button being disabled. I had to download the support packages manually:
<br /> sudo dpkg -i libgoocanvas3_1.0.0-1_amd64.deb \<br /> libgoocanvas-common_1.0.0-1_all.deb \<br /> libgoo-canvas-perl_0.06-2ubuntu3_amd64.deb<br />
I found that my Gimp was out of date when I started working with someone at church. So, I used this repo to update it to match their version:
<br /> sudo add-apt-repository ppa:otto-kesselgulasch/gimp<br /> sudo apt-get dist-upgrade<br />
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 hasn’t updated their repository to bionic.
Video Media Programs
These are the programs I use for playing and editing video:
- mplayer – nice general video/music player from the command line
- smplayer – gui version of mplayer (couldn’t find gnome-mplayer anymore)
- vlc – video player
- kdenlive – video editor
- openshot – video editor
- cheese – nice for testing to make sure the webcam works (already installed)
- YouTube Downloader — downloads videos from Youtube
<br /> sudo apt-get install smplayer \<br /> vlc \<br /> kdenlive breeze-icon-theme \<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 />
Finally, I installed the Open Broadcaster Software from their website. Here are the commands:
<br /> sudo add-apt-repository ppa:obsproject/obs-studio<br /> sudo apt-get update && sudo apt-get install obs-studio<br />
I have a Dell e525W Printer. I downloaded the official driver from the Dell Website. The zip file contained at deb package. Once installed, I went to settings and added the printer.
Our church has an MX-3140N Printer. It requires special authentication, and I had to tweak the ppd file to get that to work. I have that backed up in my etc/cups/ppd directory. Unfortunately, I have to be at church where my comptuer can see the printer to set it up.
This is a new section for me. Now that I have a 3D Printer, I have to install the software to go with it.
For designing stuff, I installed OpenScad. I found they have a repository now.
<br /> sudo add-apt-repository ppa:openscad/releases<br /> sudo apt-get update<br /> sudo apt-get install openscad<br />
Cura is the next program that I use for slicing the models and creating the gcode files. I have to download that directly from Cura’s website. I placed the Cura-3.3.1.AppImage file in the ~/bin directory. Note: Cura is in the Ubuntu Software Center, but that version is 3.1. I wanted the latest.
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 />
- How to Install Oracle VirtualBox 5.2 on Ubuntu 17.10/16.04, Debian 9/8
- Install Oracle Java 10 In Ubuntu Or Linux Mint From PPA Repository
- Ubuntu Buzz: SOLVING SHUTTER ICON NOT SHOWING AT SYSTEM TRAY ON UBUNTU
- Launchpad Bugs: shutter appindicator disappears in bionic, worked in artful
- Stack Overflow: bash: cpan: command not found
- Ask Ubuntu: How do I get the latest GIMP version available?
- It’s Foss: How To Fix Disabled Edit Option In Shutter in Ubuntu 18.04
- Ask Ubuntu: Registering AppImage Files as a desktop app