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

Allow setting env variables in config app #124

Open
qrhfz opened this issue Sep 1, 2024 · 5 comments
Open

Allow setting env variables in config app #124

qrhfz opened this issue Sep 1, 2024 · 5 comments

Comments

@qrhfz
Copy link

qrhfz commented Sep 1, 2024

Description

i was having issue similar to #54 when jailing android studio. the solution is to set DISPLAY env var. it would be great if we can set it in the config app and then the env vars will added to .desktop file generated. so i don't need to open terminal just to open android studio.

@rusty-snake
Copy link
Contributor

#94

@igo95862
Copy link
Owner

igo95862 commented Sep 1, 2024

Hello @qrhfz

Isn't DISPLAY an X11 variable? (for example, DISPLAY=:0) The [x11] service should already pass it to the sandbox.

@qrhfz
Copy link
Author

qrhfz commented Sep 1, 2024

nvm, this is actually x11 shenanigan. it also happens on flatpak apps flatpak/flatpak#938

@igo95862
Copy link
Owner

igo95862 commented Sep 1, 2024

So your /tmp/.X11 folder got deleted somehow?

@igo95862
Copy link
Owner

igo95862 commented Sep 1, 2024

Also would be nice to have the error log you get when trying to run bubblejail with android studio.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants