this post was submitted on 15 Jul 2025
27 points (100.0% liked)

Linux Gaming

20052 readers
783 users here now

Discussions and news about gaming on the GNU/Linux family of operating systems (including the Steam Deck). Potentially a $HOME away from home for disgruntled /r/linux_gaming denizens of the redditarian demesne.

This page can be subscribed to via RSS.

Original /r/linux_gaming pengwing by uoou.

No memes/shitposts/low-effort posts, please.

Resources

WWW:

Discord:

IRC:

Matrix:

Telegram:

founded 2 years ago
MODERATORS
 

Hi All,

I am looking at starting a project and was wondering if there was a way to make it so a controller type changed boot conditions. I want to move to linux for my home entertainment and would like to have a ps5 controller boot Lutris and a different controller boot into something like KDE plasma.

Is this a possibility or nonsense?

all 9 comments
sorted by: hot top controversial new old
[–] Bluefruit@lemmy.world 1 points 1 hour ago

I think you'd be better off just having a controller hook up and that triggers a bash script to start steam in big picture mode or lutris.

You probably could do something like this if you really wanted to but this would be clunky. If you're always turning off the machine after you're done using it, maybe it'd be OK but IMO, it would make more sense to just use KDE plasma and script something to get the functionality that you want.

You wouldn't have to worry about booting things up or shutting them down if you wanna switch between gaming and whatever else, you could easily make changes to it, and it'd likely be less complicated.

Hell even a shortcut that opens it through a button combo or something would work for this. Pair controller, hit a key on your keyboard, boom, steam opens. That can be done through KDE natively through the shortcuts settings. Very easy to setup and something I use a lot.

[–] who@feddit.org 14 points 14 hours ago

This could use some clarification. Do you mean that you want...

  • Lutris or Plasma (depending on a detected game controller) to automatically launch as soon as your computer finishes booting, instead of the display manager that normally presents a login screen?
  • Lutris to automatically launch when you log in to a Plasma session while your PS5 controller is connected?
  • Lutris to automatically launch whenever you connect a controller while already logged in to a Plasma session?
  • Something else?

The possibilities really depend on what you're after.

[–] glitching@lemmy.ml 1 points 8 hours ago

"rebooting" is not a thing ova here. yeah, you can accomplish that but that's not what you want. utilising something like InputRemapper + e.g. Plasma shortcuts, you can launch a big-picture UI, like steam or plama-bigscreen when it's ready or somesuch, when you press a key combo on the controller or mouse or keyboard or any combination thereof.

[–] teppa@piefed.ca 3 points 13 hours ago

Do you mind explaining the incentives, why would you want a different controller to boot different things like that?

[–] superfes@lemmy.world 6 points 17 hours ago

Certainly seems like you could make a udev rule to do something along these lines, I know you can execute specific commands /w udev, whether or not you can enable or disable a system service or whatever, I dunno, guess you could always execute a custom start script before WM that decides which WM to start

[–] just_another_person@lemmy.world 4 points 17 hours ago (1 children)

I think the bigger hurdle here is that you need to do some legwork and research, else you would not be here asking this question 😉

It's possible but then I'd ask why? What's the purpose of booting a different DE based on the controller type?

[–] victorz@lemmy.world 2 points 16 hours ago

My guess is that they want only the necessary software to run when gaming, which KDE is not. But I'll let OP speak for themselves.