this post was submitted on 23 Mar 2024
22 points (95.8% liked)

Linux

47940 readers
1120 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
[–] [email protected] 1 points 7 months ago* (last edited 6 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.