Table of Contents

Install or Update Linux Mint on Jerry's Workstation

Booting to BIOS

Getting Ready

Installing Mint:

Backup And Restore Linux Desktop System Settings With Dconf

See Backup And Restore Linux Desktop System Settings With Dconf for more information.

$ dconf dump / > ostechnix-desktop
$ dconf reset -f /
$ dconf load / < ostechnix-desktop

Backup And Restore mySql

Backup Argets DB with /Store/scripts/

Restore from phpmyadmin import

Backup And Restore Linux Desktop System Settings With Dconf

See Backup And Restore Linux Desktop System Settings With Dconf for more information.

$ dconf dump / > ostechnix-desktop
$ dconf reset -f /
$ dconf load / < ostechnix-desktop
$ dconf dump / > ostechnix-desktop
$ dconf reset -f /
$ dconf load / < ostechnix-desktop

Install Preferred Applications (simple)

There are a number of additional files and applications that are used nearly every day. In /Store/ForUpgrade directory is the shell script that install the following apps.

sudo apt install ubuntu-restricted-extras
sudo add-apt-repository ppa:teejee2008/ppa
sudo apt-get update && sudo apt-get upgrade
sudo apt-get install meld
sudo apt-get install dconf-cli
sudo apt-get install shellcheck
sudo apt-get install xsane
sudo apt-get install nmap #needed for **allip** script
sudo apt-get install tasksel
sudo apt-get install alacarte
sudo apt-get install aisleriot # GNOME solitaire card game collection
sudo apt-get install diodon # lightweight GTK+ clipboard manager
sudo apt-get install clipit # lightweight GTK+ clipboard manager
sudo apt-get install deja-dup # Backup utility
sudo apt-get install gedit # official text editor of the GNOME desktop environment
sudo apt-get install google-chrome-stable
sudo apt-get install gparted # GNOME partition editor
sudo apt-get install hplip-gui # HP Linux Printing and Imaging - GUI utilities (Qt-based)
sudo apt-get install speedcrunch # High precision calculator
sudo apt-get install terminator # multiple GNOME terminals in one window
sudo apt-get install recoll # multiple GNOME terminals in one window
sudo apt-get install brasero #Brasero is a free disc-burning program
sudo apt-get install ufw # Firewall
sudo apt-get install autokey-gtk # Key Definitions

# Copy the bash shell script from /Store/ForUpgrade to home and the activate
cp /Store/ForUpgrade/.bashrc ~/.bashrc
source ~/.bashrc.sh

# Start the Uncomplicated FireWall (UFW) and read in the rules for Gertie
sudo bash /Store/ForUpgrades/UFW_Rules.sh

sudo add-apt-repository ppa:recoll-backports/recoll-1.15-on; sudo apt update; sudo apt-get install recoll;  

Migrate Existing Applications:

Extract pertinent application and configuration directories from the latest ~ tar. This includes most of the “dot” files (.*) and directories. Consider restoring the entire home directory unless there have been significant user interface changes.

Extract /opt from the latest tar system backup . This should restore the following directories:

Install Complex Applications:

Visual Studio Code

Just use Software Center; otherwise:

 sudo apt install software-properties-common apt-transport-https wget
 wget -q https://packages.microsoft.com/keys/microsoft.asc -O- | sudo apt-key add -
 sudo add-apt-repository "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main"
 sudo apt install code -y

Printer:

Brother MFC-J895DW:

Download Brother linux drivers.

If CUPS insecure error 1) then sudo chmod 755 /usr/lib/cups/filter/brother_lpdwrapper_mfcj895dw

HP Printers:

 Use menu--> HPLIP Toolbox  to install.  Current printer is  HP2FBF9A (192.168.1.70).  If 
 printer is on and connected to ethernet you can find it's IP and Name by running **allip** on Gertie.
     

Install Lamp Stack

See How To Install LAMP Stack on Ubuntu 22.04

MySQL:

MySQL client and server can be install from Synaptic. Passwords are not asked for. The first thing that needs to be done is to create users and passwords.

https://www.fosslinux.com/38390/how-to-install-and-configure-mysql-on-ubuntu.htm

Start mysql as root:

su  to become the root user and then mysql at the command prompt to enter the sql shell.

Add desired users as follows:

CREATE USER 'jerry'@'%' IDENTIFIED BY 'password';
GRANT ALL PRIVILEGES ON *.* TO 'jerry'@'%' WITH GRANT option;
CREATE USER 'jerry'@'localhost' IDENTIFIED BY 'password';
GRANT ALL PRIVILEGES ON *.* TO 'jerry'@'localhost' WITH GRANT option;
GRANT RELOAD,PROCESS ON *.* TO 'jerry'@'localhost';
GRANT RELOAD,PROCESS ON *.* TO 'jerry'@'*';

Moneydance

Moneydance application should be installed when it is extracted as /opt is restored. To determine location of current moneydance data file go to Help → Show Documents Folder. Presently the data files are located at /home/jerry/.moneydance/Documents. These too should be restored when thbe home directories are extracted. Moneydance registration details are in LastPass.

DokuWiki:

Should already be installed as it sits in /Work/www. However, it is now homed at www.argets.net/dokuwiki so it needs nothing more than document maintenance.

See Install Dokuwiki for more detail.

Recover after forgetting password: OS: Linux, Debian Login as root apt install whois mkpasswd -m md5crypt supply new password the command will write hash on screen copy it

pico /etc/dokuwiki/users.auth.php (location of file may be different in your case) replace the password string (second field : separated) with the new one save

DigiKam:

No dependency problems installed using Synaptic.

Needs to be installed from command line. The following quick steps may be dated and should be verified before using:

sudo add-apt-repository ppa:philip5/extra

sudo apt-get update

sudo dpkg -i libsqlite3-0_3.8.6-1_xxx.deb sudo dpkg -i sqlite3_3.8.6-1_xxx.deb

sudo apt-get install digikam  ffmpegthumbs kipi-plugins mplay

For more information see: Digikam Installation

Piwigo:

Should already be installed as it sits in /Work/www. However, it is now homed at www.argets.net/piwigo so it needs nothing more than document maintenance.

See: Install-Customize Piwigo for more detail.

Nemo/Nautulus:

Look up and install package for nemo extensions, specifically nemo-image-tools

Others:

Master PDF Editor.

Use Master PDF editor to edit uncooperative PDF files, i.e., VISA applications.

http://code-industry.net/public/master-pdf-editor_2.2.05_amd64.deb

Lios Scan/OCR application.

  For the most robust linux scanning application try Lios at:  [[http://sourceforge.net/projects/lios/files/Lios_1.9.2_all.deb/download|http://sourceforge.net/projects/lios/files/Lios_1.9.2_all.deb/download]]

Terminator:

 Config file is at ~/.config/terminator/config.  The current config should be reinstalled when ~/.config is restored after upgrade.  If not, a copy of the file can be found in /Storage/ForUpgrade/terminator.config.  :

Adobe Reader

Adobe reader is no longer supported for linux.  There is a copy of the last *.deb file in the \\  /Storage/ForUpgrade/ folder.  Double click on the filename in Nemo to install.
  1. Ordered List Item====LibreOffice:====

1. Install the following extension to LibreOffice. Use the Tools → Extension Manger to find the file and then double click from the browser download manager.

2. Under Tools –> AutoCorrect Options, Add a new symbol and a replacement text, i.e., LIB = Sylvia works at Gravette Library.

XMLCopy Editor

Install the XMLCopy Editor ujsing synaptic to avoid dependency problems

http://xml-copy-editor.sourceforge.net/

Tweak Cinnamon and Configuration

Change Calculators:

Install SpeedCrunch calculator from Synaptic or CLI. 

Change keybinding for Calc key through Systems menu –> Keyboard –> shortcuts. Under “Launchers” remove binding for “calculator”. create a new custom shortcut “speedcrunch” andd then reassign calc/F4 key to that shortcut.

Add root to File Manager (Nemo):

After installing gksu with sudo apt-get install gksu, type in terminal gksu-properties and set authentication mode to **sudo**. That will make "open as root" work in nemo when right clicking on a file.

Compose Key:

Add the compose key for the degree, euro, pound and other symbols. I use the left window key (lwin). Create a file which is called “composekey.sh” and put it into the home folder ”~/composekey.sh“. This is the whole content of this file:

#!/bin/bash

setxkbmap -option compose:lwin

Once the file is created go to the menu: select Preferences -» Startup Applications. In the window, add a new startup program called “ComposeKey” which points to your ComposeKey file in the home directory.

How to set “compose key” on Mint 17 Cinnamon?

Main Menu > Keyboards > Keyboard layouts > Options > Position of Compose Key > Lwin

cinammon applets and extensions:

NumLock/CapLock Indicator should be copied with the other ~ files above.

If not, download http://cinnamon-spices.linuxmint.com/applets/view/83 Caps/Num Lock Applet to home/jerry/.local/share/cinnamon/applets/betterlock@entelechy and activate the NumLocks/CapLocks indicator from System Settings → Applets.

MISCELLANEOUS

Setup Internet connection on router.

<code>
Select PPPoE with Username & PaSSWORD
Dynamic IP
On Demand
argets@att.net/Hez7457

</code>

Visual password

Here's a quick tweak that'll bring back those familiar asterisks (*) when you type in your password at the linux command line.

sudo visudo

Change the line Defaults env_reset to Defaults env_reset,pwfeedback

Press Ctrl+X to finish editing, Y to save changes, and Enter to exit if you're on Ubuntu.

Shockwave:

If problems with shockwave crashing in chromium, try this: \\ sudo apt-get –reinstall install flashplugin-installer

Uninstall bulky, unneeded programs.

Use Synaptic to completely remove:

Redacted

VMWare Player:

a.  Find VMware-Player-5.0.1-894247.x86_64.bundle in the Upgrade Work directory.  Verify the latest version.
b.  sudo apt-get install build-essential linux-headers-`uname -r`
c.  gksudo bash ./ VMware-Player-5.0.1-894247.x86_64.bundle
d.  Copy backed up directories and files from the /Work to the new home.
      e.  Copy VMWare and .vmware from the saved home dir to the new home.
      f.  The previous WindowsXP install should be available.
      g.  More detailed instructions at
           [[http://www.howtoforge.com/how-to-install-vmware-player-on-ubuntu-11.04-linux-mint-11]]

Change home directory to seperate disk:

a.  modify the fstab again to point to the new partition and mount it as /home. gksu gedit /etc/fstab
b.  change  "/media/home" part to simply say "/home" so that it looks like this: # (identifier)  (location, eg sda5)   (ext4)  (some settings)

UUID=???????? /home ext3 nodev,nosuid 0 2

c.  Move the current /home to old_home and make a new home:  cd / && sudo mv /home /old_home && cd / && sudo mkdir -p /home
1)
“/usr/lib/cups/filter/brother_lpdwrapper_mfcj895dw” has insecure permissions (0100775/uid=0/gid=1000)“