archlinux kde, config

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
sudo pacman -S xorg xorg-xinit
sudo pacman -S plasma-desktop
echo "exec startplasma-x11" > ~/.xinitrc

sudo pacman -S konsole dolphin kate
startx
sudo pacman -S sddm
sudo pacman -S breeze-gtk breeze kde-gtk-config
sudo pacman -S kdeplasma-addons

sudo pacman -S kwalletmanager
# start kwalletmanager and disactive kwallet

登录后启动kde

1
2
3
4
vim /home/wiloon/.zshrc
if [[ ! $DISPLAY && $XDG_VTNR -eq 1 ]]; then
  exec startx
fi

https://wiki.archlinux.org/index.php/Xinit#Autostart_X_at_login{.wp-editor-md-post-content-link}

sddm

https://wiki.archlinux.org/index.php/Display_manager#Loading_the_display_manager

锁屏界面的日期时间格式

https://chubuntu.com/questions/28565/how-to-display-kde-lock-screen-time-in-24-hour-format.html

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
vim  /usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/components/Clock.qml
找到这一行: 

text: Qt.formatTime(timeSource.data["Local"]["DateTime"])
并将其更改为

text: Qt.formatTime(timeSource.data["Local"]["DateTime"], "hh:mm:ss")
对于ISO日期更改,请找到以下行: 

text: Qt.formatDate(timeSource.data["Local"]["DateTime"], Qt.DefaultLocaleLongDate);
并将其更改为

text: Qt.formatDate(timeSource.data["Local"]["DateTime"], "yyyy-MM-dd");
保存更改。

按Ctrl + Alt + L锁定屏幕并立即查看更改。

kde 配置

多显示器

Right-click on the background of the second screen -> Add Panel -> Empty Panel add widgets: task manager

Arch Linux, KDE, Wayland

1
2
pacman -S plasma-desktop plasma-wayland-session
dbus-run-session startplasma-wayland

wayland rdp

1
2
3
pacman -S weston freerdp
weston --backend=rdp-backend.so --port=3389

编译 Weston

1
2
3
4
git clone git@gitlab.freedesktop.org:wayland/weston.git
pacman -S wayland-protocols cmake seatd
meson build/ --prefix=/root/tmp/foo
# Failed to load module: libicuuc.so.70, 等 weston 升版本

https://man.archlinux.org/man/weston.1

https://gitlab.freedesktop.org/wayland/weston