!rGlCMuXgAhgEpdvJUz:nixos.org

NixOS KDE

207 Members
55 Servers

Load older messages


SenderMessageTime
22 Nov 2022
@samueldr:matrix.orgsamueldr *
~ $ cat /proc/$(pgrep systemsettings)/environ | grep --null-data ^QT_QPA_PLATFORM | xargs -n1 -0 echo
QT_QPA_PLATFORMTHEME=KDE
QT_QPA_PLATFORM=wayland
22:31:10
@samueldr:matrix.orgsamueldrmeanwhile my app compartmentalization drops all the environment only to get the login environment + whatever is imported into systemd22:31:36
25 Nov 2022
@samueldr:matrix.orgsamueldr
In reply to @samueldr:matrix.org
before I bring this up with upstream, anyone would have clues to help figuring out if it's our packaging of Plasma Mobile that makes it so the wallpaper is reset every time it starts?
progress, immutability=1 is being set on the "Containment", which seems to reset it at launch... I'm up to the 38th Containment, setting it to 0 in my config keeps the settings on relaunch
02:51:11
@samueldr:matrix.orgsamueldr

huh... this is fun

  • https://userbase.kde.org/KDE_System_Administration/Configuration_Files
  • https://github.com/KDE/kconfig/blob/62cb8e29d7457bb5ac767d29205e547aec668c75/docs/options.md?plain=1

there is a system in place to make global options possible, and even lock them if needed

04:44:56
@samueldr:matrix.orgsamueldr... except that for some reason it does not apply to the plasmoid setup on the desktop04:45:08
@samueldr:matrix.orgsamueldranyone has tried to make a declarative thing with NixOS for Plasma settings604:45:38
@samueldr:matrix.orgsamueldr * anyone has tried to make a declarative thing with NixOS for Plasma settings?04:45:39
@samueldr:matrix.orgsamueldrattempts are made, kind of, https://github.com/nix-community/home-manager/issues/60704:48:49
@samueldr:matrix.orgsamueldrthe file format, though, is simply hostile05:45:06
@samueldr:matrix.orgsamueldr
[Libinput][2][14][ETPS/2 Elantech Touchpad]
NaturalScroll=true
TapToClick=true
05:45:17
@samueldr:matrix.orgsamueldrI need to look into whatever uses kcminputrc, but I'm assuming from that file that you can't configure "any touchpad"05:46:19
@samueldr:matrix.orgsamueldr

at the very least the identifers are related to the hardware;

15: 0002:000e I8042  isa0060/serio4/i ETPS/2 Elantech Touchpad KEY ABS         

0x2 and 0xe → 2, 14

and this matches for another device (18d1:503c →[6353][20540])

06:06:31
@samueldr:matrix.orgsamueldrAFAICT this doesn't apply to keyboard, but applies to mice, and this means if you change mouse, there are no user-defined defaults... so things like acceleration or left-handedness need to be re-defined?06:15:13
@samueldr:matrix.orgsamueldr

support was added for defaults:

  • https://invent.kde.org/plasma/kwin/-/commit/352e92e32f04d80944002a7abf363f1b957ce5b2
06:49:19
@samueldr:matrix.orgsamueldr

but AFAIUI this implies it's not being used

  • https://invent.kde.org/plasma/kwin/-/blob/777c2bdb18408b903e7be6e6f9fe5183899b8a24/src/backends/libinput/device.cpp#L403-405
06:49:57
@samueldr:matrix.orgsamueldr(coupled with the fact it doesn't work)06:50:07
@samueldr:matrix.orgsamueldram I understanding that bit right?06:50:19
@k900:0upti.meK900 samueldr: I have a horrible thing that does it with kconfig invocations but also yes 06:56:41
@samueldr:matrix.orgsamueldrAFAIUI the plasmoid setup simply cannot be done because of arbitrary identifiers06:57:14
@samueldr:matrix.orgsamueldr the only method I found that worked was symlinking to /etc/xdg/whateverthenameofitwas 06:57:40
@samueldr:matrix.orgsamueldrand hardcoding my current config :(06:57:52
@k900:0upti.meK900Yeah the plasmoid setup is iffy06:58:00
@k900:0upti.meK900I think there's a DBus endpoint that can run custom JS in the Plasma context 06:58:30
@k900:0upti.meK900But that's A Lot06:58:33
@samueldr:matrix.orgsamueldreven the "globals from system config" thing absolutely didn't work for plamoids, but does for other things like input06:58:33
@samueldr:matrix.orgsamueldryeah, really a lot06:58:47
@samueldr:matrix.orgsamueldrdo you understand enough of the C++ twisted passages of Qt+KDE to know if that kwin bit means the defaults simply aren't being applied?06:59:21
@k900:0upti.meK900I just woke up and typing this from my phone tbh 06:59:41
@samueldr:matrix.orgsamueldr I'll be testing (tomorrow) "just" adding (*it)->read(this, m_defaultConfig); 06:59:46
@k900:0upti.meK900I don't want to read C++ on my phonen06:59:50

Show newer messages


Back to Room ListRoom Version: 9