While you're here, please consider supporting GamingOnLinux on:
Reward Tiers:
Patreon. Plain Donations:
PayPal.
This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring good, fresh content. Without your continued support, we simply could not continue!
You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
Reward Tiers:
![](/templates/default/images/network-icons/patreon.png)
![](/templates/default/images/network-icons/paypal.png)
This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring good, fresh content. Without your continued support, we simply could not continue!
You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
Login / Register
- Black & White (2001) open source game engine sees a first release
- The Elecrow CrowView Note is a real useful all-in-one portable monitor and keyboard
- AMD's Z2 Extreme chip due out sometime in 2025 for handheld PCs
- No Man's Sky adds fishing, a fishing skiff, a new expedition, deep-sea diving and loads more
- Steam Deck - SteamOS 3.6.12 Beta released as the first Release Candidate
- > See more over 30 days here
-
Fanatical Bundle Fest brings a new Play on the Go Bundl…
- based -
CATO: Buttered Cat is a truly charming puzzle platforme…
- Philadelphus -
Stellaris: Cosmic Storms and the free 3.13 'Vela' updat…
- Philadelphus -
The Crew 2 and The Crew Motorfest are getting offline m…
- Ali_John -
Tower of Babel: Survivors Of Chaos could by my next fav…
- Purple Library Guy - > See more comments
I'm trying to run Minecraft from Steam on Linux (Mint), so I can make use of Steam Input to use my Gamepad instead of Mouse/Keyboard.
For this I need to add Minecraft as a non-Steam game to the library first and I need to point Steam to the game's executable .... which I can't.
Minecraft was installed via Flatpack (and so was Prism as an alternative launcher). So instead of an executable, there is a flatpack-command to start. But Steam presents me with a file-picker and not a text-entry to place a command into.
I tried to create a shell-script as a .sh file with the command to start the launcher, which I can add to Steam, but it won't start. It just does nothing when I select 'Play'.
Has anybody some helpful experience with this kind of scenario?
I haven't got much experience with Flatpack to be honest and only chose it because the apt-packages are much older.
From what I read it's a virtual container with executable + dependencies (like docker containers?) and I can only extract the start command from the start menu entry for the game.
View PC info
I'm not sure if it would help but it's simpler to download the launcher/any 3rd party launchers straight from the vendors page, minecraft et al. does not and need not touch your system folders.Doesn't minecraft have gamepad support though?
Last edited by dvd on 16 August 2024 at 4:47 am UTC
It wasn't that Minecraft or Prism was installed via Flatpack, but Steam was too and seemingly it couldn't directly interact with the base system correctly and wasn't allowed to start anything out in the general filesystem.
Removed the Steam Flatpack install and re-installed from apt.
Now I don't even need the .sh file, but am presented with a list of installed applications in the Linux base system to chose from. I can select Minecraft (or Prism) there and the Launcher is now started from Steam.
But I still can't use the Gamepad in neither the launcher nor the actual game although it's activated in Steam.
Unfortunately, Minecraft Java Edition does not directly support Gamepads (although Mods exist).
Symbolic links are designed for this purpose.
They're also symbolic links and thus horrible.
also I think you've yet to make your sh script executable, which is why it doesn't work.
sudo chmod "sh script" 711
and/or you should include the following line at the top of your sh script
#!/bin/bash