Running graphical apps with guix shell --container

2022-01-27 Thread Luis Felipe
Hi, I'm trying to run a GTK application in an isolated environment, but the application seems to fail when trying to be displayed. I'm running these commands: EXAMPLE: $ guix shell -C --preserve='^DISPLAY$' $ python3 mazo INFO: No database found. Creating it. INFO: Database created. Unable to i

Re: Running graphical apps with guix shell --container

2022-01-28 Thread Edouard Klein
I won't be specifically helpful, but I never managed to get chromium to run in a container. It crashes almost immediately. If you ever manage it, I'd be happy to know the magic command that allows it. Cheers, Edouard. Luis Felipe writes: > [[PGP Signed Part:Undecided]] > Hi, > > I'm trying to

Re: Running graphical apps with guix shell --container

2022-01-28 Thread Luis Felipe
Hi Daniel, On Friday, January 28th, 2022 at 7:42 AM, Daniel Meißner wrote: > > Also, trying the following example from Guix manual, the browser does not > > start: > > > > EXAMPLE: > > $ guix shell --container --network --no-cwd ungoogled-chromium > > --preserve='^DISPLAY$' -- chromium > > A

Re: Running graphical apps with guix shell --container

2022-01-28 Thread Luis Felipe
On Friday, January 28th, 2022 at 3:22 PM, Luis Felipe wrote: > On Friday, January 28th, 2022 at 7:42 AM, Daniel Meißner > daniel.meissner-...@ruhr-uni-bochum.de wrote: > > Maybe for your example (I couldn't check since I didn't find any package > > called mazo or python-mazo) this would work: >

Re: Running graphical apps with guix shell --container

2022-01-28 Thread Luis Felipe
Hi Edouard, On Friday, January 28th, 2022 at 10:11 AM, Edouard Klein wrote: > I won't be specifically helpful, but I never managed to get chromium to > run in a container. It crashes almost immediately. If you ever manage > it, I'd be happy to know the magic command that allows it. Could you t

Re: Running graphical apps with guix shell --container

2022-01-28 Thread Edouard Klein
It does work ! Thank you very much :) Luis Felipe writes: > [[PGP Signed Part:Undecided]] > Hi Edouard, > > On Friday, January 28th, 2022 at 10:11 AM, Edouard Klein > wrote: > >> I won't be specifically helpful, but I never managed to get chromium to >> run in a container. It crashes almost imm

Re: Running graphical apps with guix shell --container

2022-01-29 Thread Luis Felipe
On Friday, January 28th, 2022 at 4:01 PM, Luis Felipe wrote: > > So this worked: > > EXAMPLE: > guix shell -C -E "^DISPLAY$" -E "^XAUTHORITY$" --expose="$XAUTHORITY" > --share=/tmp/.X11-unix/ --share=$HOME/.Xauthority > END EXAMPLE > > But I'm just typing things without much consideration