惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

F
Fortinet All Blogs
WordPress大学
WordPress大学
The Cloudflare Blog
云风的 BLOG
云风的 BLOG
博客园 - Franky
D
Docker
小众软件
小众软件
阮一峰的网络日志
阮一峰的网络日志
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Engineering at Meta
Engineering at Meta
MongoDB | Blog
MongoDB | Blog
U
Unit 42
M
MIT News - Artificial intelligence
B
Blog
GbyAI
GbyAI
C
Check Point Blog
P
Proofpoint News Feed
博客园 - 司徒正美
Hugging Face - Blog
Hugging Face - Blog
雷峰网
雷峰网
IT之家
IT之家
Google DeepMind News
Google DeepMind News
V
V2EX
Stack Overflow Blog
Stack Overflow Blog

Arch Linux Forums

Avidemux crashes without strace / Applications & Desktop Environments how to apply patches with non-linux linends / Newbie Corner Replicating CachyOS on vanilla Arch (or at least getting close) / Arch Discussion What's arch linux GUI package manager ? / Newbie Corner Hibernation failing due to insufficient memory / System Administration profiledef.sh editting question / Installation trying to script kde plasma wallpaper settings / Programming & Scripting Looking for new Audacious package maintainer / Creating & Modifying Packages issues installing arch with LUKS2 encryption / Newbie Corner QEMU PXE booting does not work with OVMF.4m.fd / Applications & Desktop Environments Wired lan regular disconnect / Newbie Corner Need Help setting up ARCH in my G16 G634JZR iwlwifi started failing consistently, trying to determine root cause Windows randomly jumping between monitors after GNOME 50 update No display via DP or HDMI after boot. / Kernel & Hardware how to change acpi platform_profile? / Newbie Corner Linux denied all kernel modules which not loaded right now Use iPhone as Webcam for Arch Linux Video Output Failure on nvidia-580xx-dkms on TTY --> Desktop switch (Page 2) / Kernel & Hardware I was going to rant ..WINE32 Sabotage compliments of Arvind Krishna / Arch Discussion [SOLVED] LUKS drive auto unlocked by TPM when expected not to / Networking, Server, and Protection Hibernate/suspend from X = dark panel; from TTY = works (ASUS G14, hyb (Page 2) / Laptop Issues Headphone jack noise/buzz / Newbie Corner segmentation fault in cc1plus when building CLK / AUR Issues, Discussion & PKGBUILD Requests Console alternative to meld / GNU/Linux Discussion Problem with paru git clone / Newbie Corner XKB questions / Applications & Desktop Environments gnome-keyring-daemon is not working correctly / Applications & Desktop Environments [SOLVED] Steam opens and immediately closes constantly / Newbie Corner Firefox rounded edges on Sway / Applications & Desktop Environments
Niri - environment / Applications & Desktop Environments
Andree4711 · 2026-06-24 · via Arch Linux Forums

Hi, ich benutze zur Zeit Niri und Noctalia, bin damit auch sehr zufrieden (denn das ständige Fenster hin und her schieben fällt komplett weck).
Das einzige das zur Zeit nervt sind die "environment" Variablen. Dazu habe ich nirgends was vernünftiges gefunden. Jeder macht sein eigenes Ding.
Bei Noctalia kann man lesen wie man "QT_QPA_PLATFORMTHEME" konfigurieren sollte.
Ich habe mit den werten "qt6ct" , "gtk3" und "kde" experimentiert und bei jeder Einstellung andere Ergebnisse bei dem Programm "kate" bekommen.
Wenn ich bei "kate" datei Öfnen anwende bekomme ich unter "gtk3" ein Datei Fenster im Gnome Type. 
Bei "qt6ct" bekomme ich den normalen KDE Fenster Type allerdings ohne das gewählte Theme.
Nutze ich hingegen den Wert "KDE", habe ich das Fenster im KDE Type und zudem noch das richtige Theme.
Zu dem Wert "KDE" kann ich absolut nichts finden, diesen Wert habe ich mal bei irgend einem YouTube'r ab geschaut.

Den folgenden Wert habe ich mir ebenfalls ab geschaut und nutze ihn ohne zu wissen ob es überhaupt Sinn macht.
QT_QPA_PLATFORMTHEME_QT6 "gtk3"

Das sind zur Zeit meine Einstellungen bei "niri". Es wäre schön wenn jemand mehr über Variable unter "niri" weiß.
Weiter unten habe ich noch einen Test mit dem Programm "ventoygui" über 6 Punkte gemacht.
Wenn man vor "ventoy" das prg. "gparted" startet geht Ventoy, ansonsten allerdings nicht.

#-----------------------------
environment {
    DISPLAY ":1"  // JDownloader2 braucht Display=":1" mit ":0" startet er nicht
    ELECTRON_OZONE_PLATFORM_HINT "auto"
    QT_QPA_PLATFORM "wayland"
    //QT_QPA_PLATFORMTHEME "qt6ct"
    //QT_QPA_PLATFORMTHEME "gtk3"
    QT_QPA_PLATFORMTHEME "kde"
    QT_QPA_PLATFORMTHEME_QT6 "gtk3"
    QT_WAYLAND_DISABLE_WINDOWDECORATION "1"
    XDG_SESSION_TYPE "wayland"
    XDG_CURRENT_DESKTOP "niri"
    WAYLAND_DISPLAY "wayland-1"
    //           //
    // JAVA var. wird für JDownloader zur Zeit benoetigt  - - - by Vengan
    JAVA_HOME "/usr/lib/jvm/default"
    _JAVA_AWT_WM_NONREPARENTING "1"
    //           //
    //  test     //
    GTK_IM_MODULE "simple"
    //  GTK_IM_MODULE "fcitx"
    //  QT_IM_MODULE "fcitx"
    //  XMODIFIERS "@im=fcitx"
}
#-------------------------------

1   -   start ventoygui - ventoy startet nicht
------  ❯ ventoygui&
------  [1] 30523
------  ❯ Authorization required, but no authorization protocol specified
------  (Ventoy2Disk.gtk3:30526): Gtk-WARNING **: 17:36:30.255: cannot open display: :1
------  [1]  + 30523 exit 1     ventoygui
2   -   start gparted - gparted startet
------  ❯ gparted&
------  [1] 30552
------  localuser:root being added to access control list                                                                                                                                                                                                         
------  ❯ GParted 1.8.1
------  configuration --enable-libparted-dmraid
------  ❯
3   -   start ventoygui - ventoy startet
------  ❯ ventoygui&
------ [2] 31363
------ ❯
------ (Ventoy2Disk.gtk3:31366): IBUS-WARNING **: 17:37:04.826: The owner of /home/vengan/.config/ibus/bus is not root!
------
------ (Ventoy2Disk.gtk3:31366): Gtk-CRITICAL **: 17:37:04.828: gtk_widget_grab_default: assertion 'gtk_widget_get_can_default (widget)' failed
------
------ (Ventoy2Disk.gtk3:31366): Gtk-CRITICAL **: 17:37:04.828: gtk_widget_grab_default: assertion 'gtk_widget_get_can_default (widget)' failed
------
------ (Ventoy2Disk.gtk3:31366): Gtk-WARNING **: 17:37:04.872: Could not load a pixbuf from icon theme.
------ This may indicate that pixbuf loaders or the mime database could not be found.
------  ❯
4   -  close gparted
------  ❯ gparted&localuser:root being removed from access control list
------ [1]  - 30552 done       gparted
5   -  close ventoy
------ [2]  + 31363 done       ventoygui
------ ❯
6   -   start ventoygui - ventoy startet nicht
------ ❯ ventoygui&
------ [1] 32582
------ ❯ Authorization required, but no authorization protocol specified
------ (Ventoy2Disk.gtk3:32585): Gtk-WARNING **: 17:54:40.481: cannot open display: :1
------ [1]  + 32582 exit 1     ventoygui
------ ❯