From: Luis Felipe <luis.felipe.la@protonmail.com>
To: Luis Felipe <luis.felipe.la@protonmail.com>
Cc: "Daniel Meißner" <daniel.meissner-i4k@ruhr-uni-bochum.de>,
"help guix" <help-guix@gnu.org>
Subject: Re: Running graphical apps with guix shell --container
Date: Fri, 28 Jan 2022 16:01:40 +0000 [thread overview]
Message-ID: <YK9mkkoTCM3GjI7FrBlgosIi59nyQoh77rhNDDY2OUeEzkoVxefD3Y50x6C_vqBao3awaCK1DHFmqMwBtMgDD47f3WVpbExxm3j7YHxpqoU=@protonmail.com> (raw)
In-Reply-To: <Lra2DTHeKsP0cGuqcUlGzA5FdACqps6NEx4RQpax0A_uX_QT_7Exgu_nr4uICEGeNW4XwAC8WoCkmpBd0NyiDATJArGY7PMvEJ8geXJQlwI=@protonmail.com>
[-- Attachment #1.1: Type: text/plain, Size: 1393 bytes --]
On Friday, January 28th, 2022 at 3:22 PM, Luis Felipe <luis.felipe.la@protonmail.com> wrote:
> On Friday, January 28th, 2022 at 7:42 AM, Daniel Meißner daniel.meissner-i4k@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:
>
> Yeah, sorry, I should have mentioned that "mazo" is an application I'm writing. It's not in Guix yet.
>
> > --8<---------------cut here---------------start------------->8---
> > guix shell -C --preserve='^DISPLAY$' --preserve='^XAUTHORITY$' \
> > --expose=$XAUTHORITY
> > --8<---------------cut here---------------end--------------->8---
>
> Unfortunately, this didn't work. I got the same result as before.
I managed to launch the app by mixing the command above with some parts of the command used in another message about the same subject (https://lists.gnu.org/archive/html/help-guix/2020-07/msg00012.html). 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 and hoping for the best :) For example, the application now starts but it has no icons. So I guess I'll go find some information about all the fundamental variables and resources required by GTK apps to run.
[-- Attachment #1.2: publickey - luis.felipe.la@protonmail.com - 0x12DE1598.asc --]
[-- Type: application/pgp-keys, Size: 1815 bytes --]
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 509 bytes --]
next prev parent reply other threads:[~2022-01-28 16:48 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-27 23:51 Running graphical apps with guix shell --container Luis Felipe
2022-01-28 10:11 ` Edouard Klein
2022-01-28 15:42 ` Luis Felipe
2022-01-28 21:12 ` Edouard Klein
[not found] ` <877daks3vs.fsf@ruhr-uni-bochum.de>
2022-01-28 15:22 ` Luis Felipe
2022-01-28 16:01 ` Luis Felipe [this message]
2022-01-29 20:15 ` Luis Felipe
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='YK9mkkoTCM3GjI7FrBlgosIi59nyQoh77rhNDDY2OUeEzkoVxefD3Y50x6C_vqBao3awaCK1DHFmqMwBtMgDD47f3WVpbExxm3j7YHxpqoU=@protonmail.com' \
--to=luis.felipe.la@protonmail.com \
--cc=daniel.meissner-i4k@ruhr-uni-bochum.de \
--cc=help-guix@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).