├── docsy.work.sum ├── content └── zh-cn │ ├── search.md │ ├── featured-background.jpg │ ├── docs │ ├── daily │ │ ├── tool │ │ │ ├── images │ │ │ │ ├── fcitx.jpg │ │ │ │ ├── fcitx-2.jpg │ │ │ │ ├── fcitx-4.jpg │ │ │ │ ├── variety_about.jpg │ │ │ │ └── variety_settings.jpg │ │ │ ├── _index.md │ │ │ ├── snap │ │ │ │ └── index.md │ │ │ ├── freefilesync │ │ │ │ └── index.md │ │ │ ├── variety │ │ │ │ └── index.md │ │ │ ├── synapse │ │ │ │ └── index.md │ │ │ ├── input │ │ │ │ └── index.md │ │ │ └── shutter │ │ │ │ └── index.md │ │ ├── network │ │ │ ├── images │ │ │ │ ├── skype_help.jpg │ │ │ │ ├── skype_link.jpg │ │ │ │ ├── skype_login.jpg │ │ │ │ ├── switchy_search.jpg │ │ │ │ ├── shadowsocks_startup.jpg │ │ │ │ ├── switchy_auto_switch.jpg │ │ │ │ └── switchy_shadowsocks.jpg │ │ │ ├── meeting │ │ │ │ ├── _index.md │ │ │ │ └── wemeet.md │ │ │ ├── remmina │ │ │ │ ├── images │ │ │ │ │ └── remmina_search.jpg │ │ │ │ └── index.md │ │ │ ├── _index.md │ │ │ ├── clash │ │ │ │ └── index.md │ │ │ ├── terminal_ssh_client │ │ │ │ └── index.md │ │ │ ├── ssh_qiang │ │ │ │ └── index.md │ │ │ ├── edge │ │ │ │ └── index.md │ │ │ ├── filezilla │ │ │ │ └── index.md │ │ │ ├── yt-dlp │ │ │ │ └── index.md │ │ │ ├── mount_windows_share │ │ │ │ └── index.md │ │ │ ├── teams │ │ │ │ └── index.md │ │ │ └── discord │ │ │ │ └── index.md │ │ ├── _index.md │ │ ├── media │ │ │ ├── deadbeef │ │ │ │ ├── images │ │ │ │ │ ├── deadbeef-1.jpg │ │ │ │ │ ├── deadbeef-2.jpg │ │ │ │ │ └── deadbeef-3.jpg │ │ │ │ └── index.md │ │ │ ├── _index.md │ │ │ ├── celluloid │ │ │ │ └── index.md │ │ │ ├── rhythmbox │ │ │ │ └── index.md │ │ │ ├── media-codec │ │ │ │ └── _index.md │ │ │ ├── netease_cloud │ │ │ │ └── index.md │ │ │ ├── plexamp │ │ │ │ └── index.md │ │ │ ├── plex │ │ │ │ └── index.md │ │ │ └── audacious │ │ │ │ └── index.md │ │ ├── reader │ │ │ ├── _index.md │ │ │ └── koreader │ │ │ │ └── index.md │ │ ├── editor │ │ │ ├── _index.md │ │ │ ├── xmind │ │ │ │ └── index.md │ │ │ └── typora │ │ │ │ └── index.md │ │ └── picture │ │ │ ├── _index.md │ │ │ └── gimp │ │ │ └── index.md │ ├── hardware │ │ ├── hardinfo │ │ │ ├── images │ │ │ │ └── hardinfo.jpg │ │ │ └── index.md │ │ ├── psensor │ │ │ ├── images │ │ │ │ ├── psensor.jpg │ │ │ │ ├── psensor_monitor.jpg │ │ │ │ ├── psensor_warning.jpg │ │ │ │ └── psensor_auto_start.jpg │ │ │ └── index.md │ │ ├── conky │ │ │ ├── images │ │ │ │ ├── conky_gothem.jpg │ │ │ │ ├── conky_search.jpg │ │ │ │ ├── conky_widgets.jpg │ │ │ │ ├── conky_autostart.jpg │ │ │ │ ├── conky_widget_edit.jpg │ │ │ │ └── conky_widget_themes_path.jpg │ │ │ └── index.md │ │ ├── _index.md │ │ ├── cpufreqd │ │ │ ├── images │ │ │ │ ├── cpufreqd_search.jpg │ │ │ │ ├── auto_start_cpufreqd.jpg │ │ │ │ ├── cpufreqd-server.conf │ │ │ │ ├── cpufreqd-laptop.conf │ │ │ │ └── cpufreqd-original.conf │ │ │ └── index.md │ │ ├── system_monitor │ │ │ ├── images │ │ │ │ └── system_monitor.jpg │ │ │ └── index.md │ │ └── turn-off-screen │ │ │ └── index.md │ ├── installation │ │ ├── system │ │ │ ├── font │ │ │ │ ├── images │ │ │ │ │ ├── msyh-1.jpg │ │ │ │ │ ├── msyh-2.jpg │ │ │ │ │ ├── no-msyh-1.jpg │ │ │ │ │ ├── no-msyh-2.jpg │ │ │ │ │ └── no-msyh-3.jpg │ │ │ │ └── index.md │ │ │ ├── _index.md │ │ │ ├── zsh.md │ │ │ ├── ppa.md │ │ │ ├── hotkey_daily.md │ │ │ ├── hotkey.md │ │ │ └── hibernate │ │ │ │ └── index.md │ │ ├── _index.md │ │ ├── theme │ │ │ ├── _index.md │ │ │ └── whitesur.md │ │ ├── installation │ │ │ ├── images │ │ │ │ └── software_sources.jpg │ │ │ └── index.md │ │ ├── service │ │ │ ├── _index.md │ │ │ ├── ssh-server.md │ │ │ └── remote-desktop.md │ │ ├── hardware │ │ │ ├── _index.md │ │ │ ├── nvidia_graph │ │ │ │ ├── images │ │ │ │ │ └── nvidia-graph.png │ │ │ │ └── index.md │ │ │ ├── amd_graph │ │ │ │ ├── images │ │ │ │ │ ├── amd-driver-download.jpg │ │ │ │ │ └── legacy-amd-driver-download.jpg │ │ │ │ └── index.md │ │ │ ├── intel_graph │ │ │ │ ├── images │ │ │ │ │ ├── kernel-parameters.png │ │ │ │ │ └── Intel-Graphics-Update-Tool.png │ │ │ │ └── index.md │ │ │ ├── mount_windows_disk │ │ │ │ ├── images │ │ │ │ │ └── auto_mount_ntfs.jpg │ │ │ │ └── index.md │ │ │ ├── fsck.md │ │ │ └── printer.md │ │ └── timeshift │ │ │ └── index.md │ ├── develop │ │ ├── _index.md │ │ ├── gitkranken │ │ │ └── index.md │ │ └── vscode │ │ │ └── index.md │ └── _index.md │ └── _index.md ├── static ├── google5713250934492ab9.html └── favicons │ ├── favicon.ico │ ├── pwa-192x192.png │ ├── pwa-512x512.png │ ├── tile150x150.png │ ├── tile310x150.png │ ├── tile310x310.png │ ├── tile70x70.png │ ├── android-36x36.png │ ├── android-48x48.png │ ├── android-72x72.png │ ├── android-96x96.png │ ├── favicon-16x16.png │ ├── favicon-32x32.png │ ├── favicon-xxxx.ico │ ├── android-144x144.png │ ├── android-192x192.png │ └── apple-touch-icon-180x180.png ├── assets ├── icons │ ├── logo.png │ ├── logo-xxxx.png │ └── logo.svg └── scss │ └── _variables_project.scss ├── Dockerfile ├── go.mod ├── .gitignore ├── docsy.work ├── docker-compose.yaml ├── layouts └── 404.html ├── netlify.toml ├── config.yaml ├── go.sum ├── README.md ├── CONTRIBUTING.md ├── package.json ├── hugo.toml └── LICENSE /docsy.work.sum: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /content/zh-cn/search.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: 搜索结果 3 | layout: search 4 | 5 | --- 6 | 7 | -------------------------------------------------------------------------------- /static/google5713250934492ab9.html: -------------------------------------------------------------------------------- 1 | google-site-verification: google5713250934492ab9.html -------------------------------------------------------------------------------- /assets/icons/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skyao/learning-linux-mint/HEAD/assets/icons/logo.png -------------------------------------------------------------------------------- /assets/icons/logo-xxxx.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skyao/learning-linux-mint/HEAD/assets/icons/logo-xxxx.png -------------------------------------------------------------------------------- /static/favicons/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skyao/learning-linux-mint/HEAD/static/favicons/favicon.ico -------------------------------------------------------------------------------- /assets/scss/_variables_project.scss: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Add styles or override variables from the theme here. 4 | 5 | */ 6 | 7 | -------------------------------------------------------------------------------- /static/favicons/pwa-192x192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skyao/learning-linux-mint/HEAD/static/favicons/pwa-192x192.png -------------------------------------------------------------------------------- /static/favicons/pwa-512x512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skyao/learning-linux-mint/HEAD/static/favicons/pwa-512x512.png -------------------------------------------------------------------------------- /static/favicons/tile150x150.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skyao/learning-linux-mint/HEAD/static/favicons/tile150x150.png -------------------------------------------------------------------------------- /static/favicons/tile310x150.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skyao/learning-linux-mint/HEAD/static/favicons/tile310x150.png -------------------------------------------------------------------------------- /static/favicons/tile310x310.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skyao/learning-linux-mint/HEAD/static/favicons/tile310x310.png -------------------------------------------------------------------------------- /static/favicons/tile70x70.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skyao/learning-linux-mint/HEAD/static/favicons/tile70x70.png -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- 1 | FROM floryn90/hugo:ext-alpine 2 | 3 | RUN apk add git && \ 4 | git config --global --add safe.directory /src 5 | -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- 1 | module github.com/google/docsy-example 2 | 3 | go 1.12 4 | 5 | require github.com/google/docsy v0.8.0 // indirect 6 | -------------------------------------------------------------------------------- /static/favicons/android-36x36.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skyao/learning-linux-mint/HEAD/static/favicons/android-36x36.png -------------------------------------------------------------------------------- /static/favicons/android-48x48.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skyao/learning-linux-mint/HEAD/static/favicons/android-48x48.png -------------------------------------------------------------------------------- /static/favicons/android-72x72.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skyao/learning-linux-mint/HEAD/static/favicons/android-72x72.png -------------------------------------------------------------------------------- /static/favicons/android-96x96.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skyao/learning-linux-mint/HEAD/static/favicons/android-96x96.png -------------------------------------------------------------------------------- /static/favicons/favicon-16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skyao/learning-linux-mint/HEAD/static/favicons/favicon-16x16.png -------------------------------------------------------------------------------- /static/favicons/favicon-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skyao/learning-linux-mint/HEAD/static/favicons/favicon-32x32.png -------------------------------------------------------------------------------- /static/favicons/favicon-xxxx.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skyao/learning-linux-mint/HEAD/static/favicons/favicon-xxxx.ico -------------------------------------------------------------------------------- /static/favicons/android-144x144.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skyao/learning-linux-mint/HEAD/static/favicons/android-144x144.png -------------------------------------------------------------------------------- /static/favicons/android-192x192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skyao/learning-linux-mint/HEAD/static/favicons/android-192x192.png -------------------------------------------------------------------------------- /content/zh-cn/featured-background.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skyao/learning-linux-mint/HEAD/content/zh-cn/featured-background.jpg -------------------------------------------------------------------------------- /content/zh-cn/docs/daily/tool/images/fcitx.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skyao/learning-linux-mint/HEAD/content/zh-cn/docs/daily/tool/images/fcitx.jpg -------------------------------------------------------------------------------- /static/favicons/apple-touch-icon-180x180.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skyao/learning-linux-mint/HEAD/static/favicons/apple-touch-icon-180x180.png -------------------------------------------------------------------------------- /content/zh-cn/docs/daily/tool/images/fcitx-2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skyao/learning-linux-mint/HEAD/content/zh-cn/docs/daily/tool/images/fcitx-2.jpg -------------------------------------------------------------------------------- /content/zh-cn/docs/daily/tool/images/fcitx-4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skyao/learning-linux-mint/HEAD/content/zh-cn/docs/daily/tool/images/fcitx-4.jpg -------------------------------------------------------------------------------- /content/zh-cn/docs/daily/network/images/skype_help.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skyao/learning-linux-mint/HEAD/content/zh-cn/docs/daily/network/images/skype_help.jpg -------------------------------------------------------------------------------- /content/zh-cn/docs/daily/network/images/skype_link.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skyao/learning-linux-mint/HEAD/content/zh-cn/docs/daily/network/images/skype_link.jpg -------------------------------------------------------------------------------- /content/zh-cn/docs/daily/network/images/skype_login.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skyao/learning-linux-mint/HEAD/content/zh-cn/docs/daily/network/images/skype_login.jpg -------------------------------------------------------------------------------- /content/zh-cn/docs/daily/tool/images/variety_about.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skyao/learning-linux-mint/HEAD/content/zh-cn/docs/daily/tool/images/variety_about.jpg -------------------------------------------------------------------------------- /content/zh-cn/docs/hardware/hardinfo/images/hardinfo.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skyao/learning-linux-mint/HEAD/content/zh-cn/docs/hardware/hardinfo/images/hardinfo.jpg -------------------------------------------------------------------------------- /content/zh-cn/docs/hardware/psensor/images/psensor.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skyao/learning-linux-mint/HEAD/content/zh-cn/docs/hardware/psensor/images/psensor.jpg -------------------------------------------------------------------------------- /content/zh-cn/docs/daily/network/images/switchy_search.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skyao/learning-linux-mint/HEAD/content/zh-cn/docs/daily/network/images/switchy_search.jpg -------------------------------------------------------------------------------- /content/zh-cn/docs/daily/tool/images/variety_settings.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skyao/learning-linux-mint/HEAD/content/zh-cn/docs/daily/tool/images/variety_settings.jpg -------------------------------------------------------------------------------- /content/zh-cn/docs/hardware/conky/images/conky_gothem.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skyao/learning-linux-mint/HEAD/content/zh-cn/docs/hardware/conky/images/conky_gothem.jpg -------------------------------------------------------------------------------- /content/zh-cn/docs/hardware/conky/images/conky_search.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skyao/learning-linux-mint/HEAD/content/zh-cn/docs/hardware/conky/images/conky_search.jpg -------------------------------------------------------------------------------- /content/zh-cn/docs/hardware/conky/images/conky_widgets.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skyao/learning-linux-mint/HEAD/content/zh-cn/docs/hardware/conky/images/conky_widgets.jpg -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .* 2 | !.gitignore 3 | public/ 4 | resources/ 5 | node_modules/ 6 | node_modules 7 | themes/ 8 | init_docsy.sh 9 | package-lock.json 10 | .hugo_build.lock 11 | -------------------------------------------------------------------------------- /content/zh-cn/docs/daily/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "日常使用的软件的安装和配置" 3 | linkTitle: "日常软件" 4 | weight: 400 5 | date: 2021-01-18 6 | description: > 7 | Linux Mint 下日常使用的软件的安装和配置。 8 | --- -------------------------------------------------------------------------------- /content/zh-cn/docs/daily/media/deadbeef/images/deadbeef-1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skyao/learning-linux-mint/HEAD/content/zh-cn/docs/daily/media/deadbeef/images/deadbeef-1.jpg -------------------------------------------------------------------------------- /content/zh-cn/docs/daily/media/deadbeef/images/deadbeef-2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skyao/learning-linux-mint/HEAD/content/zh-cn/docs/daily/media/deadbeef/images/deadbeef-2.jpg -------------------------------------------------------------------------------- /content/zh-cn/docs/daily/media/deadbeef/images/deadbeef-3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skyao/learning-linux-mint/HEAD/content/zh-cn/docs/daily/media/deadbeef/images/deadbeef-3.jpg -------------------------------------------------------------------------------- /content/zh-cn/docs/hardware/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Linux Mint的硬件与监控" 3 | linkTitle: "硬件与监控" 4 | weight: 300 5 | date: 2021-08-26 6 | description: > 7 | 介绍Linux Mint的硬件与监控 8 | --- -------------------------------------------------------------------------------- /content/zh-cn/docs/hardware/conky/images/conky_autostart.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skyao/learning-linux-mint/HEAD/content/zh-cn/docs/hardware/conky/images/conky_autostart.jpg -------------------------------------------------------------------------------- /content/zh-cn/docs/installation/system/font/images/msyh-1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skyao/learning-linux-mint/HEAD/content/zh-cn/docs/installation/system/font/images/msyh-1.jpg -------------------------------------------------------------------------------- /content/zh-cn/docs/installation/system/font/images/msyh-2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skyao/learning-linux-mint/HEAD/content/zh-cn/docs/installation/system/font/images/msyh-2.jpg -------------------------------------------------------------------------------- /content/zh-cn/docs/daily/network/images/shadowsocks_startup.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skyao/learning-linux-mint/HEAD/content/zh-cn/docs/daily/network/images/shadowsocks_startup.jpg -------------------------------------------------------------------------------- /content/zh-cn/docs/daily/network/images/switchy_auto_switch.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skyao/learning-linux-mint/HEAD/content/zh-cn/docs/daily/network/images/switchy_auto_switch.jpg -------------------------------------------------------------------------------- /content/zh-cn/docs/daily/network/images/switchy_shadowsocks.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skyao/learning-linux-mint/HEAD/content/zh-cn/docs/daily/network/images/switchy_shadowsocks.jpg -------------------------------------------------------------------------------- /content/zh-cn/docs/daily/network/meeting/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "网络会议软件" 3 | linkTitle: "网络会议软件" 4 | weight: 20 5 | date: 2021-08-26 6 | description: > 7 | Linux Mint 下网络会议软件 8 | --- -------------------------------------------------------------------------------- /content/zh-cn/docs/develop/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "编程开发相关软件的安装和配置" 3 | linkTitle: "开发软件" 4 | weight: 500 5 | date: 2021-01-18 6 | description: > 7 | Linux Mint编程开发相关软件的安装和配置 8 | --- -------------------------------------------------------------------------------- /content/zh-cn/docs/hardware/conky/images/conky_widget_edit.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skyao/learning-linux-mint/HEAD/content/zh-cn/docs/hardware/conky/images/conky_widget_edit.jpg -------------------------------------------------------------------------------- /content/zh-cn/docs/hardware/cpufreqd/images/cpufreqd_search.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skyao/learning-linux-mint/HEAD/content/zh-cn/docs/hardware/cpufreqd/images/cpufreqd_search.jpg -------------------------------------------------------------------------------- /content/zh-cn/docs/hardware/psensor/images/psensor_monitor.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skyao/learning-linux-mint/HEAD/content/zh-cn/docs/hardware/psensor/images/psensor_monitor.jpg -------------------------------------------------------------------------------- /content/zh-cn/docs/hardware/psensor/images/psensor_warning.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skyao/learning-linux-mint/HEAD/content/zh-cn/docs/hardware/psensor/images/psensor_warning.jpg -------------------------------------------------------------------------------- /content/zh-cn/docs/installation/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Linux Mint的安装" 3 | linkTitle: "安装" 4 | weight: 200 5 | date: 2023-08-26 6 | description: > 7 | 介绍Linux Mint 的安装,使用,配置和优化 8 | --- -------------------------------------------------------------------------------- /content/zh-cn/docs/daily/network/remmina/images/remmina_search.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skyao/learning-linux-mint/HEAD/content/zh-cn/docs/daily/network/remmina/images/remmina_search.jpg -------------------------------------------------------------------------------- /content/zh-cn/docs/hardware/psensor/images/psensor_auto_start.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skyao/learning-linux-mint/HEAD/content/zh-cn/docs/hardware/psensor/images/psensor_auto_start.jpg -------------------------------------------------------------------------------- /content/zh-cn/docs/installation/system/font/images/no-msyh-1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skyao/learning-linux-mint/HEAD/content/zh-cn/docs/installation/system/font/images/no-msyh-1.jpg -------------------------------------------------------------------------------- /content/zh-cn/docs/installation/system/font/images/no-msyh-2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skyao/learning-linux-mint/HEAD/content/zh-cn/docs/installation/system/font/images/no-msyh-2.jpg -------------------------------------------------------------------------------- /content/zh-cn/docs/installation/system/font/images/no-msyh-3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skyao/learning-linux-mint/HEAD/content/zh-cn/docs/installation/system/font/images/no-msyh-3.jpg -------------------------------------------------------------------------------- /content/zh-cn/docs/installation/theme/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "修改主题美化界面" 3 | linkTitle: "修改主题" 4 | weight: 260 5 | date: 2021-08-27 6 | description: > 7 | 修改Linux Mint 20.2的主题,以美化界面 8 | --- -------------------------------------------------------------------------------- /content/zh-cn/docs/daily/media/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "多媒体软件" 3 | linkTitle: "多媒体" 4 | weight: 40 5 | date: 2021-08-26 6 | description: > 7 | Linux Mint 下日常使用的多媒体软件。 8 | --- 9 | 10 | -------------------------------------------------------------------------------- /content/zh-cn/docs/hardware/cpufreqd/images/auto_start_cpufreqd.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skyao/learning-linux-mint/HEAD/content/zh-cn/docs/hardware/cpufreqd/images/auto_start_cpufreqd.jpg -------------------------------------------------------------------------------- /content/zh-cn/docs/hardware/system_monitor/images/system_monitor.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skyao/learning-linux-mint/HEAD/content/zh-cn/docs/hardware/system_monitor/images/system_monitor.jpg -------------------------------------------------------------------------------- /content/zh-cn/docs/daily/network/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "网络通讯类软件" 3 | linkTitle: "网络通讯" 4 | weight: 30 5 | date: 2021-01-18 6 | description: > 7 | Linux Mint 下日常使用的网络通讯类软件 8 | --- 9 | 10 | -------------------------------------------------------------------------------- /content/zh-cn/docs/hardware/conky/images/conky_widget_themes_path.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skyao/learning-linux-mint/HEAD/content/zh-cn/docs/hardware/conky/images/conky_widget_themes_path.jpg -------------------------------------------------------------------------------- /docsy.work: -------------------------------------------------------------------------------- 1 | go 1.19 2 | 3 | use . 4 | use ../docsy/ // Local docsy clone resides in sibling folder to this project 5 | // use ./themes/docsy/ // Local docsy clone resides in themes folder 6 | -------------------------------------------------------------------------------- /content/zh-cn/docs/daily/reader/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "文档阅读软件" 3 | linkTitle: "阅读器" 4 | weight: 10 5 | date: 2021-08-26 6 | description: > 7 | Linux Mint 下文档阅读软件。 8 | --- 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /content/zh-cn/docs/daily/tool/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "工具类软件" 3 | linkTitle: "工具" 4 | weight: 60 5 | date: 2021-08-26 6 | description: > 7 | Linux Mint 下日常使用的工具类软件。 8 | --- 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /content/zh-cn/docs/installation/installation/images/software_sources.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skyao/learning-linux-mint/HEAD/content/zh-cn/docs/installation/installation/images/software_sources.jpg -------------------------------------------------------------------------------- /content/zh-cn/docs/installation/service/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "安装网络服务软件" 3 | linkTitle: "网络服务" 4 | weight: 230 5 | date: 2021-08-27 6 | description: > 7 | 在Linux Mint 20.2上安装ssh、samba、远程桌面等网络服务 8 | --- -------------------------------------------------------------------------------- /content/zh-cn/docs/daily/editor/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "文档编辑软件" 3 | linkTitle: "编辑器" 4 | weight: 20 5 | date: 2021-08-26 6 | description: > 7 | Linux Mint 下日常使用的文档编辑软件 8 | --- 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /content/zh-cn/docs/daily/picture/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "图像处理软件" 3 | linkTitle: "图像处理" 4 | weight: 50 5 | date: 2021-08-26 6 | description: > 7 | Linux Mint 下日常使用的图像处理软件。 8 | --- 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /content/zh-cn/docs/installation/hardware/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Linux Mint安装中的硬件配置" 3 | linkTitle: "硬件配置" 4 | weight: 210 5 | date: 2021-08-26 6 | description: > 7 | 介绍Linux Mint安装时的硬件配置 8 | --- 9 | 10 | -------------------------------------------------------------------------------- /content/zh-cn/docs/installation/hardware/nvidia_graph/images/nvidia-graph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skyao/learning-linux-mint/HEAD/content/zh-cn/docs/installation/hardware/nvidia_graph/images/nvidia-graph.png -------------------------------------------------------------------------------- /content/zh-cn/docs/installation/system/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Linux Mint安装时的系统设置" 3 | linkTitle: "系统设置" 4 | weight: 220 5 | date: 2021-08-26 6 | description: > 7 | 介绍Linux Mint安装时的系统设置 8 | --- 9 | 10 | -------------------------------------------------------------------------------- /content/zh-cn/docs/installation/hardware/amd_graph/images/amd-driver-download.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skyao/learning-linux-mint/HEAD/content/zh-cn/docs/installation/hardware/amd_graph/images/amd-driver-download.jpg -------------------------------------------------------------------------------- /content/zh-cn/docs/installation/hardware/intel_graph/images/kernel-parameters.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skyao/learning-linux-mint/HEAD/content/zh-cn/docs/installation/hardware/intel_graph/images/kernel-parameters.png -------------------------------------------------------------------------------- /content/zh-cn/docs/installation/hardware/mount_windows_disk/images/auto_mount_ntfs.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skyao/learning-linux-mint/HEAD/content/zh-cn/docs/installation/hardware/mount_windows_disk/images/auto_mount_ntfs.jpg -------------------------------------------------------------------------------- /content/zh-cn/docs/daily/media/celluloid/index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Celluloid" 3 | linkTitle: "Celluloid" 4 | weight: 25 5 | date: 2021-08-26 6 | description: > 7 | linux mint 自带的音乐播放器 8 | --- 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /content/zh-cn/docs/installation/hardware/amd_graph/images/legacy-amd-driver-download.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skyao/learning-linux-mint/HEAD/content/zh-cn/docs/installation/hardware/amd_graph/images/legacy-amd-driver-download.jpg -------------------------------------------------------------------------------- /content/zh-cn/docs/installation/hardware/intel_graph/images/Intel-Graphics-Update-Tool.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skyao/learning-linux-mint/HEAD/content/zh-cn/docs/installation/hardware/intel_graph/images/Intel-Graphics-Update-Tool.png -------------------------------------------------------------------------------- /content/zh-cn/docs/daily/media/rhythmbox/index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Rhythmbox" 3 | linkTitle: "Rhythmbox" 4 | weight: 25 5 | date: 2024-11-26 6 | description: > 7 | 音乐管理播放器 8 | --- 9 | 10 | linux mint 22 自带 Rhythmbox 播放器。 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /docker-compose.yaml: -------------------------------------------------------------------------------- 1 | version: "3.8" 2 | 3 | services: 4 | 5 | site: 6 | image: docsy/docsy-example 7 | build: 8 | context: . 9 | command: server 10 | ports: 11 | - "1313:1313" 12 | volumes: 13 | - .:/src 14 | -------------------------------------------------------------------------------- /content/zh-cn/docs/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Linux Mint学习笔记" 3 | linkTitle: "学习笔记" 4 | weight: 1 5 | menu: 6 | main: 7 | weight: 20 8 | pre: 9 | date: 2021-01-18 10 | description: > 11 | Linux Mint学习笔记 12 | --- 13 | 14 | -------------------------------------------------------------------------------- /content/zh-cn/docs/daily/network/clash/index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Clash上网软件" 3 | linkTitle: "Clash" 4 | weight: 40 5 | date: 2021-11-23 6 | description: > 7 | Clash 是一个上网软件。 8 | --- 9 | 10 | 内容转移至: 11 | 12 | https://skyao.net/learning-debian/docs/network/clash/ 13 | -------------------------------------------------------------------------------- /content/zh-cn/docs/daily/media/media-codec/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "media codec" 3 | linkTitle: "media codec" 4 | weight: 10 5 | date: 2021-08-26 6 | description: > 7 | 安装用于影音的 media codec。 8 | --- 9 | 10 | 首先更新codec,"菜单" --> "影音" --> "Install all media code", 会自动下载并安装所有缺失的 media codec。 11 | 12 | -------------------------------------------------------------------------------- /content/zh-cn/docs/daily/picture/gimp/index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "GIMP" 3 | linkTitle: "GIMP" 4 | weight: 10 5 | date: 2021-08-26 6 | description: > 7 | 图形处理软件GIMP 8 | --- 9 | 10 | 11 | 记得以前版本的 Linux Mint 是自带 GIMP 的,但是最新版本不再自带了,因此需要自行安装。 12 | 13 | 最简单的方式就在 soft manager 里面搜索 GIMP,然后安装。 14 | 15 | 16 | -------------------------------------------------------------------------------- /content/zh-cn/docs/installation/system/zsh.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "安装配置zsh作为默认shell" 3 | linkTitle: "启用zsh" 4 | weight: 10 5 | date: 2021-08-30 6 | description: > 7 | 安装配置zsh和ohmyzsh,替代默认的bash 8 | --- 9 | 10 | 参见: 11 | 12 | https://skyao.net/learning-ubuntu-server/docs/installation/basic/zsh/ 13 | 14 | -------------------------------------------------------------------------------- /layouts/404.html: -------------------------------------------------------------------------------- 1 | {{ define "main" -}} 2 |
3 |

Not found

4 |

Oops! This page doesn't exist. Try going back to the home page.

5 |

You can learn how to make a 404 page like this in Custom 404 Pages.

6 |
7 | {{- end }} 8 | -------------------------------------------------------------------------------- /netlify.toml: -------------------------------------------------------------------------------- 1 | # Hugo build configuration for Netlify 2 | # (https://gohugo.io/hosting-and-deployment/hosting-on-netlify/#configure-hugo-version-in-netlify) 3 | 4 | [build] 5 | command = "npm run build:preview" 6 | publish = "public" 7 | 8 | [build.environment] 9 | GO_VERSION = "1.21.4" 10 | 11 | [context.production] 12 | command = "npm run build:production" 13 | -------------------------------------------------------------------------------- /content/zh-cn/docs/daily/network/meeting/wemeet.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "腾讯会议" 3 | linkTitle: "腾讯会议" 4 | weight: 20 5 | date: 2021-08-26 6 | description: > 7 | Linux Mint 腾讯会议的安装使用 8 | --- 9 | 10 | 11 | 12 | ### 下载 13 | 14 | https://meeting.tencent.com/download-center.html 15 | 16 | 选择 x86_64 版本 17 | 18 | ### 安装 19 | 20 | deb 标准安装 21 | 22 | ### 配置 23 | 24 | 主要是将声音配置一下。 25 | 26 | -------------------------------------------------------------------------------- /content/zh-cn/docs/daily/media/netease_cloud/index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "网易云音乐" 3 | linkTitle: "[归档]网易云音乐" 4 | weight: 99 5 | date: 2021-08-26 6 | description: > 7 | 曾经最喜欢的在线音乐播放器 8 | --- 9 | 10 | 归档原因:网易云音乐越做越让人不喜欢,放弃 11 | 12 | ## 下载 13 | 14 | 网易云音乐的下载地址: 15 | 16 | http://music.163.com/download 17 | 18 | 选择 "Linux版",在弹出窗口列出的多个版本中,选择"ubuntu 18.04 64位" 版本下载。 19 | 20 | 实测20.04下使用没有问题。 21 | -------------------------------------------------------------------------------- /content/zh-cn/docs/daily/editor/xmind/index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Xmind" 3 | linkTitle: "Xmind" 4 | weight: 20 5 | date: 2021-08-26 6 | description: > 7 | Xmind思维导图编辑软件 8 | --- 9 | 10 | ### 下载 11 | 12 | 从 xmindchina 官方网站下载: 13 | 14 | https://www.xmind.cn/download/ 15 | 16 | Xmind 支持 windows,mac 和 linux,下载 linux 64位版本即可,如 `Xmind-for-Linux-amd64bit-**.deb` 即可。 17 | 18 | 19 | ### 安装 20 | 21 | 直接安装下载好的 `Xmind-for-Linux-amd64bit-**.deb` 就可以了. 22 | 23 | -------------------------------------------------------------------------------- /content/zh-cn/docs/installation/system/ppa.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "取消PPA仓库" 3 | linkTitle: "取消PPA仓库" 4 | weight: 10 5 | date: 2021-08-26 6 | description: > 7 | 取消PPA仓库以加速apt-get update的速度 8 | --- 9 | 10 | 11 | ### 取消PPA仓库 12 | 13 | 当添加太多的 PPA 仓库之后,apt update 的速度就会慢很多。 14 | 15 | 考虑到大多数软件不会经常更新,而且我们也没有立即更新的迫切需求,因此建议取消这些 PPA 仓库。 16 | 17 | 具体做法,"开始菜单" -> "系统管理" -> "软件源" -> "PPA", 将不需要及时更新的软件的 PPA 取消。 18 | 19 | 这个操作可以在每次你觉得 `apt-get update` 速度慢时检查 :) 20 | 21 | -------------------------------------------------------------------------------- /content/zh-cn/docs/hardware/hardinfo/index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Hardinfo" 3 | linkTitle: "Hardinfo" 4 | weight: 313 5 | date: 2021-08-26 6 | description: > 7 | 硬件信息查看工具Hardinfo介绍 8 | --- 9 | 10 | hardinfo 是一个硬件信息查看工具。 11 | 12 | 可以直接通过软件管理器安装,"开始菜单" -> "系统管理" -> "软件管理器",搜索 `hardinfo`,然后直接安装。 13 | 14 | 之后在 "开始菜单" -> "系统管理" -> "System Profiler and Benchmark",打开 hardinfo,就可以查看到系统信息和硬件设备信息: 15 | 16 | ![](images/hardinfo.jpg) 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /content/zh-cn/docs/develop/gitkranken/index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "gitkraken" 3 | linkTitle: "gitkraken" 4 | weight: 20 5 | date: 2022-04-18 6 | description: > 7 | gitkraken是linux下的git图形化工具软件,非常美观 8 | --- 9 | 10 | 11 | 12 | 在 windows 和 macos 下,我一般选择 sourcetree 作为 git 图形工具,但很可惜 sourcetree 没有linux版本。 13 | 14 | 为此,在找了一圈之后,我选择了 gitkraken 这个软件。 15 | 16 | ### 下载和安装 17 | 18 | https://www.gitkraken.com/ 19 | 20 | deb格式直接安装。 21 | 22 | ### 使用 23 | 24 | 貌似没啥特别,界面美观,功能基本够用。 25 | 26 | -------------------------------------------------------------------------------- /content/zh-cn/docs/daily/reader/koreader/index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "KOReader" 3 | linkTitle: "KOReader" 4 | weight: 30 5 | date: 2021-08-26 6 | description: > 7 | KOReader电子书阅读软件 8 | --- 9 | 10 | ## 安装 11 | 12 | 参考: 13 | 14 | - https://github-wiki-see.page/m/koreader/koreader/wiki/Installation-on-desktop-Linux 15 | 16 | 从 koreader 官方 github 网站下载: 17 | 18 | https://github.com/koreader/koreader/releases 19 | 20 | 找到 amd64 的 deb 文件下载,如 koreader-2024.11-amd64.deb。然后直接安装。 21 | 22 | -------------------------------------------------------------------------------- /content/zh-cn/docs/daily/tool/snap/index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "[归档]软件安装工具snap" 3 | linkTitle: "[归档]snap" 4 | weight: 99 5 | date: 2021-08-26 6 | description: > 7 | snap可以方便的安装各种软件 8 | --- 9 | 10 | 备注: snap 感觉很烂,还是不安装了,linux mint 将它刻意隐藏果然是有道理的。 11 | 12 | 参考: 13 | 14 | https://snapcraft.io/docs/installing-snap-on-linux-mint 15 | 16 | ```bash 17 | sudo mv /etc/apt/preferences.d/nosnap.pref /etc/apt/nosnap.pref.backup 18 | 19 | sudo apt update 20 | 21 | sudo apt install snapd 22 | ``` -------------------------------------------------------------------------------- /content/zh-cn/docs/hardware/system_monitor/index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "System Monitor" 3 | linkTitle: "System Monitor" 4 | weight: 320 5 | date: 2021-08-26 6 | description: > 7 | System Monitor 是 Linux Mint 自带的系统监控工具 8 | --- 9 | 10 | System Monitor 是 Linux Mint 自带的系统监控工具,在 "开始菜单" -> "系统管理" -> "System Monitor" 打开。 11 | 12 | 1. Processes 看进程信息,相当于图形版本的 top 13 | 2. Resources 看资源信息 14 | 3. File Systems 看硬盘分区和分区使用情况 15 | 16 | 如图,Resources中可以看到cpu,内存(包括交换分区),网络的使用情况: 17 | 18 | ![](images/system_monitor.jpg) 19 | 20 | -------------------------------------------------------------------------------- /config.yaml: -------------------------------------------------------------------------------- 1 | # THIS IS A TEST CONFIG ONLY! 2 | # FOR THE CONFIGURATION OF YOUR SITE USE hugo.yaml. 3 | # 4 | # As of Docsy 0.7.0, Hugo 0.110.0 or later must be used. 5 | # 6 | # The sole purpose of this config file is to detect Hugo-module builds that use 7 | # an older version of Hugo. 8 | # 9 | # DO NOT add any config parameters to this file. You can safely delete this file 10 | # if your project is using the required Hugo version. 11 | 12 | module: 13 | hugoVersion: 14 | extended: true 15 | min: 0.110.0 16 | -------------------------------------------------------------------------------- /content/zh-cn/docs/daily/tool/freefilesync/index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "文件同步工具freefilesync" 3 | linkTitle: "freefilesync" 4 | weight: 40 5 | date: 2021-08-26 6 | description: > 7 | 用在多个目录或者多个机器上同步文件 8 | --- 9 | 10 | ## 介绍 11 | 12 | 我用来进行文件同步的工具,支持 windows / linux / macos。 13 | 14 | ## 安装 15 | 16 | 下载地址: 17 | 18 | https://freefilesync.org/download.php 19 | 20 | 解压缩下载下来的 FreeFileSync_13.8_Linux.tar.gz 文件,得到 FreeFileSync_13.8_Install.run 文件,执行 21 | 22 | ```bash 23 | ./FreeFileSync_13.8_Install.run 24 | ``` 25 | 26 | 安装即可。 27 | 28 | ## 配置 29 | 30 | 用法和windows一致。 31 | 32 | -------------------------------------------------------------------------------- /content/zh-cn/docs/installation/hardware/fsck.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "[归档]启动时进行fsck硬盘检查" 3 | linkTitle: "[归档]fsck硬盘检查" 4 | weight: 219 5 | date: 2021-08-26 6 | description: > 7 | 介绍Linux Mint下进行fsck硬盘检查的方式 8 | --- 9 | 10 | {{% pageinfo color="primary" %}} 11 | 归档说明:最近几年再没遇到硬盘坏的情况 12 | {{% /pageinfo %}} 13 | 14 | 如果遇到硬盘故障,linux mint 会在发生错误时,将系统所在盘符 mount 为 ro 只读,导致重启时无法进入操作系统。 15 | 16 | 这样开机只能进入内存虚拟的一个命令行界面,此时可以使用 fsck 命令扫描磁盘分区并尝试修复磁盘错误。 17 | 18 | 执行命令: 19 | 20 | ```bash 21 | fsck -a /dev/sda* 22 | ``` 23 | 24 | 如果无法自动修复问题,会要求手工修复,需要执行: 25 | 26 | ```bash 27 | fsck /dev/sda* 28 | ``` 29 | 30 | 然后一路确认即可。 31 | 32 | -------------------------------------------------------------------------------- /content/zh-cn/docs/daily/media/plexamp/index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Plexamp" 3 | linkTitle: "Plexamp" 4 | weight: 50 5 | date: 2021-08-26 6 | description: > 7 | plex提供的远程音乐播放 8 | --- 9 | 10 | ## 介绍 11 | 12 | Plexamp 可以本地和远程访问 plex 服务器上的音乐,由于音乐文件体积相对视频文件要小很多,因此远程访问时对流量和网速要求不高,比较实用。 13 | 14 | 把 plex 和收藏的音乐放在24小时开机的软路由机器上,就可以随时随地听家里的音乐了。 15 | 16 | ## 安装 17 | 18 | https://www.plex.tv/media-server-downloads/?cat=computer&plat=linux#plex-plexamp 19 | 20 | 选择从 flathub 下载。打开后会跳到 software manager 界面。 21 | 22 | 不过这个应用目前还是为认证状态,另外下载时莫名其妙的总是会超时,最后把科学上网改成全局模式才安装成功。 23 | 24 | ## 使用 25 | 26 | 和 windows/手机 上相比体验是一样的。 27 | 28 | -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- 1 | github.com/FortAwesome/Font-Awesome v0.0.0-20230327165841-0698449d50f2 h1:Uv1z5EqCfmiK4IHUwT0m3h/u/WCk+kpRfxvAZhpC7Gc= 2 | github.com/FortAwesome/Font-Awesome v0.0.0-20230327165841-0698449d50f2/go.mod h1:IUgezN/MFpCDIlFezw3L8j83oeiIuYoj28Miwr/KUYo= 3 | github.com/google/docsy v0.8.0 h1:RgHyKRTo8YwScMThrf01Ky2yCGpUS1hpkspwNv6szT4= 4 | github.com/google/docsy v0.8.0/go.mod h1:FqTNN2T7pWEGW8dc+v5hQ5VF29W5uaL00PQ1LdVw5F8= 5 | github.com/twbs/bootstrap v5.2.3+incompatible h1:lOmsJx587qfF7/gE7Vv4FxEofegyJlEACeVV+Mt7cgc= 6 | github.com/twbs/bootstrap v5.2.3+incompatible/go.mod h1:fZTSrkpSf0/HkL0IIJzvVspTt1r9zuf7XlZau8kpcY0= 7 | -------------------------------------------------------------------------------- /content/zh-cn/docs/daily/media/plex/index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Plex" 3 | linkTitle: "Plex" 4 | weight: 40 5 | date: 2021-08-26 6 | description: > 7 | 本地多媒体聚合解决方案 8 | --- 9 | 10 | ## 介绍 11 | 12 | Plex 是一个应用程序,用于整合流媒体服务、个人媒体、评级和观察列表,方便用户发现、保存和享受电影、节目、音乐等娱乐内容。它可以对本地存储的多媒体资源进行集中管理,自动获取相关信息,整合本地和网络资源,支持多设备同步观看,标记和评分资源,分享和共同观看,以及远程访问本地资源等功能。 13 | 14 | 为了方便使用,买了 plex 的永久会员。 15 | 16 | ## 安装 17 | 18 | https://www.plex.tv/media-server-downloads/#plex-app 19 | 20 | 选择从 flathub 下载。打开后会跳到 software manager 界面。 21 | 22 | 其实直接从 software manager 中搜索 plex 也可以方便的找到。 23 | 24 | ## 使用 25 | 26 | 和 windows 上相比没啥特殊,功能都有。 27 | 28 | 挺好的,体验一致。 -------------------------------------------------------------------------------- /content/zh-cn/docs/daily/tool/variety/index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "壁纸管理软件variety" 3 | linkTitle: "[归档]variety" 4 | weight: 98 5 | date: 2021-08-26 6 | description: > 7 | variety 是一个壁纸管理软件,支持自动切换壁纸,支持网络下载。 8 | --- 9 | 10 | 归档原因:还是要专注,壁纸选中一个就不换了。 11 | 12 | ### 介绍 13 | 14 | variety 是一个壁纸管理软件,支持自动切换壁纸,支持网络下载。 15 | 16 | ![](images/variety_about.jpg) 17 | 18 | ### 安装 19 | 20 | 直接在软件管理器中搜索 `variety` ,安装即可。 21 | 22 | ### 配置 23 | 24 | ![](images/variety_settings.jpg) 25 | 26 | 和 linux mint 自带的壁纸管理相比,variety 支持多个文件夹,切换壁纸时随机在各个目录下的壁纸中选择。而默认的壁纸管理只能选择一个目录。 27 | 28 | 另外 variety 支持自动下载网络壁纸,只是质量没有保证,有些壁纸丑的吓人。网络下载这个功能不实用。 29 | 30 | -------------------------------------------------------------------------------- /content/zh-cn/docs/daily/network/terminal_ssh_client/index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "使用终端做ssh client" 3 | linkTitle: "终端做ssh client" 4 | weight: 50 5 | date: 2021-08-26 6 | description: > 7 | 使用终端做ssh client 8 | --- 9 | 10 | 11 | 发现 putty 和 Remmina 做 ssh 客户端都不是太好用, 远不如 windows 平台上的 securyCrt 和 putty. 12 | 13 | 后来看到很多人都推荐直接用linux的终端做 ssh client, 简单敲个 "ssh server_name" 就连上去了,体验上也和和本地一致。 14 | 15 | ### 自动登录 16 | 17 | 为了减少每次敲击密码的麻烦, 还可以通过authorized_keys的方式来自动登录: 18 | 19 | 1. 上传本机的 `.ssh/id_isa.pub` 文件到服务器端 20 | 21 | 2. 在远程服务器上运行 22 | 23 | ```bash 24 | cat ~/id_rsa.pub >> ~/.ssh/authorized_keys 25 | ``` 26 | 27 | 3. 在本机终端中输入 "ssh server_address" 即可自动登录 -------------------------------------------------------------------------------- /content/zh-cn/docs/daily/network/ssh_qiang/index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "[归档]SSH代理服务器" 3 | linkTitle: "[归档]SSH代理服务器" 4 | weight: 999 5 | date: 2021-08-26 6 | description: > 7 | SSH 可以实现最为快捷的代理服务器,在没有其他代理服务器软件的情况下,可以作为一个临时解决方案使用。 8 | --- 9 | 10 | {{% pageinfo color="primary" %}} 11 | 实测: 很不稳定,没有使用价值。可能是服务器端那边做了检查和防范。 12 | {{% /pageinfo %}} 13 | 14 | ## 代理服务器 15 | 16 | 1. 建立隧道 17 | 18 | 在本地执行以下命令: 19 | 20 | ```bash 21 | ssh -D 10085 remote_server_address 22 | ``` 23 | 24 | 2. 设置代理 25 | 26 | 在浏览器中设置代理服务器连接为 "socket4",链接到 "127.0.0.1/10085" 端口。 27 | 28 | ## 翻墙 29 | 30 | 如果远程服务器在国外, 那么这个 ssh 代理服务器 就实现了 `翻墙` 的功能. 31 | 32 | 工作原理和用 putty 设置 dynamic 是一样的. 33 | 34 | -------------------------------------------------------------------------------- /content/zh-cn/docs/installation/hardware/printer.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "安装Epson L4160打印机" 3 | linkTitle: "安装打印机" 4 | weight: 215 5 | date: 2021-12-93 6 | description: > 7 | Ubuntu下安装配置Epson L4160打印机 8 | --- 9 | 10 | ## 打印机驱动 11 | 12 | ### 本地usb连接 13 | 14 | 本地安装,用usb线连接Epson L4160打印机。 15 | 16 | 先下载linux驱动: 17 | 18 | 1. https://epson.com/Support/wa00821 19 | 2. drivers ,输入产品型号 L4160 20 | 3. 下载 ESC / P-R Driver (generic driver) / Epson Printer Utility / All-in-one package,注意选择x64版本的deb 21 | 22 | 4. 安装下载好的deb 23 | 24 | 再在系统中选择打印机,然后添加打印机,此时会自动识别出 EPSON-L4160-Series,添加即可。 25 | 26 | ### wifi连接 27 | 28 | 断开usb,删除本地打印机。 29 | 30 | 在打印机上设置好wifi之后,再打开设置中的打印机,发现已经自动识别了,貌似不需要设置。 31 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Linux Mint 学习笔记 2 | 3 | ### 内容介绍 4 | 5 | Linux Mint是一份基于Debian和Ubuntu的 Linux 发行版。其目标是提供一种更完整的即刻可用体验,这包括提供浏览器插件、多媒体编解码器、对DVD播放的支持、Java和其他组件,它也增加了一套定制桌面及各种菜单,一些独特的配置工具,以及一份基于web的软件包安装界面。 6 | 7 | Linux Mint是对用户友好而功能强大的操作系统。它诞生的目的是为家庭用户和企业提供一个免费的,易用的,舒适而优雅的桌面操作系统。 8 | 9 | 个人对Linux Mint非常喜欢,已经成为目前主力操作系统之一。这份Linux Mint学习笔记, 记录Linux Mint (Linux Mint 22.1 Cinnamon 版本) 的学习过程和日常使用. 10 | 11 | ### 访问方式 12 | 13 | 这是个人学习Linux Mint的笔记,请点击下面的链接阅读: 14 | 15 | - [在线阅读](https://skyao.net/learning-linux-mint/):hugo格式 + docsy主题,界面清爽。托管于国内节点,有备案,国内访问速度很快 16 | - [@github](https://github.com/skyao/learning-linux-mint/):源码托管于github,如有谬误或需讨论,请提issue 17 | 18 | ### 版权申明 19 | 20 | 本笔记内容可以任意转载,但请注明来源并提供链接。 21 | 22 | -------------------------------------------------------------------------------- /content/zh-cn/docs/daily/tool/synapse/index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "应用程序启动器Synapse" 3 | linkTitle: "Synapse" 4 | weight: 20 5 | date: 2021-08-26 6 | description: > 7 | Synapse是一个很轻巧的应用程序启动器。 8 | --- 9 | 10 | {{% pageinfo color="primary" %}} 11 | 用来替代gnome-do 12 | {{% /pageinfo %}} 13 | 14 | ## 介绍 15 | 16 | ubuntu 20.04 之后就不再支持 gnome-do,取而代之的是 Synapse,功能和界面都差不多。 17 | 18 | https://launchpad.net/synapse-project 19 | 20 | ## 安装 21 | 22 | ``` 23 | sudo apt install synapse 24 | ``` 25 | 26 | ## 配置 27 | 28 | 首选项中设置: 29 | 30 | 1. 登录时启动 31 | 2. 取消勾选"显示通知区域图标":没必要 32 | 3. 激活快捷键设置为 gnome-do 时代我习惯的 `alt + g` 33 | 4. Theme 设置为 "Doish" 34 | 35 | 插件中过了一遍,把用不倒的关了。 36 | 37 | 发现缺少一些必须的插件: 38 | 39 | - Microsoft Edge:这是我现在主力浏览器 40 | -------------------------------------------------------------------------------- /content/zh-cn/docs/daily/network/remmina/index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "远程桌面软件Remmina" 3 | linkTitle: "Remmina" 4 | weight: 30 5 | date: 2021-08-26 6 | description: > 7 | Remmina 是一个远程桌面软件。 8 | --- 9 | 10 | 11 | 12 | ## 安装 13 | 14 | 可以通过软件管理器直接安装,"开始菜单" -> "系统管理" -> "软件管理器",搜索 `remmina`: 15 | 16 | ![](images/remmina_search.jpg) 17 | 18 | 需要使用软件管理器安装 remmina 和 插件: 19 | 20 | - remmina 21 | - remmina-plugin-rdp: 这个一定要安装,连接windows桌面就是走 RDP 协议 22 | - remmina-plugin-vnc 23 | 24 | ## 使用 25 | 26 | ### 连接 windows 27 | 28 | 安装完成之后, 打开 remmina, "connection" -> "new", Protocol 选 "RDP - Remote Desktop Protocol", 设置链接参数和账号, 就可以连接到 windows 桌面. 29 | 30 | ubuntu18.04 31 | 32 | https://www.techrepublic.com/article/how-to-enable-remote-desktop-connections-in-ubuntu-18-04/ -------------------------------------------------------------------------------- /content/zh-cn/docs/develop/vscode/index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "vs code" 3 | linkTitle: "vs code" 4 | weight: 30 5 | date: 2022-04-18 6 | description: > 7 | vs code是主要的编程IDE 8 | --- 9 | 10 | 11 | 12 | ## 下载安装 13 | 14 | https://code.visualstudio.com/docs/?dv=linux64_deb 15 | 16 | 下载的 `code_*_amd64.deb` 文件直接安装即可。 17 | 18 | ## 初始化配置 19 | 20 | ### 主题 21 | 22 | 启动手,在 Get Started 界面,"choose the look you want"中选择 "Brower Color themes",然后选择 "solarized dark",这是个人最喜欢的一个配色。 23 | 24 | ### 字体 25 | 26 | 默认字体为: 27 | 28 | `'Droid Sans Mono', 'monospace', monospace` 29 | 30 | 在安装了文泉微米等宽黑字体之后,就可以在vs code中启用这个圆润的多的字体了: 31 | 32 | `'WenQuanyi Micro Hei Mono', 'monospace', monospace` 33 | 34 | 然后将默认字体大小从 14 修改为更大的数字: 35 | 36 | - 27寸4k显示器建议 18 37 | - mbp 16寸笔记本建议 20 38 | - 16寸4k显示器建议 24 39 | 40 | -------------------------------------------------------------------------------- /content/zh-cn/docs/daily/network/edge/index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "安装微软Edge浏览器" 3 | linkTitle: "Edge浏览器" 4 | weight: 60 5 | date: 2021-08-26 6 | description: > 7 | 微软Edge浏览器是目前最好用的浏览器了,我用它替换了google的chrome 8 | --- 9 | 10 | ## 安装 11 | 12 | ### 直接下载安装 13 | 14 | https://www.microsoft.com/zh-tw/edge/download 15 | 16 | 选择 deb 格式下载安装即可。 17 | 18 | ### apt安装 19 | 20 | 参考: 21 | 22 | https://linuxhint.com/install-microsoft-edge-browser-ubuntu/ 23 | 24 | 安装方式: 25 | 26 | ```bash 27 | sudo apt install software-properties-common apt-transport-https wget 28 | wget -q https://packages.microsoft.com/keys/microsoft.asc -O- | sudo apt-key add - 29 | sudo add-apt-repository "deb [arch=amd64] https://packages.microsoft.com/repos/edge stable main" 30 | sudo apt update 31 | sudo apt install microsoft-edge-stable 32 | 33 | ``` 34 | 35 | -------------------------------------------------------------------------------- /content/zh-cn/docs/daily/media/audacious/index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Audacious" 3 | linkTitle: "Audacious" 4 | weight: 30 5 | date: 2021-08-26 6 | description: > 7 | Audacious 8 | --- 9 | 10 | ## 介绍 11 | 12 | http://audacious-media-player.org/ 13 | 14 | 可惜,没有找到播放 DSD 格式的方法... 15 | 16 | ## 安装 17 | 18 | audacious 默认存在于 ubuntu/linux mint 的仓库中,不过版本不是最新的。 19 | 20 | audacious 官方首页有如下说明: 21 | 22 | > Note that the versions of Audacious available in Debian stable and Ubuntu LTS releases tend to be rather out of date. Panda Jim of ubuntuhandbook.org maintains a PPA with newer versions for Ubuntu users. 23 | > 24 | > 请注意,Debian 稳定版和 Ubuntu LTS 版本中的 Audacious 版本往往已经过时。ubuntuhandbook.org的熊猫吉姆为Ubuntu用户维护了一个包含较新版本的PPA。 25 | 26 | 因此为了安装到最新的版本,需要添加下面的 PPA ,然后再 apt 安装。 27 | 28 | ```bash 29 | sudo add-apt-repository ppa:ubuntuhandbook1/apps 30 | sudo apt update 31 | sudo apt-get install audacious 32 | ``` 33 | 34 | ## 使用 35 | 36 | 界面也太朴素了点。 -------------------------------------------------------------------------------- /content/zh-cn/docs/daily/media/deadbeef/index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "DeadBeef" 3 | linkTitle: "DeadBeef" 4 | weight: 20 5 | date: 2021-08-26 6 | description: > 7 | DeadBeef音乐播放器,支持 DSD 格式 8 | --- 9 | 10 | 11 | 选择安装 deadbeef 的首要原因,是它支持 DSD 格式! 12 | 13 | ## 介绍 14 | 15 | http://deadbeef.sourceforge.net/ 16 | 17 | ## 安装 18 | 19 | 打开下载页面: 20 | 21 | http://deadbeef.sourceforge.net/download.html 22 | 23 | 找到 `DeaDBeeF deb package amd64` 下载对应的 deb 文件,下载完成后直接安装即可。 24 | 25 | ## 配置 26 | 27 | ![](images/deadbeef-1.jpg) 28 | 29 | 打开 "编辑" --> "偏好设置","声音" 选项设置如下: 30 | 31 | ![](images/deadbeef-2.jpg) 32 | 33 | "DSP(数字信号处理)" 选项中,选择 "Resampler", 点"配置",设置如下: 34 | 35 | ![](images/deadbeef-3.jpg) 36 | 37 | 默认安装之后这里的 Resampler 是 48K,导致所有 DSD 格式都是重采样为 48k 输出,因此必须修改。我的 DAC 解码器不支持 DSD 格式,只支持到 24Bit /192K ,因此这里我选择了将 DSD 重采样为 192K 输出给 DAC,虽然比真正的 DSD 效果要差,但是总比普通音源要好很多。 38 | 39 | 如果 DAC 支持 DSD 格式,可以去掉这里的 Resampler ,直接将 352K 的信号输出给 DAC。 40 | 41 | 42 | 43 | -------------------------------------------------------------------------------- /content/zh-cn/docs/hardware/conky/index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Conky" 3 | linkTitle: "Conky" 4 | weight: 311 5 | date: 2021-08-26 6 | description: > 7 | Conky 是一个轻量级的Linux系统监控工具,非常适合日常用来监控cpu,进程,内存和网络。 8 | --- 9 | 10 | ## 安装 11 | 12 | 新版本的conkey的安装和配置方式和之前的完全不一样了。 13 | 14 | 可以直接 apt-get 安装 15 | 16 | ```bash 17 | sudo apt-get install conky-all 18 | ``` 19 | 20 | conky-manager 不再存在了。 21 | 22 | 安装完成之后执行 `conky &` 命令,就能看到 conky 的监控界面了。但,很丑很丑。 23 | 24 | ## 配置 25 | 26 | 暂时先不研究。 27 | 28 | 29 | 30 | ## 参考 31 | 32 | 参考这三个应该就可以的: 33 | 34 | - [How to install Conky System Monitor on Ubuntu 20.04 LTS](https://www.how2shout.com/linux/how-to-install-conky-system-monitor-on-ubuntu-20-04-lts/) : 安装 35 | - [Conky system monitor- Widget to view Linux Process, CPU and Memory](https://www.how2shout.com/linux/conky-system-monitor-widget-to-view-linux-process-cpu-and-memory/): 配置 36 | - [](https://github.com/brndnmtthws/conky/wiki/Configs): 构建好了的主题 37 | -------------------------------------------------------------------------------- /content/zh-cn/docs/daily/network/filezilla/index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "FileZilla" 3 | linkTitle: "FileZilla" 4 | weight: 80 5 | date: 2021-08-26 6 | description: > 7 | 使用 FileZilla 进行 ftp/sftp 文件传输 8 | --- 9 | 10 | windows 下我现在统一使用 filezilla 进行 ftp/sftp 文件传输, linux 这边也尽量保持一致吧. 11 | 12 | ### 下载 13 | 14 | 下载页面: 15 | 16 | https://filezilla-project.org/download.php?platform=linux64 17 | 18 | 直接下载地址: 19 | 20 | https://dl2.cdn.filezilla-project.org/client/FileZilla_3.69.3_x86_64-linux-gnu.tar.xz?h=-MZF88L9qY_9njOrYhbEhg&x=1762748574 21 | 22 | ### 安装 23 | 24 | 解压缩下载下来的 FileZilla_3.69.3_x86_64-linux-gnu.tar.xz 文件, 放到 `/home/sky/work/soft` 目录. 25 | 26 | ```bash 27 | tar xvf FileZilla_3.69.3_x86_64-linux-gnu.tar.xz -C /home/sky/work/soft 28 | ``` 29 | 30 | ### 启动 31 | 32 | 在 `/home/sky/work/soft/FileZilla3/bin` 目录下打开 filezilla 即可. 33 | 34 | 后续可以用 Synapse 唤起 filezilla. 35 | 36 | ### 使用 37 | 38 | 使用方式和界面和 windows 下基本一致. 39 | 40 | 41 | 42 | 43 | 44 | -------------------------------------------------------------------------------- /content/zh-cn/docs/daily/tool/input/index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "输入法" 3 | linkTitle: "输入法" 4 | weight: 10 5 | date: 2024-01-20 6 | description: > 7 | 输入法 8 | --- 9 | 10 | ## 安装fcitx 11 | 12 | 如果安装操作系统时选择的是安装英文版本,则需要先安装 fcitx 13 | 14 | ```bash 15 | sudo apt install fcitx 16 | ``` 17 | 18 | 打开 “开始菜单” -> “Preferences” -> “Input method”,可以看到输入法已经默认为fcitx: 19 | 20 | 点击 “Simplified Chinese” ,找到 "Intall the language support package",点击之后的 “install” 开始安装语言包。 21 | 22 | ## 启用输入法 23 | 24 | 重启,之后 打开 "fcitx configuration",在 "Input method configuration" 的 "Input Method" 中通过点 "+" 增加 "Sunpinyin" 25 | 26 | ## 设置输入法 27 | 28 | ### 设置菜单 29 | 30 | 右键菜单中选择"配置",然后在"外观"中设置 "字体大小" 为 32, "字体" 和 "菜单字体" 为 "文泉驿等宽微米黑 Regular",不然输入法的选字菜单会太小看的很累。 31 | 32 | 在 "全局配置" 中设置候选词个数为 10 (最大可设置值)。 33 | 34 | "全局配置" 中上一页修改为 `,`,下一页修改为 `.` ,方便前后翻页选词。 35 | 36 | ### 设置皮肤 37 | 38 | 右键菜单中选择"皮肤",设置为 "经典"。 39 | 40 | 备注:"默认"皮肤菜单背景色为白色文字,"暗色"皮肤则菜单背景颜色为黑色,"经典"则是在默认白色背景+红色/青色文字的基础上编号的颜色会更深一些。 41 | 42 | -------------------------------------------------------------------------------- /content/zh-cn/docs/hardware/psensor/index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "[归档]Psensor" 3 | linkTitle: "[归档]Psensor" 4 | weight: 339 5 | date: 2021-08-26 6 | description: > 7 | Psensor 是 Linux 下的硬件温度监控工具 8 | --- 9 | 10 | {{% pageinfo color="primary" %}} 11 | 归档说明:已经很久没有在笔记本上折腾linux了,台式机没必要。 12 | {{% /pageinfo %}} 13 | 14 | Psensor 是一个硬件温度监控工具。 15 | 16 | ## 安装 17 | 18 | 可以通过软件管理器直接安装, "开始菜单" -> "系统管理" -> "软件管理器",搜索 `psensor`,然后直接安装。 19 | 20 | 有几个软件会自动安装: 21 | 22 | 1. lm-sensors 23 | 2. hddtemp 24 | 25 | 安装完成之后,在命令行中执行 `psensor` 或者点 "开始菜单" -> "系统管理" -> "psensor" 可以打开 psensor: 26 | 27 | ![](images/psensor.jpg) 28 | 29 | ## 设置 30 | 31 | ### 设置开机自启动 32 | 33 | 点红色箭头处的 "Psensor" -> "首选项" -> "startup": 34 | 35 | ![](images/psensor_auto_start.jpg) 36 | 37 | 将 "Lauch on session startup" 和 "启动时隐藏窗口" 选上。 38 | 39 | ### 设置温度告警 40 | 41 | 点红色箭头处的 "Psensor" -> "传感器首选项" -> "警告": 42 | 43 | ![](images/psensor_monitor.jpg) 44 | 45 | 勾选 "激活桌面气泡提示",然后设置温度的高阈值(低阈值一般用不上)。 46 | 47 | 测试一下,故意将cpu温度的高阈值设置为当前温度以下,然后就会立即看到 Psensor 的报警: 首先有一个气泡出现在桌面,然后系统托盘处 Psensor 的图片变成红色: 48 | 49 | ![](images/psensor_warning.jpg) 50 | 51 | 将关心的几个温度,如cpu的各个核心,硬盘温度等加上告警,配合开机自启动,就可以监控到系统温度异常了。 52 | 53 | -------------------------------------------------------------------------------- /content/zh-cn/docs/installation/system/hotkey_daily.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "修改后的Linux Mint的常用快捷键" 3 | linkTitle: "[参考]常用快捷键" 4 | weight: 40 5 | date: 2021-08-26 6 | description: > 7 | 列出常用的快捷键,方便记忆 8 | --- 9 | 10 | ## 窗口快捷键 11 | 12 | ### 多窗口间切换 13 | 14 | - Shift+Ctrl+Up: 在屏幕上(全屏)显示所有工作区中的所有打开窗口的缩略视图 15 | - Shift+Ctrl+Down: 在屏幕上(全屏)显示当前工作区中所有打开窗口的缩略视图 16 | - Alt+Tab: 在打开的窗口间循环,仅限当前工作区 17 | 18 | ### 窗口显示 19 | 20 | - Alt+Up: 最大化窗口 21 | - Alt+Down: 最小化窗口 22 | - Alt+F5: 取消最大化窗口 23 | - Alt+F4: 关闭窗口 24 | - super+D: 显示桌面 25 | - Alt+Space: 显示窗口菜单 26 | - Alt+F10: 切换最大化状态 27 | 28 | ### 窗口定位 29 | 30 | - Alt+F8:改变窗口大小 31 | - Alt+F7: 移动窗口: 注意这个快捷键在某些关键时刻几乎可以用来救命 32 | 33 | ### 跨工作区 34 | 35 | - Shift+Ctrl+Alt+Left: 移动窗口到左边工作区 36 | - Shift+Ctrl+Alt+Right: 移动窗口到右边工作区 37 | 38 | ### 跨屏幕 39 | 40 | - Shift+Super+Left: 移动窗口到左边屏幕 41 | - Shift+Super+Right: 移动窗口到右边屏幕 42 | 43 | ## 工作区快捷键 44 | 45 | - Ctrl+Shift+Left: 切换到左侧工作区 46 | - Ctrl+Shift+Right: 切换到右侧工作区 47 | 48 | ## 系统快捷键 49 | 50 | - Ctrl+Alt+End: 关机 51 | - Ctrl+Alt+Delete: 锁定屏幕 52 | 53 | ## 启动器快捷键 54 | 55 | - Ctrl+Alt+T: 启动终端 56 | - Super+E:打开主目录 57 | 58 | ### 自定义快捷键 59 | 60 | - Alt+G: 打开Gnome Do 61 | 62 | 63 | 64 | 65 | 66 | -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # How to Contribute 2 | 3 | We'd love to accept your patches and contributions to this project. There are 4 | just a few small guidelines you need to follow. 5 | 6 | ## Contributor License Agreement 7 | 8 | Contributions to this project must be accompanied by a Contributor License 9 | Agreement. You (or your employer) retain the copyright to your contribution; 10 | this simply gives us permission to use and redistribute your contributions as 11 | part of the project. Head over to to see 12 | your current agreements on file or to sign a new one. 13 | 14 | You generally only need to submit a CLA once, so if you've already submitted one 15 | (even if it was for a different project), you probably don't need to do it 16 | again. 17 | 18 | ## Code reviews 19 | 20 | All submissions, including submissions by project members, require review. We 21 | use GitHub pull requests for this purpose. Consult 22 | [GitHub Help](https://help.github.com/articles/about-pull-requests/) for more 23 | information on using pull requests. 24 | 25 | ## Community Guidelines 26 | 27 | This project follows 28 | [Google's Open Source Community Guidelines](https://opensource.google.com/conduct/). 29 | -------------------------------------------------------------------------------- /content/zh-cn/docs/installation/hardware/nvidia_graph/index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Nvidia显卡驱动安装" 3 | linkTitle: "Nvidia显卡" 4 | weight: 20 5 | date: 2022-03-30 6 | description: > 7 | 介绍Linux Mint下Nvidia显卡的驱动安装 8 | --- 9 | 10 | 11 | 12 | ## 正常安装 13 | 14 | "开始菜单" -> "系统管理" -> "驱动管理器", 15 | 16 | Linux Mint 会先做一次系统更新检查,然后给出可以安装的驱动列表。 17 | 18 | 只要简单选择需要的驱动版本,然后安装即可,如下图: 19 | 20 | ![](images/nvidia-graph.png) 21 | 22 | 23 | ## 特殊情况 24 | 25 | ### 无法打开系统设置界面 26 | 27 | 有时会遇到无法打开系统设置界面的情况,导致无法进入设备管理器。 28 | 29 | 此时,可以在桌面右键,打开终端,然后执行 `/usr/bin/cinnamon-settings` 命令,即可打开设置界面。 30 | 31 | ### 无法进入图形界面 32 | 33 | 某一次更换显卡时,从adm rx580显卡换到nvidia 3070显卡,遇到无法显示图形界面的情况,黑色屏幕上只有左上角有一个光标一闪一闪。而且网络也莫名其妙的不通,无法ssh。 34 | 35 | > 补充: 遇到第二次类似情况,cpu是 intel 13900hk 自带intel 集成显卡,安装 linux mint 后正常使用。后面接上 nvidia 的 4080 显卡之后,就出现同样问题。 36 | 37 | 解决方法: 38 | 39 | 1. 解决无法ssh的问题:按 `ctr+alt+F` 可以显示出 terminal 界面,输入用户名/密码就可以登录。期间如果再次黑屏,可以继续 按 `ctr+alt+F` 。登录之后,网络也就通了。 40 | 41 | 2. 安装 nvidia 显卡驱动 42 | 43 | ```bash 44 | sudo apt update 45 | sudo apt-cache search nvidia-driver 46 | sudo apt install nvidia-driver-545 # 这里选择合适的驱动版本,比如 47 | ``` 48 | 49 | 安装完成之后重启即可,正常显示图形界面。 50 | 51 | 参考资料: 52 | 53 | - [ubuntu20.04 安装nvidia显卡驱动后无法启动系统的解决办法](https://blog.csdn.net/csdnlg112/article/details/124718836) 54 | 55 | 56 | -------------------------------------------------------------------------------- /content/zh-cn/docs/installation/system/hotkey.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "修改Linux Mint的快捷键" 3 | linkTitle: "快捷键修改" 4 | weight: 30 5 | date: 2021-08-26 6 | description: > 7 | 修改Linux Mint默认的快捷键,避免冲突 8 | --- 9 | 10 | 默认安装之后的 linux mint 的部分按键会和一些关键应用发生冲突,因此考虑修改。 11 | 12 | ## 避免和IntelliJ Idea冲突 13 | 14 | 1. ctrl + alt + left/right 15 | 16 | 在 idea 中,ctrl + alt + left/right 用于在光标在文件的上一个未知/下一个位置之间跳转,非常方便。 17 | 18 | 但是默认 linux mint 是将这个快捷键分配给了工作区的上一个工作区/下一个工作区,直接冲突了。 19 | 20 | 修改方式,"系统设置" --> "键盘" --> "快捷键" --> "工作区"。 21 | 22 | > 注: 我一般喜欢设置为 `ctrl + shift + left/right` 23 | 24 | 2. ctrl + alt + L 25 | 26 | 在idea中这个快捷键用来格式化代码,默认 linux mint 是将这个快捷键分配给了锁定屏幕。 27 | 28 | 修改方式,"系统设置" --> "键盘" --> "快捷键" --> "系统" --> "锁定屏幕"。 29 | 30 | > 注: 我一般喜欢设置为 `ctrl + alt + delete`,默认 linux mint 中这个快捷键是给注销用的,考虑到注销极少使用,所以分配给锁屏,顺便和windows下的使用习惯保持一致。 31 | 32 | ## 工作区快捷键 33 | 34 | 默认工作区的几个快捷键都是 `ctrl + alt + (left|right|up|down)` ,上面为了避免和 IntelliJ Idea 冲突,我们修改了 ctrl + alt + left/right,为了保持一致,其他几个快捷键也相应修改过来。这样连续使用时,左手按住 ctrl + shift, 右手按 上下左右就可以关联到4个不同的快捷键,比较方便。 35 | 36 | 修改方式,"系统设置" --> "键盘" --> "快捷键" --> "常规": 37 | 38 | - "显示窗口选择屏幕" 修改为 `Shift+Ctrl+Down` 39 | - "显示工作区选择屏幕" 修改为 `Shift+Ctrl+Up` 40 | 41 | ## 多窗口快捷键 42 | 43 | 为了方便多个窗口之间切换, 44 | 45 | - "在打开的窗口间循环" 默认是 "Alt + Tab",这个和windows/mac是一致的,保持不变。 46 | - "在同一应用打开的窗口间循环" ,默认没有快捷键,设置为 "Alt + Up" 47 | - "在同一应用打开的窗口间逆向循环" ,默认没有快捷键,设置为 "Alt + Down" -------------------------------------------------------------------------------- /content/zh-cn/docs/hardware/cpufreqd/images/cpufreqd-server.conf: -------------------------------------------------------------------------------- 1 | # this is a comment 2 | # see CPUFREQD.CONF(5) manpage for a complete reference 3 | # 4 | # Note: ondemand/conservative Profiles are disabled because 5 | # they are not available on many platforms. 6 | 7 | [General] 8 | pidfile=/var/run/cpufreqd.pid 9 | poll_interval=2 10 | verbosity=4 11 | #enable_remote=1 12 | #remote_group=root 13 | [/General] 14 | 15 | #[acpi] 16 | #acpid_socket=/var/run/acpid.socket 17 | #[/acpi] 18 | 19 | #[nforce2_atxp1] 20 | #vcore_path=/some/path 21 | #vcore_default=1500 22 | #[/nforce2_atxp1] 23 | 24 | #[sensors_plugin] 25 | #sensors_conf=/some/file 26 | #[/sensors_plugin] 27 | 28 | 29 | [Profile] 30 | name=high 31 | minfreq=100% 32 | maxfreq=100% 33 | policy=performance 34 | [/Profile] 35 | 36 | [Profile] 37 | name=normal 38 | minfreq=80% 39 | maxfreq=80% 40 | policy=powersave 41 | [/Profile] 42 | 43 | [Profile] 44 | name=low 45 | minfreq=40% 46 | maxfreq=40% 47 | policy=powersave 48 | [/Profile] 49 | 50 | 51 | ## 52 | # Basic states 53 | ## 54 | # when AC on & cpu is cool & has load 55 | [Rule] 56 | name=high 57 | acpi_temperature=0-50 58 | cpu_interval=5-100 59 | profile=high 60 | [/Rule] 61 | 62 | [Rule] 63 | name=normal 64 | acpi_temperature=50-80 65 | cpu_interval=5-100 66 | profile=normal 67 | [/Rule] 68 | 69 | [Rule] 70 | name=low 71 | cpu_interval=0-5 72 | profile=low 73 | [/Rule] 74 | 75 | 76 | 77 | 78 | -------------------------------------------------------------------------------- /content/zh-cn/docs/daily/network/yt-dlp/index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "yt-dlp" 3 | linkTitle: "yt-dlp" 4 | weight: 90 5 | date: 2025-12-03 6 | description: > 7 | 命令行音频/视频下载器 8 | --- 9 | 10 | 11 | https://github.com/yt-dlp/yt-dlp 12 | 13 | ## 安装 14 | 15 | 推荐用 python 3.10 和 3.11. 16 | 17 | ```bash 18 | pip install yt-dlp 19 | ``` 20 | 21 | 更新时,重新运行这个命令即可。 22 | 23 | 24 | ## 使用 25 | 26 | ### 下载字幕 27 | 28 | 以 https://www.youtube.com/watch?v=uwXrtyXXuy8 视频为例,先 list-subs : 29 | 30 | 31 | ```bash 32 | yt-dlp --no-check-certificate --list-subs "https://www.youtube.com/watch?v=uwXrtyXXuy8" 33 | ``` 34 | 35 | 输出为: 36 | 37 | ```bash 38 | [youtube] Extracting URL: https://www.youtube.com/watch?v=uwXrtyXXuy8 39 | [youtube] uwXrtyXXuy8: Downloading webpage 40 | [youtube] uwXrtyXXuy8: Downloading tv client config 41 | [youtube] uwXrtyXXuy8: Downloading player c816c7d8-main 42 | [youtube] uwXrtyXXuy8: Downloading tv player API JSON 43 | [youtube] uwXrtyXXuy8: Downloading ios player API JSON 44 | 45 | [youtube] uwXrtyXXuy8: Downloading m3u8 information 46 | [info] Available automatic captions for uwXrtyXXuy8: 47 | ...... 48 | 49 | 50 | [info] Available subtitles for uwXrtyXXuy8: 51 | Language Name Formats 52 | en-eEY6OEpapPo English - English vtt, ttml, srv3, srv2, srv1, json3 53 | ``` 54 | 55 | 看最后的 Available subtitles,这里只有一个 en-eEY6OEpapPo。 56 | 57 | 下载这个字幕: 58 | 59 | ```bash 60 | yt-dlp --no-check-certificate --write-sub --sub-lang en-eEY6OEpapPo --skip-download "https://www.youtube.com/watch?v=uwXrtyXXuy8" 61 | ``` -------------------------------------------------------------------------------- /content/zh-cn/docs/installation/system/hibernate/index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "关闭休眠" 3 | linkTitle: "关闭休眠" 4 | weight: 60 5 | date: 2021-08-26 6 | description: > 7 | 关闭Linux Mint的休眠 8 | --- 9 | 10 | ## 关闭休眠 11 | 12 | ```bash 13 | sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target 14 | ``` 15 | 16 | 正常能看到输出为: 17 | 18 | ```bash 19 | Created symlink /etc/systemd/system/sleep.target → /dev/null. 20 | Created symlink /etc/systemd/system/suspend.target → /dev/null. 21 | Created symlink /etc/systemd/system/hibernate.target → /dev/null. 22 | Created symlink /etc/systemd/system/hybrid-sleep.target → /dev/null. 23 | ``` 24 | 25 | 重启后查看: 26 | 27 | ```bash 28 | sudo systemctl status sleep.target suspend.target hibernate.target hybrid-sleep.target 29 | ``` 30 | 31 | 正常能看到四种状态都被禁用: 32 | 33 | ```bash 34 | ○ sleep.target 35 | Loaded: masked (Reason: Unit sleep.target is masked.) 36 | Active: inactive (dead) 37 | 38 | ○ suspend.target 39 | Loaded: masked (Reason: Unit suspend.target is masked.) 40 | Active: inactive (dead) 41 | 42 | ○ hibernate.target 43 | Loaded: masked (Reason: Unit hibernate.target is masked.) 44 | Active: inactive (dead) 45 | 46 | ○ hybrid-sleep.target 47 | Loaded: masked (Reason: Unit hybrid-sleep.target is masked.) 48 | Active: inactive (dead) 49 | ``` 50 | 51 | 另外打开 power management,设置: 52 | 53 | - "suspend when inactive for": never 54 | - "when the power button is pressed: Lock Screen 55 | 56 | ## 参考资料 57 | 58 | - [https://cn.linux-console.net/?p=1266](如何在 Linux 中禁用挂起和休眠模式) -------------------------------------------------------------------------------- /content/zh-cn/docs/installation/hardware/amd_graph/index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "AMD显卡驱动安装" 3 | linkTitle: "AMD显卡" 4 | weight: 10 5 | date: 2021-08-26 6 | description: > 7 | 介绍Linux Mint下AMD显卡的驱动安装 8 | --- 9 | 10 | ## 最新显卡 11 | 12 | 以 amd rx6800xt为例,AMD 的 linux 驱动非常更新及时,可以很好的支持最新的显卡。 13 | 14 | 在amd官方的支持页面 15 | 16 | https://www.amd.com/en/support 17 | 18 | 选择 "Graphics" --> "AMD Redeon 6000 Series" 一路选择型号,然后点击"提交"。在结果中选择 "Ubuntu x86 64-Bit": 19 | 20 | > Radeon™ Software for Linux® installer version 21.40.1 for Ubuntu 20.04.3 21 | 22 | ![](images/amd-driver-download.jpg) 23 | 24 | 和以前的二进制安装文件不同,新版本的下载页面现在下载的只是一个驱动安装软件(installer),而不是驱动本身。 25 | 26 | ```bash 27 | sudo apt install linux-image-5.4.0-94-generic linux-headers-5.4.0-94-generic linux-modules-extra-5.4.0-94-generic 28 | ``` 29 | 30 | 31 | 32 | 下载得到 `amdgpu-install_21.40.1.40501-1_all.deb` ,安装方式: 33 | 34 | ```bash 35 | sudo apt-get install ./amdgpu-install_21.40.1.40501-1_all.deb 36 | ``` 37 | 38 | 之后,执行 39 | 40 | ```bash 41 | sudo amdgpu-install --opencl=rocr --vulkan=amdvlk -y --accept-eula 42 | ``` 43 | 44 | 开始安装,下载速度超级慢。 45 | 46 | 参考:https://amdgpu-install.readthedocs.io/en/latest/install-script.html#script-types 47 | 48 | ## 老显卡 49 | 50 | 以 amd r5 240 1G 为例,这样的十年前的老显卡已经找到不到最新 ubuntu release 的驱动了。比如这个卡的最新版本也只是2015年的,只支持到 ubuntu 15.12。 51 | 52 | ![](images/legacy-amd-driver-download.jpg) 53 | 54 | 不过,linux mint 自带了这些老显卡的驱动,虽不清楚这些驱动的版本和能力,但考虑到本来就是作为良机卡,足够了。 55 | 56 | {{% pageinfo color="warning" %}} 57 | 注意:千万不要用上面的最新显卡驱动进行安装! 58 | 59 | 问题:安装过程会顺利完成,重启之后不仅仅新驱动无法启用,连原来自带的驱动也无法使用。 60 | 61 | 解决方式:通过上面的安装包,执行 `sudo ./amdgpu-uninstall` 卸载最新驱动,重启之后恢复自带驱动。 62 | {{% /pageinfo %}} -------------------------------------------------------------------------------- /content/zh-cn/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Linux Mint学习笔记 3 | --- 4 | 5 | {{< blocks/cover title="Linux Mint学习笔记" image_anchor="top" height="full" >}} 6 | 7 | 阅读笔记内容 8 | 9 | 10 | 查看笔记源码 11 | 12 |

Learning is not compulsory… neither is survival.

13 | {{< blocks/link-down color="info" >}} 14 | {{< /blocks/cover >}} 15 | 16 | 17 | {{% blocks/lead color="primary" %}} 18 | Continual improvement allows people pride with increased productivity. But remember there is NO instant pudding. It is a long journey. Don’t tell me ten ways I can’t do something; tell me one way I can! It’s so easy to do nothing! It’s a challenge to do something. 19 | 20 | 持续改进让人们以提高生产力为荣。但请记住,没有什么是可以一蹴而就的。这是一个漫长的过程。不要告诉我不能做什么,告诉可以做什么! 什么都不做太容易了! 做一件事是一种挑战。 21 | 22 | Learning is not compulsory; it’s voluntary. Improvement is not compulsory; it’s voluntary. But to survive, we must learn. The penalty for ignorance is that you get beat up. There is no substitute for knowledge. Yet time is of the essence. 23 | 24 | 学习不是强制性的,而是自愿的。改进不是强制性的,是自愿的。但为了生存,我们必须学习。无知的惩罚是挨打。知识是无法替代的。时不我待,只争朝夕。 25 | 26 | —— by Jacob Walker 27 | {{% /blocks/lead %}} 28 | 29 | 30 | {{% blocks/section %}} 31 | Learning is not compulsory… neither is survival. 32 | {.h1 .text-center} 33 | {.h1 .text-center} 34 | {{% /blocks/section %}} 35 | 36 | 37 | {{% blocks/section %}} 38 | 当才能不足以撑起雄心壮志时,就应该静下心好好学习。 39 | {.h1 .text-center} 40 | {{% /blocks/section %}} -------------------------------------------------------------------------------- /content/zh-cn/docs/installation/installation/index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Linux Mint的安装过程" 3 | linkTitle: "安装过程" 4 | weight: 201 5 | date: 2021-08-26 6 | description: > 7 | Linux Mint 的安装过程 8 | --- 9 | 10 | 11 | Linux Mint 的安装比较简单,安装速度也非常快。 12 | 13 | 但是期间还是有一些事情要小心。 14 | 15 | ## 安装前准备 16 | 17 | 从 Linux Mint 的下载页面下载 Linux Mint 22 的 Cinnamon 的64位版本。 18 | 19 | https://linuxmint.com/download.php 20 | 21 | https://www.linuxmint.com/download_all.php 22 | 23 | 之后使用各种工具将下载下来的 ISO 文件制作成启动 U 盘进行安装,推荐 rufus。 24 | 25 | ## 安装 26 | 27 | 安装时,在选择安装盘符时需要注意: 28 | 29 | 1. 最好单独再建立一个 EFI 分区,不要使用原有 windows 的EFI分区,大小一般128M足以 30 | 2. 由于docker的原因,建议不建立交换分区 31 | 3. 特别注意:启动信息那里一定要选择我们为linux新建的 EFI 分区 32 | 33 | 安装过程中,如果提醒是否要下载更新,选择 no。原因是安装时使用的源是 Linux Mint 默认的源,对于国内用户速度很慢。建议选择在安装完成之后,再设置好国内速度快的源,然后再更新,速度就非常好。 34 | 35 | ### 语言选择 36 | 37 | 推荐安装时选择 english,安装完成后单独安装中文输入法可以输入中文就好,界面还是保持英文会更方便一些。 38 | 39 | ### 自动登录 40 | 41 | 安装过程在设置用户名密码时,有个是否自动登录的选项,如果是自己机器平时也不需要考虑安全性,选上,可以省事加开机更快。 42 | 43 | ## 安装完操作 44 | 45 | ### 设置软件源 46 | 47 | 安装完成,进入桌面之后的第一件事情,就是设置软件源。 48 | 49 | "开始菜单" -> "系统管理" -> "软件源",然后就可以设置镜像,包括主要和基础两个: 50 | 51 | ![](images/software_sources.jpg) 52 | 53 | 选择时会自动提供速度测试,可以根据测试出来的速度情况选择一个速度比较好的源,我这边选择的是 ustc 和 dgut 。 54 | 55 | {{% alert title="Warning" color="warning" %}} 56 | 注意一定要先更新软件源之后,再开始各种配置和安装,否则国外源时速度不好时非常浪费时间。 57 | {{% /alert %}} 58 | 59 | ### 更新系统和内核 60 | 61 | 在设置好软件源之后,再使用操作系统自带的 "更新管理器" 进行系统更新,包括内核更新。 62 | 63 | {{% pageinfo color="primary" %}} 64 | 我个人习惯是直接更新到最新版本的内核。 65 | {{% /pageinfo %}} 66 | 67 | ### 额外提示 68 | 69 | `Alt+F7` 是移动窗口的快捷键,在某些特殊情况下,如果屏幕分辨率因故被设置的太低,会出现窗口太长而无法在屏幕上显示完整,导致某些关键的输入和按钮在屏幕外点不到。 70 | 71 | 此时就需要使用 `Alt+F7` 快捷键来移动窗口,不然被卡死会非常憋屈。 72 | -------------------------------------------------------------------------------- /content/zh-cn/docs/hardware/cpufreqd/images/cpufreqd-laptop.conf: -------------------------------------------------------------------------------- 1 | # this is a comment 2 | # see CPUFREQD.CONF(5) manpage for a complete reference 3 | # 4 | # Note: ondemand/conservative Profiles are disabled because 5 | # they are not available on many platforms. 6 | 7 | [General] 8 | pidfile=/var/run/cpufreqd.pid 9 | poll_interval=2 10 | verbosity=4 11 | #enable_remote=1 12 | #remote_group=root 13 | [/General] 14 | 15 | #[acpi] 16 | #acpid_socket=/var/run/acpid.socket 17 | #[/acpi] 18 | 19 | #[nforce2_atxp1] 20 | #vcore_path=/some/path 21 | #vcore_default=1500 22 | #[/nforce2_atxp1] 23 | 24 | #[sensors_plugin] 25 | #sensors_conf=/some/file 26 | #[/sensors_plugin] 27 | 28 | 29 | [Profile] 30 | name=high 31 | minfreq=100% 32 | maxfreq=100% 33 | policy=performance 34 | [/Profile] 35 | 36 | [Profile] 37 | name=normal 38 | minfreq=50% 39 | maxfreq=50% 40 | policy=powersave 41 | [/Profile] 42 | 43 | [Profile] 44 | name=low 45 | minfreq=30% 46 | maxfreq=30% 47 | policy=powersave 48 | [/Profile] 49 | 50 | 51 | ## 52 | # Basic states 53 | ## 54 | # when AC on & cpu is cool & has load 55 | [Rule] 56 | name=on-high 57 | ac=on 58 | acpi_temperature=0-50 59 | cpu_interval=20-100 60 | profile=high 61 | [/Rule] 62 | 63 | [Rule] 64 | name=on-normal 65 | ac=on 66 | acpi_temperature=50-60 67 | cpu_interval=20-100 68 | profile=normal 69 | [/Rule] 70 | 71 | [Rule] 72 | name=on-low 73 | ac=on 74 | cpu_interval=0-20 75 | profile=low 76 | [/Rule] 77 | 78 | [Rule] 79 | name=off-high 80 | ac=off 81 | acpi_temperature=0-50 82 | cpu_interval=20-100 83 | profile=high 84 | [/Rule] 85 | 86 | [Rule] 87 | name=off-normal 88 | ac=off 89 | acpi_temperature=50-60 90 | cpu_interval=20-100 91 | profile=normal 92 | [/Rule] 93 | 94 | [Rule] 95 | name=off-low 96 | ac=off 97 | profile=low 98 | [/Rule] 99 | 100 | 101 | 102 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "docsy-example-site", 3 | "version": "0.8.0", 4 | "version.next": "0.8.1-dev.0-unreleased", 5 | "description": "Example site that uses Docsy theme for technical documentation.", 6 | "repository": "github:google/docsy-example", 7 | "homepage": "https://example.docsy.dev", 8 | "author": "Docsy Authors", 9 | "license": "Apache-2.0", 10 | "bugs": "https://github.com/google/docsy-example/issues", 11 | "spelling": "cSpell:ignore HTMLTEST precheck postbuild -", 12 | "scripts": { 13 | "_build": "npm run _hugo-dev --", 14 | "_check:links": "echo IMPLEMENTATION PENDING for check-links; echo", 15 | "_hugo": "hugo --cleanDestinationDir", 16 | "_hugo-dev": "npm run _hugo -- -e dev -DFE", 17 | "_local": "npx cross-env HUGO_MODULE_WORKSPACE=docsy.work", 18 | "_serve": "npm run _hugo-dev -- --minify serve", 19 | "build:preview": "npm run _hugo-dev -- --minify --baseURL \"${DEPLOY_PRIME_URL:-/}\"", 20 | "build:production": "npm run _hugo -- --minify", 21 | "build": "npm run _build -- ", 22 | "check:links:all": "HTMLTEST_ARGS= npm run _check:links", 23 | "check:links": "npm run _check:links", 24 | "clean": "rm -Rf public/* resources", 25 | "local": "npm run _local -- npm run", 26 | "make:public": "git init -b main public", 27 | "precheck:links:all": "npm run build", 28 | "precheck:links": "npm run build", 29 | "postbuild:preview": "npm run _check:links", 30 | "postbuild:production": "npm run _check:links", 31 | "serve": "npm run _serve", 32 | "test": "npm run check:links", 33 | "update:pkg:dep": "npm install --save-dev autoprefixer@latest postcss-cli@latest", 34 | "update:pkg:hugo": "npm install --save-dev --save-exact hugo-extended@latest" 35 | }, 36 | "devDependencies": { 37 | "autoprefixer": "^10.4.14", 38 | "cross-env": "^7.0.3", 39 | "hugo-extended": "0.121.1", 40 | "postcss-cli": "^11.0.0" 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /content/zh-cn/docs/installation/service/ssh-server.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "安装配置SSH服务器端" 3 | linkTitle: "SSH服务器" 4 | weight: 231 5 | date: 2021-08-26 6 | description: > 7 | 在linux mint上安装SSH服务器 8 | --- 9 | 10 | ### 安装SSH 11 | 12 | 直接apt安装,然后设置数据所在的路径。 13 | 14 | ```bash 15 | sudo apt-get install ssh 16 | ``` 17 | 18 | 安装完成之后会启动,并注册为service,以后每次开机都能自动启动,可以通过 `service ssh status` 命令查看当前状态: 19 | 20 | ```bash 21 | $ sudo service ssh status 22 | ● ssh.service - OpenBSD Secure Shell server 23 | Loaded: loaded (/lib/systemd/system/ssh.service; enabled; vendor preset: enabled) 24 | Active: active (running) since Tue 2021-08-31 03:46:10 CST; 7h left 25 | Docs: man:sshd(8) 26 | man:sshd_config(5) 27 | Process: 1192 ExecStartPre=/usr/sbin/sshd -t (code=exited, status=0/SUCCESS) 28 | Main PID: 1226 (sshd) 29 | Tasks: 1 (limit: 38038) 30 | Memory: 2.3M 31 | CGroup: /system.slice/ssh.service 32 | └─1226 sshd: /usr/sbin/sshd -D [listener] 0 of 10-100 startups 33 | 34 | 8月 31 03:46:10 skywork systemd[1]: Starting OpenBSD Secure Shell server... 35 | 8月 31 03:46:10 skywork sshd[1226]: Server listening on 0.0.0.0 port 22. 36 | 8月 31 03:46:10 skywork sshd[1226]: Server listening on :: port 22. 37 | 8月 31 03:46:10 skywork systemd[1]: Started OpenBSD Secure Shell server. 38 | ``` 39 | 40 | ### 开启防火墙 41 | 42 | 通过 ssh 命令登录,如果能登录成功,则 `service ssh status` 命令可以看到最新的登录情况: 43 | 44 | ```bash 45 | $ sudo service ssh status 46 | ...... 47 | 8月 30 19:53:15 skywork sshd[3127]: Accepted password for sky from 192.168.0.41 port 38994 ssh2 48 | 8月 30 19:53:15 skywork sshd[3127]: pam_unix(sshd:session): session opened for user sky by (uid=0) 49 | ``` 50 | 51 | 如果 ssh 命令被挂住,没有相应,则通常是因为ssh所在服务器上的防火墙开启并阻止了对22端口的访问。 52 | 53 | `ufw statue` 命令可以看到当前防火墙的状态: 54 | 55 | ```bash 56 | $ sudo ufw status 57 | 状态: 激活 58 | ``` 59 | 60 | 可以先简单的关闭防火墙进行验证: 61 | 62 | ```bash 63 | $ sudo ufw disable 64 | 在系统启动时启用和激活防火墙 65 | ``` 66 | 67 | 如果可以正常ssh登录,说明只是防火墙的问题。 68 | 69 | 也可以通过linux mint自带的防火墙应用在图形化界面上进行操作。可以设置状态为是否开启,以及在开启时通过增加Rule来容许22端口对外暴露。 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | -------------------------------------------------------------------------------- /content/zh-cn/docs/installation/service/remote-desktop.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "安装配置远程桌面连接服务" 3 | linkTitle: "远程桌面连接" 4 | weight: 233 5 | date: 2021-08-26 6 | description: > 7 | 在linux mint上安装配置远程桌面连接服务 8 | --- 9 | 10 | ## XRDP 11 | 12 | ### 安装xrdp 13 | 14 | 安装 xrdp: 15 | 16 | ```bash 17 | sudo apt install xrdp 18 | ``` 19 | 20 | 命令输出如下: 21 | 22 | ```bash 23 | sudo apt install xrdp 24 | 25 | [sudo] sky 的密码: 26 | 正在读取软件包列表... 完成 27 | 正在分析软件包的依赖关系树 28 | 正在读取状态信息... 完成 29 | 将会同时安装下列软件: 30 | xorgxrdp 31 | 建议安装: 32 | guacamole xrdp-pulseaudio-installer 33 | 下列【新】软件包将被安装: 34 | xorgxrdp xrdp 35 | 升级了 0 个软件包,新安装了 2 个软件包,要卸载 0 个软件包,有 15 个软件包未被升级。 36 | 需要下载 488 kB 的归档。 37 | 解压缩后会消耗 3,212 kB 的额外空间。 38 | 您希望继续执行吗? [Y/n] Y 39 | 获取:1 http://mirrors.dgut.edu.cn/ubuntu focal/universe amd64 xrdp amd64 0.9.12-1 [428 kB] 40 | 获取:2 http://mirrors.dgut.edu.cn/ubuntu focal/universe amd64 xorgxrdp amd64 1:0.2.12-1 [59.9 kB] 41 | 已下载 488 kB,耗时 0秒 (1,180 kB/s) 42 | 正在选中未选择的软件包 xrdp。 43 | (正在读取数据库 ... 系统当前共安装有 387220 个文件和目录。) 44 | 准备解压 .../xrdp_0.9.12-1_amd64.deb ... 45 | 正在解压 xrdp (0.9.12-1) ... 46 | 正在选中未选择的软件包 xorgxrdp。 47 | 准备解压 .../xorgxrdp_1%3a0.2.12-1_amd64.deb ... 48 | 正在解压 xorgxrdp (1:0.2.12-1) ... 49 | 正在设置 xrdp (0.9.12-1) ... 50 | 51 | Generating 2048 bit rsa key... 52 | 53 | ssl_gen_key_xrdp1 ok 54 | 55 | saving to /etc/xrdp/rsakeys.ini 56 | 57 | Created symlink /etc/systemd/system/multi-user.target.wants/xrdp-sesman.service → /lib/systemd/system/xrdp-sesman.service. 58 | Created symlink /etc/systemd/system/multi-user.target.wants/xrdp.service → /lib/systemd/system/xrdp.service. 59 | 正在设置 xorgxrdp (1:0.2.12-1) ... 60 | 正在处理用于 systemd (245.4-4ubuntu3.11) 的触发器 ... 61 | 正在处理用于 man-db (2.9.1-1) 的触发器 ... 62 | 正在处理用于 libc-bin (2.31-0ubuntu9.2) 的触发器 ... 63 | ``` 64 | 65 | 然后,有一件非常重要的事情,但很多很多教程和博客里面都没有说: 66 | 67 | ```bash 68 | echo env -u SESSION_MANAGER -u DBUS_SESSION_BUS_ADDRESS cinnamon-session>~/.xsession 69 | ``` 70 | 71 | 一定要有这个 .xsession 文件,而且内容是上面的内容,不是 `xfce4-session` 之类。否则就会出现连接成功之后黑屏然后立即断开的问题。 72 | 73 | 参考资料: 74 | 75 | - [Using RDP With Linux Mint 20 Cinnamon](https://www.rootisgod.com/2020/Using-RDP-With-Linux-Mint-20-Cinnamon/) 76 | 77 | ### 使用体验 78 | 79 | 速度超级慢,简直抓狂,我这还是局域网千兆有线网卡直接连接。 80 | 81 | ### AnyDesk 82 | 83 | https://anydesk.com/zhs/downloads/linux 84 | 85 | 试用了一下,速度很不错,图形显示效果尤佳。秒杀 xrdp ! 86 | 87 | 但可惜是商业付费产品。 88 | 89 | 90 | 91 | 92 | 93 | -------------------------------------------------------------------------------- /content/zh-cn/docs/daily/network/mount_windows_share/index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "挂载 windows 共享目录" 3 | linkTitle: "挂载 windows 共享目录" 4 | weight: 80 5 | date: 2021-08-26 6 | description: > 7 | 为了方便使用 windows 共享的目录,最好能直接 mount 进来。 8 | --- 9 | 10 | 11 | 为了方便使用 windows 共享的目录,最好能直接 mount 进来。 12 | 13 | ## 安装 14 | 15 | 需要安装 `cifs-utils`: 16 | 17 | ```bash 18 | apt-get install cifs-utils 19 | ``` 20 | 21 | ## 挂载 22 | 23 | 使用 mount 命令装载: 24 | 25 | ```bash 26 | sudo mkdir /mnt/nas/d 27 | sudo mount -t cifs -o rw,username=sky,password=***,uid=1000,gid=1000 //192.168.0.30/d/ /mnt/nas/d 28 | ``` 29 | 30 | - username 和 password 是访问 windows 共享目录需要的账户密码 31 | - rw 表示可以读写 32 | - uid和gid 可以通过 id 命令看到,设置之后mount之后的目录就可以方便当前用户直接读写访问 33 | - `//192.168.0.30/d/` 是 smb 的共享路径,可以通过 "smb://192.168.0.30/d/" 访问验证 34 | - `/mnt/nas/d` 是装载的目标路径,必须事先存在,可以在 mount 之前先创建好 35 | 36 | ## 卸载 37 | 38 | 不需要使用时,可以 umount 卸载: 39 | 40 | ```bash 41 | sudo umount /mnt/nas/d 42 | ``` 43 | 44 | ## 改进脚本 45 | 46 | 为了方便使用,避免反复输入上面的 mount 命令,一个比较常见的做法是开机自动装载。但是考虑到我的笔记本是在公司和家里移动,而两边可以 mount 的东西不一样。另外也不是每次开机都需要 mount。 47 | 48 | 因此选择了自己准备脚本,需要时手工执行。另外不想 mount 到 `/mnt/` 下,也不想 mount 为 root 账号。 49 | 50 | 最后的解决方式是,我在自己的 home 目录下建立了一个 mount 子目录,然后将需要的 mount 和 umount 脚本扔进去。需要时执行对应 mount 脚本,就将 windows 共享目录 mount 到 `/home/myid/mount` 下,而且当前用户有读写权限,使用非常方便。 51 | 52 | 以 mount-nas.sh 为例,内容如下: 53 | 54 | ```bash 55 | #!/bin/bash 56 | 57 | CURRENT=`pwd` 58 | 59 | # 我的 nas 是台普通windows电脑,共享了几个盘符 60 | NAS_FOLDERS=("d" "m" "n" "p") 61 | 62 | for nas_folder in ${NAS_FOLDERS[@]};do 63 | target_folder="$CURRENT/nas-$nas_folder" 64 | if [ ! -d "$target_folder" ]; then 65 | mkdir $target_folder 66 | echo "create folder: $target_folder" 67 | fi 68 | 69 | sudo mount -t cifs -o rw,username=sky,password=***,uid=1000,gid=1000 "//192.168.0.30/$nas_folder/" $target_folder 70 | done 71 | 72 | read -n1 -p "Press any key to exit..." 73 | ``` 74 | 75 | 同时准备了一个 umount-nas.sh 脚本,方便卸载: 76 | 77 | ```bash 78 | #!/bin/bash 79 | 80 | CURRENT=`pwd` 81 | 82 | NAS_FOLDERS=("d" "m" "n" "p") 83 | 84 | for nas_folder in ${NAS_FOLDERS[@]};do 85 | target_folder="$CURRENT/nas-$nas_folder" 86 | if [ -d "$target_folder" ]; then 87 | sudo umount $target_folder 88 | if [ $? -eq 0 ];then 89 | echo "success to umount $target_folder" 90 | else 91 | echo "fail to umount $target_folder" 92 | fi 93 | fi 94 | done 95 | 96 | read -n1 -p "Press any key to exit..." 97 | ``` -------------------------------------------------------------------------------- /content/zh-cn/docs/hardware/turn-off-screen/index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "关闭屏幕" 3 | linkTitle: "关闭屏幕" 4 | weight: 330 5 | date: 2021-08-26 6 | description: > 7 | 关闭屏幕的方式 8 | --- 9 | 10 | 11 | 12 | 最近经常从 macbook 运行 vs code 来 remote ssh 到 linux mint 主机上进行开发,遇到一个小问题:就是 linux mint 的主机屏幕如果不关闭,我就无法在 Macbook 上直接使用显示器(我的3台4k显示器分别有两组线材连接到台式机和macbook),我必须一个一个显示器去调整输入信号为macbook,非常麻烦。 13 | 14 | 解决的方法有两种。 15 | 16 | ## 闲置超时自动关闭屏幕 17 | 18 | 在 linux mint 的系统设置(system settings)中中,Power Options 选项中设置 "Turn off the screen when inactive for" ,但很遗憾最小的时间为 5分钟。 19 | 20 | 这个方式可用,单等5分钟是不能忍的。这还不如直接关机再重启呢,20秒之内可以重新启动完成。 21 | 22 | 在下面还有一个 "when the power button is pressed",在windows下可以选择关闭屏幕,但是 linux mint 里面没有关闭屏幕的选项,最多只能选 "Lock Screen"。 23 | 24 | 只能找其他的方法。 25 | 26 | ## 通过命令来关闭屏幕 27 | 28 | google了一圈,发现这个命令可以用在 linux mint上: 29 | 30 | ```bash 31 | cinnamon-screensaver-command -l; xset dpms force off; 32 | ``` 33 | 34 | 如果遇到报错: 35 | 36 | ```bash 37 | xset: unable to open display "" 38 | ``` 39 | 40 | 则需要设置 `DISPLAY` 环境变量为 `:0.0`,为了避免造成其他影响就不直接修改 .zshrc 文件了,改在命令中增加 export 内容: 41 | 42 | ```bash 43 | cinnamon-screensaver-command -l; export DISPLAY=:0.0;xset dpms force off; 44 | ``` 45 | 46 | 实测可用。 47 | 48 | ### 添加alias命令 49 | 50 | 为了方便使用,在 .zshrc 中增加 alias: 51 | 52 | ```bash 53 | alias turn-off-screens='cinnamon-screensaver-command -l;export DISPLAY=:0.0;xset dpms force off;' 54 | ``` 55 | 56 | 需要关闭屏幕时只需要执行 `turn-off-screens` 就好了。 57 | 58 | ### 添加快捷键 59 | 60 | 增加一个命令,在 `/usr/local/bin` 创建` shortcut_turn_off_screen.sh`文件, 61 | 62 | ```bash 63 | sudo vi /usr/local/bin/shortcut_turn_off_screen.sh 64 | ``` 65 | 66 | 内容为: 67 | 68 | ```bash 69 | bash -c "cinnamon-screensaver-command -l;export DISPLAY=:0.0;xset dpms force off;" 70 | ``` 71 | 72 | 记得设置可执行权限: 73 | 74 | ```bash 75 | sudo chmod +x /usr/local/bin/shortcut_turn_off_screen.sh 76 | ``` 77 | 78 | 然后在 linux mint 的 System Settings 中选择 Keyboard -> Shortcuts -> Custom Shortcuts,"add custom shortcut"。名称设置为"turn off screen",命令为: 79 | 80 | ```/usr/local/bin/shortcut_turn_off_screen.sh 81 | /usr/local/bin/shortcut_turn_off_screen.sh 82 | ``` 83 | 84 | 再分配一个快捷键,为了方便和醒目我就直接把锁屏键(也就是 super + L)用来关闭屏幕了。 85 | 86 | 直接就可以一键关闭屏幕!赞 87 | 88 | ## 参考资料 89 | 90 | - [power management - xset: unable to open display - Ask Ubuntu](https://askubuntu.com/questions/476036/xset-unable-to-open-display) 91 | - [解决xset: unable to open display ""问题_草原苍狼的博客-CSDN博客_xset: unable to open display](https://blog.csdn.net/jeffreyst_zb/article/details/8585544) 92 | - [Script to lock and turn off the screen on linux mint · GitHub](https://gist.github.com/hugomaiavieira/c4208dec84d0c7115712) 93 | - [Turn off Display - Linux Mint Forums](https://forums.linuxmint.com/viewtopic.php?t=284898) 94 | -------------------------------------------------------------------------------- /content/zh-cn/docs/daily/network/teams/index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Teams" 3 | linkTitle: "Teams" 4 | weight: 70 5 | date: 2021-08-26 6 | description: > 7 | 安装微软Teams 8 | --- 9 | 10 | 11 | 12 | ## 下载安装 13 | 14 | Teams 有支持 ubuntu 的preview 版本,直接下载 deb 文件安装即可 15 | 16 | https://www.microsoft.com/en-us/microsoft-teams/download-app 17 | 18 | Linux DEB (64-bit) 19 | 20 | ## 登录微软帐号 21 | 22 | 比较麻烦的在 ubuntu 上登录微软的帐号。 23 | 24 | ### 安装 intune app 25 | 26 | 参考文档为: 27 | 28 | https://learn.microsoft.com/en-us/mem/intune/user-help/microsoft-intune-app-linux 29 | 30 | 准备完成之后,执行: 31 | 32 | ```bash 33 | $ sudo apt install intune-portal 34 | Reading package lists... Done 35 | Building dependency tree... Done 36 | Reading state information... Done 37 | Some packages could not be installed. This may mean that you have 38 | requested an impossible situation or if you are using the unstable 39 | distribution that some required packages have not yet been created 40 | or been moved out of Incoming. 41 | The following information may help to resolve the situation: 42 | 43 | The following packages have unmet dependencies: 44 | intune-portal : Depends: libssl1.1 (>= 1.1.0) but it is not installable 45 | Depends: msalsdk-dbusclient (>= 1.0) but it is not going to be installed 46 | E: Unable to correct problems, you have held broken packages. 47 | ``` 48 | 49 | 缺少依赖包,libssl1.1 可以从这里下载: 50 | 51 | https://packages.ubuntu.com/bionic/amd64/libssl1.1/download 52 | 53 | msalsdk-dbusclient 安装时发现还缺少依赖包: 54 | 55 | ```bash 56 | sudo apt install msalsdk-dbusclient 57 | 58 | The following packages have unmet dependencies: 59 | msalsdk-dbusclient : Depends: libsdbus-c++0 (>= 0.8.3) but it is not installable 60 | ``` 61 | 62 | libsdbus-c++0 ,可以从下面的页面下载 64-bit deb package 安装: 63 | 64 | https://www.ubuntuupdates.org/package/core/focal/universe/backports/libsdbus-c%2B%2B0 65 | 66 | 再次安装 msalsdk-dbusclient: 67 | 68 | ```bash 69 | $ sudo apt install msalsdk-dbusclient 70 | 71 | Reading package lists... Done 72 | Building dependency tree... Done 73 | Reading state information... Done 74 | The following additional packages will be installed: 75 | microsoft-identity-broker microsoft-identity-diagnostics 76 | The following NEW packages will be installed: 77 | microsoft-identity-broker microsoft-identity-diagnostics msalsdk-dbusclient 78 | 0 upgraded, 3 newly installed, 0 to remove and 3 not upgraded. 79 | ...... 80 | Setting up msalsdk-dbusclient (1.0.1) ... 81 | Processing triggers for dbus (1.12.20-2ubuntu4.1) ... 82 | Processing triggers for libc-bin (2.35-0ubuntu3.1) ... 83 | ``` 84 | 85 | ### 启动 intune 86 | 87 | 按照要求: 88 | 89 | https://learn.microsoft.com/en-us/mem/intune/user-help/enroll-device-linux 90 | 91 | 遇到问题: 在 intune 登录时,输入用户名(微软邮箱)后,直接报错: 92 | 93 | ``` 94 | Terms of User Error 95 | 96 | We couldn't sign you in. Please try again, or contact your administrator. 97 | ``` 98 | 99 | 无法解决,只能放弃。 100 | 101 | -------------------------------------------------------------------------------- /content/zh-cn/docs/installation/system/font/index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "修改字体设置" 3 | linkTitle: "字体设置" 4 | weight: 50 5 | date: 2021-08-26 6 | description: > 7 | 修改Linux Mint的默认字体设置 8 | --- 9 | 10 | 11 | ### 添加微软雅黑字体 12 | 13 | 某些网站会指定使用微软雅黑字体,而 linux mint 默认不带微软雅黑字体,因此在显示上会很难看。比如 https://www.chiphell.com/ 网站的首页,指定的首选字体微软雅黑是: 14 | 15 | ![](images/no-msyh-3.jpg) 16 | 17 | 但由于缺少字体,导致使用宋体显示: 18 | 19 | ![](images/no-msyh-1.jpg) 20 | 21 | 这样的文字看起来就很累了: 22 | 23 | ![](images/no-msyh-2.jpg) 24 | 25 | 解决方式就是要添加微软雅黑字体,具体步骤: 26 | 27 | 1. 从win10系统中提取出字体文件 :一般在`c:/Windows/Fonts`目录下 28 | 29 | 2. 在linux mint 系统字体文件夹中建立对应的字体文件夹 30 | 31 | ```bash 32 | cd Windows/Fonts 33 | sudo mkdir /usr/share/fonts/msyh 34 | sudo cp msyh.ttc msyhbd.ttc msyhl.ttc /usr/share/fonts/msyh/ 35 | sudo fc-cache -fv 36 | 37 | /usr/share/fonts/msyh: 正在生成缓存,新增缓存内容:6 个字体,0 个目录 38 | ``` 39 | 40 | 3. 刷新网页:注意要让字体生效,需要关闭浏览器进程,然后重新打开,不然不会装载新增的字体 41 | 42 | 下面是增加雅黑字体之后chh的显示效果,可以和上面的图片对比: 43 | 44 | ![](images/msyh-1.jpg) 45 | 46 | ![](images/msyh-2.jpg) 47 | 48 | ### 修改默认字体为文泉微米等宽黑 49 | 50 | 文泉微米等宽黑的介绍和评价参考: 51 | 52 | - [文泉驿微米黑的评价怎样?](https://www.zhihu.com/question/19772565) 53 | 54 | 官方下载地址: 55 | 56 | http://wenq.org/wqy2/index.cgi?Download#MicroHei_Beta 57 | 58 | ubuntu可以直接用 apt-get 安装: 59 | 60 | ```bash 61 | sudo apt-get install fonts-wqy-microhei 62 | ``` 63 | 64 | 这样下载安装的是 `fonts-wqy-microhei_0.2.0-beta-3_all.deb` 版本。 65 | 66 | 也可以在这个页面手工下载deb安装包,版本是 `fonts-wqy-microhei_0.2.0-beta-3.1_all`: 67 | 68 | https://debian.pkgs.org/sid/debian-main-amd64/fonts-wqy-microhei_0.2.0-beta-3.1_all.deb.html 69 | 70 | 71 | 72 | 打开菜单-->首选项--> 选择字体,默认字体设置如下: 73 | 74 | - Default Font: Ubuntu Regular 10 75 | - Desktop Font: Ubuntu Regular 10 76 | - Document Font: Sans Regular 10 77 | - Monospace Font: DejaVu Sans Mono Book 10 78 | - Window title front: Ubutu Medium 10 79 | 80 | 一律修改成文泉驿等宽微米黑,字体大小也适当加大。 81 | 82 | - Default Font: Wenquanyi Micro Hei Regular 10 83 | - Desktop Font: Wenquanyi Micro Hei Regular 10 84 | - Document Font: Wenquanyi Micro Hei Regular 10 85 | - Monospace Font: Wenquanyi Micro Hei Mono Regular 10 86 | - Window title front: Wenquanyi Micro Hei Regular 10 87 | 88 | > 备注:如果找不到文泉驿字体,请执行 `sudo fc-cache -fv` 命令刷新字体缓存。 89 | 90 | {{% pageinfo color="primary" %}} 91 | 更换文泉驿字体后,整体界面比默认风格要好看太多了。强烈推荐! 92 | {{% /pageinfo %}} 93 | 94 | ### 移除不需要的字体 95 | 96 | 有些地方的字体会继续保留为楷体,需要在软件管理器中,找到"Fonts-arphic-ukai"和"Fonts-arphic-uming",移除这两个字体。 97 | 98 | 重新启动后,可以发现原来的一些字体比如命令行下的楷体(默认,超级丑)就变为前面设置的文泉微米等宽黑了。 99 | 100 | 备注: 101 | 102 | 1. 如果没有如上面所示设置好字体就直接删除 "Fonts-arphic-ukai"和"Fonts-arphic-uming" 这两个字体,就会出现因为字体缺失而造成的乱码现象。因为这两个字体在某些情况下是缺省字体 103 | 104 | 2. 如果安装的是英文版,会不自带这两个字体。而在安装简体中文包时会附带安装这两个字体,从而继续引发这个问题。解决的方式是在简体中文包安装完成之后再删除这两个字体。 105 | 106 | 3. 必须重启或者注销当前用户,然后重新登录,才能生效。 107 | 108 | ### 设置命令行窗口字体 109 | 110 | 打开命令行,"编辑" -> "首选项" 中勾选自定义自体,适当放大字体,默认12,可以考虑20。 111 | 112 | 字体设置为 DejaVu Sans Mono 比较好看。 113 | -------------------------------------------------------------------------------- /content/zh-cn/docs/daily/network/discord/index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "discord" 3 | linkTitle: "discord" 4 | weight: 10 5 | date: 2021-08-26 6 | description: > 7 | Linux Mint下discord的安装使用 8 | --- 9 | 10 | 11 | 12 | ### 下载 13 | 14 | https://discord.com/download 15 | 16 | ### 安装 17 | 18 | deb标准安装 19 | 20 | 21 | 22 | ### 正确的启动方式 23 | 24 | 命令行启动: 25 | 26 | ```bash 27 | $ discord --proxy-server=http://192.168.0.30:7890 28 | ``` 29 | 30 | 也可以进入目录 `/usr/share/discord`, `sudo vi discord.desktop`修改 : 31 | 32 | ```properties 33 | Exec=/usr/share/discord/Discord --proxy-server=http://192.168.0.30:7890 34 | ``` 35 | 36 | 在这里增加代理配置。之后点这个图标就能带着代理信息启动discord了。可以将这个图标拖到桌面。 37 | 38 | 但很遗憾,固定到panel时,无法生效。 39 | 40 | 41 | 42 | 参考: 43 | 44 | - https://www.nonozero.com/archives/198.html 45 | - https://xcel.me/howto-set-proxy-for-discord-app-on-linux/ 46 | 47 | 48 | 49 | ### 附录:代理问题 50 | 51 | 启动之后卡在 update 界面,估计是网络被墙了。在命令行中启动discord,可以看到日志: 52 | 53 | ```bash 54 | $ discord 55 | Discord 0.0.17 56 | Starting app. 57 | Starting updater. 58 | [Modules] Modules initializing 59 | [Modules] Distribution: remote 60 | [Modules] Host updates: enabled 61 | [Modules] Module updates: enabled 62 | [Modules] Module install path: /home/sky/.config/discord/0.0.17/modules 63 | [Modules] Module installed file path: /home/sky/.config/discord/0.0.17/modules/installed.json 64 | [Modules] Module download path: /home/sky/.config/discord/0.0.17/modules/pending 65 | [Modules] No updates to install 66 | [Modules] Checking for host updates. 67 | Error downloading with electron net: network timeout: https://discord.com/api/updates/stable?platform=linux&version=0.0.17 68 | Falling back to node net library.. 69 | [Modules] Host is up to date. 70 | [Modules] Checking for module updates at https://discord.com/api/modules/stable/versions.json 71 | Error downloading with electron net: network timeout: https://discord.com/api/modules/stable/versions.json 72 | Falling back to node net library.. 73 | ...... 74 | ``` 75 | 76 | 开启全局翻墙之后,可以顺利通过上面报错的地方,但是又会报错 77 | 78 | ```bash 79 | [WebContents] did-fail-load -200 ERR_CERT_COMMON_NAME_INVALID retry in 1000 ms 80 | (node:60932) electron: Failed to load URL: https://discordapp.com/app?_=1651047018860 with error: ERR_CERT_COMMON_NAME_INVALID 81 | (Use `discord --trace-warnings ...` to show where the warning was created) 82 | [WebContents] retrying load https://discordapp.com/app?_=1651047018860 83 | [WebContents] did-fail-load -200 ERR_CERT_COMMON_NAME_INVALID retry in 2526.0695510375936 ms 84 | (node:60932) electron: Failed to load URL: https://discordapp.com/app?_=1651047018860 with error: ERR_CERT_COMMON_NAME_INVALID 85 | [WebContents] retrying load https://discordapp.com/app?_=1651047018860 86 | [WebContents] did-fail-load -200 ERR_CERT_COMMON_NAME_INVALID retry in 4139.532933476243 ms 87 | (node:60932) electron: Failed to load URL: https://discordapp.com/app?_=1651047018860 with error: ERR_CERT_COMMON_NAME_INVALID 88 | ``` 89 | 90 | 但这个问题似乎不会影响 discord 的启动。全局翻墙之后 discord 可以正常使用。 91 | 92 | 尝试过,设置 all_proxy, http_proxy 等方式对 discord 无效。 -------------------------------------------------------------------------------- /content/zh-cn/docs/daily/editor/typora/index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Typora" 3 | linkTitle: "Typora" 4 | weight: 10 5 | date: 2021-08-26 6 | description: > 7 | 非常漂亮的一个markdown编辑器,多平台通用 8 | --- 9 | 10 | 非常漂亮的一个markdown编辑器,和haroopad的左右两栏不同,typora是直接在一个界面中进行编辑和渲染。 11 | 12 | 我选择 typera 的理由: 1. 好用 2. 同时支持windows/linux/macos 三大平台 13 | 14 | ## 安装方式 15 | 16 | https://typora.io/ 17 | 18 | 安装方式,可以直接下载 deb 安装文件: 19 | 20 | https://download.typora.io/linux/typora_1.9.3_amd64.deb 21 | 22 | 或者用 apt-get 安装: 23 | 24 | ```bash 25 | wget -qO - https://typora.io/linux/public-key.asc | sudo tee /etc/apt/trusted.gpg.d/typora.asc 26 | # add Typora's repository 27 | sudo add-apt-repository 'deb https://typora.io/linux ./' 28 | sudo apt-get update 29 | # install typora 30 | sudo apt-get install typora 31 | ``` 32 | 33 | ### 跳过某个版本 34 | 35 | 使用时发现,原本正常的typora在升级到新版本之后就不能正常使用了,工具栏无法使用。反复卸载安装并清理本地缓存无效,最后只好跳过这个最新版本。 36 | 37 | 先看有哪些版本可选: 38 | 39 | ```bash 40 | apt-cache madison typora 41 | typora | 0.11.6-1 | https://typora.io/linux ./ Packages 42 | typora | 0.11.2-1 | https://typora.io/linux ./ Packages 43 | typora | 0.10.11-1 | https://typora.io/linux ./ Packages 44 | typora | 0.9.98-1 | https://typora.io/linux ./ Packages 45 | ``` 46 | 47 | 出问题的是最新的 0.11.6-1 版本,因此选择安装 0.11.2-1: 48 | 49 | ```bash 50 | sudo apt install typora=0.11.2-1 51 | ``` 52 | 53 | 然后就恢复正常了。 54 | 55 | > 后续更新:第二天这个有问题的版本就被下线了。 56 | 57 | 参考: 58 | 59 | - [Ubuntu通过apt-get安装指定版本和查询指定软件有多少个版本](https://www.cnblogs.com/EasonJim/p/7144017.html) 60 | 61 | ## 配置字体 62 | 63 | Linux 下 typora 的字体不是太好看,而且字体是通过主题来设置的,并不能通过系统或者 typora来设置。 64 | 65 | 这意味着如果要修改字体,则需要去修改主题文件。 66 | 67 | 不过,typora 给了一个 "添加自定义css" 的方案,可以简单的搞定这个问题。 68 | 69 | 打开主题所在的目录,如 `/home/sky/.config/Typora/themes` ,新建一个 `base.user.css` 文件, 70 | 71 | ```bash 72 | vi /home/sky/.config/Typora/themes/base.user.css 73 | ``` 74 | 75 | 如果安装语言是中文,则内容为: 76 | 77 | ```css 78 | body { 79 | font-family: "文泉驿等宽微米黑"; 80 | } 81 | 82 | html, 83 | body, 84 | button, 85 | input, 86 | select, 87 | textarea { 88 | font-family: "文泉驿等宽微米黑"; 89 | } 90 | 91 | h1, 92 | h2, 93 | h3, 94 | h4, 95 | h5, 96 | h6 { 97 | font-family: "文泉驿等宽微米黑"; 98 | } 99 | 100 | pre, 101 | code, 102 | kbd, 103 | tt, 104 | var { 105 | font-family: "文泉驿等宽微米黑"; 106 | } 107 | ``` 108 | 109 | 如果linux mint安装时选择的是英文版本而不是中文版本,则需要设置为: 110 | 111 | ```css 112 | body { 113 | font-family: "WenQuanYi Micro Hei Mono Regular"; 114 | } 115 | 116 | html, 117 | body, 118 | button, 119 | input, 120 | select, 121 | textarea { 122 | font-family: "WenQuanYi Micro Hei Mono Regular"; 123 | } 124 | 125 | h1, 126 | h2, 127 | h3, 128 | h4, 129 | h5, 130 | h6 { 131 | font-family: "WenQuanYi Micro Hei Mono Regular"; 132 | } 133 | 134 | pre, 135 | code, 136 | kbd, 137 | tt, 138 | var { 139 | font-family: "WenQuanYi Micro Hei Mono Regular"; 140 | } 141 | ``` 142 | 143 | 这样就能修改所有主题的默认字体。 144 | 145 | 参考: 146 | 147 | - [Add Custom CSS](https://support.typora.io/Add-Custom-CSS/) 148 | 149 | -------------------------------------------------------------------------------- /content/zh-cn/docs/hardware/cpufreqd/images/cpufreqd-original.conf: -------------------------------------------------------------------------------- 1 | # this is a comment 2 | # see CPUFREQD.CONF(5) manpage for a complete reference 3 | # 4 | # Note: ondemand/conservative Profiles are disabled because 5 | # they are not available on many platforms. 6 | 7 | [General] 8 | pidfile=/var/run/cpufreqd.pid 9 | poll_interval=2 10 | verbosity=4 11 | #enable_remote=1 12 | #remote_group=root 13 | [/General] 14 | 15 | #[acpi] 16 | #acpid_socket=/var/run/acpid.socket 17 | #[/acpi] 18 | 19 | #[nforce2_atxp1] 20 | #vcore_path=/some/path 21 | #vcore_default=1500 22 | #[/nforce2_atxp1] 23 | 24 | #[sensors_plugin] 25 | #sensors_conf=/some/file 26 | #[/sensors_plugin] 27 | 28 | #[Profile] 29 | #name=On Demand High 30 | #minfreq=40% 31 | #maxfreq=100% 32 | #policy=ondemand 33 | #[/Profile] 34 | # 35 | #[Profile] 36 | #name=On Demand Low 37 | #minfreq=20% 38 | #maxfreq=80% 39 | #policy=ondemand 40 | #[/Profile] 41 | 42 | [Profile] 43 | name=Performance High 44 | minfreq=100% 45 | maxfreq=100% 46 | policy=performance 47 | #exec_post=echo 8 > /proc/acpi/sony/brightness 48 | [/Profile] 49 | 50 | [Profile] 51 | name=Performance Low 52 | minfreq=80% 53 | maxfreq=80% 54 | policy=performance 55 | [/Profile] 56 | 57 | [Profile] 58 | name=Powersave High 59 | minfreq=60% 60 | maxfreq=60% 61 | policy=powersave 62 | [/Profile] 63 | 64 | [Profile] 65 | name=Powersave Low 66 | minfreq=40% 67 | maxfreq=40% 68 | policy=powersave 69 | [/Profile] 70 | 71 | #[Profile] 72 | #name=Conservative High 73 | #minfreq=33% 74 | #maxfreq=100% 75 | #policy=conservative 76 | #[/Profile] 77 | # 78 | #[Profile] 79 | #name=Conservative Low 80 | #minfreq=0% 81 | #maxfreq=66% 82 | #policy=conservative 83 | #[/Profile] 84 | 85 | ## 86 | # Basic states 87 | ## 88 | # when AC use performance mode 89 | [Rule] 90 | name=AC Rule 91 | ac=on # (on/off) 92 | profile=Performance High 93 | [/Rule] 94 | 95 | # stay in performance mode for the first minutes 96 | [Rule] 97 | name=AC Off - High Power 98 | ac=off # (on/off) 99 | battery_interval=70-100 100 | #exec_post=echo 5 > /proc/acpi/sony/brightness 101 | profile=Performance Low 102 | [/Rule] 103 | 104 | # conservative mode when not AC 105 | [Rule] 106 | name=AC Off - Medium Battery 107 | ac=off # (on/off) 108 | battery_interval=30-70 109 | #exec_post=echo 3 > /proc/acpi/sony/brightness 110 | profile=Powersave High 111 | [/Rule] 112 | 113 | # conservative mode when not AC 114 | [Rule] 115 | name=AC Off - Low Battery 116 | ac=off # (on/off) 117 | battery_interval=0-30 118 | #exec_post=echo 3 > /proc/acpi/sony/brightness 119 | profile=Powersave Low 120 | [/Rule] 121 | 122 | ## 123 | # Special Rules 124 | ## 125 | # CPU Too hot! 126 | [Rule] 127 | name=CPU Too Hot 128 | acpi_temperature=55-100 129 | cpu_interval=50-100 130 | profile=Performance Low 131 | [/Rule] 132 | 133 | # use performance mode if I'm watching a movie 134 | # I don't care for batteries! 135 | # But don't heat too much. 136 | [Rule] 137 | name=Movie Watcher 138 | programs=xine,mplayer,gmplayer 139 | battery_interval=0-100 140 | acpi_temperature=0-60 141 | cpu_interval=0-100 142 | profile=Performance High 143 | [/Rule] 144 | 145 | -------------------------------------------------------------------------------- /content/zh-cn/docs/daily/tool/shutter/index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "截图软件Shutter" 3 | linkTitle: "Shutter" 4 | weight: 30 5 | date: 2021-08-26 6 | description: > 7 | shutter是linux下非常好用的一款截图软件,功能强大。 8 | --- 9 | 10 | ## 介绍 11 | 12 | https://shutter-project.org/ 13 | 14 | Shutter是一个功能丰富的屏幕截图程序,适用于基于Linux的操作系统,如Ubuntu。你可以对一个特定的区域、窗口、整个屏幕,甚至是一个网站进行截图--对其应用不同的效果,在上面画画以突出重点,然后上传到图片托管网站,所有这些都在一个窗口内完成。Shutter是免费的,开源的,并在GPL v3下许可。 15 | 16 | ### 截图 17 | 18 | Shutter允许你捕捉屏幕上的几乎任何东西,而不会失去对屏幕截图的控制(标签式界面)。下面是你可以用Shutter做的事情的概述。 19 | 20 | - 捕捉特定区域 21 | 22 | 这允许你在屏幕上选择一个任意的区域,只捕捉那些你真正需要的部分。屏幕可以被放大,所选区域可以被调整大小或移动。 23 | 24 | - 捕捉桌面 25 | 26 | Shutter不仅可以捕获你桌面(或工作区)上的所有内容,它还支持多显示器设置,例如,捕获活动显示器。 27 | 28 | - 捕捉窗口 29 | 30 | 只需用鼠标选择你要捕捉的窗口。Shutter会以一种吸引人的、有用的方式突出显示当前选择的窗口。甚至可以简单地从列表中选择一个窗口,并以某种方式捕获它。 31 | 32 | - 捕获菜单或工具提示 33 | 34 | 用Shutter捕捉菜单或工具提示是非常容易的。你选择其中一个选项,一个(用户定义的)倒计时就开始了。在这段时间里,你可以打开所需的菜单或让一个特定的工具提示出现。Shutter会识别并捕获它。 35 | 36 | - 捕获网站 37 | 38 | Shutter使用 gnome-web-photo 来捕获一个网站,而无需打开浏览器窗口 39 | 40 | ### 编辑 41 | 42 | 尤其是当你为编写教程或手册而拍摄屏幕截图时,你需要对图片进行编辑,例如突出显示其中的某些部分。有了Shutter,你就不需要打开像GIMP这样的外部图形编辑器了,因为Shutter有自己的内置编辑器。以下是一些最重要的功能: 43 | 44 | - 添加文本、箭头、矩形、椭圆......。 45 | 46 | 内置编辑器允许你为你的截图添加基元(如矩形、直线等)、箭头或文本。每个形状都可以通过改变颜色、字体和/或线宽来定制。 47 | 48 | - 审查/像素化以隐藏私人数据 49 | 50 | 不想显示IP或电子邮件地址等敏感数据?Shutter为你提供了两个简单而有效的工具来隐藏这些数据。 51 | 52 | - 自动增加形状 53 | 在编写分步指南时,人们经常会在屏幕截图中添加递增的数字(通常是通过文字)。Shutter提供了一个特定的自动递增形状,可以添加到截图中。这再简单不过了! 54 | 55 | - 裁剪 56 | 57 | 内置的编辑器还包括裁剪屏幕截图的工具。只需用鼠标选择一个区域,或者在输入框中输入所需的尺寸。 58 | 59 | ## 安装 60 | 61 | 最新的版本需要通过 PPA 方式来安装: 62 | 63 | ```bash 64 | sudo add-apt-repository ppa:linuxuprising/shutter 65 | sudo apt-get update 66 | sudo apt install shutter 67 | ``` 68 | 69 | 参考: 70 | 71 | - [New Shutter PPA For Ubuntu 21.04, 20.10, 20.04 And 18.04 | Linux Mint 20.x And 19.x](https://www.linuxuprising.com/2018/10/shutter-removed-from-ubuntu-1810-and.html) 72 | 73 | ### 配套软件包 74 | 75 | gnome-web-photo 包让shutter能够抓取完整的网站页面: 76 | 77 | ```bash 78 | sudo apt install gnome-web-photo 79 | ``` 80 | 81 | 使用时点击shutter界面上的 "网页" ,然后输入 URL 就可以截图。 82 | 83 | > TBD: Unable to locate package gnome-web-photo 最近报错无法安装 84 | 85 | ## 设置 86 | 87 | ### 图片导出格式 88 | 89 | 打开 shutter,菜单中点 "首选项" --> "主要"。 90 | 91 | 图片格式中,默认时png格式,文件大小会稍微嫌大,可以设置为 jpg 格式,然后图片质量设置为 80%. 92 | 93 | ## 截图 94 | 95 | ### 快捷键截图 96 | 97 | 参考:https://shutter-project.org/faq-help/set-shutter-as-the-default-screenshot-tool 98 | 99 | *System* *Settings* => Keyboard => shortcuts => custom shortcuts => add custom shortcuts 100 | 101 | Name 设置为 shutter, command 设置为 `shutter -s`,然后设置快捷键,比如 `print screem` 键。 102 | 103 | 在按下截图快捷键,如我们上面设置的 `print screem` 键后,再点一下鼠标左键,就可以开始截图了。 104 | 105 | - 选择截图区域: 按住鼠标左键拖动矩形区域,适当调整大小和位置,回车确认 106 | - 放大/缩小:用鼠标滚轮对鼠标所在位置附近的屏幕进行放大/缩小 107 | 108 | ### 界面截图 109 | 110 | 在打开 shutter 界面后,通过界面上的按钮也可以方便的截图: 111 | 112 | - selection:选择截图区域 113 | - Desktop: 选择要截图的桌面,直接点是截取 workspace1 下的所有屏幕,也可以选择其他 workspace。多屏时如果只想截取一个屏幕,可以勾选 "Limit to current Monitor",但我测试下来只能截取三个屏幕中中间的一个(主屏幕)。发现另外一个方便的方法,就是选windows时,点击在屏幕上没有任何窗口的地方。 114 | - Windows:选择要截图的窗口,直接在下列框中选择有时会报错,比较方便的方式是点击Windows按钮后,再去点击要截图的窗口。 115 | 116 | 可以参考官方的截图教学视频: 117 | 118 | https://shutter-project.org/screenshots/screencasts/ 119 | -------------------------------------------------------------------------------- /content/zh-cn/docs/hardware/cpufreqd/index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "[归档]Cpufreqd" 3 | linkTitle: "[归档]Cpufreqd" 4 | weight: 339 5 | date: 2021-08-26 6 | description: > 7 | Cpufreqd 是 Linux 下的CPU频率调节工具 8 | --- 9 | 10 | {{% pageinfo color="primary" %}} 11 | 归档说明:已经很久没有在笔记本上折腾linux了,台式机没必要。 12 | {{% /pageinfo %}} 13 | 14 | 折腾 linux mint 的时候,发现linux系统节能方面表现不太好. 后来找到了cpufreqd这个工具, 使用后发现非常好用,可以自定义规则来满足各种情况下的cpu设定, 极度灵活。 15 | 16 | 叹为观止, 在 cpu 频率调整方面堪称神器,强烈推荐给笔记本用户. 17 | 18 | ## 安装 19 | 20 | linux mint 中发现直接用软件管理器安装,不用添加ppa。 21 | 22 | "开始菜单" -> "系统管理" -> "软件管理器",搜索 `cpufreqd`: 23 | 24 | ![](images/cpufreqd_search.jpg) 25 | 26 | 直接安装即可。 27 | 28 | ## 配置 29 | 30 | ### 设置配置文件 31 | 32 | cpufreqd 的精髓在于它可以通过配置文件来定制行为, 下面可以看到cpufreqd启动时时读取/etc/cpufreqd.conf中的配置信息: 33 | 34 | ```bash 35 | $ ps -ef | grep cpu 36 | root 1910 1 0 14:19 ? 00:00:01 /usr/sbin/cpufreqd -f /etc/cpufreqd.conf 37 | ``` 38 | 39 | cpufreqd.conf详细的配置文档说明请见下文(英文版): [cpufreqd.conf - configuration file for cpufreqd](http://manpages.ubuntu.com/manpages/natty/man5/cpufreqd.conf.5.html). 40 | 41 | ### 开机自启动 42 | 43 | cpufreqd 是一个命令行工具,因此开机自启动需要手工添加。 44 | 45 | "开始菜单" -> "首选项" -> "开机自启动程序",如图添加: 46 | 47 | ![](images/auto_start_cpufreqd.jpg) 48 | 49 | ## 定制方案 50 | 51 | ### 注意事项 52 | 53 | 在使用 cpufreqd 调节时,最好能实时查看 linux 的系统日志,如果调节不成功,则系统日志中会有错误信息。 54 | 55 | ```bash 56 | tail -f /var/log/syslog 57 | ``` 58 | 59 | 然后通过 conky 等工具实时查看 cpu 频率,可以知道是否调整符合预期。 60 | 61 | 常见的几个问题: 62 | 63 | 1. policy 的支持,一般只支持到 performance 和 powersave 两种,如果设置为ondemand可能会报错 64 | 2. cpu频率设置的太低,如果超过cpu物理支持的最低频率,也会报错 65 | 3. rule名字重名 66 | 67 | ### 我的定制方案 68 | 69 | 下面是我给自己定制的cpu频率设置,给笔记本用的: 70 | 71 | ```bash 72 | [Rule] 73 | name=on-high 74 | ac=on 75 | acpi_temperature=0-50 76 | cpu_interval=20-100 77 | profile=high 78 | [/Rule] 79 | 80 | [Rule] 81 | name=on-normal 82 | ac=on 83 | acpi_temperature=50-60 84 | cpu_interval=20-100 85 | profile=normal 86 | [/Rule] 87 | 88 | [Rule] 89 | name=on-low 90 | ac=on 91 | cpu_interval=0-20 92 | profile=low 93 | [/Rule] 94 | 95 | [Rule] 96 | name=off-high 97 | ac=off 98 | acpi_temperature=0-50 99 | cpu_interval=20-100 100 | profile=high 101 | [/Rule] 102 | 103 | [Rule] 104 | name=off-normal 105 | ac=off 106 | acpi_temperature=50-60 107 | cpu_interval=20-100 108 | profile=normal 109 | [/Rule] 110 | 111 | [Rule] 112 | name=off-low 113 | ac=off 114 | profile=low 115 | [/Rule] 116 | ``` 117 | 118 | 台式机的配置就要简单一些: 119 | 120 | ```bash 121 | [Rule] 122 | name=high 123 | acpi_temperature=0-50 124 | cpu_interval=5-100 125 | profile=high 126 | [/Rule] 127 | 128 | [Rule] 129 | name=normal 130 | acpi_temperature=50-80 131 | cpu_interval=5-100 132 | profile=normal 133 | [/Rule] 134 | 135 | [Rule] 136 | name=low 137 | cpu_interval=0-5 138 | profile=low 139 | [/Rule] 140 | ``` 141 | 142 | ### 配置文件参考 143 | 144 | 下面是默认配置文件和我定制的配置文件,仅供参考: 145 | 146 | - [我的定制配置文件 - 笔记本电脑](images/cpufreqd-laptop.conf) 147 | - [我的定制配置文件 - 台式机](images/cpufreqd-server.conf) 148 | - [默认的配置文件](images/cpufreqd-original.conf) 149 | 150 | ## 更多功能 151 | 152 | 看到配置中支持针对某些应用做特殊设置, 比如默认配置中有这个例子: 153 | 154 | ```bash 155 | # use performance mode if I'm watching a movie 156 | # I don't care for batteries! 157 | # But don't heat too much. 158 | [Rule] 159 | name=Movie Watcher 160 | programs=xine,mplayer,gmplayer 161 | battery_interval=0-100 162 | acpi_temperature=0-60 163 | cpu_interval=0-100 164 | profile=Performance High 165 | [/Rule] 166 | ``` 167 | 168 | 以后考虑针对自己的实际情况再做调整, 感觉 programs 这个参数可以增加很多的想象空间 :) 169 | 170 | 171 | 172 | -------------------------------------------------------------------------------- /content/zh-cn/docs/installation/hardware/intel_graph/index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "[归档]Intel显卡驱动安装" 3 | linkTitle: "[归档]Intel显卡" 4 | weight: 219 5 | date: 2021-08-26 6 | description: > 7 | 介绍Linux Mint下Intel显卡的驱动安装 8 | --- 9 | 10 | {{% pageinfo color="primary" %}} 11 | 归档说明:最近没有用Intel集成显卡 12 | {{% /pageinfo %}} 13 | 14 | > 备注:这是Linux Mint 18下的内容,Linux Mint 19尚未更新,按说19的内核版本已经是4.15了,应该不会有这些问题。 15 | 16 | 虽说 linux mint 默认自带了 intel 集成显卡驱动,不过从实际使用情况看,这个驱动在节能方面表现应该不好。对比 windows 系统,在发热和续航时间上差距明显。 17 | 18 | 一般的intel集成显卡,可以采用常规方式,使用intel graphics update tool进行驱动安装。对于新一点的硬件,比如7代和8代cpu集成的hd 630等intel显卡的安装则更复杂一些。 19 | 20 | > 备注: 验证过8代cpu i7 8700带的HD 630显卡(代号i915)必须通过第二种方式安装,intel graphics update tool完全无效。 21 | 22 | ## 常规方式:使用intel graphics update tool 23 | 24 | 官方会指向下面的开源社区网站,支持 ubuntu 16.04 的最新驱动是 v2.0.2 : 25 | 26 | https://01.org/zh/linuxgraphics/downloads/intel-graphics-update-tool-linux-os-v2.0.2 27 | 28 | 下载64位版本 `intel-graphics-update-tool_2.0.2_amd64.deb`。 29 | 30 | > 注:这个网站最近报错无法访问。 31 | 32 | 或者从这里下载: 33 | 34 | https://download.01.org/gfx/ubuntu/16.04/main/pool/main/i/intel-graphics-update-tool/ 35 | 36 | ### 安装intel graphics update tool 37 | 38 | linux mint 在安装 intel 更新工具时,需要修改发行版本的信息,否者会无法安装。参考下文: 39 | 40 | https://unix.stackexchange.com/questions/315049/cannot-install-intel-graphics-driver-on-linux-mint-18 41 | 42 | 修改修改 `/etc/lsb-release` 文件,将 linuxmint 信息修改回 ubuntu: 43 | 44 | ```bash 45 | #DISTRIB_ID=LinuxMint 46 | #DISTRIB_RELEASE=18 47 | #DISTRIB_CODENAME=sarah 48 | #DISTRIB_DESCRIPTION="Linux Mint 18 Sarah" 49 | DISTRIB_ID=Ubuntu 50 | DISTRIB_RELEASE=16.04 51 | DISTRIB_CODENAME=xenial 52 | DISTRIB_DESCRIPTION="Ubuntu 16.04 LTS" 53 | ``` 54 | 55 | 保存后退出。然后更新。 56 | 57 | ```bash 58 | sudo apt-get update 59 | ``` 60 | 61 | 然后继续安装。安装完成之后再将 `/etc/lsb-release` 文件恢复: 62 | 63 | ```bash 64 | DISTRIB_ID=LinuxMint 65 | DISTRIB_RELEASE=18 66 | DISTRIB_CODENAME=sarah 67 | DISTRIB_DESCRIPTION="Linux Mint 18 Sarah" 68 | #DISTRIB_ID=Ubuntu 69 | #DISTRIB_RELEASE=16.04 70 | #DISTRIB_CODENAME=xenial 71 | #DISTRIB_DESCRIPTION="Ubuntu 16.04 LTS" 72 | ``` 73 | 74 | ### 更新系统 75 | 76 | ```bash 77 | wget --no-check-certificate https://download.01.org/gfx/RPM-GPG-KEY-ilg-4 -O - | sudo apt-key add - 78 | sudo apt update && sudo apt full-upgrade 79 | ``` 80 | 81 | ### 安装驱动 82 | 83 | 在应用中找到 intel update tool,开始安装。 84 | 85 | > 备注:如果遇到网络问题,尝试翻墙 86 | 87 | ![](images/Intel-Graphics-Update-Tool.png) 88 | 89 | ## 开源 90 | 91 | 以下以Linux Mint 18.3为例,安装intel 8代CPU i7 8700自带的intel hd 630显卡驱动。步骤如下: 92 | 93 | 1. 安装操作系统之后,进入桌面系统提示当前处于软件渲染,性能不好,cpu占用高。然后会发现显卡驱动没有安装,屏幕分辨率无法设置。 94 | 2. 首先,更新系统,通过更新管理器,将可以更新的内容都更新下来,包括linux kernel 95 | 3. 特别注意linux kernel的选择 96 | 97 | * Linux mint 18.3默认带的linux内核是4.10,这个内核是无法支持hd 630的,必须更新。 98 | * 用更新管理器更新下来的内核是linux 4.13.38,这个是ubuntu 17.10版本使用的内核,比较稳定。 99 | 100 | * 用更新管理器列出可选内核时,还会看到非常新的4.15内核。这个内核验证过,如果没有更新intel显卡驱动就直接安装,会在启动时黑屏无法使用。在用下面的方式安装好驱动之后,可以正常工作。不过4.15内核实在太新,为了避免麻烦,还是建议选择比较稳定的4.13.38内核。 101 | 102 | 4. 重启机器,此时使用的内核版本是4.13.38 103 | 5. 添加ppa仓库 104 | 105 | ```bash 106 | sudo add-apt-repository ppa:oibaf/graphics-drivers 107 | sudo apt-get update 108 | ``` 109 | 110 | 6. 再次使用更新管理器,此时刷新后会看到有新的可更新内容: 111 | 112 | ![](images/refresh.png) 113 | 114 | 选择全部进行安装。 115 | 116 | 7. 设置Grub参数,增加"i915.alpha_support=1" 117 | 118 | 设置的方式有两种,可以手工通过命令行设置: 119 | 120 | 打开`/etc/default/grub`, 找到`GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"`这行,修改为`GRUB_CMDLINE_LINUX_DEFAULT="i915.alpha_support=1 quiet splash"`, 保存。然后执行`sudo update-grub`命令让参数生效。 121 | 122 | 也可以通过Grub Customizer这个图形工具来设置: 123 | 124 | 首先安装grub-customizer: 125 | 126 | ```bash 127 | sudo add-apt-repository ppa:danielrichter2007/grub-customizer 128 | sudo apt update 129 | sudo apt install grub-customizer 130 | ``` 131 | 132 | 然后启动grub customizer,在General tab下,找到Kernel Parameters,加入`i915.alpha_support=1`,保存即可。 133 | 134 | ![](images/kernel-parameters.png) 135 | 136 | 8. 重新启动,此时显卡驱动就应该安装完成可以使用了。 137 | 138 | ### 备注 139 | 140 | 从安装的过程看,这个方式应该也可以用来安装amd和ati显卡驱动,后续有机会再试试。 141 | 142 | 从简单好用来说,linux下使用nvidia显卡是最省事省心的方案。 143 | -------------------------------------------------------------------------------- /content/zh-cn/docs/installation/hardware/mount_windows_disk/index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Linux Mint下挂载Windows盘符" 3 | linkTitle: "挂载Windows盘符" 4 | weight: 214 5 | date: 2021-08-26 6 | description: > 7 | 介绍Linux Mint下挂载Windows盘符的方式 8 | --- 9 | 10 | 安装linux、windows双操作系统时,可以在linux下直接挂载windows的盘符,这样可以访问windows下的文件系统,非常方便。 11 | 12 | 新版本的ubuntu16.04、Linux mint 18都已经内置了ntfs的支持,只需要简单挂载就好。最方便的方式是在开机时自动挂载。 13 | 14 | ## 只读挂载 15 | 16 | 如果只是要求读取文件,不要求写入,则非常简单。开机自动执行 udisksctl 命令即可解决问题。 17 | 18 | ### 设置开机自动挂载 19 | 20 | 在开机自启动程序中,增加一个开机启动项,命令为: 21 | 22 | ```bash 23 | udisksctl mount -p block_devices/nvme0n1p4 24 | ``` 25 | 26 | ![](images/auto_mount_ntfs.jpg) 27 | 28 | ### 解决无法装载的问题 29 | 30 | 如果windows在关机时进行了休眠,则无法装载,报错如下: 31 | 32 | ```bash 33 | Error mounting /dev/nvme0n1p4 at /media/sky/win10: Command-line `mount -t "ntfs" -o "uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000" "/dev/nvme0n1p4" "/media/sky/win10"' exited with non-zero exit status 14: Windows is hibernated, refused to mount. 34 | Failed to mount '/dev/nvme0n1p4': 不允许的操作 35 | The NTFS partition is in an unsafe state. Please resume and shutdown 36 | Windows fully (no hibernation or fast restarting), or mount the volume 37 | read-only with the 'ro' mount option. 38 | ``` 39 | 40 | 解决这个问题的最好方式是消除休眠状态。一般重新启动到windows下,然后再次重启进linux,就OK。 41 | 42 | 前提是已经关闭了windows的快速启动功能,不然还会继续报同样错误。关闭快速启动的办法是进入windows,在控制面板 -> 电源管理中,选择关闭盖子的功能,点击"不能更改的选项",去掉快速启动的勾选。 43 | 44 | 但偶尔还是会遇到即使上面的事情都做好了,依然还是继续报错说"Windows is hibernated"。 45 | 46 | 此时需要想办法删除windows盘符上的休眠文件`hiberfil.sys`,具体作法是在linux中执行命令: 47 | 48 | ```bash 49 | sudo mkdir /media/sky/win10 50 | sudo ntfs-3g -o remove_hiberfile /dev/nvme0n1p4 /media/sky/win10 51 | ``` 52 | 53 | 最恶劣的情况是,windows在即使关闭快速启动功能的情况下也还是会继续生成休眠文件,非常不可理喻。解决的方式是彻底关闭windows的休眠功能。以管理员权限启动命令行,执行命令: 54 | 55 | ```bash 56 | powercfg /h off 57 | ``` 58 | 59 | ### 参考资料 60 | 61 | - [How to Do a Full Shutdown in Windows 8 Without Disabling Hybrid Boot](https://www.howtogeek.com/129021/how-to-do-a-full-shutdown-in-windows-8-without-disabling-hybrid-boot/) 62 | - [How to mount Windows (NTFS) filesystem due to hibernation](https://wiki.manjaro.org/How_to_mount_Windows_(NTFS)_filesystem_due_to_hibernation): 这篇讲的很详细 63 | 64 | ## 读写挂载 65 | 66 | 如果要求有写入权限,则推荐直接修改 `/etc/fstab` 文件。 67 | 68 | ```bash 69 | sudo vi /etc/fstab 70 | ``` 71 | 72 | 加入以下内容: 73 | 74 | ```bash 75 | /dev/nvme0n1p6 /media/d ntfs-3g user,auto,rw,dev,exec,suid,async,utf8,dmask=000,fmask=111 0 0 76 | ``` 77 | 78 | 其中 `/dev/nvme0n1p6` 是要挂载的 windows ntfs 盘符。可以通过 79 | 80 | ```bash 81 | sudo fdisk -l 82 | ``` 83 | 84 | 查看 device 名称: 85 | 86 | ```bash 87 | Disk /dev/nvme0n1: 3.49 TiB, 3840755982336 bytes, 7501476528 sectors 88 | Disk model: KCD61LUL3T84 89 | Units: sectors of 1 * 512 = 512 bytes 90 | Sector size (logical/physical): 512 bytes / 4096 bytes 91 | I/O size (minimum/optimal): 4096 bytes / 4096 bytes 92 | Disklabel type: gpt 93 | Disk identifier: FBEFBE02-9843-4FEC-8B2C-C50B5EAD8069 94 | 95 | Device Start End Sectors Size Type 96 | /dev/nvme0n1p1 2048 206847 204800 100M EFI System 97 | /dev/nvme0n1p2 206848 239615 32768 16M Microsoft reserved 98 | /dev/nvme0n1p3 239616 1047643943 1047404328 499.4G Microsoft basic data 99 | /dev/nvme0n1p4 1047644160 1048813567 1169408 571M Windows recovery environment 100 | /dev/nvme0n1p5 1048815616 2097391615 1048576000 500G Microsoft basic data 101 | /dev/nvme0n1p6 2097391616 7340271615 5242880000 2.4T Microsoft basic data 102 | /dev/nvme0n1p7 7340271616 7501475839 161204224 76.9G Microsoft basic data 103 | ``` 104 | 105 | 或者用 uuid 来指定要挂载的盘符,执行 106 | 107 | ```bash 108 | sudo lsblk -f 109 | ``` 110 | 111 | 来查看各个盘符的 uuid: 112 | 113 | ```bash 114 | NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINTS 115 | nvme0n1 116 | ├─nvme0n1p1 vfat FAT32 900E-C1BF 64.9M 32% /boot/efi 117 | ├─nvme0n1p2 118 | ├─nvme0n1p3 ntfs DA58F6BA58F6948B 119 | ├─nvme0n1p4 ntfs 9AAA6103AA60DD6F 120 | ├─nvme0n1p5 ext4 1.0 9f09256f-e5b1-4aa2-894f-bb77605d58dc 358.5G 22% / 121 | ├─nvme0n1p6 ntfs data 2E3236E83236B4A5 1.5T 37% /media/d 122 | └─nvme0n1p7 ext4 1.0 00b99ea7-c250-40af-b07e-3b2378c830cf 11.8G 79% /timeshift 123 | ``` 124 | 125 | 然后类似的修改 `/etc/fstab` 文件: 126 | 127 | ```bash 128 | UUID=2E3236E83236B4A5 /media/d ntfs-3g user,auto,rw,dev,exec,suid,async,utf8,dmask=000,fmask=111 0 0 129 | ``` 130 | 131 | 如果遇到依然没有权限写入,则有可能是该 windows ntfs 盘符有问题,可以先进入 windows,用磁盘工具检查一遍这个盘符。之后重启进入 linux 应该就可以写入了。 132 | -------------------------------------------------------------------------------- /content/zh-cn/docs/installation/theme/whitesur.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "WhiteSur主题" 3 | linkTitle: "WhiteSur" 4 | weight: 222 5 | date: 2021-08-27 6 | description: > 7 | 模仿Macos 11 Big Sur的WhiteSur主题 8 | --- 9 | 10 | ## 介绍 11 | 12 | - https://github.com/vinceliuice/WhiteSur-gtk-theme:主题作者的github 13 | 14 | ![](https://github.com/vinceliuice/WhiteSur-gtk-theme/raw/pictures/pictures/macbook.png) 15 | 16 | WhiteSur 主题的安装可以有自动和手工两种方式。 17 | 18 | ## 自动安装 19 | 20 | 利用 WhiteSur 提供的安装脚本进行安装。 21 | 22 | ### 安装 WhiteSur Gtk Theme 23 | 24 | github 仓库地址: https://github.com/vinceliuice/WhiteSur-gtk-theme 25 | 26 | 将仓库克隆到本地,然后通过 `install.sh` 脚本进行安装: 27 | 28 | ```bash 29 | git clone https://github.com/vinceliuice/WhiteSur-gtk-theme.git --depth=1 30 | cd WhiteSur-gtk-theme 31 | ./install.sh 32 | ``` 33 | 34 | 安装完成之后,就可以打开 "首选项" -> "主题",在 "应用程序" 和 "桌面" 中找到 WhiteSur-Dark/WhiteSur-Dark-solid/WhiteSur-Light/WhiteSur-Light-solid 四个选项。按照自己喜欢选择即可,我一般选 WhiteSur-Dark-solid。 35 | 36 | ### 安装 WhiteSur icon 37 | 38 | 这是 WhiteSur 用到的图标。 39 | 40 | github 仓库地址: https://github.com/vinceliuice/WhiteSur-icon-theme 41 | 42 | 将仓库克隆到本地,然后通过 `install.sh` 脚本进行安装: 43 | 44 | ```bash 45 | git clone https://github.com/vinceliuice/WhiteSur-icon-theme.git 46 | cd WhiteSur-icon-theme 47 | ./install.sh -b 48 | ``` 49 | 50 | 安装完成之后,就可以打开 "首选项" -> "主题",在 "图表" 中找到 WhiteSur/WhiteSur-Dark/WhiteSur-Light 三个选项。按照自己喜欢选择即可,我一般选 WhiteSur-Dark。 51 | 52 | ### 安装 WhiteSur cursors 53 | 54 | 这是 WhiteSur 用到的鼠标指针。 55 | 56 | github 仓库地址: https://github.com/vinceliuice/WhiteSur-cursors 57 | 58 | 将仓库克隆到本地,然后通过 `install.sh` 脚本进行安装: 59 | 60 | ```bash 61 | git clone https://github.com/vinceliuice/WhiteSur-cursors.git 62 | cd WhiteSur-cursors 63 | ./install.sh 64 | ``` 65 | 66 | 安装完成之后,就可以打开 "首选项" -> "主题",在 "鼠标指针" 中找到 WhiteSur-cursors 选项。 67 | 68 | ### 安装 WhiteSur wallpapers 69 | 70 | 这是 WhiteSur 用到的 macos 的经典壁纸。 71 | 72 | github 仓库地址: https://github.com/vinceliuice/WhiteSur-wallpapers 73 | 74 | 将仓库克隆到本地,然后通过 `install-wallpapers.sh` 脚本进行安装: 75 | 76 | ```bash 77 | git clone https://github.com/vinceliuice/WhiteSur-wallpapers.git 78 | cd WhiteSur-wallpapers 79 | ./install-wallpapers.sh 80 | ``` 81 | 82 | 壁纸会复制到 `~/.local/share/backgrounds` 目录下。 83 | 84 | 在桌面上右键,"改变桌面背景",增加一个目录指向 `~/.local/share/backgrounds`,然后选择一个喜欢的图片作为桌面壁纸。我一般喜欢选 WhiteSur。 85 | 86 | ## 手工安装 87 | 88 | WhiteSur主题相关的文件可以从下面地址下载: 89 | 90 | ### 下载安装 WhiteSur Gtk Theme 91 | 92 | 这是 WhiteSur Gtk 主题。 93 | 94 | 地址:https://www.gnome-look.org/p/1403328/ 95 | 96 | 下载文件: 97 | 98 | - WhiteSur-dark.tar.xz 99 | - WhiteSur-light.tar.xz 100 | - WhiteSur-light-solid.tar.xz 101 | - WhiteSur-dark-solid.tar.xz 102 | 103 | > 备注:看介绍说NVIDIA的显卡适合用 solid 的主题,不了解为什么,都下载下来 104 | 105 | ### 下载安装 WhiteSur-icon-theme 106 | 107 | 这是仿big sur的图标。 108 | 109 | 地址:https://www.gnome-look.org/p/1405756/ 110 | 111 | 下载文件: 112 | 113 | - 01-WhiteSur.tar.xz 114 | 115 | ### 下载安装 macOS Big Sur cursors 116 | 117 | 这是仿big sur的鼠标指针。 118 | 119 | 地址:https://www.gnome-look.org/p/1408466/ 120 | 121 | 下载文件: 122 | 123 | - macOSBigSur.tar.gz 124 | 125 | ### 主题文件部署 126 | 127 | 进入当前用户的 home 目录,建立以下文件夹: 128 | 129 | ```bash 130 | cd 131 | mkdir .themes 132 | mkdir .icons 133 | ``` 134 | 135 | 将前面下载的主题文件和icon文件(包括cursors的图标)都解压后复制到上面两个目录中。 136 | 137 | ### 设置主题为WhiteSur 138 | 139 | 打开系统的 "主题" 设置,将 窗口边框 / 图标 / 控件 / 鼠标指针 / 桌面 都修改为 `WhiteSur`。 140 | 141 | > 备注:light和dark看喜欢,我一般喜欢设置 dark,长时间用不累眼。 142 | 143 | ## 调整Linux Mint的面板 144 | 145 | 在安装dock效仿macos之前,先要将Linux Mint的面板从默认的底部移动到顶部,将底部的空间让出来给 dock。 146 | 147 | 然后继续对linux mint的面板进行设置: 148 | 149 | - 修改面板图标 150 | 151 | 左上角的LM图标,可以修改为mac的图标。在LM图标上右键点配置,就可以修改图标,而且linux mint目录下的图标中就有一个现成的 mac 的图标,直接可以使用 152 | 153 | - 修改面板高度 154 | 155 | 在面板上右键,点 面板配置,将面板高度从默认的40修改为32。 156 | 157 | - 修改面板外观 158 | 159 | 左侧区域,彩色图表大小设置为 24px,符号图表大小设置为 20。 160 | 161 | - 将自动隐藏面板设置为智能隐藏。 162 | 163 | ## 设置Mac壁纸 164 | 165 | 为了和macos的界面尽量一致,同时也营造macos的感觉,壁纸是必不可少的。 166 | 167 | https://512pixels.net/projects/default-mac-wallpapers-in-5k/#jp-carousel-19693 168 | 169 | 这个地址里面有mac各个版本的壁纸可供下载,5k/6k的分辨率足够清晰,下载 big sur 和 Monterey 经典的彩色壁纸。 170 | 171 | 主题搞定!此时界面已经美化了很多。 172 | 173 | ## 安装 dock 174 | 175 | 这里选择使用 plank ,因为安装非常简单。 176 | 177 | 打开软件管理器,搜索 plank 并安装。 178 | 179 | 设置开启自动启动 plank 应用,延迟2秒。 180 | 181 | 打开 plank 的设置,注意这个操作需要非常小心的在 plank 和桌面的交界处右键,左边一点点会显示图标的邮件内容,右边一点点会显示桌面的右键内容,plank 的右键有效区域可能只有几个像素点的宽度,很难点上。 182 | 183 | theme 主题修改为 gtk+,默认是显示在主显示器上,如果有需要可以修改为特定的屏幕。Icon size 默认48 我喜欢改成42。 184 | 185 | Behaviour 中开启 "Restrict to workspace",这样在不同 workspace 中打开的应用就只会在当前 workspace 中显示,缺点是容易找不到。 186 | 187 | Docklets 中增加显示桌面 / applications / Clock 和 CPU Monitor。 188 | 189 | - 显示桌面方便打开窗口太多时快速最小化所有窗口显示桌面 190 | - applications 有点像在 dock 中增加了一个 windows 开始菜单的感觉。 191 | - Clock时钟方便看时间 192 | - CPU Monitor 方便看 cpu 和内存使用情况 193 | 194 | 目前排列顺序,从左到右依次是: 195 | 196 | - 显示桌面 197 | - applications 198 | - Clock 199 | - CPU Monitor 200 | - Edge浏览器 201 | - Thunderbird邮件 202 | - vs code 203 | - 终端 204 | - 文件浏览器 205 | 206 | ## 其他补充 207 | 208 | ### desktop cube 209 | 210 | 打开 extension(扩展),在下载中找到 desktop cube,双击安装,然后点 + 启用。 211 | 212 | > 备注:如果安装时报错说连接被重置,请开启科学上网。 213 | 214 | 这是是用于workspace切换时的转场动画,挺酷炫的。 215 | 216 | 顺便打开 workspace,打开 "allow cycling through workspace",这样就可以在第一个/最后一个 workspace 之间跳转。 217 | 218 | ### 减少桌面图标 219 | 220 | {{% pageinfo color="primary" %}} 221 | 桌面上东西太多会影响观感。 222 | {{% /pageinfo %}} 223 | 224 | 在桌面上右键,点"自定义" -> "桌面设置",取消以下内容的勾选: 225 | 226 | - 计算机 227 | - 主目录 228 | - 已挂载的驱动器 229 | - 网络:默认就是不勾选的 230 | - 显示缺少的显示器的图标 231 | 232 | -------------------------------------------------------------------------------- /hugo.toml: -------------------------------------------------------------------------------- 1 | baseURL = "/" 2 | title = "Linux Mint学习笔记" 3 | 4 | # Language settings 5 | contentDir = "content/zh-cn" 6 | defaultContentLanguage = "zh-cn" 7 | defaultContentLanguageInSubdir = false 8 | # Useful when translating. 9 | enableMissingTranslationPlaceholders = true 10 | 11 | enableRobotsTXT = true 12 | 13 | # Will give values to .Lastmod etc. 14 | enableGitInfo = false 15 | 16 | # Comment out to enable taxonomies in Docsy 17 | # disableKinds = ["taxonomy", "taxonomyTerm"] 18 | 19 | # You can add your own taxonomies 20 | [taxonomies] 21 | tag = "tags" 22 | category = "categories" 23 | 24 | [params.taxonomy] 25 | # set taxonomyCloud = [] to hide taxonomy clouds 26 | taxonomyCloud = ["tags", "categories"] 27 | 28 | # If used, must have same length as taxonomyCloud 29 | taxonomyCloudTitle = ["Tag Cloud", "Categories"] 30 | 31 | # set taxonomyPageHeader = [] to hide taxonomies on the page headers 32 | taxonomyPageHeader = ["tags", "categories"] 33 | 34 | 35 | # Highlighting config 36 | pygmentsCodeFences = true 37 | pygmentsUseClasses = false 38 | # Use the new Chroma Go highlighter in Hugo. 39 | pygmentsUseClassic = false 40 | #pygmentsOptions = "linenos=table" 41 | # See https://help.farbox.com/pygments.html 42 | pygmentsStyle = "tango" 43 | 44 | # Configure how URLs look like per section. 45 | [permalinks] 46 | blog = "/:section/:year/:month/:day/:slug/" 47 | 48 | # Image processing configuration. 49 | [imaging] 50 | resampleFilter = "CatmullRom" 51 | quality = 75 52 | anchor = "smart" 53 | 54 | # Language configuration 55 | 56 | [languages] 57 | [languages.zh-cn] 58 | languageName ="中文" 59 | # Weight used for sorting. 60 | weight = 1 61 | [languages.zh-cn.params] 62 | title = "Linux Mint学习笔记" 63 | description = "Linux Mint学习笔记,记录学习Linux Mint的过程和相关资料" 64 | contentDir = "content/zh-cn" 65 | time_format_default = "2006.01.02" 66 | time_format_blog = "2006.01.02" 67 | 68 | [markup] 69 | [markup.goldmark] 70 | [markup.goldmark.parser.attribute] 71 | block = true 72 | [markup.goldmark.renderer] 73 | unsafe = true 74 | [markup.highlight] 75 | # See a complete list of available styles at https://xyproto.github.io/splash/docs/all.html 76 | style = "tango" 77 | # Uncomment if you want your chosen highlight style used for code blocks without a specified language 78 | # guessSyntax = "true" 79 | 80 | # Everything below this are Site Params 81 | 82 | # Comment out if you don't want the "print entire section" link enabled. 83 | [outputs] 84 | section = ["HTML", "print", "RSS"] 85 | 86 | [params] 87 | copyright = "skyao.net" 88 | privacy_policy = "" 89 | 90 | # First one is picked as the Twitter card image if not set on page. 91 | # images = ["images/project-illustration.png"] 92 | 93 | # Menu title if your navbar has a versions selector to access old versions of your site. 94 | # This menu appears only if you have at least one [params.versions] set. 95 | version_menu = "Releases" 96 | 97 | # Flag used in the "version-banner" partial to decide whether to display a 98 | # banner on every page indicating that this is an archived version of the docs. 99 | # Set this flag to "true" if you want to display the banner. 100 | archived_version = false 101 | 102 | # The version number for the version of the docs represented in this doc set. 103 | # Used in the "version-banner" partial to display a version number for the 104 | # current doc set. 105 | version = "0.0" 106 | 107 | # A link to latest version of the docs. Used in the "version-banner" partial to 108 | # point people to the main doc site. 109 | url_latest_version = "https://skyao.net/learning-linux-mint" 110 | 111 | # Repository configuration (URLs for in-page links to opening issues and suggesting changes) 112 | github_repo = "https://github.com/skyao/learning-linux-mint" 113 | # An optional link to a related project repo. For example, the sibling repository where your product code lives. 114 | github_project_repo = "https://github.com/skyao/learning-linux-mint" 115 | 116 | # Specify a value here if your content directory is not in your repo's root directory 117 | # github_subdir = "" 118 | 119 | # Uncomment this if your GitHub repo does not have "main" as the default branch, 120 | # or specify a new value if you want to reference another branch in your GitHub links 121 | github_branch= "main" 122 | 123 | # Google Custom Search Engine ID. Remove or comment out to disable search. 124 | gcs_engine_id = "946f08f592296687d" 125 | # enable google analytics 126 | [services.googleAnalytics] 127 | id = "G-4BVWTNS4MB" 128 | 129 | # Enable Lunr.js offline search 130 | offlineSearch = false 131 | 132 | # Enable syntax highlighting and copy buttons on code blocks with Prism 133 | prism_syntax_highlighting = true 134 | 135 | # User interface configuration 136 | [params.ui] 137 | # Set to true to disable breadcrumb navigation. 138 | breadcrumb_disable = false 139 | # Set to true to disable the About link in the site footer 140 | footer_about_disable = true 141 | # Set to false if you don't want to display a logo (/assets/icons/logo.svg) in the top navbar 142 | navbar_logo = true 143 | # Set to true if you don't want the top navbar to be translucent when over a `block/cover`, like on the homepage. 144 | navbar_translucent_over_cover_disable = false 145 | # Enable to show the side bar menu in its compact state. 146 | sidebar_menu_compact = true 147 | # Set to true to hide the sidebar search box (the top nav search box will still be displayed if search is enabled) 148 | sidebar_search_disable = false 149 | 150 | # Adds a H2 section titled "Feedback" to the bottom of each doc. The responses are sent to Google Analytics as events. 151 | # This feature depends on [services.googleAnalytics] and will be disabled if "services.googleAnalytics.id" is not set. 152 | # If you want this feature, but occasionally need to remove the "Feedback" section from a single page, 153 | # add "hide_feedback: true" to the page's front matter. 154 | [params.ui.feedback] 155 | enable = false 156 | # The responses that the user sees after clicking "yes" (the page was helpful) or "no" (the page was not helpful). 157 | yes = 'Glad to hear it! Please tell us how we can improve.' 158 | no = 'Sorry to hear that. Please tell us how we can improve.' 159 | 160 | # Adds a reading time to the top of each doc. 161 | # If you want this feature, but occasionally need to remove the Reading time from a single page, 162 | # add "hide_readingtime: true" to the page's front matter 163 | [params.ui.readingtime] 164 | enable = false 165 | 166 | [params.plantuml] 167 | enable = true 168 | theme = "default" 169 | #Set url to plantuml server 170 | #default is http://www.plantuml.com/plantuml/svg/ 171 | svg_image_url = "https://www.plantuml.com/plantuml/svg/" 172 | 173 | # hugo module configuration 174 | 175 | [module] 176 | # Uncomment the next line to build and serve using local docsy clone declared in the named Hugo workspace: 177 | workspace = "docsy.work" 178 | [module.hugoVersion] 179 | extended = true 180 | min = "0.110.0" 181 | [[module.imports]] 182 | path = "github.com/google/docsy" 183 | disable = false 184 | -------------------------------------------------------------------------------- /content/zh-cn/docs/installation/timeshift/index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Timeshift 系统备份" 3 | linkTitle: "Timeshift" 4 | weight: 270 5 | date: 2021-08-27 6 | description: > 7 | 使用 Timeshift 进行系统备份和恢复 8 | --- 9 | 10 | ## 备份 11 | 12 | 使用 timeshift 的图形界面,可以很方便的进行系统备份。 13 | 14 | ## 恢复 15 | 16 | 同样使用 timeshift 的图形界面,可以很方便的进行系统恢复。 17 | 18 | 和 debian 12 相比,有图形界面操作方便一些。 19 | 20 | ## 紧急恢复 21 | 22 | 重点是紧急情况下的恢复,主要是系统出现问题时,已经无法进入系统启动 timeshift,甚至连 恢复模式都无法进入。 23 | 24 | 这时候需要使用 livecd 启动系统,然后使用 timeshift 进行恢复。 25 | 26 | ### 使用 livecd 启动系统 27 | 28 | 下载 livecd 镜像,如我使用的是最新的 linux mint 22.1 iso,使用 rufus 制作启动盘,或者其他制作启动盘的工具,然后从 u盘启动进行 linux mint 的 livecd 系统。 29 | 30 | ### 准备 timeshift 31 | 32 | 在 livecd 系统中,默认已经安装有 timeshift 了,可以直接使用。 33 | 34 | ```bash 35 | $ sudo apt install timeshift 36 | Reading package lists... Done 37 | Building dependency tree... Done 38 | Reading state information... Done 39 | timeshift is already the newest version (24.06.6+xia). 40 | 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 41 | ``` 42 | 43 | 验证: 44 | 45 | ```bash 46 | $ timeshift 47 | 48 | Timeshift v24.06.6 by Tony George (teejeetech@gmail.com) 49 | ...... 50 | ``` 51 | 52 | 查看硬盘分区,找出来存放 timeshift 备份资料的硬盘分区: 53 | 54 | ```bash 55 | $ lsblk -f 56 | 57 | NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINTS 58 | loop0 squashfs 4.0 0 100% /rofs 59 | sda 60 | ├─sda1 61 | └─sda2 ntfs data2 F48682FD8682BF9A 16.2T 1% /media/mint/data2 62 | sdb 63 | ├─sdb1 exfat 1.0 Ventoy 4E21-0000 64 | └─sdb2 65 | nvme0n1 66 | ├─nvme0n1p1 vfat FAT32 CE01-9336 67 | ├─nvme0n1p2 68 | ├─nvme0n1p3 ntfs win11 DA5E38635E383A99 69 | ├─nvme0n1p4 ntfs 6AB8BA8AB8BA5473 70 | ├─nvme0n1p5 ntfs windata 6E7A55257A54EB7B 71 | ├─nvme0n1p6 ext4 1.0 7f899256-56e1-4b0f-aa86-a98009417b08 665.8G 6% /media/mint/7f899256-56e1-4b0f-aa86-a98009417b08 72 | ├─nvme0n1p7 ext4 1.0 f9cde109-c5a3-4be4-861c-bfd11a4f8c01 149.3G 15% /media/mint/f9cde109-c5a3-4be4-861c-bfd11a4f8c01 73 | └─nvme0n1p8 exfat 1.0 data 6E51-13F3 1.8T 1% /media/mint/data 74 | ``` 75 | 76 | 这里的 nvme0n1p7 是我存放 timeshift 备份资料的硬盘分区。记录下它的 UUID f9cde109-c5a3-4be4-861c-bfd11a4f8c01。另外注意 nvme0n1p1 这个 fat32 分区是 efi 分区,后面会用到。 77 | 78 | 修改 timeshift 配置文件,设置备份硬盘分区: 79 | 80 | ```bash 81 | $ sudo nano /etc/timeshift.json 82 | ``` 83 | 84 | 找到 `"backup_device": null,` 这一行,修改为: 85 | 86 | ```json 87 | "backup_device": "UUID=f9cde109-c5a3-4be4-861c-bfd11a4f8c01", 88 | ``` 89 | 90 | 检查当前 timeshift 备份情况: 91 | 92 | ```bash 93 | $ sudo timeshift --list 94 | 95 | First run mode (config file not found) 96 | Selected default snapshot type: RSYNC 97 | Mounted '/dev/nvme0n1p7' at '/run/timeshift/3932/backup' 98 | Live Session detected, backup is disabled. 99 | Device : /dev/nvme0n1p7 100 | UUID : f9cde109-c5a3-4be4-861c-bfd11a4f8c01 101 | Path : /run/timeshift/3932/backup 102 | Mode : RSYNC 103 | Status : OK 104 | 4 snapshots, 160.3 GB free 105 | 106 | Num Name Tags Description 107 | ------------------------------------------------------------------------------ 108 | 0 > 2024-12-07_09-47-24 O D apt upgrade and install software 109 | 1 > 2024-12-07_10-59-16 O install whitesur and plank 110 | 2 > 2025-02-01_20-09-22 O D apt upgrade 111 | 3 > 2025-06-07_22-00-01 D 112 | ``` 113 | 114 | 还好在系统崩溃前一天,有一个 daily 的自动备份,可以用来恢复系统。 115 | 116 | ### 恢复系统 117 | 118 | ```bash 119 | sudo timeshift --restore 120 | ``` 121 | 122 | 第一步是选择恢复到哪个备份,我选择的是 2025-06-07_22-00-01 这个备份。 123 | 124 | ```bash 125 | First run mode (config file not found) 126 | Selected default snapshot type: RSYNC 127 | Mounted '/dev/nvme0n1p7' at '/run/timeshift/3969/backup' 128 | Live Session detected, backup is disabled. 129 | 130 | Select snapshot: 131 | 132 | Num Name Tags Description 133 | ------------------------------------------------------------------------------ 134 | 0 > 2024-12-07_09-47-24 O D apt upgrade and install software 135 | 1 > 2024-12-07_10-59-16 O install whitesur and plank 136 | 2 > 2025-02-01_20-09-22 O D apt upgrade 137 | 3 > 2025-06-07_22-00-01 D 138 | 139 | Enter snapshot number (a=Abort, p=Previous, n=Next): 3 140 | ``` 141 | 142 | 第二步是选择恢复到哪个硬盘分区,也就是操作系统 root 所在的硬盘分区。我这里选择的是 `/dev/nvme0n1p6` 这个分区: 143 | 144 | ```bash 145 | ****************************************************************************** 146 | To restore with default options, press the ENTER key for all prompts! 147 | ****************************************************************************** 148 | 149 | Press ENTER to continue... 150 | 151 | Select '/' device (default = /dev/nvme0n1p6): 152 | 153 | Num Device Size Type Label 154 | ------------------------------------------------------------------------------ 155 | 0 > /dev/nvme0n1p6 819.2 GB ext4 156 | 1 > /dev/nvme0n1p7 204.8 GB ext4 157 | 158 | [ENTER = Default (/dev/nvme0n1p6), r = Root device, a = Abort] 159 | 160 | Enter device name or number: 0 161 | ``` 162 | 163 | 第三步是选择 `/boot/efi` 所在的硬盘分区,我选择的是 `/dev/nvme0n1p1` 这个分区: 164 | 165 | ```bash 166 | ****************************************************************************** 167 | '/' will be on 'nvme0n1p6' 168 | ****************************************************************************** 169 | 170 | Select '/boot/efi' device (default = /dev/nvme0n1p1): 171 | 172 | Num Device Size Type Label 173 | ------------------------------------------------------------------------------ 174 | 0 > /dev/nvme0n1p6 819.2 GB ext4 175 | 1 > /dev/nvme0n1p7 204.8 GB ext4 176 | 177 | [ENTER = Default (/dev/nvme0n1p1), r = Root device, a = Abort] 178 | ``` 179 | 180 | 第四步是选择是否重新安装 GRUB2 引导程序,我选择的是重新安装,安装路径为默认的 `/dev/nvme0n1`: 181 | 182 | ```bash 183 | ****************************************************************************** 184 | '/boot/efi' will be on 'nvme0n1p1' 185 | ****************************************************************************** 186 | 187 | Re-install GRUB2 bootloader? (recommended) (y/n): y 188 | 189 | Select GRUB device: 190 | 191 | Num Device Description 192 | ------------------------------------------------------------------------------ 193 | 0 > sda ATA TOSHIBA MG09ACA18TE [MBR] 194 | 1 > sdb SSSTC CV SSSTC CVB-8D128-HP [MBR] 195 | 2 > nvme0n1 YSSDHB-4TN7000 [MBR] 196 | 3 > nvme0n1p6 ext4, 819.2 GB GB 197 | 4 > nvme0n1p7 ext4, 204.8 GB GB 198 | 199 | [ENTER = Default (/dev/nvme0n1), a = Abort] 200 | 201 | Enter device name or number (a=Abort): 202 | ``` 203 | 204 | 之后备份开始,会提示数据将会在哪些设备上修改: 205 | 206 | ```bash 207 | ****************************************************************************** 208 | GRUB Device: /dev/nvme0n1 209 | ****************************************************************************** 210 | 211 | ====================================================================== 212 | WARNING 213 | ====================================================================== 214 | Data will be modified on following devices: 215 | 216 | Device Mount 217 | -------------- --------- 218 | /dev/nvme0n1p6 / 219 | /dev/nvme0n1p1 /boot/efi 220 | ``` 221 | 222 | 恢复的日志如下: 223 | 224 | ```bash 225 | ...... 226 | ...... 227 | # 忽略文件复制内容 228 | ...... 229 | ...... 230 | ...... 231 | sent 136,537,349 bytes received 26,063 bytes 13,006,039.24 bytes/sec 232 | total size is 20,035,908,269 speedup is 146.72 233 | 234 | Updated /etc/fstab on target device: /run/timeshift/4101/restore/etc/fstab 235 | Parsing log file... 236 | Archiving: /run/timeshift/4101/backup/timeshift/snapshots/2025-06-07_22-00-01/rsync-log-restore 237 | 238 | Re-installing GRUB2 bootloader... 239 | Installing for x86_64-efi platform. 240 | grub-install: warning: EFI variables cannot be set on this system. 241 | grub-install: warning: You will have to complete the GRUB setup manually. 242 | Installation finished. No error reported. 243 | 244 | Updating GRUB menu... 245 | Sourcing file `/etc/default/grub' 246 | Sourcing file `/etc/default/grub.d/50_linuxmint.cfg' 247 | Generating grub configuration file ... 248 | Found linux image: /boot/vmlinuz-6.8.0-52-generic 249 | Found initrd image: /boot/initrd.img-6.8.0-52-generic 250 | Warning: os-prober will be executed to detect other bootable partitions. 251 | Its output will be used to detect bootable binaries on them and create new boot entries. 252 | grub-probe: error: cannot find a GRUB drive for /dev/sdb2. Check your device.map. 253 | Found Windows Boot Manager on /dev/nvme0n1p1@/EFI/Microsoft/Boot/bootmgfw.efi 254 | Adding boot menu entry for UEFI Firmware Settings ... 255 | done 256 | 257 | Syncing file systems... 258 | 259 | Cleaning up... 260 | run-parts: executing /etc/timeshift/restore-hooks.d/50_linuxmint 261 | 262 | Restore completed 263 | ------------------------------------------------------------------------------ 264 | Checking file systems for errors... 265 | fsck from util-linux 2.39.3 266 | e2fsck 1.47.0 (5-Feb-2023) 267 | /dev/nvme0n1p6 is mounted. 268 | e2fsck: Cannot continue, aborting. 269 | 270 | 271 | fsck from util-linux 2.39.3 272 | fsck.fat 4.2 (2021-01-31) 273 | There are differences between boot sector and its backup. 274 | This is mostly harmless. Differences: (offset:original/backup) 275 | 65:01/00 276 | Not automatically fixing this. 277 | Dirty bit is set. Fs was not properly unmounted and some data may be corrupt. 278 | Automatically removing dirty bit. 279 | 280 | *** Filesystem was changed *** 281 | Writing changes. 282 | /dev/nvme0n1p1: 204 files, 37647/98304 clusters 283 | 284 | E: Failed to remove directory 285 | Ret=256 286 | ``` 287 | 288 | 最后时刻有些报错,忽略即可。备份操作已经完成,文件已经复制到目标硬盘分区,引导程序也已经安装完成。 289 | 290 | 重启机器,正常进入系统。 291 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Apache License 2 | Version 2.0, January 2004 3 | http://www.apache.org/licenses/ 4 | 5 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 6 | 7 | 1. Definitions. 8 | 9 | "License" shall mean the terms and conditions for use, reproduction, 10 | and distribution as defined by Sections 1 through 9 of this document. 11 | 12 | "Licensor" shall mean the copyright owner or entity authorized by 13 | the copyright owner that is granting the License. 14 | 15 | "Legal Entity" shall mean the union of the acting entity and all 16 | other entities that control, are controlled by, or are under common 17 | control with that entity. For the purposes of this definition, 18 | "control" means (i) the power, direct or indirect, to cause the 19 | direction or management of such entity, whether by contract or 20 | otherwise, or (ii) ownership of fifty percent (50%) or more of the 21 | outstanding shares, or (iii) beneficial ownership of such entity. 22 | 23 | "You" (or "Your") shall mean an individual or Legal Entity 24 | exercising permissions granted by this License. 25 | 26 | "Source" form shall mean the preferred form for making modifications, 27 | including but not limited to software source code, documentation 28 | source, and configuration files. 29 | 30 | "Object" form shall mean any form resulting from mechanical 31 | transformation or translation of a Source form, including but 32 | not limited to compiled object code, generated documentation, 33 | and conversions to other media types. 34 | 35 | "Work" shall mean the work of authorship, whether in Source or 36 | Object form, made available under the License, as indicated by a 37 | copyright notice that is included in or attached to the work 38 | (an example is provided in the Appendix below). 39 | 40 | "Derivative Works" shall mean any work, whether in Source or Object 41 | form, that is based on (or derived from) the Work and for which the 42 | editorial revisions, annotations, elaborations, or other modifications 43 | represent, as a whole, an original work of authorship. For the purposes 44 | of this License, Derivative Works shall not include works that remain 45 | separable from, or merely link (or bind by name) to the interfaces of, 46 | the Work and Derivative Works thereof. 47 | 48 | "Contribution" shall mean any work of authorship, including 49 | the original version of the Work and any modifications or additions 50 | to that Work or Derivative Works thereof, that is intentionally 51 | submitted to Licensor for inclusion in the Work by the copyright owner 52 | or by an individual or Legal Entity authorized to submit on behalf of 53 | the copyright owner. For the purposes of this definition, "submitted" 54 | means any form of electronic, verbal, or written communication sent 55 | to the Licensor or its representatives, including but not limited to 56 | communication on electronic mailing lists, source code control systems, 57 | and issue tracking systems that are managed by, or on behalf of, the 58 | Licensor for the purpose of discussing and improving the Work, but 59 | excluding communication that is conspicuously marked or otherwise 60 | designated in writing by the copyright owner as "Not a Contribution." 61 | 62 | "Contributor" shall mean Licensor and any individual or Legal Entity 63 | on behalf of whom a Contribution has been received by Licensor and 64 | subsequently incorporated within the Work. 65 | 66 | 2. Grant of Copyright License. Subject to the terms and conditions of 67 | this License, each Contributor hereby grants to You a perpetual, 68 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 69 | copyright license to reproduce, prepare Derivative Works of, 70 | publicly display, publicly perform, sublicense, and distribute the 71 | Work and such Derivative Works in Source or Object form. 72 | 73 | 3. Grant of Patent License. Subject to the terms and conditions of 74 | this License, each Contributor hereby grants to You a perpetual, 75 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 76 | (except as stated in this section) patent license to make, have made, 77 | use, offer to sell, sell, import, and otherwise transfer the Work, 78 | where such license applies only to those patent claims licensable 79 | by such Contributor that are necessarily infringed by their 80 | Contribution(s) alone or by combination of their Contribution(s) 81 | with the Work to which such Contribution(s) was submitted. If You 82 | institute patent litigation against any entity (including a 83 | cross-claim or counterclaim in a lawsuit) alleging that the Work 84 | or a Contribution incorporated within the Work constitutes direct 85 | or contributory patent infringement, then any patent licenses 86 | granted to You under this License for that Work shall terminate 87 | as of the date such litigation is filed. 88 | 89 | 4. Redistribution. You may reproduce and distribute copies of the 90 | Work or Derivative Works thereof in any medium, with or without 91 | modifications, and in Source or Object form, provided that You 92 | meet the following conditions: 93 | 94 | (a) You must give any other recipients of the Work or 95 | Derivative Works a copy of this License; and 96 | 97 | (b) You must cause any modified files to carry prominent notices 98 | stating that You changed the files; and 99 | 100 | (c) You must retain, in the Source form of any Derivative Works 101 | that You distribute, all copyright, patent, trademark, and 102 | attribution notices from the Source form of the Work, 103 | excluding those notices that do not pertain to any part of 104 | the Derivative Works; and 105 | 106 | (d) If the Work includes a "NOTICE" text file as part of its 107 | distribution, then any Derivative Works that You distribute must 108 | include a readable copy of the attribution notices contained 109 | within such NOTICE file, excluding those notices that do not 110 | pertain to any part of the Derivative Works, in at least one 111 | of the following places: within a NOTICE text file distributed 112 | as part of the Derivative Works; within the Source form or 113 | documentation, if provided along with the Derivative Works; or, 114 | within a display generated by the Derivative Works, if and 115 | wherever such third-party notices normally appear. The contents 116 | of the NOTICE file are for informational purposes only and 117 | do not modify the License. You may add Your own attribution 118 | notices within Derivative Works that You distribute, alongside 119 | or as an addendum to the NOTICE text from the Work, provided 120 | that such additional attribution notices cannot be construed 121 | as modifying the License. 122 | 123 | You may add Your own copyright statement to Your modifications and 124 | may provide additional or different license terms and conditions 125 | for use, reproduction, or distribution of Your modifications, or 126 | for any such Derivative Works as a whole, provided Your use, 127 | reproduction, and distribution of the Work otherwise complies with 128 | the conditions stated in this License. 129 | 130 | 5. Submission of Contributions. Unless You explicitly state otherwise, 131 | any Contribution intentionally submitted for inclusion in the Work 132 | by You to the Licensor shall be under the terms and conditions of 133 | this License, without any additional terms or conditions. 134 | Notwithstanding the above, nothing herein shall supersede or modify 135 | the terms of any separate license agreement you may have executed 136 | with Licensor regarding such Contributions. 137 | 138 | 6. Trademarks. This License does not grant permission to use the trade 139 | names, trademarks, service marks, or product names of the Licensor, 140 | except as required for reasonable and customary use in describing the 141 | origin of the Work and reproducing the content of the NOTICE file. 142 | 143 | 7. Disclaimer of Warranty. Unless required by applicable law or 144 | agreed to in writing, Licensor provides the Work (and each 145 | Contributor provides its Contributions) on an "AS IS" BASIS, 146 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 147 | implied, including, without limitation, any warranties or conditions 148 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 149 | PARTICULAR PURPOSE. You are solely responsible for determining the 150 | appropriateness of using or redistributing the Work and assume any 151 | risks associated with Your exercise of permissions under this License. 152 | 153 | 8. Limitation of Liability. In no event and under no legal theory, 154 | whether in tort (including negligence), contract, or otherwise, 155 | unless required by applicable law (such as deliberate and grossly 156 | negligent acts) or agreed to in writing, shall any Contributor be 157 | liable to You for damages, including any direct, indirect, special, 158 | incidental, or consequential damages of any character arising as a 159 | result of this License or out of the use or inability to use the 160 | Work (including but not limited to damages for loss of goodwill, 161 | work stoppage, computer failure or malfunction, or any and all 162 | other commercial damages or losses), even if such Contributor 163 | has been advised of the possibility of such damages. 164 | 165 | 9. Accepting Warranty or Additional Liability. While redistributing 166 | the Work or Derivative Works thereof, You may choose to offer, 167 | and charge a fee for, acceptance of support, warranty, indemnity, 168 | or other liability obligations and/or rights consistent with this 169 | License. However, in accepting such obligations, You may act only 170 | on Your own behalf and on Your sole responsibility, not on behalf 171 | of any other Contributor, and only if You agree to indemnify, 172 | defend, and hold each Contributor harmless for any liability 173 | incurred by, or claims asserted against, such Contributor by reason 174 | of your accepting any such warranty or additional liability. 175 | 176 | END OF TERMS AND CONDITIONS 177 | 178 | APPENDIX: How to apply the Apache License to your work. 179 | 180 | To apply the Apache License to your work, attach the following 181 | boilerplate notice, with the fields enclosed by brackets "[]" 182 | replaced with your own identifying information. (Don't include 183 | the brackets!) The text should be enclosed in the appropriate 184 | comment syntax for the file format. We also recommend that a 185 | file or class name and description of purpose be included on the 186 | same "printed page" as the copyright notice for easier 187 | identification within third-party archives. 188 | 189 | Copyright [yyyy] [name of copyright owner] 190 | 191 | Licensed under the Apache License, Version 2.0 (the "License"); 192 | you may not use this file except in compliance with the License. 193 | You may obtain a copy of the License at 194 | 195 | http://www.apache.org/licenses/LICENSE-2.0 196 | 197 | Unless required by applicable law or agreed to in writing, software 198 | distributed under the License is distributed on an "AS IS" BASIS, 199 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 200 | See the License for the specific language governing permissions and 201 | limitations under the License. 202 | -------------------------------------------------------------------------------- /assets/icons/logo.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 20 | 60 | 69 | 70 | 72 | 74 | 78 | 82 | 83 | 85 | 89 | 93 | 94 | 105 | 107 | 111 | 115 | 116 | 118 | 122 | 126 | 127 | 129 | 133 | 137 | 138 | 140 | 144 | 148 | 152 | 156 | 157 | 159 | 163 | 167 | 171 | 175 | 179 | 180 | 182 | 186 | 190 | 194 | 195 | 197 | 201 | 205 | 209 | 213 | 214 | 216 | 220 | 224 | 228 | 229 | 231 | 235 | 239 | 243 | 244 | 246 | 250 | 254 | 258 | 259 | 262 | 266 | 270 | 271 | 273 | 277 | 281 | 282 | 293 | 302 | 313 | 324 | 335 | 346 | 355 | 364 | 375 | 377 | 381 | 385 | 389 | 390 | 400 | 410 | 420 | 422 | 426 | 430 | 431 | 433 | 437 | 441 | 442 | 443 | 445 | 446 | 448 | image/svg+xml 449 | 451 | 452 | 453 | 454 | 455 | 460 | 466 | 471 | 477 | 482 | 488 | 493 | 499 | 504 | 510 | 515 | 521 | 526 | 531 | 537 | 542 | 543 | --------------------------------------------------------------------------------