LINUX Notes R Botha 2025/09/26 * General notes extracted from the note I have of seeting up my laptop * used as basis for DARA training session 2025/09/26 Installations: --------------- - sudo apt-get update - sudo apt-get install google-chrome-stable mc gpm ksnip pdfmod pdfchain htop chrome-gnome-shell gnome-tweaks gnome-session gnome-shell-extensions gnome-menus gir1.2-gtop-2.0 nodejs gir1.2-clutter-1.0 gir1.2-clutter-gst-3.0 gir1.2-gtkclutter-1.0 dconf-editor filezilla Other general installations: ---------------------------- - sudo apt-get install qemu-kvm virt-manager snap snapd apt-transport-https openssh-server nfs-common qemu-guest-agent screen synaptic gparted ntfs-3g exfat-fuse exfatprogs net-tools samba cifs-utils npm php php-common gcc php-imagick lftp gcc g++ make python3 net-tools mmv sshfs nmap plocate default-jre wodim cdrkit-doc libbcprov-java-doc libcommons-lang3-java-doc monodoc-gtk2.0-manual libmono-i18n4.0-all libgamin0 libosinfo-l10n gstreamer1.0-libav gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly pm-utils radvd systemtap zfsutils watchdog fonts-dejavu-extra fonts-ipafont-gothic fonts-ipafont-mincho fonts-wqy-microhei fonts-indic molly-guard monkeysphere openvpn-systemd-resolved easy-rsa vde2 debootstrap byobu sharutils-doc python3-guestfs python3-argcomplete smartmontools gsmartcontrol inkscape snapd acpi openjdk-11-jdk gir1.2-gtop-2.0 gir1.2-nm-1.0 gir1.2-clutter-1.0 - wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/sublimehq-archive.gpg > /dev/null - echo "deb https://download.sublimetext.com/ apt/stable/" | sudo tee /etc/apt/sources.list.d/sublime-text.list sudo apt-get install sublime-text sublime-merge sudo ln -s /usr/sbin/mount.exfat-fuse /usr/sbin/mount.exfat sudo snap install feem Gnome Shell Extensions: ----------------------- https://extensions.gnome.org/extension/755/hibernate-status-button/ Pane Date Formatter: https://extensions.gnome.org/extension/3465/panel-date-format/ #with pattern %a %Y/%m/%d (%j) %T %Z (UTC%z) Harddisk LED: https://extensions.gnome.org/extension/988/harddisk-led/ System Monitor: https://extensions.gnome.org/extension/3010/system-monitor-next/ Sound Input & Output Device Chooser: https://extensions.gnome.org/extension/906/sound-output-device-chooser/ Run Tweaks: ----------- - General: Over-amplification - Extensions -> Battery - Top Bar: change setting Week numbers + seconds ON, Battery percentage ON - - Keyboard and Mouse: Compose Key -> Right-Alt Launch dconf Editor ------------------- Go to /org/gnome/desktop/background/. Select picture-options. Disable Use default value and select 'none' in the Custom value option. Get back to /org/gnome/desktop/background/ and select primary-color. Disable Use default value and put #000000 in the Custom value box. KSnip ------- sudo snap install ksnip KSNIP: Check whether latest version is installed at: https://github.com/ksnip/ksnip/releases then add OCR plugin: https://github.com/ksnip/ksnip-plugin-ocr/releases StirlingPDF ----------- https://docs.stirlingpdf.com/Installation/Unix%20Installation/ Need to get git of StirlingPDF as well for the scripts DRIVE management --------------- blkid #Get /Data UUID, add to /etc/fstab: UUID=8b2182cc-c30c-48a9-8928-39acc303e5ce /Data ext4 defaults 0 0 mount /Data roelf@roelfl5:~$ ln -s /Data/Shared/ SHARED roelf@roelfl5:~$ ln -s /Data/Work/ WORK roelf@roelfl5:~$ ln -s /Data/VMs/ VMs root@roelfl5:/var/lib/libvirt# rmdir images/ root@roelfl5:/var/lib/libvirt# ln -s /Data/VMs/ images virsh define ***.XML #VM and SAMBA and sharing to Win VM sudo nano /etc/samba/smb.conf #add to [global] section: usershare owner only = yes interfaces = 127.0.0.0/8 192.168.122.0/24 bind interfaces only = yes [Data] Comment = Samba Shared Directory path = /Data writable = yes guest ok = yes read only = no force user = roelf sudo service smbd restart sudo smbpasswd -a roelf (make same password as for Windows VM user roelf - username and password the same on Linux and Windows --> Transparent access) sudo virsh net-autostart default /Data • Work ◦ GENERAL • Vms • Private New Structure • Shared - rbotha@sarao.ac.za /Shared • Work – rbotha@sarao.ac.za /Work • Confidential – LOCAL Only • VMs – LOCAL Only • Backups – LOCAL Only • Personal ◦ Roelof – roelf@rsystems.co.za ◦ Rest – Local only