You are not logged in.
Pages: 1
I've read all the wiki related to autostarting a script on wayland extensively. Yet no matter what I try, nothing works, that is why I am posting here.
I wish to autostart a script run_imwheel.sh. I have placed an imwheel.desktop file in ~/.config/autostart. It contains the following:
[Desktop Entry]
Name=imwheel
Exec=/home/stella/run_imwheel.sh
Terminal=false
StartupNotify=false
Is there something I am missing? I have made sure run_imwheel.sh is executable and in the right location. I appreciate anyone's help on this matter. I know how to get things to run on autostart on xorg, but on wayland I am not as experienced. Thank you.
Offline
Could you give more information?
wayland itself will autostart nothing, all its up to the compositor/DE to start something or nothing at all.
Edit: derp, this helps? https://wiki.archlinux.org/index.php/GNOME#Autostart
Last edited by GaKu999 (2021-04-03 05:08:26)
Offline
imwheel is an X11 specific mouse wheel emulator that saw its last update in 2004…
It will only run in the context of an xwayland server and is unlikely to work on wayland display servers at all.
=> Did you test that your imwheel script works at all, w/o any autostart considerations? And in which context? Maybe only after you launched some client in an xwayland context?
Offline
Yep, I've tested the imwheel script manually and it works. I think I will have to autostart it through my desktop environment as GaKu999 suggested. Thank you for all your help!
Offline
Pages: 1