peek broken on foreign distro

  • Open
  • quality assurance status badge
Details
2 participants
  • Liliana Marie Prikler
  • zimoun
Owner
unassigned
Submitted by
zimoun
Severity
normal
Z
Z
zimoun wrote on 14 Oct 2021 11:55
(name . Bug Guix)(address . bug-guix@gnu.org)
86h7dkq6b7.fsf@gmail.com
Hi,

On foreign distro using Guix fb32a38, I get this error, from xterm:

Toggle snippet (5 lines)
$ guix environment --ad-hoc peek -- peek

(peek:31579): GLib-GIO-ERROR **: 11:32:59.181: Settings schema 'org.gnome.desktop.interface' is not installed

Inside Emacs (M-x shell), instead I get:

Toggle snippet (5 lines)
$ guix environment --ad-hoc peek -- peek
Error: Child process exited with code 1
Unable to initialize default recording backend: Peek requires FFmpeg or running GNOME Shell session.

In this case, adding the package ’ffmpeg’ makes it work. Any reason to
not propagate ’ffmpeg’ here? Maybe ’gnome-shell’ could be propagated
instead but the sizes are really different: 797.2MiB vs 2120.1MiB.

If GNOME user really want a light peek without ffmpeg, maybe we could
create 2 variants. WDYT?

All the best,
simon
L
L
Liliana Marie Prikler wrote on 14 Oct 2021 22:04
330b5cb02b74e5750bd6cd41a42d1174dc2ebc9c.camel@gmail.com
Hi simon,

Am Donnerstag, den 14.10.2021, 11:55 +0200 schrieb zimoun:
Toggle quote (4 lines)
> In this case, adding the package ’ffmpeg’ makes it work. Any reason
> to not propagate ’ffmpeg’ here? Maybe ’gnome-shell’ could be
> propagated instead but the sizes are really different: 797.2MiB vs
> 2120.1MiB.
The correct fix would not be propagation, but rather adding ffmpeg as
normal input (if not already given) and possibly patching peek at build
time to use absolute path ffmpeg. WDYT?

Regards,
Liliana
Z
Z
zimoun wrote on 14 Feb 2022 14:58
(address . 51202@debbugs.gnu.org)
CAJ3okZ1Zt_XVKU2zUU610EGtOxbk3tEuZWH5eTTnu6PUALERdA@mail.gmail.com
Hi,

On Thu, 14 Oct 2021 at 12:02, zimoun <zimon.toutoune@gmail.com> wrote:

Toggle quote (8 lines)
> On foreign distro using Guix fb32a38, I get this error, from xterm:
>
> --8<---------------cut here---------------start------------->8---
> $ guix environment --ad-hoc peek -- peek
>
> (peek:31579): GLib-GIO-ERROR **: 11:32:59.181: Settings schema 'org.gnome.desktop.interface' is not installed
> --8<---------------cut here---------------end--------------->8---

Now, using Guix 4dffece, peek is totally broken on foreign distro.


Cheers,
simon
Z
Z
zimoun wrote on 14 Feb 2022 15:56
(address . 51202@debbugs.gnu.org)
CAJ3okZ3aUhOwg=5j6tTBKEozsbJ_TMy_=AKMtSs4YC-26J+emQ@mail.gmail.com
On Mon, 14 Feb 2022 at 14:58, zimoun <zimon.toutoune@gmail.com> wrote:
Toggle quote (10 lines)
> On Thu, 14 Oct 2021 at 12:02, zimoun <zimon.toutoune@gmail.com> wrote:

> > --8<---------------cut here---------------start------------->8---
> > $ guix environment --ad-hoc peek -- peek
> >
> > (peek:31579): GLib-GIO-ERROR **: 11:32:59.181: Settings schema 'org.gnome.desktop.interface' is not installed
> > --8<---------------cut here---------------end--------------->8---
>
> Now, using Guix 4dffece, peek is totally broken on foreign distro.

Waiting the correct fix:

guix shell peek \
gtk+ gsettings-desktop-schemas ffmpeg \
-- peek

Cheers,
simon
?