Installing on Linux / Ubuntu 22.04 (Pop OS) #178
Replies: 6 comments 1 reply
-
|
Thank you so much! The gmpublisher you compiled did manage to open on my Linux Mint 21.1 PC, so it should be good for most other people (hopefully). |
Beta Was this translation helpful? Give feedback.
-
|
I think you forgot to change Icon value in gmpublisher.desktop example. Anyways, thank you very much! I finally was able to make github workflow for building. |
Beta Was this translation helpful? Give feedback.
-
|
Ugly workaround for Ubuntu 24.04 based distros (tested on Linux Mint): sudo ln -sf /usr/lib/x86_64-linux-gnu/libwebkit2gtk-4.1.so.0 /usr/lib/x86_64-linux-gnu/libwebkit2gtk-4.0.so.37
sudo ln -sf /usr/lib/x86_64-linux-gnu/libjavascriptcoregtk-4.1.so.0 /usr/lib/x86_64-linux-gnu/libjavascriptcoregtk-4.0.so.18 |
Beta Was this translation helpful? Give feedback.
-
|
nice! |
Beta Was this translation helpful? Give feedback.
-
|
Don't know if I did something wrong but it didn't work for me lol |
Beta Was this translation helpful? Give feedback.
-
|
Ty man, working on endeveaurOS. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I managed to compile gmpublisher and I'd like to share this feat with you!
So far I had no crashes and my mouse input is fine (#102) and everything is working as expected :)
More screenshots
Here are my compilation steps:
v2.9.2 (tested on Pop OS 22.04)
Compile in a VM or Container to keep your system clean.
v2.11.1 (tested on Linux Mint 22.2) (broken)
When trying to compile v2.11.1 on Mint 22.2 I learned that the code is stuck on Tauri version 1.6, which makes it dependent on older versions of libwebkit2gtk (4.0, while Mint uses 4.1). This alone causes several problems in the compilation and I simply break the system to make it work. Anyway, the executable still has conflicting dependencies when used in clean systems, so it's kinda pointless. I guess the ideal solution here would be to continue compiling gmpublisher on Ubuntu 22.04 and make a appimage of it, but I don't know how to do that. Below is my experiment, if anyone is interested.
Note: This MUST be done in a VM or Container!!!!! I really break the system!!!
v2.11.1 (tested on Mint 22.2):
Extra 1 - Finding the correct Steam SDK version
Locations
Just so you know, you search for steamworks in this file:
https://github.com/WilliamVenner/gmpublisher/blob/master/src-tauri/Cargo.toml
And find the correct SDK version here:
https://docs.rs/steamworks/latest/steamworks/
Extra 2 - Download my binary (64 bits) & how to run it
gmpublisher.zip (v2.9.2 for 22.04)
(test the binary links with ldd, if needed)
Installation
To run my compiled gmpublisher you need to unzip the files into ~/Applications/gmpublisher and execute this command:
You can also add it to the system:
Extra 3 - Create a system shortcut
Set it up
If you're using a distro link Linux Mint, you can create the shortcut with a tool like this one:
On Pop OS, you can do it manually with these steps:
Save this icon:
as
~/.local/share/icons/hicolor/256x256/apps/gmpublisher.pngOr just go ahead and create the file manually:
Paste it into
~/.local/share/applications/gmpublisher.desktop(create this file)Run this command:
sudo chmod +x ~/.local/share/applications/gmpublisher.desktopTa-da!
(restart your session if the icon doesn't appear)
I feel like Linux is better covered now.
Beta Was this translation helpful? Give feedback.
All reactions