Skip to content

Commit db813d4

Browse files
committed
giambel
1 parent c80b11a commit db813d4

2 files changed

Lines changed: 6 additions & 12 deletions

File tree

src/components/InteractiveInstaller.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -319,15 +319,15 @@ const chromiumWaylandFlags = "--enable-features=UseOzonePlatform --ozone-platfor
319319

320320
<!-- DE Specific Setup -->
321321
<div v-if="waylandDeSpecific" class="wayland-setup-section mb-6">
322-
<h5 class="mb-2">{{ selectedDe }} Wayland Configuration</h5>
322+
<h5 v-if="selectedDe !== 'KDE Plasma'" class="mb-2">{{ selectedDe }} Wayland Configuration</h5>
323323

324324
<div class="wayland-details p-4">
325-
<p class="instruction mb-2"><b>Thành phần hỗ trợ:</b> {{ waylandDeSpecific.support_info }}</p>
325+
<p v-if="waylandDeSpecific.support_info" class="instruction mb-2"><b>Thành phần hỗ trợ:</b> {{ waylandDeSpecific.support_info }}</p>
326326

327327
<div v-if="waylandDeSpecific.best_setup && waylandDeSpecific.best_setup.length > 0">
328-
<p class="instruction"><b>Hướng dẫn cài đặt tốt nhất:</b></p>
328+
<p v-if="selectedDe !== 'KDE Plasma'" class="instruction"><b>Hướng dẫn cài đặt tốt nhất:</b></p>
329329
<ul class="setup-list-mini">
330-
<li v-for="(point, idx) in waylandDeSpecific.best_setup" :key="idx">{{ point }}</li>
330+
<li v-for="(point, idx) in waylandDeSpecific.best_setup" :key="idx" v-html="point"></li>
331331
</ul>
332332
</div>
333333

src/data/installer.ts

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -79,14 +79,8 @@ export const logic = {
7979
},
8080
"KDE Plasma": {
8181
"best_setup": [
82-
"Sử dụng KDE Plasma 5.27 trở lên.",
83-
"Biến môi trường: `XMODIFIERS=@im=fcitx` cho ứng dụng XWayland.",
84-
"Vào **System Settings** -> **Virtual Keyboard** -> Chọn **Fcitx 5**.",
85-
"Không đặt `GTK_IM_MODULE` & `QT_IM_MODULE` toàn cục.",
86-
"Tham số trình duyệt: `--enable-features=UseOzonePlatform --ozone-platform=wayland --enable-wayland-ime`"
87-
],
88-
"support_info": "Hỗ trợ text-input-v1/v2/v3 và zwp_input_method_v1.",
89-
"caveats": "Một số ứng dụng Gtk/Qt cũ chỉ chạy X11 vẫn có thể cần đặt module riêng lẻ. Tránh đặt toàn cục để tránh lỗi nhấp nháy cửa sổ ứng viên."
82+
"Vào <b>System Settings</b> → <b>Keyboard</b> → <b>Virtual Keyboard</b> → Chọn <b>Fcitx 5</b>."
83+
]
9084
},
9185
"Sway": {
9286
"support_info": "Hỗ trợ text-input-v3 và zwp_input_method_v2 (từ bản 1.10+).",

0 commit comments

Comments
 (0)