-
Notifications
You must be signed in to change notification settings - Fork 117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to add 3rd party application autostart in Gamescope ? #1058
Comments
There's no easy way to do what you want if the app is graphical, but if it doesn't have a gui you can use systemd --user |
Hi @NeroReflex, Unfortunately, I think those apps have GUI and systray icons. I don't think systemd will "do the trick" as apps need to have a running X server and a display to attach to, so even launching the app as "gamer" user via systemd shuold fail: anyway I should give it a try and report any success/failure (maybe introduce a delay to allow for session to load before executing the app). NOTE: I also tried to play with ".xsession" files but I think they're also too early in window manager start-up for those kind of apps... |
To me this looks like an XY problem. Perhaps if you explain it better the end goal I might be able to help? |
"XY problem"... ? The goal is simple: start a "barrier" client on ChimeraOS computer. Barrier allows to have keyboard and mouse from another computer on the same network to be used on the computer(s) running the client software. See https://github.com/debauchee/barrier for more details about it. It's working quite fine when using the Chimera Gnome desktop session: can't remenber if I installed it through pacman or flatpack - but is't available for most distributions in default repositories and other OSes as well. As it is simulating keyboard and mouse inputs on clients systems, it need to be started inside a X session to have a "recipient" to send those inputs. |
Plus I hope this may also be a workaround for #868 ! |
I'd like to add 3rd party application autostart when Gamescope session loads on system startup.
I've tried things that didn't work but I also don't want to interfere too much with ChimeraOS system to avoid rollbacks or issues when performing updates...
In my case, I just want to start a barrier or synergy (client or server) in order share keyboard and mouse between my ChimeraOS system and another computer on same network.
=> Does anyone knows the "good method" for doing such a thing that won't mess-up the system ?
The text was updated successfully, but these errors were encountered: