This is an aid to help me when I had a new laptop, and the things I had to do. Some people may find some of the things I use, useful in their work. Because I made some big mistakes, it was worth writing things down.
If people have other good Ubuntu tools which they consider essential, please let me know
Note: It is a list of things to do – not a set of instructions.
Windows
- mangage bitlocker – disable so you can resize the partition
- set fast boot off so you can resize the partition
Lenovo bios change
- F1-F12 as primary function -> On. Without this ISPF P9 gives print screen.
- Enable trackpoint
- Disable trackpad
- Swap Ctrl FN
Prepare the laptop
- Create Linux bootable image for the correct architecture
- Boot the Linux USB
- Change partitions, shrink Windows allocate Linux partition, allocate user partition
- Install Linux
- Check Windows still starts
Boot the installed Linux
- Connect to Wifi
- Sudo apt update
- Sudo apt install ssh
- Sudo apt install sshfs
- Sudo snap install vivaldi
- Use disks to create a user parition on the SSD.
- Format it
- Edit mount options
- Unselect User session defaults
- Display Name: colins
- Mount point /mnt/Colin
- Identify as LABEL=Colin
- Reboot and check disk is mounted
- Add backup userid
- sudo adduser ColinPaice
- sudo passwd ColinPaice
- sudo adduser ColinPaice sudo
- sudo mkdir /home/ColinPaice
- sudo chwon ColinPaice:users /home/ColinPaice
- su – ColinPaice Check it works
- Change userid to its parition on /mnt/Colin
- logon as the backup userid ColinPaice
usermod --home /mnt/colin colin- su – colin to check it works
- sudo apt install x3270 do this before installing openssh-server because of font problems
- sudo apt install openssl-server
- sudo apt install traceroute
- set up sshd
- sudo ufw allow ssh
- sudo ufw enable
- sudo systemctl enable ssh
- sudo systemctl start ssh
- sudo systemctl status ssh
- use system to change Ethernet network to
- Manual 10.1.0.4 255.255.255.0
- From old laptop ssh colin@10.1.0.4
- sudo snap install discord
- sudo apt install wmctrl so I can use hot keys to switch ispf windows
- Set up networking
- sudo ip -4 addr add 10.1.0.2/24 dev enp1s0f0
- save/restore keyboard mappings
- dconf dump /org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/ > custom.txt
- cat custom.txt | dconf load /org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/
- all:
dconf dump / > dconf-backup.conf - all:
cat dconf-backup.conf | dconf load /
- Move window buttons to the top left
sudo apt install gnome-tweaks; gnome-tweaks; windows-: Placement left - Set dash icon size. Settings-> Ubuntu desktop -> Dock -> Icon size
- Add my hot directories to the Gnome file manager side bar.
- Display the directory and its contents, click on ⋮ select “add to bookmarks”.
- sudo apt install dconf-editor
- sudo apt install gnome-shell-extension-manager
- super – extension manager browse clipboard-history – install
- Shift super sudo apt install gnome-screenshot
- super – extension manager browse clipboard-history – install
- For backups sudo apt install deja-dup duplicity
- Setting icon size for file manager.
- dconf /org/gnome/nautilus/list-view
- use default value off
- custom value ‘small’
Setting up applications to use z/OS on a remote Linux machines
- For hot key to ISPF sessions sudo apt install wmctrl . system -> keyboard -> keyboard short cuts -> custom
- Name: colin@ wmctrl -a colin@ shortcut ctrl + 3
- Name: mst cons wmctrl -a mstcon shortcut ctrl + 1
- Name: tso@ wmctrl -a tso@ shortcut ctrl + 2
- sudo apt install wireshark
- sudo apt install curl