The "To Keep Up" Wiki

A collection of information we find useful

User Tools

Site Tools


linux_annoyances

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
linux_annoyances [2020.01.18 08:38] – [System Information] Steve Isenberglinux_annoyances [2023.03.30 08:36] (current) Steve Isenberg
Line 1: Line 1:
 +~~NOCACHE~~ <fc #a0a0a0><fs small>//This page last changed ~~LASTMOD~~ visits: {{counter|today| time| times}} today, {{counter|yesterday| time| times}} yesterday, and {{counter|total| time total so far| total times}}//</fs></fc> 
 +
 =====Linux Annoyances===== =====Linux Annoyances=====
 Tips and tricks to know about when using Linux. Tips and tricks to know about when using Linux.
 +
 +Distribution specific information\\ [[Q4OS]]
 +
  
 ===Set dual boot Win10 - Linux=== ===Set dual boot Win10 - Linux===
 [[https://itsfoss.com/guide-install-linux-mint-16-dual-boot-windows/]]\\  [[https://itsfoss.com/guide-install-linux-mint-16-dual-boot-windows/]]\\ 
 [[https://www.tecmint.com/install-linux-mint-alongside-windows-dual-boot-uefi-mode/]] [[https://www.tecmint.com/install-linux-mint-alongside-windows-dual-boot-uefi-mode/]]
 +
 +[[os_x_annoyances#how_much_space_is_each_subdirectory_using|How much space is each subdirectory using?]]
  
 ====Random halts Mint 19.3 on hp 8540w==== ====Random halts Mint 19.3 on hp 8540w====
 +[20210109] This may be caused by the Nvidia graphics card in the machine.  Recently I've found that using a lower resolution on the monitor prevents the halts and graphics issues.
 +
 +===found info===
 Trying this from [[https://easylinuxtipsproject.blogspot.com/p/bugs.html#ID25|link]] Trying this from [[https://easylinuxtipsproject.blogspot.com/p/bugs.html#ID25|link]]
  Random freezes on Intel-based computers  Random freezes on Intel-based computers
Line 37: Line 47:
   - sudo apt-get update   - sudo apt-get update
   - sudo apt-get install unetbootin   - sudo apt-get install unetbootin
 +
 +====Virtual Box with Windows====
 +===You have bootable Windows 10 USB and want to run it in Virtual Box on Linux===
 +(Thanks Bob Primak)\\ 
 +I found this hint online:\\ 
 +"VirtualBox itself does not support booting from a USB device. In order to boot from a USB device, another bootloader is required."
 +
 +"The easiest solution is to copy the contents of the USB key into an iso file (well, next time I'll just download the iso on the right machine, no USB key needed in the first place)
 +
 +<code>dd if=/dev/sdc of=myusbkey.iso</code>
 +
 +And then add this .iso as an optical drive in the VirtualBox settings, under Storage, Controller: IDE (or SATA, I guess).
 +
 +No need to make a .vmdk file, VirtualBox supports .iso files."
 +
 +All of this is from the thread here:\\ 
 +https://askubuntu.com/questions/693719/how-to-boot-from-a-usb-drive-in-virtualbox
 +
 +So the answer seems to be, convert (copy) the USB drive to an ISO file and run the ISO as a VM in Virtual Box.  VB can run ISO's as VMs, but it cannot run USB Flash Drives as VMs. (I don't know if it can reach out to USB hard drives or SSDs and use them for VMs, but it looks like it cannot do so.)
  
 ====Read exfat in Ubuntu and Linux Mint==== ====Read exfat in Ubuntu and Linux Mint====
Line 46: Line 75:
  
 Once you have installed these packages, go to file manager and click on the USB disk again to mount it. There is no need to replug the USB. It should be mounted straightaway. Once you have installed these packages, go to file manager and click on the USB disk again to mount it. There is no need to replug the USB. It should be mounted straightaway.
-====Install NordVPN====+ 
 +====Install and Use NordVPN==== 
 +[20230330] In Terminal: 
 +Install or update 
 +  - ''sudo apt-get update'' 
 +  - ''sudo apt-get upgrade'' 
 +  - ''sudo apt-get install nordvpn'' 
 + 
 +Use 
 +  - ''nordvpn login'' (log in using browser) 
 +  - ''nordvpn set autoconnect enabled'' 
 +  - ''nordvpn connect'' 
 +Done. 
 + 
 +==older info==
 from [[https://support.nordvpn.com/Connectivity/Linux/1325531132/Installing-and-using-NordVPN-on-Debian-Ubuntu-and-Linux-Mint.htm]] from [[https://support.nordvpn.com/Connectivity/Linux/1325531132/Installing-and-using-NordVPN-on-Debian-Ubuntu-and-Linux-Mint.htm]]
   - ''sudo wget -qnc https://repo.nordvpn.com/deb/nordvpn/debian/pool/main/nordvpn-release_1.0.0_all.deb''   - ''sudo wget -qnc https://repo.nordvpn.com/deb/nordvpn/debian/pool/main/nordvpn-release_1.0.0_all.deb''
Line 55: Line 98:
   - ''nordvpn connect'' to connect to a NordVPN server   - ''nordvpn connect'' to connect to a NordVPN server
  
-fyi+===Using NordVpn===
   * ''nordvpn connect US'' connects to US server, cf AU JP   * ''nordvpn connect US'' connects to US server, cf AU JP
   * ''nordvpn disconnect''   * ''nordvpn disconnect''
Line 63: Line 106:
   * ''nordvpn settings'' shows current settings   * ''nordvpn settings'' shows current settings
   * ''nordvpn status'' shows current status   * ''nordvpn status'' shows current status
 +  * ''nordvpn set threatprotectionlite enabled''
 +  * ''nordvpn set notify enabled''
   * ''man nordvpn''   * ''man nordvpn''
-====Other Programs to install in Linux==== + 
-A checklist of applications to install on a fresh Linux installation in addition to the above.+====Install Zoom==== 
 +Instructions are for Mint, will likely work for Ubuntu and other Debian distributions. 
 +  - Get the client. Browse to ''https://zoom.us/download?os=linux'' 
 +  - Select your Linux type (e.g., Mint) and OS Architecture (e.g., 64 bit) 
 +  - Download the DEB installer 
 +  - Open the download location using file manager 
 +  - Right-click on the file manager and select Open in Terminal 
 +  - ''sudo apt install ./zoom_amd64.deb'' (make sure it's the same file you downloaded you're installing) 
 +If dependencies are missing, update the package database in Terminal by doing ''sudo apt update'' and then try the above again. 
 + 
 + 
 +====Other Programs to Consider Installing in Linux==== 
 +A checklist of applications to install on a fresh Linux installation.  Some are covered above. 
 +  * Krusader -- alternative to File manager 
 +  * Virtualbox -- virtualization system, allows Windows or other Linux distros to run in Linux 
 +  * Keepass2 -- password manager 
 +  * Chromium browser, and MyIpCam extension 
 +  * VLC -- Video player 
 +  * MPV -- Video player 
 +  * SMPlayer -- frontend for MPV, supports DVDs 
 +  * Filezilla -- File transfer software (FTP) 
 +  * Gimp -- graphics/picture editor
   * NordVPN -- VPN software   * NordVPN -- VPN software
 +  * Brackets -- WYSIWYG HTML editor
 +  * Vim -- text editor; consider gVim
 +also to consider
   * pCloud -- cloud storage space   * pCloud -- cloud storage space
   * gparted -- partition editor   * gparted -- partition editor
-  * Virtualbox -- virtualization system, allows Windows or other Linux distros to run in Linux 
-  * Keepass2 or Keepassx -- password manager 
-  * Dropbox 
-  * Chromium browser (and MyIpCam extension) 
-  * Filezilla 
-  * VLC 
   * Audacity   * Audacity
-  * Gimp 
  
 See also\\  See also\\ 
 [[https://www.fossmint.com/awesome-linux-software/]] [[https://www.fossmint.com/awesome-linux-software/]]
  
-====Install DaVinci Resolve 16.1 in Linux Mint and Ubuntu, Debian====+====Installing DaVinci Resolve in Linux==== 
 +A frustration for me as I don't have a machine I can use for Linux that has a working nVidia board.  I've tried on a hp 8540w repeatedly without success.  This machine has a nVidia FX 1800 that's just not good enough. 
 +===Install DaVinci Resolve 16.1 in Linux Mint and Ubuntu, Debian===
 NOTE: smi has not been able to get DaVinci Resolve to work on a Linux Mint or Ubuntu machine yet [20200113] NOTE: smi has not been able to get DaVinci Resolve to work on a Linux Mint or Ubuntu machine yet [20200113]
  
Line 91: Line 155:
   - Now you can install the DaVinci Resolve 16 or 16.1 deb on Debian, Ubuntu, Linux Mint, and other Debian/Ubuntu based Linux distributions using Ubuntu Software, Gdebi or the command line: ''sudo dpkg -i davinci-resolve*_amd64.deb''   - Now you can install the DaVinci Resolve 16 or 16.1 deb on Debian, Ubuntu, Linux Mint, and other Debian/Ubuntu based Linux distributions using Ubuntu Software, Gdebi or the command line: ''sudo dpkg -i davinci-resolve*_amd64.deb''
  
-====Install Nvidia Driver on Ubuntu 18.04====+===Install Nvidia Driver on Ubuntu 18.04===
 WARNING: This breaks the system and requires a reinstall on HP 8540w. WARNING: This breaks the system and requires a reinstall on HP 8540w.
  
 see [[https://www.linuxbabe.com/ubuntu/install-nvidia-driver-ubuntu-18-04]], scroll down to Ubuntu section see [[https://www.linuxbabe.com/ubuntu/install-nvidia-driver-ubuntu-18-04]], scroll down to Ubuntu section
  
-====Update Nvidia to use more recent CUDA on Ubuntu====+===Update Nvidia to use more recent CUDA on Ubuntu===
 WARNING: may break the system on HP 8540w. WARNING: may break the system on HP 8540w.
  
Line 112: Line 176:
   - Return to the first terminal window and type ''sudo turbostat'' This will display a variety of readouts about your processor.   - Return to the first terminal window and type ''sudo turbostat'' This will display a variety of readouts about your processor.
 Look at the Bzy_MHz and TSC_MHz columns to see turbo speed and regular speed for each of the CPUs. Core and CPU identify core and CPUs on the core. Look at the Bzy_MHz and TSC_MHz columns to see turbo speed and regular speed for each of the CPUs. Core and CPU identify core and CPUs on the core.
 +
 +====VSFTPD ftp service====
 +[20200605 I did not have success getting this to run on Hawley and be accessible from Cortland and Honeycrisp.]
 +
 +[[https://www.howtoforge.com/tutorial/how-to-install-and-configure-vsftpd/]]\\ 
 +The configure file is /etc/vsftpd.conf
 +
 +[[https://www.2daygeek.com/start-stop-restart-enable-reload-vsftpd-server-service-in-linux/]]
 +|Start it  |service vsftpd start|
 +|Stop it   |service vsftpd stop|
 +|Restart it|service vsftpd restart|
 +|Load it   |service vsftpd reload|
 +|View status|service vsfpd status|
 +
 +|Enable the server when Linux boots|chkconfig vsftpd on|
  
 ====System Information==== ====System Information====
 +
 +===Benchmarking===
 +from [[https://linuxconfig.org/how-to-benchmark-your-linux-system]]
 +
 +''sudo apt install sysbench''
 +|cpu|sysbench --test=cpu run|
 +|memory|sysbench --test=memory run|
 +
 +''sudo apt install hardinfo''\\ Then run from start, "System Profiler and Benchmark"
 +
 +
 ===Devices=== ===Devices===
 [[https://www.tecmint.com/commands-to-collect-system-and-hardware-information-in-linux/]] [[https://www.tecmint.com/commands-to-collect-system-and-hardware-information-in-linux/]]
 | System hardware info | ''sudo lshw''| | System hardware info | ''sudo lshw''|
 +|What flavor & version Linux?|''cat /etc/os-release''|
 |CPU information|''lscpu''| |CPU information|''lscpu''|
 |SCSI devices info|first ''sudo apt-get install lsscsi''\\ ''lsscsi'' or ''lsscsi -s'' to see sizes| |SCSI devices info|first ''sudo apt-get install lsscsi''\\ ''lsscsi'' or ''lsscsi -s'' to see sizes|
 |File System Info|''sudo fdisk -l''| |File System Info|''sudo fdisk -l''|
 |storage device info|''lsblk''| |storage device info|''lsblk''|
-|''lspci''|+|controllers|''lspci''|
 |Graphics card & driver| ''lshw -c display''| |Graphics card & driver| ''lshw -c display''|
 |Graphics card, driver, and more|''inxi -Fxz''| |Graphics card, driver, and more|''inxi -Fxz''|
 +|Display resolution|''xrandr''\\ ''inxi -G''\\ Menu>Preferences>Display|
 +
 +===Other===
 +|Memory|''free''|
 +| |sudo lshw -short -C memory|
  
 ===Processes=== ===Processes===
linux_annoyances.1579365495.txt.gz · Last modified: 2021.12.22 14:21 (external edit)