An open API service indexing awesome lists of open source software.

https://github.com/cwadge/junk-drawer

Collection of miscellaneous resources
https://github.com/cwadge/junk-drawer

amdgpu bash batocera emulation flac fluidsynth guide linux midi mp3 overclocking pipewire playstation-2 psp radeon rdna transcoding tuning wav wireplumber

Last synced: 25 days ago
JSON representation

Collection of miscellaneous resources

Awesome Lists containing this project

README

          

# Junk Drawer
A collection of miscellaneous resources for Linux gaming and system tasks. Many of these are low-effort and largely unpolished, but I found them useful, so you might also.

## Scripts
| Category | Script | Description |
|----------|--------|-------------|
| Emulation | [network_tune_batocera](network_tune_batocera) | Sets custom network interface parameters (e.g., MTU, speed) at Batocera startup |
| Emulation | [nfs_mount_batocera](nfs_mount_batocera) | Mounts NFS exports locally as a client on Batocera Linux, e.g. for Kodi |
| Emulation | [disc-crusher.sh](disc-crusher.sh) | Compresses DVD or CD-ROM-based console images to CHD, auto-creates M3U for multi-disc games |
| Utility | [net-core-status.sh](net-core-status.sh) | Monitors the status of `unbound`, `kea`, and `chrony` on a core network services box |
| Utility | [fs-status.sh](fs-status.sh) | Monitors the status of ZFS, `mdadm`, storage devices, volumes, networks, NFS and Samba |
| Hardware | [set-rdna-oc-fan.sh](set-rdna-oc-fan.sh) | Creates and applies overclocking / fan profiles for AMD RDNA GPUs |
| Multimedia | [midi2wav.sh](midi2wav.sh) | Convert MIDI file(s) to digital audio like WAV, FLAC, AAC or MP3 |
| Multimedia | [pipewire_tuning_guide.md](pipewire_tuning_guide.md) | Quick & dirty guide to setting up low-latency, multi-rate PipeWire |
| Multimedia | [sonicsqueezer.sh](sonicsqueezer.sh) | A multi-threaded audio converter for WAV and FLAC to MP3, AAC, OGG, and more |
| Multimedia | [transcode-monster.sh](transcode-monster.sh) | Transcode single titles (movies) or series to H.265 with hardware accelleration ([README](transcode-monster.md)) |

## Installation
Clone the whole repo:
```bash
git clone https://github.com/cwadge/junk-drawer.git
```

or download an individual script:
```bash
wget https://raw.githubusercontent.com/cwadge/junk-drawer/main/set-rdna-oc-fan.sh
```

You could also download & install with a one-liner:
```bash
sudo wget https://raw.githubusercontent.com/cwadge/junk-drawer/main/set-rdna-oc-fan.sh -O /usr/local/sbin/set-rdna-oc-fan.sh && sudo chmod 755 /usr/local/sbin/set-rdna-oc-fan.sh
sudo wget https://raw.githubusercontent.com/cwadge/junk-drawer/main/disc-crusher.sh -O /usr/local/bin/disc-crusher.sh && sudo chmod 755 /usr/local/bin/disc-crusher.sh
sudo wget https://raw.githubusercontent.com/cwadge/junk-drawer/main/midi2wav.sh -O /usr/local/bin/midi2wav.sh && sudo chmod 755 /usr/local/bin/midi2wav.sh
sudo wget https://raw.githubusercontent.com/cwadge/junk-drawer/main/sonicsqueezer.sh -O /usr/local/bin/sonicsqueezer.sh && sudo chmod 755 /usr/local/bin/sonicsqueezer.sh
sudo wget https://raw.githubusercontent.com/cwadge/junk-drawer/main/transcode-monster.sh -O /usr/local/bin/transcode-monster.sh && sudo chmod 755 /usr/local/bin/transcode-monster.sh
```

On Batocera:
```bash
mkdir /userdata/system/services/
wget https://raw.githubusercontent.com/cwadge/junk-drawer/main/network_tune_batocera -O /userdata/system/services/network_tune && chmod 755 /userdata/system/services/network_tune
wget https://raw.githubusercontent.com/cwadge/junk-drawer/main/nfs_mount_batocera -O /userdata/system/services/nfs_mount && chmod 755 /userdata/system/services/nfs_mount
```

On a core network services machine:
```bash
sudo wget https://raw.githubusercontent.com/cwadge/junk-drawer/main/net-core-status.sh -O /usr/local/bin/net-core-status.sh && sudo chmod 755 /usr/local/bin/net-core-status.sh
```

On a file server:
```bash
sudo wget https://raw.githubusercontent.com/cwadge/junk-drawer/main/fs-status.sh -O /usr/local/bin/fs-status.sh && sudo chmod 755 /usr/local/bin/fs-status.sh
```

## Usage
Navigate to the script's folder and run it with appropriate arguments. See each script's `--help` or inline comments for details.

## Contributing
The usual: you're welcome to fork, submit issues, PRs, etc.

## License
MIT License ([LICENSE](https://opensource.org/license/MIT)) - feel free to use, modify, and share.

---

_A bunch of B-grade scripts by Chris Wadge_