- The objective of this artcile is to guide reader thought the installation of NVIDIA drivers on Linux Mint. This article will discuss three methods of Nvidia driver installation in the following order: Automatic Install using standard Linux Mint Repository; Manual Install using the Official nvidia.com driver; Operating System and Software Versions.
- To completely uninstall Nvidia drivers, open your terminal and run the following command: sudo apt-get autoremove nvidia-.purge Type in ‘y’ and press to continue.
- Remove installed nvidia driver & reset to default graphics driver. On Ubuntu 15.10, after installing the nvidia proprietary driver, it didn't quite work as expected.going down to older version made it work, but graphics were slow. Run the below to reset back to the original graphics setup.
- For Nvidia graphics divers installed from package repository, uninstallation can be easily done with your distro package manager. If you installed Nvidia drivers manually, run Nvidia installer script and pass the –uninstall argument to uninstall them. $ sudo./NVIDIA-Linux-x8664-418.56.run -uninstall.
If your graphics card is from NVIDIA, once in Linux Mint, perform the following steps to install the NVIDIA drivers: Run the Driver Manager; Choose the NVIDIA drivers and wait for them to be installed; Reboot the computer; With these drivers the system should now be stable and you no longer need to use 'nomodeset'.
This is Linux Mint 19.3, codename Tricia.
The default touchpad driver in this edition is 'libinput' (provided by the xserver-xorg-input-libinput-hwe-18.04 package).
If you experience problems with it, you can switch to another driver called 'synaptics' (provided by the xserver-xorg-input-synaptics-hwe-18.04 package).
To know which driver is used by your input devices, run the following command:
grep -i 'Using input driver' /var/log/Xorg.0.log
When both drivers are installed, 'synaptics' takes priority.
To switch to the 'synaptics' driver, install it with the command:
apt install xserver-xorg-input-synaptics-hwe-18.04
Then log out and log back in.
To go back to using 'libinput', simply remove the 'synaptics' driver:
apt remove xserver-xorg-input-synaptics-hwe-18.04
Then log out and log back in.
Note: You can also try installing the 'evdev' driver (provided by the xserver-xorg-input-evdev-hwe-18.04).
If the screen is black when launching Linux Mint in Virtualbox, change the VirtualBox graphics controller to 'VMSVGA'. Do this by opening up the settings for your VM and select Display -> Graphics Controller.Garbled screen
If the screen is garbled when launching Linux Mint in Virtualbox, switch to console with HOST+F1 (e.g. the RIGHT Ctrl key, no ALT) and back to tty7 with HOST+F7.
Another workaround is to disable 'nested paging' (in the System -> Acceleration settings) and to increase the video memory to 128MB (in the Display settings).
Note: This issue only affects the live session. You don't need these workarounds post-installation.Guest Additions
To add support for shared folders, drag and drop, proper acceleration and display resolution in Virtualbox, click on the 'Devices' menu of Virtualbox and choose 'Insert Guest Additions CD Image'. Choose 'download' when asked and follow the instructions.
For more info, read Installing the VirtualBox Guest Additions.
Home directory encryption
Benchmarks have demonstrated that, in most cases, home directory encryption is slower than full disk encryption.
The move to systemd caused a regression in ecrypts which is responsible for mounting/unmounting encrypted home directories when you login and logout. Because of this issue, please be aware that in Mint 19 and newer releases, your encrypted home directory is no longer unmounted on logout: https://bugs.launchpad.net/ubuntu/+source/gnome-session/+bug/1734541.
You can still enable guest sessions in the 'Login Window' utility, but this option is now disabled by default.
Scanner not detected
A regression in libsane affects many scanners (Epson, Brother, Xerox, Samsung..etc).
The bug was reported at https://bugs.launchpad.net/ubuntu/+source/sane-backends/+bug/1728012
The bug report contains various workarounds for the different branch of scanners.
Vertical band in scanned documents
Ubuntu 18.04 introduced another libsane regression:
The bug report is available at https://bugs.launchpad.net/ubuntu/+source/sane-backends/+bug/1731459
Samba isn't very stable in Ubuntu 18.04. Two issues in particular, https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1827041 and https://bugs.launchpad.net/ubuntu/+source/gvfs/+bug/1778322 make it very hard to browse Windows networks and connect to Windows shares.
To work around this issue, edit /etc/samba/smb.conf and add the following lines under 'workgroup = WORKGROUP', in the '[global]' section:
name resolve order = bcast host lmhosts wins
client max protocol = NT1
Uninstall Nvidia Drivers Mint
Save the file and reboot.
You should then be able to see the workgroup and the hosts in the network neighbourhood.
To connect to a share, use 'Connect to Server...' from the 'File' menu.
If you are trying to connect anonymously and it isn't working, type 'anonymous' in the username field and type a dummy password.
If you use Samba a lot, until these issues are resolved, we recommend you use Linux Mint 18.3 instead.
To install the stable version of WINE from WineHQ, open a terminal and type:
apt install --install-recommends wine-installer
Among other things, this will install wine-desktop-files, which adds menu entries for regedit, your C: drive and other items which are missing from upstream WINE.
Upgrading Wine to version 4
If you installed wine-stable 3.0 or wine-development 3.0 before wine 4.0 was added to the repositories, apply the updates to bring it up to version 4.0 and run the following command to install the missing packages:
Linux Mint Nvidia Driver
apt install --install-recommends wine-installer
To clean up, run the following command to list all wine 3.0 packages:
dpkg -l grep wine grep '3.'
These packages can be removed.
You can also reinstall PlayOnLinux if it was removed during the update.
Sound and microphone issues
If you're facing issues with your microphone or your sound output, please install 'pavucontrol'.
This will add 'PulseAudio Volume Control' to your menu. This application has more configuration options than the default volume control.
DVD Playback with VLC
If VLC does not find your DVD player, click on Media->Open Disc, and specify '/dev/sr0' as the disc device.
Issues with KDE apps
If you're experiencing issues with KDE apps (Okular, Gwenview, KStars..etc) run the following command:
apt install kdelibs-bin kdelibs5-data kdelibs5-plugins
Force UEFI dialog hanging the installation
The following bug is affecting Linux Mint: https://askubuntu.com/questions/693732/window-stuck-on-force-uefi-installation-window.
The issue occurs in EFI mode, when the HDD (or SSD) is new (without a partition table) and the installer is connected to the Internet.
To work around this problem, disable your Internet connection before launching the installer, or let the installer partition your drive automatically first (during a first install) and then install a second time with manual partitioning.
For more information on this bug, visit https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1418706.
For your convenience, the shutdown timeout is reduced to 10s in Linux Mint 19.3.
If you rely on lengthy operations to finish before shutdown, read /etc/systemd/system.conf.d/50_linuxmint.conf and override the timeout value in /etc/systemd/system.conf.d/60_custom.conf.
Grub2 theme in HiDPI
If the grub2 theme looks too small in your HiDPI monitor, install the 'grub2-theme-mint-2k' package.
Linux Mint 19.3 is based on Ubuntu 18.04. Make sure to read the Ubuntu release notes.
Username and password in the live session
In the live session, the username is 'mint' and the password is empty (i.e. just press Enter if asked for a password).
Moving windows which don't fit in the screen
If your screen resolution is too low, some windows might not fit in the screen.
While pressing the ALT key, you can grab any part of a window with the mouse and move it across the screen.
Installing multimedia codecs offline
To download the multimedia codecs into an installable archive:
- Boot from the Linux Mint ISO on a computer which is connected to the Internet
- Open a terminal and type 'apt download mint-meta-codecs' (without the quotes)
- This creates a 'mint-meta-codecs.tgz' archive
On computers which do not have an Internet access, you can decompress this archive and run ./install.sh (or alternatively 'sudo dpkg -i *.deb') to install the multimedia codecs.
Booting with non-PAE CPUs
To boot Linux Mint on CPUs which do not officially support PAE (Pentium M processors for instance), please use the 'Start Linux Mint with PAE forced' option from the boot menu.
Solving freezes during the boot sequence
Some graphics cards don't work well with the open-source driver present in Linux Mint.
If Linux Mint freezes during boot time, use the 'nomodeset' boot option as illustrated in the video below: