See if you can get to a tty by pressing CTRL+ALT+F3 and if you can't, follow these instructions on how to boot into recovery mode This should allow access to run commands before the drivers even load.
Once you boot into recovery mode and after you run the command to switch to read-write mode, run the following command to reinstall synaptic:
sudo apt install --reinstall xserver-xorg-input-synaptics
As for your touchpad problem (after you reinstall synaptics), you can modify the parameters of your touchpad device by using xinput
commands or by modifying your synaptics configuration file.
xinput list
should list your devices and each device will have an "id" number.
For example, your touchpad may be listed as device id=12.
Then, you would run:
xinput list-props 13
This will list available parameters. Each parameter will have a number in parenthesis followed by setting values like 1,1 or something like that. To change the setting values, you would run a command like this (to set device 13, parameter 282, to a value of 1):
xinput 13 282 1
Search for xinput and libinput commands and settings for more information. Also, this won't be persistent so you'll have to run this as a startup script or locate the default settings file.
EDIT:
If you need to connect to a network, you can startup NetworkManager:
sudo systemctl restart network-manager
and if you don't have a network setup, you can follow these instructions to set up a new wireless or ethernet connection.
sudo systemctl start network-manager
or justsystemctl start network-manager
if you are running as root or tryrestart
instead ofstart
. – mchid Mar 23 '20 at 12:12