更换软件源
1 2 3 4 5
| sudo zypper mr -da sudo zypper ar -fcg 'https://mirrors.ustc.edu.cn/opensuse/tumbleweed/repo/oss' USTC:OSS sudo zypper ar -fcg 'https://mirrors.ustc.edu.cn/opensuse/tumbleweed/repo/non-oss' USTC:NON-OSS sudo zypper ar -fcg 'https://mirrors.ustc.edu.cn/opensuse/update/tumbleweed' USTC:UPDATE sudo zypper ref
|
安装解码器
1 2 3 4
| sudo zypper ar -cfp 90 'https://mirrors.aliyun.com/packman/suse/openSUSE_Tumbleweed/' packman sudo zypper refresh sudo zypper dist-upgrade --from packman --allow-vendor-change sudo zypper install --from packman ffmpeg gstreamer-plugins-{good,bad,ugly,libav} libavcodec-full vlc-codecs
|
安装输入法
1 2 3 4 5 6 7 8 9 10
| sudo zypper in fcitx5 fcitx5-chinese-addons fcitx5-configtool wget https://github.com/wuhgit/CustomPinyinDictionary/releases/download/assets/CustomPinyinDictionary_Fcitx_20240824.tar.gz wget https://github.com/felixonmars/fcitx5-pinyin-zhwiki/releases/download/0.2.5/zhwiki-20240909.dict tar -zxvf CustomPinyinDictionary_Fcitx_20240824.tar.gz sudo mkdir -p /usr/share/fcitx5/pinyin/dictionaries/ sudo cp CustomPinyinDictionary_Fcitx.dict /usr/share/fcitx5/pinyin/dictionaries/ sudo cp zhwiki-20240909.dict /usr/share/fcitx5/pinyin/dictionaries/ ls /usr/share/fcitx5/pinyin/dictionaries/ rm CustomPinyinDictionary_Fcitx_20240824.tar.gz CustomPinyinDictionary_Fcitx.dict zhwiki-20240909.dict sudo reboot
|
配置蓝牙
1 2 3
| sudo zypper in bluez-obexd systemctl --user start obex systemctl --user enable obex
|
配置Hyper-V
1 2 3 4 5
| sudo zypper in openSUSE-release-appliance-hyperv xrdp xorgxrdp sudo systemctl enable --now hv_fcopy_daemon.service hv_kvp_daemon.service hv_vss_daemon.service xrdp sudo firewall-cmd --add-port=3389/tcp --permanent sudo firewall-cmd --reload sudo reboot
|
获取IP地址,记下第二个命令的输出
1 2
| sudo zypper in busybox-net-tools ifconfig | grep -w "inet" | grep -v 127.0.0.1 | awk '{print $2}' | awk -F ':' '{print $2}'
|
自动启动桌面环境
1 2 3
| echo startxfce4 > ~/.xsession chmod +x ~/.xsession sudo reboot
|
1 2 3
| export DESKTOP_SESSION=plasma exec startplasma-x11
|
Windows远程桌面连接
输入<上面获取的IP地址>:3389,确认后选择xorg
,输入用户名和密码即可连接成功
解决声音问题
1 2 3 4
| sudo zypper addrepo https://download.opensuse.org/repositories/home:Psheng/openSUSE_Tumbleweed/home:Psheng.repo sudo zypper refresh sudo zypper install pulseaudio-module-xrdp sudo reboot
|