Code Monkey home page Code Monkey logo

Comments (29)

uricot avatar uricot commented on July 30, 2024 1

Seems to be some upstream issue with flatpak-spawn itself. I'll dick around in an Arch VM and see what the deal is.

i will be on crystal linux in a few days so i will also try it again

from cartridges.

uricot avatar uricot commented on July 30, 2024

running the launch executable command manually does work

from cartridges.

lorhof1 avatar lorhof1 commented on July 30, 2024

What do you get when running which xdg-open?

(Edit: You may want to remove your username if it is in the output)

from cartridges.

uricot avatar uricot commented on July 30, 2024

What do you get when running which xdg-open?

(Edit: You may want to remove your username if it is in the output)

/usr/bin/xdg-open

from cartridges.

lorhof1 avatar lorhof1 commented on July 30, 2024

What about flatpak enter hu.kramo.Cartridges xdg-open --help while Cartridges is running?

from cartridges.

uricot avatar uricot commented on July 30, 2024

What about flatpak enter hu.kramo.Cartridges xdg-open --help while Cartridges is running?

flatpak enter hu.kramo.Cartridges xdg-open --help

Usage:
xdg-open [OPTION?] { file | URL }

Help Options:
-h, --help Show help options

Application Options:
--version Show program version

from cartridges.

lorhof1 avatar lorhof1 commented on July 30, 2024

And when you create a test game entry by using "Add Game" in the plus menu where the command is a normal gui application like gnome-terminal, it works?

from cartridges.

uricot avatar uricot commented on July 30, 2024

no but entering the execute command this way:

flatpak enter hu.kramo.Cartridges [insert the execute command]

does work

from cartridges.

kra-mo avatar kra-mo commented on July 30, 2024

xdg-open is run on the host, not from inside the Cartridges shell. What's the output of running xdg-open --help on the host?

from cartridges.

uricot avatar uricot commented on July 30, 2024

xgd-open is run on the host, not from inside the Cartridges shell. What's the output of running xdg-open --help on the host?

xdg-open -- opens a file or URL in the user's preferred
application

Synopsis

xdg-open { file | URL }

xdg-open { --help | --manual | --version }

Use 'man xdg-open' or 'xdg-open --manual' for additional info.

from cartridges.

kra-mo avatar kra-mo commented on July 30, 2024

Does changing xdg-open in the executable to /usr/bin/xdg-open work?

from cartridges.

uricot avatar uricot commented on July 30, 2024

sorry but what do you mean by that?

from cartridges.

uricot avatar uricot commented on July 30, 2024

nvm i understood

from cartridges.

uricot avatar uricot commented on July 30, 2024

Does changing xdg-open in the executable to /usr/bin/xdg-open work?

/usr/bin/xdg-open: line 444: grep: command not found
/usr/bin/xdg-open: line 561: grep: command not found
/usr/bin/xdg-open: line 562: grep: command not found
/usr/bin/xdg-open: line 574: grep: command not found
xdg-open: file 'heroic://launch/2e26af55c1a146e7a939dcc1014fc9fd' does not exist

from cartridges.

kra-mo avatar kra-mo commented on July 30, 2024

Does running xdg-open 'heroic://launch/2e26af55c1a146e7a939dcc1014fc9fd' on the host work?

from cartridges.

uricot avatar uricot commented on July 30, 2024

Does running xdg-open 'heroic://launch/2e26af55c1a146e7a939dcc1014fc9fd' on the host work?

yes

from cartridges.

kra-mo avatar kra-mo commented on July 30, 2024

What is the output of flatpak enter hu.kramo.Cartridges flatpak-spawn --host echo $PATH?

from cartridges.

uricot avatar uricot commented on July 30, 2024

Portal call failed: Failed to start command: Failed to execute child process ?echo? (No such file or directory)

from cartridges.

kra-mo avatar kra-mo commented on July 30, 2024

And of flatpak enter hu.kramo.Cartridges flatpak-spawn --host /usr/bin/echo $PATH?

from cartridges.

uricot avatar uricot commented on July 30, 2024

And of flatpak enter hu.kramo.Cartridges flatpak-spawn --host /usr/bin/echo $PATH?

a ton of paths including my host name. Do i need to post it?

from cartridges.

kra-mo avatar kra-mo commented on July 30, 2024

No. Is /usr/bin included though?

from cartridges.

uricot avatar uricot commented on July 30, 2024

No. Is /usr/bin included though?

yes

from cartridges.

kra-mo avatar kra-mo commented on July 30, 2024

That's great, because then I have no idea what is going on.

from cartridges.

uricot avatar uricot commented on July 30, 2024

That's great, because then I have no idea what is going on.

huh, i will soon be reinstalling so better ask now so do you need any more logs?

from cartridges.

kra-mo avatar kra-mo commented on July 30, 2024

no but entering the execute command this way:

flatpak enter hu.kramo.Cartridges [insert the execute command]

does work

@uricot Last question: how about flatpak enter hu.kramo.Cartridges flatpak-spawn --host [insert the execute command]?

from cartridges.

uricot avatar uricot commented on July 30, 2024

Portal call failed: Failed to start command: Failed to execute child process ?xdg-open? (No such file or directory)

from cartridges.

kra-mo avatar kra-mo commented on July 30, 2024

Seems to be some upstream issue with flatpak-spawn itself. I'll dick around in an Arch VM and see what the deal is.

from cartridges.

kra-mo avatar kra-mo commented on July 30, 2024

@uricot any update on this?

from cartridges.

kra-mo avatar kra-mo commented on July 30, 2024

Closing this because the launching of games has been overhauled and this issue has been inactive. Feel free to reopen it if the issue still persists.

from cartridges.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.