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: 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!
Login / Register
- Steam Controller 2 is apparently a thing and being 'tooled for a mass production' plus a new VR controller
- Unofficial PC port of Zelda: Majora's Mask, 2 Ship 2 Harkinian has a big new release out
- Half-Life: Blue Shift remake mod Black Mesa: Blue Shift - Chapter 5: Focal Point released
- Linux kernel 6.12 is out now with real-time capabilities, more gaming handheld support
- Steam Deck OLED: Limited Edition White and Steam Deck Australia have launched
- > See more over 30 days here
-
War Thunder adds stealth tech, ray tracing and graphics…
- Liam Dawe -
itch.io store now requires AI generated content disclos…
- pleasereadthemanual -
Free-to-play pixel art survival game Ruins To Fortress …
- Phlebiac -
Kathy Rain 2: Soothsayer announced and there's a demo a…
- Phlebiac -
Dungeon Clawler will grab hold of your free time now it…
- HyperRealisticRock - > See more comments
- Weekend Players' Club 11/22/2024
- Pengling - Our own anti-cheat list
- Liam Dawe - Spare gog keys
- on_en_a_gros - What do you want to see on GamingOnLinux?
- dpanter - Nintendo-style gaming, without Nintendo!
- Talon1024 - See more posts
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