You are not logged in.

#1 2021-04-03 02:43:46

lycoris
Member
Registered: 2021-03-28
Posts: 3

How to autostart imwheel on GNOME WAYLAND

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

#2 2021-04-03 04:32:48

GaKu999
Member
From: US/Eastern
Registered: 2020-06-21
Posts: 696

Re: How to autostart imwheel on GNOME WAYLAND

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)


My reposSome snippets

Heisenberg might have been here.

Offline

#3 2021-04-03 08:24:15

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,527

Re: How to autostart imwheel on GNOME WAYLAND

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

#4 2021-04-05 20:03:36

lycoris
Member
Registered: 2021-03-28
Posts: 3

Re: How to autostart imwheel on GNOME WAYLAND

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

Board footer

Powered by FluxBB