File tree Expand file tree Collapse file tree 6 files changed +47
-8
lines changed
Expand file tree Collapse file tree 6 files changed +47
-8
lines changed Original file line number Diff line number Diff line change @@ -31,6 +31,15 @@ mkdir new_folder # 新建文件夹new_folder
3131sudo some command # 使普通用户以root权限执行某些命令
3232```
3333
34+ bash 终端设置路径为 ` ~/.bashrc `
35+
36+ ```
37+ $include /etc/inputrc # 引入全局bash配置
38+ set completion-ignore-case on # 补全路径忽略大小写
39+ set horizontal-scroll-mode Off # 允许提示换行
40+ set bell-style none # 关闭提示警告音
41+ ```
42+
3443拓展链接:推荐阅读在线进阶书籍 [ Linux 命令行与 Shell 脚本教程] ( https://archlinuxstudio.github.io/ShellTutorial/#/ ) 。
3544
3645## Pacman 包管理
Original file line number Diff line number Diff line change 1818
1919## 后端编程
2020
21- Jetbrains 公司开源的 IDE 可在 archlinux 官方仓库中找到,如[ IntelliJ Idea] ( https://www.archlinux.org/packages/community/x86_64/intellij-idea-community-edition/ ) ,[ PyCharm] ( https://www.archlinux.org/packages/community/x86_64/pycharm-community-edition/ ) ,等。
21+ Jetbrains 公司开源的 IDE 可在 archlinux 官方仓库中找到,如[ IntelliJ Idea] ( https://www.archlinux.org/packages/community/x86_64/intellij-idea-community-edition/ ) ,[ PyCharm] ( https://www.archlinux.org/packages/community/x86_64/pycharm-community-edition/ ) 等。
22+ 无开源版本的 Jetbrains 产品也可以在 AUR 社区中找到,如[ rubymine] ( https://aur.archlinux.org/packages/rubymine ) ,[ webstorm] ( https://aur.archlinux.org/packages/webstorm ) 。但可能只提供了安装而未提供卸载,如[ jetbrains-toolbox] ( https://aur.archlinux.org/packages/jetbrains-toolbox )
23+
24+ > Jetbrains 产品在 linux 下输入法均会产生光标不跟随的现象,Jetbrains 一直未修复该 bug,解决办法为[ 替换 jbr] ( https://github.com/RikudouPatrickstar/JetBrainsRuntime-for-Linux-x64 )
25+
2226较为传统的 IDE 有 [ Netbeans] ( https://www.archlinux.org/packages/community/any/netbeans/ ) 以及 eclipse,eclipse 有多种版本,可在 AUR 中自行搜索。
2327
2428关于编程语言自身,更是不必多说,除了 c 语言和 c++安装好系统即支持外,java, node,等都可以被轻易安装。
Original file line number Diff line number Diff line change @@ -80,8 +80,18 @@ sudo pacman -S weechat
8080
8181### 屏幕分享
8282
83- 除了上述软件,对于另外一些手机通讯软件在电脑上的投屏可以尝试使用[ scrcpy] ( https://archlinux.org/packages/community/x86_64/scrcpy/ ) 。
84- 也可以使用 [ KDE Connect] ( https://archlinux.org/packages/extra/x86_64/kdeconnect/ ) 在电脑上获取 Android 通知。
83+ 手机通讯软件在电脑上的投屏可以尝试使用[ scrcpy] ( https://archlinux.org/packages/community/x86_64/scrcpy/ ) 。
84+
85+ ```
86+ sudo pacman -S scrcpy
87+ ```
88+
89+ 也建议使用 [ KDE Connect] ( https://archlinux.org/packages/extra/x86_64/kdeconnect/ ) 实现多端设备互联。
90+
91+ ```
92+ sudo pacman -S kdeconnect
93+ sudo pacman -S sshfs # 文件系统挂载,Dolphin完美集成
94+ ```
8595
8696## 办公套件
8797
@@ -125,6 +135,12 @@ yay -S trilium-bin
125135yay -S trilium-server-bin
126136```
127137
138+ VNote 是一个专注于 Markdown 的基于 Qt 的开源免费的笔记应用。其 LICENSE 为 LGPL-3.0 。
139+
140+ ```
141+ yay -S vnote
142+ ```
143+
128144## 电子书
129145
130146pdf 可直接用浏览器打开,也可选用其他专用的阅读软件,如[ okular] ( https://archlinux.org/packages/extra/x86_64/okular/ ) 或者[ calibre] ( https://archlinux.org/packages/community/x86_64/calibre/ ) 。okular 在打开大型 epub 时会非常卡顿,并且图片模糊不清,[ Foliate] ( https://archlinux.org/packages/community/x86_64/foliate/ ) 是阅读 epub 的更佳选择。
Original file line number Diff line number Diff line change @@ -165,7 +165,7 @@ sudo chattr +i /etc/resolv.conf
165165
166166AUR 为 archlinux user repository。任何用户都可以上传自己制作的 AUR 包,这也是 Arch Linux 可用软件众多的原因。由于任何人都可上传,也存在对应的风险,一般选用大众认可的包即可。
167167
168- 使用 [ yay] ( https://github.com/Jguer/yay ) 可以安装 AUR 中的包。由于[ 中国大陆政府封锁 Github] ( https://zh.wikipedia.org/wiki/%E5%AF%B9GitHub%E7%9A%84%E5%AE%A1%E6%9F%A5%E5%92%8C%E5%B0%81%E9%94%81#%E4%B8%AD%E5%8D%8E%E4%BA%BA%E6%B0%91%E5%85%B1%E5%92%8C%E5%9B%BD ) 的原因,你很可能没有办法用 yay 官方仓库中正常的方式安装 yay,所以 ArchLinuxStudio 提供一份可以直接安装的 bin 包以供你在安装时暂时使用。
168+ 使用 [ yay] ( https://github.com/Jguer/yay ) 或 [ paru ] ( https://github.com/Morganamilo/paru ) 可以安装 AUR 中的包。由于[ 中国大陆政府封锁 Github] ( https://zh.wikipedia.org/wiki/%E5%AF%B9GitHub%E7%9A%84%E5%AE%A1%E6%9F%A5%E5%92%8C%E5%B0%81%E9%94%81#%E4%B8%AD%E5%8D%8E%E4%BA%BA%E6%B0%91%E5%85%B1%E5%92%8C%E5%9B%BD ) 的原因,你很可能没有办法用 yay 官方仓库中正常的方式安装 yay,所以 ArchLinuxStudio 提供一份可以直接安装的 bin 包以供你在安装时暂时使用。
169169
170170执行如下命令安装 yay。
171171
Original file line number Diff line number Diff line change @@ -38,7 +38,9 @@ sudo pacman -S mesa lib32-mesa xf86-video-amdgpu vulkan-radeon lib32-vulkan-rade
3838
3939### 英伟达独立显卡
4040
41- 较新型号的独立显卡直接安装如下几个包即可。[ 官方文档] ( https://wiki.archlinux.org/index.php/NVIDIA )
41+ 本节建议查看官方文档,此处只列出主要的显卡系列。[ 官方文档] ( https://wiki.archlinux.org/index.php/NVIDIA )
42+
43+ 较新型号的独立显卡直接安装如下几个包即可。
4244
4345``` bash
4446sudo pacman -S nvidia nvidia-settings lib32-nvidia-utils # 必须安装
@@ -62,6 +64,14 @@ yay -S nvidia-390xx-dkms nvidia-settings lib32-nvidia-390xx-utils linux-headers
6264sudo pacman -S mesa lib32-mesa xf86-video-nouveau
6365```
6466
67+ #### 注意事项
68+
69+ - 如果安装驱动后内核冲突,把 kms 从 ` /etc/mkinitcpio.conf ` 里的 HOOKS 数组中移除,并重新生成 initramfs。 这能防止 initramfs 包含 nouveau 模块,以确保内核在早启动阶段不会加载它。
70+
71+ ```
72+ mkinitcpio -p linux
73+ ```
74+
6575---
6676
6777** 在同时拥有核芯显卡和英伟达独立显卡的笔记本上安装驱动是大多数人关注的事情,这里着重讲述。**
Original file line number Diff line number Diff line change @@ -576,9 +576,9 @@ has-yarn@^2.1.0:
576576 integrity sha512-UqBRqi4ju7T+TqGNdqAO0PaSVGsDGJUBQvk9eUWNGRY1CFGDzYhLWoM7JQEemnlvVcv/YEmc2wNW8BC24EnUsw==
577577
578578http-cache-semantics@^4.0.0 :
579- version "4.1.0 "
580- resolved "https://registry.yarnpkg.com/http-cache-semantics/-/http-cache-semantics-4.1.0 .tgz#49e91c5cbf36c9b94bcfcd71c23d5249ec74e390 "
581- integrity sha512-carPklcUh7ROWRK7Cv27RPtdhYhUsela/ue5/jKzjegVvXDqM2ILE9Q2BGn9JZJh1g87cp56su/FgQSzcWS8cQ ==
579+ version "4.1.1 "
580+ resolved "https://registry.yarnpkg.com/http-cache-semantics/-/http-cache-semantics-4.1.1 .tgz#abe02fcb2985460bf0323be664436ec3476a6d5a "
581+ integrity sha512-er295DKPVsV82j5kw1Gjt+ADA/XYHsajl82cGNQG2eyoPkvgUhX+nDIyelzhIWbbsXP39EHcI6l5tYs2FYqYXQ ==
582582
583583http-errors@~1.7.2 :
584584 version "1.7.3"
You can’t perform that action at this time.
0 commit comments