@kemona_halftau @thing I don’t think it actually broke anything except if you inputted a matching name but I reverted it anyway now.
I tried loading the windows assets and it spams ruby: warning: failed to load encoding (Windows-31J); use ASCII-8BIT instead on startup
@kemona_halftau @thing I did this:
diff --git a/binding-mri/wallpaper-binding.cpp b/binding-mri/wallpaper-binding.cpp
index 344825b..cf02998 100644
--- a/binding-mri/wallpaper-binding.cpp
+++ b/binding-mri/wallpaper-binding.cpp
@@ -330,7 +330,7 @@ end:
boost::replace_all(concatPath, "\\", "\\\\");
boost::replace_all(concatPath, "\"", "\\\"");
boost::replace_all(concatPath, "'", "\\x27");
- command << "qdbus org.kde.plasmashell /PlasmaShell org.kde.PlasmaShell.evaluateScript 'string:" <<
+ command << "dbus-send --session --dest=org.kde.plasmashell /PlasmaShell org.kde.PlasmaShell.evaluateScript 'string:" <<
"var allDesktops = desktops();" <<
"for (var i = 0, l = allDesktops.length; i < l; ++i) {" <<
"var d = allDesktops[i];" <<
@@ -426,7 +426,7 @@ RB_METHOD(wallpaperReset)
}
} else if (desktop == "kde") {
std::stringstream command;
- command << "qdbus org.kde.plasmashell /PlasmaShell org.kde.PlasmaShell.evaluateScript 'string:" <<
+ command << "dbus-send --session --dest=org.kde.plasmashell /PlasmaShell org.kde.PlasmaShell.evaluateScript 'string:" <<
"var allDesktops = desktops();" <<
"var data = {";
// Plugin, picture, color, mode, blur
I don’t know if it works or not. It hasn’t changed my wallpaper yet but maybe I just haven’t reached a point in the game where it does that.
@kemona_halftau @thing instead of using pyinstaller to turn the journal into a binary I just replaced it with a script that cd’s to the right directory and execs python so I can put environment variables in there, but it seems to be already using xwayland (qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in "")
does oneshot itself need to be using xwayland too? I have SDL_VIDEODRIVER=wayland set so it’s using wayland currently