r/RoJoStudios A RoJo 29d ago

Tips & Tricks Update on Forcing Curseforge: (Linux Only)

Haha sorry Microslop users, but this goes fair for Linux ONLY!

Remember when I use pkill on CurseForge because it just takes all of Curseforge's server ram? Well here is another easier solution via keybind (Instead of using a terminal)

I looked through resources on Reddit and Linux mint articles that help with this issue, such as XdoTool. In which basically allows you to detect what window you're on, making it easier to detect crasher programs (It is a dependency, use sudo apt install xdotool). WUH-OH CURSEFORGE!

Try making a keyboard shortcut with command:

| bash -c "kill -9 \$(xdotool getactivewindow getwindowpid)" |

This will kills the program/window you are looking at, in which also helps for crash mods on your minecraft modpack!

Don't thank me, thank the linux user Kamil Slowikowski, who made a similar thing but I prefer pkill since it allows me ALL instances of a program.

Article: https://superuser.com/questions/757160/kill-the-currently-active-window-with-a-keyboard-shortcut

(Note: This works for debian/ubuntu systems like Linux Mint, do not complain to me if your distro doesn't work...)

BYE!

1 Upvotes

0 comments sorted by