Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Itch app not launching on Ubuntu 22.04 LTS

A topic by Pelatho created Sep 10, 2022 Views: 1,805 Replies: 7
Viewing posts 1 to 4
(+1)

I just grabbed the itch-setup and it's not running. Tried running again in ~/itch. The window opens and immediately closes.

There's an endless stream of these kinds of errors:


2022/09/10 22:35:05 [debug] (resources/app/node_modules/buffer-from/package.json) expected file, got error open /home/pelatho/.itch/staging/app-25.5.1/resources/app/node_modules/buffer-from/package.json: no such file or directory github.com/itchio/lake/pools/fspool.(*FsPool).GetReader     /root/go/pkg/mod/github.com/itchio/lake@v0.0.0-20200305150023-cc4284ec2b2a/pools/fspool/fspool.go:88 github.com/itchio/wharf/pwr.(*ValidatorContext).validate.func3     /root/go/pkg/mod/github.com/itchio/wharf@v0.0.0-20200618125324-225b1d4a2468/pwr/validator.go:366 github.com/itchio/wharf/pwr.(*ValidatorContext).validate     /root/go/pkg/mod/github.com/itchio/wharf@v0.0.0-20200618125324-225b1d4a2468/pwr/validator.go:422 runtime.goexit
(+1)

I am also encountering this issue.

same problem here

(+2)

i found a workaround , when launching from terminal add: 

% ./itch --in-progress-gpu --no-sandbox  

 you can add the options directly in the launcher

(+3)

This workaround works for me, but I can't find a way to edit the launcher so I wouldn't have to start the client from terminal.

(2 edits) (+3)

Edit launcher file:

gedit ~/.local/share/applications/io.itch.itch.desktop

Append ' --in-progress-gpu --no-sandbox' on 'Exec' line:

Exec=/home/username/.itch/itch --in-progress-gpu --no-sandbox %U

And the launcher should be working in a few seconds.

Or if you are lazy like me, just a one liner:

sed -Ei "s/^(Exec=\/home\/\w+\/\.itch\/itch)\s+(%U)$/\1 --in-progress-gpu --no-sandbox \2/" ~/.local/share/applications/io.itch.itch.desktop

Extrem simple remove:

sed -i "s| --in-progress-gpu||; s| --no-sandbox||" ~/.local/share/applications/io.itch.itch.desktop
(+1)

Thank you! I originally edited the TryExec line, which caused the launcher to disappear.

(1 edit)

what u did?

edit: nvm its worked