generated from sosiristseng/template-mkdocs-material
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7f9072e
commit 6919672
Showing
7 changed files
with
114 additions
and
121 deletions.
There are no files selected for viewing
This file contains 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
This file was deleted.
Oops, something went wrong.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
--- | ||
title: General Linux Setup | ||
tags: | ||
- linux | ||
--- | ||
|
||
+ [[swap-setup|Setup swap]] | ||
+ [[ubuntu-postinstall|Ubuntu post-install]] | ||
|
||
## Install fonts | ||
|
||
Copy the fonts files to `~/.local/share/fonts/`. Then, run `fc-cache` to rebuild the cache. | ||
|
||
```sh | ||
fc-cache -fv | ||
``` | ||
|
||
## Let Linux use local time | ||
|
||
When dual-booting Linux and Windows, one might want to set the clock to the local time zone in Linux[^localtime] | ||
|
||
```bash | ||
timedatectl set-local-rtc 1 | ||
``` | ||
|
||
[^localtime]: https://itsfoss.com/wrong-time-dual-boot/ | ||
|
||
## NAS setup | ||
|
||
Add the following entry to `/etc/fstab` to automatically mount NAS drives at boot | ||
|
||
```txt title="/etc/fstab" | ||
//NAS_IP/directory /mnt/point cifs credentials=/etc/samba/credentials,uid=1000,gid=1000,_netdev,x-systemd.automount,x-systemd.mount-timeout=10 0 0 | ||
``` |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains 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
This file contains 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