You are not logged in.


I'm looking for some ideas on how to do this cleanly. I will switch back and forth from X to Wayland occasionally but there are some applications that don't run in wayland and some won't run in X. I have chosen alternates for each login type but if I use the xfce4 autostart then some applications either won't run(ok) or will run in both environments(not preferable). Wayland/Labwc has a means of autostarting applications but if I use the normal autostart feature then all I have is an all or none scenario.
The one application I would start with is Tilda. A drop down terminal for X. On Wayland I chose Guake. Not really that great but it's the only on I could get to work consistently. The problem is guake runs on both X and Wayland so I just kill it while under X as I prefer Tilda.
Any Idea?
But it's all right, when you're all in pain and you feel the rain come down
It's alright, when you find your way, then you see it disappear
It's alright....
Chris Cornell
Offline


A simple wrapper script would do
#!/bin/bash
if [[ "$XDG_SESSION_TYPE" == "wayland" ]]; then
exec guake
else
exec tilda
fiLast edited by Misko_2083 (2025-11-27 13:44:29)
Do you want to exit the Circus?
https://www.youtube.com/watch?v=ZJwQicZHp_c
Offline


Maybe a combination of the two?
https://github.com/shih-liang/tilda-way … 83763c3d93
https://forum.maboxlinux.org/t/run-or-r … labwc/2147
TC
Offline
[ Generated in 0.024 seconds, 7 queries executed - Memory usage: 519.66 KiB (Peak: 520.64 KiB) ]