this post was submitted on 23 Mar 2024
21 points (95.7% liked)

Linux

48372 readers
1228 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

Just wanted to share something I did, still very amateur when it comes to bash, but I wrote a script to disconnect bluetooth controllers after I close my emulator. I'm sure there are better ways to do it, but this is my way of coping having lost DS4Windows PS+Options quick disconnect-

#!/bin/bash

# Run Retroarch flatpak run org.libretro.RetroArch

# Disconnect Controller after Quitting bluetoothctl disconnect 40:1B:5F:C9:94:2C

Just wanted to share as either my search games is weak, or there really isn't anything out there this straightforward.

Next up, trying to set up antimicrox to enable the same feature... :)

you are viewing a single comment's thread
view the rest of the comments
[–] jntesteves 3 points 8 months ago (1 children)

The last commit on that repository was 7 years ago, seems unmaintained. I wouldn't recommend using this.

If someone decides to use it anyway, don't use their udev rules. Just install steam-devices or game-devices-udev instead. If you don't have those packages available in your distro, all rules can be found in the git repo https://codeberg.org/fabiscafe/game-devices-udev

[–] [email protected] 1 points 8 months ago* (last edited 7 months ago)

Yes, it is unmaintained, but it does the job and works well. What the OP is looking for is already there. Since it's just a simple tool should be ok. Take a look at github's insights > network, maybe there is an active fork.