Generic Linux Notes

Right Click Not in Gnome

Apparently Gnome switched to using 2 fingers for right click by default. This can be reverted to having a regular ol’ right click:

$ gsettings set org.gnome.desktop.peripherals.touchpad click-method areas

XFS Filesystem Repair

I’ve encountered situations where xfs_check and xfs_repair -n reported an unmounted filesystem as both mounted and readable. The easiest workaround seems to be to actually have the volume mounted, but mounted in read-only. If that doesn’t work, the all-knowing search engine will need to be further consulted.

# mount -r -o remount /dev/sdbroken1
# xfs_repair -n /dev/sdbroken1

Sorting ps by Memory Utilization

Found at the following URL (I wish I could say it was from looking through the man pages, but alas, no):

$ ps au --sort=-%mem
$ ps auk-%mem

Excellent reference on interpreting vmstat output