From: Luis Felipe <luis.felipe.la@protonmail.com>
To: Peter Polidoro <peter@polidoro.io>
Cc: help-guix@gnu.org
Subject: Re: Errors running kicad GUI package in container
Date: Mon, 31 Oct 2022 20:35:56 +0000 [thread overview]
Message-ID: <FAcSbopxpKJnmMNn8USxwf8KfK2paQ9UxmcFvZ-QFuCJ9KJsMTllJlijbl8a_hB61g6OufL_RmaajDoMwrdyacp2r-Qb7vGoulm7IJDAKeY=@protonmail.com> (raw)
In-Reply-To: <87eduo2afd.fsf@polidoro.io>
[-- Attachment #1.1: Type: text/plain, Size: 1258 bytes --]
Hi Peter,
------- Original Message -------
On Monday, October 31st, 2022 at 16:50, Peter Polidoro <peter@polidoro.io> wrote:
> I am trying to run a GUI package (kicad) in a container on a
> foreign distro (xubuntu) and I am running into several errors.
>
> When I run the command:
>
> guix shell kicad --container --preserve='^DISPLAY$'
> --share=/tmp/.X11-unix -- kicad
>
> I get a warning about the accessibility bus:
>
> (kicad:1): dbind-WARNING **: 16:51:56.694: Couldn't connect to
> accessibility bus: Failed to connect to socket
> /run/user/1000/at-spi/bus_0: No such file or directory
>
> Do I need to expose a directory or set some environmental variable
> to properly handle this warning?
For what it's worth, kicad seems to work for me in a container. I'm using Guix System with GNOME (guix 4716cea):
__________
guix shell kicad -E "^DISPLAY$" -E "^XAUTHORITY$" --expose="$XAUTHORITY" --expose=/tmp/.X11-unix/ --expose=$HOME/.Xauthority --expose=/etc/machine-id --expose=$HOME/Descargas --expose=/tmp/dbus-fnAz1hb4to
‾‾‾‾‾‾‾‾‾‾
The command above is what I use to try out an application I'm developing (GTK 4). You should at least change the values to the last two "--expose".
[-- Attachment #1.2: publickey - luis.felipe.la@protonmail.com - 0x12DE1598.asc --]
[-- Type: application/pgp-keys, Size: 1722 bytes --]
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 509 bytes --]
next prev parent reply other threads:[~2022-10-31 20:37 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-31 16:50 Errors running kicad GUI package in container Peter Polidoro
2022-10-31 20:35 ` Luis Felipe [this message]
2022-11-01 15:09 ` Peter Polidoro
2022-11-01 15:54 ` Luis Felipe
2022-12-05 19:22 ` Peter Polidoro
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='FAcSbopxpKJnmMNn8USxwf8KfK2paQ9UxmcFvZ-QFuCJ9KJsMTllJlijbl8a_hB61g6OufL_RmaajDoMwrdyacp2r-Qb7vGoulm7IJDAKeY=@protonmail.com' \
--to=luis.felipe.la@protonmail.com \
--cc=help-guix@gnu.org \
--cc=peter@polidoro.io \
/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).