Last active
August 25, 2018 11:01
-
-
Save JQL/757de82ea4d0a68ddd5af8cb0890c0e9 to your computer and use it in GitHub Desktop.
Linux Tips, Tricks and Tweaks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Linux Tips, Tricks and Tweaks | |
| How to make your version of Linux even better. | |
| 1. Decrease Swap File use | |
| a) Check "Swappiness": | |
| cat /proc/sys/vm/swappiness | |
| b) If Swappiness is 60, alter "Swappiness": | |
| gksudo xed /etc/sysctl.conf | |
| find vm.swappiness | |
| if it exists alter it to: | |
| 10 | |
| If it doesn't exist add an entry at the bottom of the file: | |
| # Decrease swap usage to a more reasonable level | |
| # if you have >=8GB RAM *and* an SSD use: vm.swappiness=1 | |
| vm.swappiness=10 | |
| c) Save the file | |
| d) Restart Linux | |
| e) Recheck "Swappiness": | |
| cat /proc/sys/vm/swappiness | |
| 2. Set a root password: | |
| sudo passwd | |
| ENTER YOUR PASSWORD | |
| RE-ENTER YOUR PASSWORD | |
| 3. Install more fonts: | |
| sudo apt-get install fonts-crosextra-carlito fonts-crosextra-caladea | |
| 4. Install the "standard" Microsoft Fonts: | |
| Click on Menu - Software Manager | |
| Search for Microsoft | |
| Select Ttf-mscorefonts-installer | |
| Click Install | |
| 5. Remove Mono, Orca, Wine for security reasons: | |
| sudo apt-get remove mono-runtime-common gnome-orca | |
| 6. Disable Hibernation: | |
| sudo mv -v /etc/polkit-1/localauthority/50-local.d/com.ubuntu.enable-hibernate.pkla / | |
| Reboot | |
| 7. Install xpad: | |
| sudo apt-get install xpad |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment