Monday, May 13, 2019

Reset Gnome settings to default

I had some trouble with my touchpad not working, which I suspect was caused by an extension that broke during an upgrade.  I tried removing the extension but the problem persisted.

The touchpad worked in the GDM menu, but stopped working on login so I attributed the problem to a Gnome configuration.  Since I don't have too many custom gnome settings I decided to reset them:

dconf reset -f /org/gnome/

This did the trick.  On login the touchpad was working just fine (except for the fact that tap clicking is disabled by default in gnome.)

Thursday, January 10, 2019

Enable or disable IPv6

This is a reminder on how to either disable or enable IPv6 for troubleshooting purposes.

Disabling:

$ sudo sysctl -w net.ipv6.conf.all.disable_ipv6=1

$ sudo sysctl -w net.ipv6.conf.default.disable_ipv6=1

$ sudo sysctl -w net.ipv6.conf.lo.disable_ipv6=1


Also, in order to make the change permanent add the following lines to /etc/sysctl.conf

net.ipv6.conf.all.disable_ipv6 = 1

net.ipv6.conf.default.disable_ipv6 = 1

net.ipv6.conf.lo.disable_ipv6 = 1


----

To Re-Enable, simply replace 1 with 0:

$ sudo sysctl -w net.ipv6.conf.all.disable_ipv6=0

$ sudo sysctl -w net.ipv6.conf.default.disable_ipv6=0

$ sudo sysctl -w net.ipv6.conf.lo.disable_ipv6=0


 And make the changes to /etc/sysctl.conf as well or simply remove those lines.