Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] - Command line/debug doesn't work on Flatpak #147

Closed
catsout opened this issue Mar 1, 2021 · 9 comments
Closed

[Bug] - Command line/debug doesn't work on Flatpak #147

catsout opened this issue Mar 1, 2021 · 9 comments
Assignees
Labels

Comments

@catsout
Copy link
Contributor

catsout commented Mar 1, 2021

Describe the bug
Command Line not work.

Installation

  • Method: flatpak
  • Version 3.0.2

To Reproduce
Steps to reproduce the behavior:
1.Create a software wineprefix
2.It use lutris-6.0
3.Go bottle page
4.Click Command Line, nothing happened

Expected behavior
A cmd window appear

Screenshots

Desktop (please complete the following information):

  • OS: debian
  • Version sid

Additional context

@mirkobrombin
Copy link
Member

Can you run Bottles from your terminal and grab the error?

flatpak run com.usebottles.Bottles

@catsout
Copy link
Contributor Author

catsout commented Mar 1, 2021

Nothing helpful show

2021-03-01 18:26:07 INFO: Runners found: [lutris-6.0-x86_64]
2021-03-01 18:26:07 INFO: Dxvk found: [dxvk-1.7.3, dxvk-1.8]
2021-03-01 18:26:07 INFO: Connection status: online …
2021-03-01 18:26:07 INFO: Connection status: online …
2021-03-01 18:26:08 INFO: Connection status: online …
2021-03-01 18:26:08 INFO: Bottles found: wine
2021-03-01 18:26:09 INFO: Bottles Started!
2021-03-01 18:26:10 INFO: Setting Key: [sync] to [wine] for bottle: [wine] …
2021-03-01 18:26:12 INFO: Running a CMD on the wineprefix …
2021-03-01 18:26:16 INFO: Running a CMD on the wineprefix …

I can run cmd though taskmanager's New Task..

@mirkobrombin
Copy link
Member

What terminal has your system?

@catsout
Copy link
Contributor Author

catsout commented Mar 1, 2021

Konsole

@mirkobrombin
Copy link
Member

Should be supported

['konsole', '-e %s'],

@catsout
Copy link
Contributor Author

catsout commented Mar 1, 2021

'''Launch commands in system terminal'''

So the Command Line not launch a wine cmd window, but it's run in a system terminal?
But bottles is in flatpak, is it able to open konsole on host system?

@mirkobrombin
Copy link
Member

'''Launch commands in system terminal'''

So the Command Line not launch a wine cmd window, but it's run in a system terminal?
But bottles is in flatpak, is it able to open konsole on host system?

This may actually be a limitation

@mirkobrombin mirkobrombin changed the title Command Line not work [Bug] - Command line/debug doesn't work on Flatpak Mar 1, 2021
@ghost
Copy link

ghost commented Mar 1, 2021

In order to run host programs (e.g. from /usr/bin) within a Flatpak application, the application needs a session bus talk permission to org.freedesktop.Flatpak. Then it can execute flatpak-spawn --host program args to run the actual program.

@Nokia808
Copy link

Nokia808 commented Mar 7, 2021

@mirkobrombin
Hello ! I would like to ask, is implementation of this can increase risk of viruses penetration or not ? It would be very good to implement it without increase such risk.

@pietrodicaprio pietrodicaprio added this to the 3.2 milestone Apr 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants