u/Apprehensive-Host973

Minecraft only session in Ubuntu 26.04

Hi, I recently managed to make a Steam only session on my PC. As the title says, I'm on Ubuntu 26.04 (if it can be useful info). The way i did is the following:

I made a script: /usr/local/bin/steam-session

#!/bin/bash

trap 'kill $(jobs -p) 2>/dev/null' EXIT

exec gamescope \
  -W 2880 -H 1620 \
  -r 120 \
  -e \
  --xwayland-count 2\
  -- steam -gamepadui

I made a link to the session: /usr/share/wayland-sessions/steam.desktop

[Desktop Entry]
Name=Steam
Comment=Start Steam in Big Picture Mode
Exec=/usr/local/bin/steam-session
Type=Application

And then a new option in the GDM appeared (the gear thing with options in it in the login screen)

Easy right? Well actually yes! Steam runs perfectly since gamescope (which needs to be installed) is perfect for handling the Steam Big Picture session.

But I can't figure out what tool to use to handle the minecraft-launcher session.
The problem is that Steam Big Picture is always running, so unless Steam closes, the session continues, but the Minecraft Launcher doesn't run without interruptions.
You can close the launcher while playing the game for example, and also doesn't handle the game itself, but only the daemon launching the version you choose (that's my guess).

So is it possible to do a Minecraft only session on Ubuntu? If yes, how?

reddit.com
u/Apprehensive-Host973 — 5 days ago
▲ 3 r/krita+1 crossposts

I am here to discuss about this problem because the Krita's guidelines about bug reporting states clearly that if I have a problem with my graphic tablet it's not a Krita issue.

https://docs.krita.org/en/untranslatable_pages/reporting_bugs.html

Since the Ubuntu 26.04 release, only Wayland will be supported, meaning a definitive switch from X11 to Wayland.

Before this update Krita worked perfectly fine, but after this update, it won't read any of my tablet inputs. (I have an XP-Pen STAR G640)

I doubt that it has to do with tablet drivers.
I had to remove the proprietary drivers because they made a duplicate of my tablet in the gnome settings some how.
With the default drivers the tablet works just fine and I am also able to adjust all the settings, just like with the proprietary drivers.

I tested my tablet in other applications and only the updated apps that support Wayland work perfectly fine, but Krita and all the apps that work with X11 won't work.

I know that the only workaround is to go back to previous versions of Ubuntu and run an X11 session, but It's not the best idea since they won't be supported for much longer.

I tried forcing Krita on X11 with the command export QT_QPA_PLATFORM=xcb krita but it won't even start like this.

I tried with this other command forcing it on Wayland export QT_QPA_PLATFORM=wayland krita but even if it would start, it won't read the tablet input correctly, with the pointer constantly being the default pointer and not the appropriate variant.

I tried changing installation (flatpak, snap, deb and AppImage) and did all the tests with all these installations, but nothing fixed the missing tablet input in Krita.

I searched in the Krita's settings, but I couldn't find anything helpful so far.

I hope some of you have a better solution to this, and if possible a solution that doesn't involve a regression of the system.

[edit]: Sorry, in the previous version of this post I made a mistake with the commands.

reddit.com
u/Apprehensive-Host973 — 11 days ago