Skip to content

Instantly share code, notes, and snippets.

View maotovisk's full-sized avatar

Lucas Veiga maotovisk

View GitHub Profile
@maotovisk
maotovisk / replace-notepad.sh
Created March 23, 2025 11:51
Replace notepad.exe from wineprefix with native editor.
#!/bin/bash
if [ -z "$1" ]; then
echo "[INFO] No prefix path argument passed"
WINEPREFIX="$HOME/.local/share/wineprefixes/osu-wineprefix"
echo "[INFO] Using default prefix path: $WINEPREFIX"
else
WINEPREFIX="$1"
echo "[INFO] Using custom prefix path: $WINEPREFIX"
fi
@maotovisk
maotovisk / 1-sul-uploader.md
Last active June 5, 2023 19:03
S-ul flameshot uploader
@maotovisk
maotovisk / native-file-manager-tutorial-en.md
Last active April 5, 2025 15:57
Integrating native file explorer on wine with linux.

Integrating native file explorer on wine with linux.

This is mostly aimed at osu! mappers/storyboarders who need an easy way to access osu! beatmap folders through wine.

Introduction

This is a quick tutorial on how you can edit some wine registry files to make wine open the native linux file explorer when clicking the Open folder menu on whatever application uses it, since the explorer.exe application doesn't integrate that well with the linux environment.

The main use-case for this workaround is the case of those who need to work with a high bandwidth of files being moved around and shared/edited/whatever it's needed to do with it. eg. osu!mappers

Doing it...

1. Getting the useful info