这篇文章是记载性质的,专心于我的切身实践的进程,不会有太多扩展,也不会太深化。要点叙述我的实践步骤、遇到的问题和解决方法。假如你的状况与我相似,遇到了相似的问题,希望这篇文章对你有帮助。
装置KDE
不需求独自装置Xorg,它作为依赖主动装置,独自装置没有意义。把显卡驱动装好就行,不装也能运转,但会比较卡。
装置plasma包组。也能够装置plasma-meta元包,但不主张,这样无法在不卸载元包的状况下卸载组件,并且所有组件被装置为依赖。
Arch Linux对KDE的打包很差劲,像dolphin(文件管理器)、konsole(终端模拟器)、kate(文本编辑器)等关键组件都不在plasma包组中,而discover(运用商店)、flatpak-kcm(运用商店flatpak集成)、plasma-sdk(plasma开发工具)等无关紧要的东西却在plasma包组中。
kde-applications包组里有其他所有的KDE运用程序,但非常不主张装置这个包组,由于里面的东西太杂了,包括好多游戏、专业软件,以及两个阅读器。能够装置细分类别的包组,推荐kde-accessibility、kde-graphics、kde-system、kde-utilities,以及其他几个包:cups、ffmpegthumbs、noto-fonts。
最终的装置指令:
sudo pacman -Sy plasma kde-accessibility kde-graphics kde-system kde-utilities \
cups ffmpegthumbs noto-fonts
卸载多余软件:
sudo pacman -Rns discover flatpak-kcm plasma-sdk
发动服务
发动SDDM
SDDM作为依赖已经主动装置,运用SDDM从登录界面发动桌面环境。
发动SDDM的指令:
sudo systemctl enable sddm
发动网络、蓝牙、打印机服务
sudo systemctl enable NetworkManager bluetooth cups
不主张以root身份运用桌面环境,应该新建一个用户,并给sudo权限。
重启体系即可进入图形界面。
装备体系
字体
推荐装置:
sudo pacman -Sy noto-fonts-emoji ttf-dejavu \
adobe-source-han-sans-cn-fonts \
adobe-source-han-sans-tw-fonts \
adobe-source-han-sans-jp-fonts \
adobe-source-han-sans-kr-fonts
输入法
装置Fcitx5
sudo pacman -Sy fcitx5-im fcitx5-chinese-addons
其间fcitx5-im
是一个包组,包括fcitx5
、fcitx5-configtool
、fcitx5-gtk
、fcitx5-qt
。fcitx5-chinese-addons
是中文扩展,包括一些输入法引擎。
增加环境变量
经过环境变量装备运用程序的输入法模块。
创建文件:$HOME/.config/plasma-workspace/env/fcitx.sh
,并写入以下内容:
export XMODIFIERS=@im=fcitx
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
装备输入法
增加输入法
翻开System Settings,导航到Regional Settings > Input Method,点击Add Input Method…,查找pinyin,挑选简体中文下面的Pinyin,增加。
装备输入法结构
在Input Method页面,点击Configure global options…,依据个人习惯更改快捷键和行为。
- Trigger Input Method改成Super+Space,本来的Control+Space与VSCode快捷键抵触
- Enumerate相关的快捷键都删掉,由于只有一个输入法不需求枚举,且Control+Shift很简单误触
- 撤销勾选Show preedit in application、Show first input method information
点击Configure addons…,设置组件。
- 设置UI下的Classic User Interface,把Theme改为KDE Plasma (Experimental)
- 设置Module下的Cloud Pinyin,把Backend改为Baidu
装备拼音输入法
进入Pinyin设置。
- 勾选Enable Cloud Pinyin。
- 撤销勾选Show preedit within application
- Action when switching input method,挑选Clear
导入词库
进入Pinyin设置,点击Dictionaries > Import > Brownse Sougou Cell Dictionary Online,即可在网页上阅读搜狗词库,选中后下载,即可主动增加到词库。
装备输入法托盘
假如没有输入法托盘图标,手动运转Fcitx 5运用程序。
任务栏右键,点击Add Widgets…,查找input,把Input Method Panel拖到托盘左边,再增加一个Margins Separator将它与其他托盘图标分离隔。
Input Method Panel会替代本来的托盘图标,作为独立部件存在,这样就能保证它一直在所有托盘图标的左边。
Input Method Panel的另一个功能是显示输入法的各种开关,切换到拼音即可见。但开关太多了不好看,右键点击开关挑选隐藏。
体系设置
禁止单击翻开
Workspace Behavior > General Behavior > Clicking files or folders,挑选Selects them。
封闭主动锁屏
Workspace Behavior > Screen Locking > Lock screen automatically > After,撤销勾选。
调整访问记载
本来应该关掉,但只能关掉文件记载,关不掉目录记载。无法只能设置1个月清理。
Workspace Behavior > Recent Files > Keep history,改为一个月。
封闭窗口方位回忆
Windows Management > Window Behavior > Advanced > Allow apps to remember…,撤销勾选。
设置快捷键
Shortcuts > Shortcuts > Add Application…,挑选Konsole和System Monitor。
Konsole默许快捷键是Ctrl+Alt+T。System Monitor默许没有快捷键,设置为Ctrl+Shift+Esc。
删去Spectacle下的所有快捷键,设置为:
- Capture Active Window:Ctrl+Print(本该设置为Alt+Print,但KDE无法设置这个组合键)
- Capture Entire Desktop:Print
- Capture Rectangular region:Shift+Print
改动开关机行为
Startup and Shutdown > Desktop Session。
撤销勾选Logout Screen下面的Show。关机不再需求二次验证。
挑选Start with an empty session。开机不再恢复上次会话。
改动查找行为
Search > Plasma Search。
悉数撤销勾选,只留下Applications、Desktop Search、Locations、Places、Recent Files、System Settings。
翻开NumLock
Input Devices > Keyboard > Numlock on Plasms Startup,挑选Turn on。
封闭鼠标自适应加速
Input Devices > Mouse > Acceleration profile,挑选Flat。
设置刷新率
对于高刷屏,Plasma或许不会默许设置最大刷新率。
Display and Monitor > Display Configuration > Refresh rate。
调增电源计划
Power Management > Energy Saving。
撤销勾选Screen Energy Saving。
When power button pressed挑选Shut down。
装备登录界面
Startup and Shutdown > Login Screen (SDDM)。
双击Breeze主题,运用到登录界面。
点击Apply Plasma Settings…,将体系设置同步到登录界面。
组件设置
Dolphin
翻开Dolphin,先调整窗口大小。
在菜单栏里找到Configure Dolphin…。
-
General
- Behavior,撤销勾选Show selection marker
- Confirmations,撤销勾选Closing windows with multiple tabs
-
Startup
- Show on startup,挑选主目录
-
Navigation
- 勾选Open folders during drag operations
-
Context Menu,悉数撤销勾选,仅保留以下
- ‘Compress’ service menu
- ‘Extract’ service menu
- Add to Places
- Sort By
- View Mode
- Copy Location
- Encrypt File
- Open in New Tab
- Open in New Window
- Open Terminal Here
- Plasma Vault mount and unmount
- Run in Konsole
- Set as Wallpaper
- Share
- Start a Slideshow
- View file decrypted
-
Trash
- 勾选Cleanup,时刻设置为30天
Clipboard
体系托盘右键Clipboard,点击Configure Clipboard…。General标签,撤销勾选Save history across desktop sessions。
开始菜单图标
翻开Application Launcher Settings,点击Icon,在Other分类里有archlinux-logo。
System Monitor
翻开System Monitor,History > Edit Page,点击CPU的图表。
- 撤销勾选Stacked Charts
- Fill Opacity改为10
Spectacle
Configure… > General > Remember selected area,挑选Never。
Konsole
Settings > Configure Konsole…。
- General,撤销勾选*Remember windows size
- Temporaty Files,挑选User cache directory
- Tab Bar/Splitters > Appearance > Position,挑选Above terminal area
Profiles,新建装备。
-
General > General Settings
- 勾选Default profile
- Terminal bell mode,挑选System Bell
-
Appearance
- Color scheme & font,字体设置为11号
- Complex Text Layout,撤销勾选Word mode
-
Scrolling
- Scrollbar position,挑选Hidden
- 撤销勾选Highlight the lines coming into view
-
Mouse
- Text interaction,撤销勾选Copy test as HTML
- Miscellnneous > Text Editor Command,挑选KWrite
Settings,撤销勾选Show Menubar