If you recall, I made a post about how launching flatpak's via icons causes an X11 window manager crash, which logs me out of the system. However, if I launch Steam Flatpak via terminal using this command, it launches successfully without logging me out of the OS.
flatpak run -v com.valvesoftware.Steam
I'd like to create an icon that I can place on my panel, that within a single click, will launch terminal, and run that command above. How do I do this? I'd appreciate it if you could help me with this. Thanks!
Sorry, but I am not a terminal wizard, this is why I am asking Aravisian on how to do this, because he is. Also, I had to correct a major error in my post, as it still had a different game in my dang clipboard, a game in which I have since removed off the drive. And I fixed an error in my title too, to clarify better.
There was a slight error in your commands that was causing a failure. You need to remove the hashtag, or the execution will not work. This is how the text file needed to be.
Terminal does show that Steam is throwing lots of can't connect to the x session manager, but despite those errors, which I always get in terminal, Steam launches fine with that command, and I can play games too.
And now, one last screenshot to show that I just beautified the Steam icon, to match my beautiful theme...HEHE