Re: Guix System 1.0: No audio

2019-05-05 Thread sirgazil
Hi, Florian:


 On Sat, 04 May 2019 17:29:01 -0500 pelzflorian (Florian Pelz) 
 wrote 

 > On Sat, May 04, 2019 at 05:00:04PM -0500, sirgazil wrote: 
 > > Hello, 
 > > 
 > > I installed the GNU system with GNOME using the ISO installer 
 > > (https://ftp.gnu.org/gnu/guix/guix-system-install-1.0.0.x86_64-linux.iso.xz).
 > >  
 > > 
 > > When I play video or audio in the browser or in the desktop, I get no 
 > > audio. The volume controls in the browser and desktop show the sound is 
 > > not disabled. There are no errors about missing codecs or anything like 
 > > that. The media plays, but there is no audio coming out from the speakers 
 > > (which are on). Audio and speakers worked fine in the distro I was using 
 > > before installing GNU with Guix. 
 > > 
 > > Maybe I need additional packages or services? 
 > > 
 >  
 > I do *not* experience this issue on GNOME. 
 >  
 > I presume you are using %desktop-services in your configuration. 


Yes.


 > When you run: 
 >  
 > guix environment --ad-hoc alsa-utils 
 > alsamixer 
 >  
 > Is the volume turned off or is the sound card muted?  You can mute and 
 > unmute with the M key and select your sound card with the F6 key. 

The volume seems on and the card seems not muted:

https://multimedialib.files.wordpress.com/2019/05/alsamixer-guix-system-1.0.png

When I press F6 I see "(default)" selected, and there are no more options, 
except for an "enter device name..." option.


 > There also is a program `speaker-test` in alsa-utils for basic testing. 


I didn't try this, maybe tomorrow.




Re: Guix System 1.0: No audio

2019-05-05 Thread pelzflorian (Florian Pelz)
On Sun, May 05, 2019 at 06:52:39AM -0500, sirgazil wrote:
> Florian, for some reason, the speakers worked today. I'm not sure if running 
> alsamixer yesterday after your instructions had anything to do with it or 
> booting without the headphones plugged. Those are the only different things 
> (related to sound) that I've done before starting the machine today. GNOME 
> even displays some information when I plug the headphones. It didn't do this 
> before.
>

On my father’s PC booting with or without audio 3.5mm plug headphones
makes a difference.


> One thing I noticed when booting is an error that says something like this:
> 
>Error: "pcspkr" is already registered, aborting.
> 

I see this too.

> I wonder if that is related. Although the speakers worked anyways.
> 
> Thank you, Florian.
> 

I am happy to help (and happy that Linux-libre is unrelated). :)

Regards,
Florian



Re: Re: IceCat from Guix all monospaced font

2019-05-05 Thread Zelphir Kaltstahl
Hi Mark,

The problem is solved for me now. Would an "strace" still be helpful? I
will write another mail to the list, summarizing what I have tried and
that it works now.

Thank you for your detailed idea about how to progress nevertheless.

Regards,

Zelphir

On 5/5/19 4:18 AM, Mark H Weaver wrote:
> Hi Zelphir,
>
> Zelphir Kaltstahl  writes:
>
>> Today I installed GNU Icecat from Guix and everything works fine, except
>> for one thing:
>>
>> The whole Icecat UI uses a monospaced font and on every website
>> everything is monospaced. I've tried for hours to change fonts using
>> userChrome.css to no avail. I also tried inspecting the UI using the
>> browser toolbox and it shows, that my userChrome.css set values are used
>> for the UI. Although in that inspector I see font family values like
>> "Liberation Sans" and "DejaVu Sans" and "sans-serif", the UI _actually_
>> still is monospaced.
>>
>> While I generally like "monospaced-ness", the problem is, that it breaks
>> Icecat's UI in many places, as the UI is not flexible enough to render
>> all texts and often cuts text overflow, as the monospaced font is wider
>> than what one would usually have.
>>
>> My guess is, that somehow Icecat installed via Guix is not able to pick
>> up system wide installed fonts and always, no matter what I set, falls
>> back to a monospaced font. Following this guess, I installed Liberation
>> fonts and DejaVu fonts in Guix. However, still everything is monospaced.
> It might be helpful to run "strace -f -o trace.out icecat" until the
> problem is apparent, then quit, and look in "trace.out" for clues.
> I just did that on my Guix system where IceCat works well, and I've
> included the relevant excerpt below.
>
> Can you find the corresponding excerpt from your trace.out, and show it
> to us?  Please don't send the whole thing, partly because it's huge, and
> partly because it might include information that should be kept private.
>
> FYI, on my Guix system I have GNOME in my system profile, and in my user
> profile I have IceCat, font-dejavu, freetype, and fontconfig, among many
> others.  I didn't install 'fontconfig' explicitly, but it was added
> implicitly to my user profile as a propagated-input.
>
> Presumably our IceCat package implicitly depends on some other package.
> If we can find out what that is, we can probably fix this issue with a
> suitable wrapper.
>
>  Thanks,
>Mark
>
>
> --8<---cut here---start->8---
> 5233  stat("/home/mhw/.guix-profile/etc/xdg", {st_mode=S_IFDIR|0555, 
> st_size=24, ...}) = 0
> 5233  stat("/run/current-system/profile/etc/xdg", {st_mode=S_IFDIR|0555, 
> st_size=82, ...}) = 0
> 5233  
> stat("/gnu/store/9v1505spjs16icl5v2y76dbp4504yvn1-gtk+-3.24.7/share/fonts", 
> 0x7ffd9f2521c0) = -1 ENOENT (No such file or directory)
> 5233  
> stat("/gnu/store/daxn8m96wk2d2jnz4mxllhk34iv5gjqp-shared-mime-info-1.9/share/fonts",
>  0x7ffd9f2521c0) = -1 ENOENT (No such file or directory)
> 5233  
> stat("/gnu/store/cgy82g6yv8l1chawgch47zh23b0jll3l-glib-2.56.3/share/fonts", 
> 0x7ffd9f2521c0) = -1 ENOENT (No such file or directory)
> 5233  
> stat("/gnu/store/2d1iqzza547320wrfg6yvsr54j5hfw3c-gtk+-3.24.7/share/fonts", 
> 0x7ffd9f2521c0) = -1 ENOENT (No such file or directory)
> 5233  
> stat("/gnu/store/cgwlg3q40znx0rwjan0b3jn38x31hldn-emacs-26.2/share/fonts", 
> 0x7ffd9f2521c0) = -1 ENOENT (No such file or directory)
> 5233  
> stat("/gnu/store/daxn8m96wk2d2jnz4mxllhk34iv5gjqp-shared-mime-info-1.9/share/fonts",
>  0x7ffd9f2521c0) = -1 ENOENT (No such file or directory)
> 5233  
> stat("/gnu/store/cgy82g6yv8l1chawgch47zh23b0jll3l-glib-2.56.3/share/fonts", 
> 0x7ffd9f2521c0) = -1 ENOENT (No such file or directory)
> 5233  
> stat("/gnu/store/2d1iqzza547320wrfg6yvsr54j5hfw3c-gtk+-3.24.7/share/fonts", 
> 0x7ffd9f2521c0) = -1 ENOENT (No such file or directory)
> 5233  
> stat("/gnu/store/cgwlg3q40znx0rwjan0b3jn38x31hldn-emacs-26.2/share/fonts", 
> 0x7ffd9f2521c0) = -1 ENOENT (No such file or directory)
> 5233  
> stat("/gnu/store/vkn4l06y4932i81zs68yig238hvhnvwx-geocode-glib-3.26.0/share/fonts",
>  0x7ffd9f2521c0) = -1 ENOENT (No such file or directory)
> 5233  
> stat("/gnu/store/ga4arkrdndyv52cs062n2l9hgnqfjyaq-gsettings-desktop-schemas-3.28.0/share/fonts",
>  0x7ffd9f2521c0) = -1 ENOENT (No such file or directory)
> 5233  
> stat("/gnu/store/daxn8m96wk2d2jnz4mxllhk34iv5gjqp-shared-mime-info-1.9/share/fonts",
>  0x7ffd9f2521c0) = -1 ENOENT (No such file or directory)
> 5233  
> stat("/gnu/store/cgy82g6yv8l1chawgch47zh23b0jll3l-glib-2.56.3/share/fonts", 
> 0x7ffd9f2521c0) = -1 ENOENT (No such file or directory)
> 5233  
> stat("/gnu/store/2d1iqzza547320wrfg6yvsr54j5hfw3c-gtk+-3.24.7/share/fonts", 
> 0x7ffd9f2521c0) = -1 ENOENT (No such file or directory)
> 5233  
> stat("/gnu/store/l2bkkzvzxbfw81i364f2mm6cb8sdk1y8-telepathy-logger-0.8.2/share/fonts",
>  0x7ffd9f2521c0) = -1 ENOENT (No such file or directory)
> 5233  
> stat("/gnu/store/s795jav4270x940spl48a885

Re: IceCat from Guix all monospaced font

2019-05-05 Thread Zelphir Kaltstahl
Hi, Florian,

Yep, that is what I did immediately after installing fontconfig.

Regards,

Zelphir

On 5/5/19 7:55 AM, pelzflorian (Florian Pelz) wrote:
> On Sun, May 05, 2019 at 02:50:23AM +0200, Zelphir Kaltstahl wrote:
>> Hello,
>>
>> Thank you for your idea.
>>
>> I did not install fontconfig before, but that also did not help, still
>> the same monospaced everywhere.
> You did run
>
> fc-cache -f
>
> after installing fontconfig with guix?  If yes then either my issue
> was different or my memory is bad.
>
> Regards,
> Florian



Re: GNU Guix 1.0.0 released

2019-05-05 Thread Fredrik Salomonsson
Congrats all, for your hard work! And many thanks to creating such an
awesome system.

Den tors 2 maj 2019 kl 14:15 skrev Ludovic Courtès :

> We are thrilled to announce the release of GNU Guix 1.0.0!
>
> This 1.0 release is a major milestone for Guix.  It represents 7 years
> of hard work with more than 40,000 commits by 260 people, 19 releases,
> and an equally amazing amount of work on documentation, translation,
> artwork, web design, mentoring, outreach, and many other activities that
> together have made it a thriving project.
>
> Read more about today’s announcement at:
>
>   https://gnu.org/software/guix/blog/2019/gnu-guix-1.0.0-released
>
> Whether you’re a software developer, a user, or a free software
> enthusiast, we hope GNU Guix will provide you with the tools to deploy
> and manage software with confidence and ease, qualities that are not
> usually associated with software deployment.  We’d love to hear from you!
>
> • About
>
>   GNU Guix is a transactional package manager and an advanced
>   distribution of the GNU system that respects user freedom.  Guix can
>   be used on top of any system running the kernel Linux, or it can be
>   used as a standalone operating system distribution for i686, x86_64,
>   ARMv7, and AArch64 machines.
>
>   In addition to standard package management features, Guix supports
>   transactional upgrades and roll-backs, unprivileged package
>   management, per-user profiles, and garbage collection.  When used as a
>   standalone GNU/Linux distribution, Guix offers a declarative,
>   stateless approach to operating system configuration management.  Guix
>   is highly customizable and hackable through Guile programming
>   interfaces and extensions to the Scheme language.
>
>   https://www.gnu.org/software/guix/
>
> • Download
>
>   Here are the compressed sources and a GPG detached signature[*]:
> https://ftp.gnu.org/gnu/guix/guix-1.0.0.tar.gz
> https://ftp.gnu.org/gnu/guix/guix-1.0.0.tar.gz.sig
>
>   Here are the bootable USB installation images and their signatures[*]:
>
> https://ftp.gnu.org/gnu/guix/guix-system-install-1.0.0.i686-linux.iso.xz
>
> https://ftp.gnu.org/gnu/guix/guix-system-install-1.0.0.i686-linux.iso.xz.sig
>
> https://ftp.gnu.org/gnu/guix/guix-system-install-1.0.0.x86_64-linux.iso.xz
>
> https://ftp.gnu.org/gnu/guix/guix-system-install-1.0.0.x86_64-linux.iso.xz.sig
>
>   Here is the QCOW2 virtual machine (VM) image and its signature:
>
> https://ftp.gnu.org/gnu/guix/guix-system-vm-image-1.0.0.x86_64-linux.xz
>
> https://ftp.gnu.org/gnu/guix/guix-system-vm-image-1.0.0.x86_64-linux.xz.sig
>
>   Here are the binary tarballs and their signatures[*]:
> https://ftp.gnu.org/gnu/guix/guix-binary-1.0.0.i686-linux.tar.xz
> https://ftp.gnu.org/gnu/guix/guix-binary-1.0.0.i686-linux.tar.xz.sig
> https://ftp.gnu.org/gnu/guix/guix-binary-1.0.0.x86_64-linux.tar.xz
> https://ftp.gnu.org/gnu/guix/guix-binary-1.0.0.x86_64-linux.tar.xz.sig
> https://ftp.gnu.org/gnu/guix/guix-binary-1.0.0.armhf-linux.tar.xz
> https://ftp.gnu.org/gnu/guix/guix-binary-1.0.0.armhf-linux.tar.xz.sig
> https://ftp.gnu.org/gnu/guix/guix-binary-1.0.0.aarch64-linux.tar.xz
>
> https://ftp.gnu.org/gnu/guix/guix-binary-1.0.0.aarch64-linux.tar.xz.sig
>
>   Use a mirror for higher download bandwidth:
> https://www.gnu.org/order/ftp.html
>
>   Here are the SHA1 checksums:
>
>   fd64cd4347214a4e75d611696c9929cba8995323  guix-1.0.0.tar.gz
>   c17006616782405eee852dbd85292e73a0182d7e
> guix-binary-1.0.0.aarch64-linux.tar.xz
>   9b168fa2835f911b9f340f2930d28b1287b53004
> guix-binary-1.0.0.armhf-linux.tar.xz
>   a75a2571cc7aa8dbbb0a355bf1a29f4475c243ff
> guix-binary-1.0.0.i686-linux.tar.xz
>   6ebfcb5cbed6dcd0c7514b8b3f2406125d30f1a5
> guix-binary-1.0.0.x86_64-linux.tar.xz
>   c9f67b69b45a0ac4946e4472511e925782129e92
> guix-system-install-1.0.0.i686-linux.iso.xz
>   802177714b7c96cf83dcab4b24e36f3111ba64b8
> guix-system-install-1.0.0.x86_64-linux.iso.xz
>   244c3218326a706f495bfa2a7c03fe5f68549a8e
> guix-system-vm-image-1.0.0.x86_64-linux.xz
>
>   [*] Use a .sig file to verify that the corresponding file (without the
>   .sig suffix) is intact.  First, be sure to download both the .sig file
>   and the corresponding tarball.  Then, run a command like this:
>
> gpg --verify guix-1.0.0.tar.gz.sig
>
>   If that command fails because you don't have the required public key,
>   then run this command to import it:
>
> gpg --keyserver pool.sks-keyservers.net \
> --recv-keys 3CE464558A84FDC69DB40CFB090B11993D9AEBB5
>
>   and rerun the 'gpg --verify' command.
>
>   To install the standalone Guix system, please see “System
>   Installation” in the manual.  To install Guix on a running system, see
>   “Installation” in the manual.
>
> • Changes since version 0.16.0 (excerpt from the NEWS file)
>
>  ** Package management
>  *** New ‘-v’/‘--verbosity’ option for all commands
>  *** Most commands now default to verbosity level 1 (“quiet”)
>  *** New ‘guix pa

Re: IceCat from Guix all monospaced font – Summary

2019-05-05 Thread HWRoitzsch
Hello Guix Users,

So apparently all that was needed after the steps suggested on the
mailing list was a restart of my machine or possibly a re-login. I say
that, because today I started my machine and started Icecat and to my
surprise the fonts were not all monospace any longer. So it must have
been, that some of the things I did worked, but was not picked up by
Icecat without restart, or possibly re-login, as it is unusual on
GNU/Linux to require a full restart of the machine.

I will try to summarize what I tried or what was suggested to fix it, so
maybe if someone finds this in the future it will help them concisely.

 1. change preferences inside Icecat for what fonts to use (but in
theory this only applies to websites and not to Icecat GUI).
 2. create a `chrome` folder in my profile and create a `userChorme.css`
inside the folder, containing CSS rules for the Icecat GUI.
 3. install fonts via Guix: `font-dejavu`, `font-liberation`
 4. run `fc-cache -f`
 5. create a `settings.ini` in `~/.config/gtk-3.0/settings.ini` and put
in there the following:

[Settings]
gtk-font-name=DejaVu Sans Book 11

 6. install `fontconfig` via Guix and run `fc-cache -f`
 7. install `libxft` via Guix
 8. install `cairo` via Guix
 9. install `pango` via Guix

After each of the steps I completely closed IceCat and started it again,
which did no change to everything being monospaced.

Finally I shutdown my machine yesterday and started it again today and
the issue suddenly disappeared. And the warnings also disappeared from
command line output when running IceCat from there. Only the following
was logged:

JavaScript error:
jar:file:///gnu/store/rllrc55ygi4yhxnhq8v41ynl6mg5ak56-icecat-60.3.0-gnu1/lib/icecat/omni.ja!/components/XULStore.js,
line 65: Error: Can't find profile directory.
1557058011027    addons.webextension.https-everywh...@eff.org    WARN   
Please specify whether you want browser_style or not in your
browser_action options.
GLib-GIO-Message: 12:06:51.903: Using the 'memory' GSettings backend. 
Your settings will not be saved or shared with other applications.

I do not know what exactly helped, but that is all I can remember
trying. I just hope, that when/of I want to change the font of the UI
again, it will not take me as long to figure out how again :D But then
again how often do I change a GUI font.

Thank you all for your help and ideas! Now I have a very usable browser
again.

If an `strace` output would still be helpful, I could provide that too.

Best regards,

Zelphir



Re: GNOME Music

2019-05-05 Thread Dexter Morgan
   :/ :(

   Sent: Wednesday, May 01, 2019 at 1:05 PM
   From: "Ricardo Wurmus" 
   To: "Dexter Morgan" 
   Cc: help-guix@gnu.org
   Subject: Re: GNOME Music
   Dexter Morgan  writes:
   > I used to play music via GNOME Music in my friend's computer with
   Arch.
   > But in my Guix, I cannot find it, even though I am using GNOME DE.
   Looks like it's not packaged yet.
   --
   Ricardo


GNOME Desktop

2019-05-05 Thread Dexter Morgan
   Hi,

   How can I use GNOME Core Applications
   (https://en.wikipedia.org/wiki/GNOME_Core_Applications) that are
   missing in Guix System? I am quite frusturated and disappointed with
   the GNOME Desktop in Guix. I can't even use a music player or a
   calendar. I thought I do not have deal with additional applications if
   I use a Desktop Environment, but it seems GNOME Desktop in Guix is
   incomplete. :(. Are there any tricks to enable and use these missing
   applications please?

   Thanks.


Re: GNOME Desktop

2019-05-05 Thread pelzflorian (Florian Pelz)
On Sun, May 05, 2019 at 03:38:15PM +0200, Dexter Morgan wrote:
>Hi,
> 
>How can I use GNOME Core Applications
>(https://en.wikipedia.org/wiki/GNOME_Core_Applications) that are
>missing in Guix System? I am quite frusturated and disappointed with
>the GNOME Desktop in Guix. I can't even use a music player or a
>calendar. I thought I do not have deal with additional applications if
>I use a Desktop Environment, but it seems GNOME Desktop in Guix is
>incomplete. :(. Are there any tricks to enable and use these missing
>applications please?
> 
>Thanks.

You can type in the terminal:

guix install gnome-calendar

This should become part of guix’ gnome package.  That it is missing is
a bug.

Some core applications have not been packaged yet, but alternatives
have been packaged already, e.g. when entering

guix search photos | less

you can see that shotwell is packaged, even though gnome-photos is
not.

Regards,
Florian



Re: IceCat from Guix all monospaced font – Summary

2019-05-05 Thread Tanguy Le Carrour
Hi HWRoitzsch, Hi Guix,


Le 05/05, HWRoitzsch a écrit :
> So apparently all that was needed […]
>  1. change preferences inside Icecat for what fonts to use (but in
> theory this only applies to websites and not to Icecat GUI).
>  2. create a `chrome` folder in my profile and create a `userChorme.css`
> inside the folder, containing CSS rules for the Icecat GUI. […]
>  7. install `libxft` via Guix
>  8. install `cairo` via Guix
>  9. install `pango` via Guix […]
> Finally I shutdown my machine yesterday and started it again today

I didn't do those steps, but…


>  3. install fonts via Guix: `font-dejavu`, `font-liberation`
>  4. run `fc-cache -f`
>  5. create a `settings.ini` in `~/.config/gtk-3.0/settings.ini` and put
> in there the following:
> […]
>  6. install `fontconfig` via Guix and run `fc-cache -f`

I did this and restarted Icecat and… everything is back to normal!

Thank you so much! :-)

Hope it'll work for the others too!

Regards


-- 
Tanguy



Re: IceCat from Guix all monospaced font – Summary

2019-05-05 Thread Tobias Geerinckx-Rice

HWRoitzsch,

I'm glad that you've got a working IceCat, even if you have no 
idea how you got there :-)


HWRoitzsch wrote:
Finally I shutdown my machine yesterday and started it again 
today and
the issue suddenly disappeared. And the warnings also 
disappeared from
command line output when running IceCat from there. Only the 
following

was logged:

JavaScript error:
jar:file:///gnu/store/rllrc55ygi4yhxnhq8v41ynl6mg5ak56-icecat-60.3.0-gnu1/lib/icecat/omni.ja!/components/XULStore.js,
line 65: Error: Can't find profile directory.
1557058011027addons.webextension.https-everywh...@eff.org 
WARN   
Please specify whether you want browser_style or not in your

browser_action options.
GLib-GIO-Message: 12:06:51.903: Using the 'memory' GSettings 
backend. 
Your settings will not be saved or shared with other 
applications.


FWIW, none of those messages are suspicious.  I see all of them 
with varying degrees of regularity.


Kind regards,

T G-R


signature.asc
Description: PGP signature


Re: IceCat from Guix all monospaced font – Summary

2019-05-05 Thread Giovanni Biscuolo
Hello HWRoitzsch,

HWRoitzsch  writes:

> So apparently all that was needed after the steps suggested on the
> mailing list was a restart of my machine or possibly a re-login.

may it be connected to the evironment?

I guess you are using Guix System on bare metal or VM, I'm using Guix on
a foreign distro instead

sometime installing new software updates $GUIX_PROFILE/etc/profile [1]
adding needed env variables, those variables are usually loaded via
~/.profile when using Guix on foreign distro so sometimes I have to
reload ~/.profile to get an updated environment

I have not enough experience with a full Guix System: could it be the
same? this would explain why you had to logout/login for IceCat to use
the right fonts

[...]

HTH! Gio'

[1] GUIX_PROFILE="$HOME/.guix-profile" (means using default profile)

-- 
Giovanni Biscuolo

Xelera IT Infrastructures


signature.asc
Description: PGP signature


hack my smartphone. get root access on android 6

2019-05-05 Thread znavko
Hello! I want just to replace LowBattery.ogg in /system/media/audio/ui on my 
Android phone by Haier with my muted sound.
I cannot get root access, cause all the web contains unworkable apks and 
unacceptable exe-files.
Kongoroot, towelroor, supersu do not work, gnuroot no more maintained.
Will you help me with it?

I only tried mutter (from guix) + xserver (on android) to use android as 
display. But my knowledge and search results end there.
Phone: Tele2_Mini_1_1
Android: 6.0
How to replace that lowbattery file?


Re: disk-image and partitions

2019-05-05 Thread Chris Marusich
rendaw <7e9wc56emja...@s.rendaw.me> writes:

> I think I'd like to use disk-image but a number of things were unclear
> from the documentation:
>
> 1. What and how many partitions are created?
>
> Reading the -t parameter I assume it's an image with just 1 root
> partition. If I need UEFI will an efi partition be created?
>
> 2. How can I refer to the created partitions in the config?
>
> Digging through the source it seems that in some modes of operation the
> root partition is automatically created and there's a local uuid value
> that's generated and shared between the partition + filesystem config,
> but I didn't see that exposed anywhere.
>
> I have various additional storage attached so I can't guarantee device
> order (sda/sdb/sdc).
>
> Thanks!

You had a lot of questions, and it's been a couple weeks.  Were you able
to get all your questions answered, or is there still something you need
help with?

-- 
Chris


signature.asc
Description: PGP signature


Re: Updating Packages

2019-05-05 Thread Chris Marusich
Hi Raghav,

"Raghav Gururajan"  writes:

> Hmm. Okay.
>
> Thank you.
>
> April 15, 2019 3:22 PM, "Pierre Neidhardt"  wrote:
>
>> Maybe not what you are asking but what about
>> 
>> guix system reconfigure ... && guix package -u
>> 
>> ?

First, just a reminder: on this email list, please avoid top-posting.
Most people bottom-post or reply in-line.  It's fine to cut out text
that is not relevant to your response.

Now, as to your question: Pierre has given the answer.  There is not
currently a way to upgrade the system and the user profiles in a single
transaction.  This might make one ask, "Why is that?"  I want to offer
an explanation why.

Guix System follows the functional software deployment model and is
designed to put the users (even unprivileged users) in control of their
own software, as well as their own Guix installation.  It is designed so
that a system administrator can upgrade the system software and services
without interfering with what the users have installed.  Likewise, users
can upgrade their own software without interfering with the system's
underlying software.

This is a good feature.  It separates concerns and gives more control to
users and administrators both.  Remember, an administrator has full
access to the system, so they can still forcibly upgrade user profiles
if they choose to do so.  In a traditional GNU/Linux distribution, you
generally need special privileges (e.g., sudo or root access) in order
to use the system's package manager to install/remove any software.  On
such systems, the package manager does not provide any way for any users
(privileged or not) to manage "their own" software; all software is
effectively "system" software, and it must be managed by a privileged
user.  On these systems, upgrading the system software upgrades software
for all users.  Guix provides more fine-grained control than this.

At first blush, it might seem like it isn't good that we can't upgrade
all the software in a single transaction, but from the perspective of
ensuring correct deployment of software, it actually isn't a problem.
If Bob upgrades his profile, it won't interfere with software that Alice
has installed, and it won't interfere with any system software, either.
Likewise, if the system is upgraded, it won't interfere with any
software that Alice or Bob have installed, since their profiles are
"self-contained" thanks to the functional model.

From a security perspective, it may be undesirable to allow old profiles
containing software with security vulnerabilities to exist, but that can
be fixed by upgrading the stale profiles.  The task of enforcing that
every profile is "up to date" is arguably outside the scope of Guix;
Guix just provides the mechanisms to make it possible for you to upgrade
all that software in a safe fashion.

I hope that helps explain why it makes sense that the task of "upgrading
a user's profile" and "upgrading the system's software" are independent
of each other in Guix System.

-- 
Chris


signature.asc
Description: PGP signature


Re: GNOME Desktop

2019-05-05 Thread Ricardo Wurmus


pelzflorian (Florian Pelz)  writes:

> On Sun, May 05, 2019 at 03:38:15PM +0200, Dexter Morgan wrote:
>>Hi,
>> 
>>How can I use GNOME Core Applications
>>(https://en.wikipedia.org/wiki/GNOME_Core_Applications) that are
>>missing in Guix System? I am quite frusturated and disappointed with
>>the GNOME Desktop in Guix. I can't even use a music player or a
>>calendar. I thought I do not have deal with additional applications if
>>I use a Desktop Environment, but it seems GNOME Desktop in Guix is
>>incomplete. :(. Are there any tricks to enable and use these missing
>>applications please?
>> 
>>Thanks.
>
> You can type in the terminal:
>
> guix install gnome-calendar
>
> This should become part of guix’ gnome package.  That it is missing is
> a bug.

Is it really?  I do like that we can choose to install only the
essential parts of GNOME without having to install packages that we may
not need.

Perhaps this could remain configurable.

-- 
Ricardo




Re: IceCat from Guix all monospaced font

2019-05-05 Thread Mark H Weaver
Hi Zelphir,

Zelphir Kaltstahl  writes:
> The problem is solved for me now. Would an "strace" still be helpful?

I'm not sure.  It depends on whether we're able to understand from your
upcoming email what went wrong and how to fix it properly.

> I will write another mail to the list, summarizing what I have tried and
> that it works now.

Please do send that email when you can.  I'm glad it's working for you
now, but it would also be good to fix it properly so that other users
will not hit the same bug.

> Thank you for your detailed idea about how to progress nevertheless.

Glad to help.  Thanks for reporting the issue.

  Mark



Re: IceCat from Guix all monospaced font – Summary

2019-05-05 Thread Mark H Weaver
Giovanni Biscuolo  writes:

> HWRoitzsch  writes:
>
>> So apparently all that was needed after the steps suggested on the
>> mailing list was a restart of my machine or possibly a re-login.
>
> may it be connected to the evironment?
>
> I guess you are using Guix System on bare metal or VM, I'm using Guix on
> a foreign distro instead
>
> sometime installing new software updates $GUIX_PROFILE/etc/profile [1]
> adding needed env variables, those variables are usually loaded via
> ~/.profile when using Guix on foreign distro so sometimes I have to
> reload ~/.profile to get an updated environment
>
> I have not enough experience with a full Guix System: could it be the
> same? this would explain why you had to logout/login for IceCat to use
> the right fonts

This sounds very plausible to me.  My guess is that one of the packages
that Zelphir installed added new environment variable settings that are
needed for IceCat to find its fonts.

  Mark



Guix VM can't connect to the Internet

2019-05-05 Thread Philip K.

Hi, in light of the 1.0.0 release, I tried to download the Guix VM
image, to try and configure a workable setup within a Qemu session
before installing it.

But `guix package pull` wouldn't work, because no connection could be
established. Running `ping` on any server, would just inform me of
dropped packets, `ip link set eth0 up` wouldn't change anything.

I tried altering the quemu flags:

qemu-system-x86_64 -net user -net nic,model=virtio -enable-kvm \
-m 2048 guix-system-vm-image-1.0.0.x86_64-linux

adding and removing net flags, enabling and disabling kvm. Since I am
not a Qemu expert, let alone a VM guy, I have really no idea what the
-net options for example do.

Could someone give me a hint what I should try/read to get a working
state?

-- 
With kind regards,
Philip K.


signature.asc
Description: PGP signature


Re: GNOME Desktop

2019-05-05 Thread pelzflorian (Florian Pelz)
On Sun, May 05, 2019 at 10:13:38PM +0200, Ricardo Wurmus wrote:
> pelzflorian (Florian Pelz)  writes:
> > You can type in the terminal:
> >
> > guix install gnome-calendar
> >
> > This should become part of guix’ gnome package.  That it is missing is
> > a bug.
> 
> Is it really?  I do like that we can choose to install only the
> essential parts of GNOME without having to install packages that we may
> not need.
> 
> Perhaps this could remain configurable.
>

In this case, maybe there should be a gnome-minimal package.
Personally, I don’t like epiphany and use my own gnome package
propagating the same packages but without epiphany.

Regards,
Florian



Re: GNOME Desktop

2019-05-05 Thread Mark H Weaver
Hi Dexter,

"Dexter Morgan"  writes:
>How can I use GNOME Core Applications
>(https://en.wikipedia.org/wiki/GNOME_Core_Applications) that are
>missing in Guix System? I am quite frusturated and disappointed with
>the GNOME Desktop in Guix. I can't even use a music player or a
>calendar.

I'm sorry to hear it.

FWIW, we have a large selection of music players in Guix.  Two that are
built on GNOME libraries include 'rhythmbox' and 'lollypop', but there
are many others, too many to list here.

For calendaring programs, we currently have 'gnome-calendar' and
'evolution', and possibly others.

>I thought I do not have deal with additional applications if
>I use a Desktop Environment, but it seems GNOME Desktop in Guix is
>incomplete. :(. Are there any tricks to enable and use these missing
>applications please?

Simply install your preferred applications to your user profile, or
alternatively you could add them to the 'packages' field of your system
profile.

It's possible that our GNOME desktop should include more programs by
default.  Can you tell us specifically which programs you think should
be added?

In the area of music players and calendars, I suspect that no matter
what choices we make here, a large percentage of our users will not want
our default choices.  Most people seem to have specific programs that
they prefer to use, and there's not much agreement in these areas.

Moreover, sadly, I get the impression that most of the younger
generation prefer to use web-based Services as a Software Substitute
(SaaSS)[1] for their music and calendaring needs.

So, if we add a default music player and calendar, I suspect that for
many (if not most) users, those defaults will merely be unwanted bloat.
Some users will ask how to remove the defaults, to avoid repeatedly
downloading substitutes for programs they don't want, which will be
awkward.

Given this, it seems a reasonable choice to let users explicitly install
their preferred programs.  Does that make sense?

What do you think?

Regards,
  Mark

[1] https://www.gnu.org/philosophy/who-does-that-server-really-serve.en.html



Re: IceCat from Guix all monospaced font – Summary

2019-05-05 Thread Zelphir Kaltstahl
Hi Giovanni,

No, I use it on a Xubuntu distribution, not on Guix SD and not in a VM.

It may still have been caused by something somewhere in my environment,
of course and `source`ing again `~/.profile` is also an idea. I am not
sure it would change anything in my setup, the way I set variables in there.

Regards,

Zelphir

On 5/5/19 7:43 PM, Giovanni Biscuolo wrote:
> Hello HWRoitzsch,
>
> HWRoitzsch  writes:
>
>> So apparently all that was needed after the steps suggested on the
>> mailing list was a restart of my machine or possibly a re-login.
> may it be connected to the evironment?
>
> I guess you are using Guix System on bare metal or VM, I'm using Guix on
> a foreign distro instead
>
> sometime installing new software updates $GUIX_PROFILE/etc/profile [1]
> adding needed env variables, those variables are usually loaded via
> ~/.profile when using Guix on foreign distro so sometimes I have to
> reload ~/.profile to get an updated environment
>
> I have not enough experience with a full Guix System: could it be the
> same? this would explain why you had to logout/login for IceCat to use
> the right fonts
>
> [...]
>
> HTH! Gio'
>
> [1] GUIX_PROFILE="$HOME/.guix-profile" (means using default profile)
>



Re: Guix System 1.0: No audio

2019-05-05 Thread Mark H Weaver
Hi sirgazil,

sirgazil  writes:

> I installed the GNU system with GNOME using the ISO installer 
> (https://ftp.gnu.org/gnu/guix/guix-system-install-1.0.0.x86_64-linux.iso.xz).
>
> When I play video or audio in the browser or in the desktop, I get no
> audio. The volume controls in the browser and desktop show the sound
> is not disabled.

Have you been able to get any sound to come out of the speakers at all
in Guix?  For example, when you change the volume using the slider in
the menu from the top-right corner in GNOME Shell, do you hear the sound
effects when you let go of the slider at a high volume level?

Which browser(s) did you try?

> There are no errors about missing codecs or anything
> like that. The media plays, but there is no audio coming out from the
> speakers (which are on). Audio and speakers worked fine in the distro
> I was using before installing GNU with Guix.
>
> Maybe I need additional packages or services?

Quite possibly.  I include the following packages in my user profile:

   gstreamer
   gst-plugins-base
   gst-plugins-good
   gst-libav

Specifically, the addition of 'gst-libav' adds plugins for many popular
codecs that would otherwise be unavailable.  The 'gstreamer' package
needs to be in the same profile as the 'gst-*' packages, or else
GST_PLUGIN_SYSTEM_PATH might not be set appropriately to find the
plugins.

These codecs are needed by Epiphany (a.k.a. GNOME Web) and many other
GNOME applications.  However, they shouldn't be needed by IceCat, which
links directly with ffmpeg and doesn't use gstreamer.

   Mark



Re: IceCat from Guix all monospaced font – Summary

2019-05-05 Thread Zelphir Kaltstahl
Ah it could be, that a package changed something in `~/.profile`. I will
check … No it still looks the same as before. Also I think any
installation adding something to my `~/.profile` should tell the user
about such a change. No package I installed yesterday did so. Glad that
the packages did not unknowingly change something in there.

On 5/5/19 10:21 PM, Mark H Weaver wrote:
> Giovanni Biscuolo  writes:
>
>> HWRoitzsch  writes:
>>
>>> So apparently all that was needed after the steps suggested on the
>>> mailing list was a restart of my machine or possibly a re-login.
>> may it be connected to the evironment?
>>
>> I guess you are using Guix System on bare metal or VM, I'm using Guix on
>> a foreign distro instead
>>
>> sometime installing new software updates $GUIX_PROFILE/etc/profile [1]
>> adding needed env variables, those variables are usually loaded via
>> ~/.profile when using Guix on foreign distro so sometimes I have to
>> reload ~/.profile to get an updated environment
>>
>> I have not enough experience with a full Guix System: could it be the
>> same? this would explain why you had to logout/login for IceCat to use
>> the right fonts
> This sounds very plausible to me.  My guess is that one of the packages
> that Zelphir installed added new environment variable settings that are
> needed for IceCat to find its fonts.
>
>   Mark



Re: IceCat from Guix all monospaced font – Summary

2019-05-05 Thread Mark H Weaver
Zelphir Kaltstahl  writes:

> Ah it could be, that a package changed something in `~/.profile`. I will
> check … No it still looks the same as before.

Guix never modifies your ~/.profile.  The relevant file is:
~/.guix-profile/etc/profile, which is generated each time you update
your user profile.  On a Guix system, it is sourced from /etc/profile.

On other systems, you should arrange to source that file in your login
shell with GUIX_PROFILE set appropriately, e.g. with the following code
in your ~/.bash_profile or equivalent:

  GUIX_PROFILE="$HOME/.guix-profile" ; \
  source "$HOME/.guix-profile/etc/profile"

This is recommended in section 4.2 of the Guix manual, here:

  
https://www.gnu.org/software/guix/manual/en/html_node/Invoking-guix-package.html

> Also I think any installation adding something to my `~/.profile`
> should tell the user about such a change.

Again, Guix will never do this.  However, 'guix package' should tell you
if you're missing environment variable settings that are needed by the
newly installed packages.

> No package I installed yesterday did so.

Hmm.  Are you confident about this?  If so, that casts doubt on my
hypothesis that this was about missing environment variable settings.
Unfortunately, I currently have no other hypothesis to explain why a
reboot was required to fix your IceCat.

Mark



Re: Guix System 1.0: No audio

2019-05-05 Thread sirgazil
Hi Mark,


 On Sun, 05 May 2019 16:26:25 -0500 Mark H Weaver  wrote 


 > Hi sirgazil, 
 >  
 > sirgazil  writes: 
 >  
 > > I installed the GNU system with GNOME using the ISO installer 
 > > (https://ftp.gnu.org/gnu/guix/guix-system-install-1.0.0.x86_64-linux.iso.xz).
 > >  
 > > 
 > > When I play video or audio in the browser or in the desktop, I get no 
 > > audio. The volume controls in the browser and desktop show the sound 
 > > is not disabled. 
 >  
 > Have you been able to get any sound to come out of the speakers at all 
 > in Guix?  For example, when you change the volume using the slider in 
 > the menu from the top-right corner in GNOME Shell, do you hear the sound 
 > effects when you let go of the slider at a high volume level? 
 >  
 > Which browser(s) did you try? 


Unfortunately, not all of my messages to the lists are being delivered on time. 
I'm getting "Mail Delivery Status Notification (Delay)" with this kind of error:

 [Status: Error, Address: , ResponseCode 421, Host not 
reachable.] 

In a previous message that Florian responded to 
(https://lists.gnu.org/archive/html/help-guix/2019-05/msg00116.html), I added a 
bit more information about the problem. I also reported a bug that has been 
delayed as well.

In summary, most of the time, when I start the machine (a real machine), "GNOME 
Setting → Sound" shows a "Dummy output" as the output device, not the real 
device. Only once, I started the machine and sound worked fine, both in desktop 
applications and in the IceCat browser. GNOME even displayed information when I 
plugged some headphones and "GNOME Setting → Sound" displayed the real device 
and headphones as output devices (no "Dummy output" any more). That time, I 
started the machine with the headphones unplugged. So I thought that could be 
related to the problem, but then I tried to reproduce it and couldn't. And I 
lost sound again.




Re: Guix System 1.0: No audio

2019-05-05 Thread Tobias Geerinckx-Rice

Sirgazil, Florian,

pelzflorian (Florian Pelz) wrote:

On Sun, May 05, 2019 at 06:52:39AM -0500, sirgazil wrote:
Florian, for some reason, the speakers worked today. I'm not 
sure if running alsamixer yesterday after your instructions had 
anything to do with it or booting without the headphones 
plugged. Those are the only different things (related to sound) 
that I've done before starting the machine today. GNOME even 
displays some information when I plug the headphones. It didn't 
do this before.




On my father’s PC booting with or without audio 3.5mm plug 
headphones

makes a difference.


One thing I noticed when booting is an error that says 
something like this:


   Error: "pcspkr" is already registered, aborting.



I see this too.

I wonder if that is related. Although the speakers worked 
anyways.


This is the driver for the vestigial ‘PC speaker’ that mainly[0] 
beeps and is completely missing on some modern systems, it (rather 
misleadingly) has nothing to do with speakers as you intend to 
enjoy them.



Kind regards,

T G-R

[0]: https://www.tobias.gr/monkeez.mp4


signature.asc
Description: PGP signature


Re: IceCat from Guix all monospaced font – Summary

2019-05-05 Thread Zelphir Kaltstahl
On 5/5/19 11:46 PM, Mark H Weaver wrote:
> Zelphir Kaltstahl  writes:
>
>> Ah it could be, that a package changed something in `~/.profile`. I will
>> check … No it still looks the same as before.
> Guix never modifies your ~/.profile.  The relevant file is:
> ~/.guix-profile/etc/profile, which is generated each time you update
> your user profile.  On a Guix system, it is sourced from /etc/profile.
>
> On other systems, you should arrange to source that file in your login
> shell with GUIX_PROFILE set appropriately, e.g. with the following code
> in your ~/.bash_profile or equivalent:
>
>   GUIX_PROFILE="$HOME/.guix-profile" ; \
>   source "$HOME/.guix-profile/etc/profile"
>
> This is recommended in section 4.2 of the Guix manual, here:
>
>   
> https://www.gnu.org/software/guix/manual/en/html_node/Invoking-guix-package.html


Yep, I did that : )

>> Also I think any installation adding something to my `~/.profile`
>> should tell the user about such a change.
> Again, Guix will never do this.  However, 'guix package' should tell you
> if you're missing environment variable settings that are needed by the
> newly installed packages.
>
>> No package I installed yesterday did so.
> Hmm.  Are you confident about this?  If so, that casts doubt on my
> hypothesis that this was about missing environment variable settings.
> Unfortunately, I currently have no other hypothesis to explain why a
> reboot was required to fix your IceCat.

I was only referring to changing my `~/.profile`, not the one under
`~/.guix-profile/etc/profile`. When I wrote the message, I was not aware
of `~/.guix-profile/etc/profile`. Yes, I am sure no package changed my
`~/.profile`. Which is good : )

Thanks for making clear which profile was meant. I guess that changes to
`~/.guix-profile/etc/profile` could be the reason then, the issue
disappeared after restart / relogin.




Re: Guix VM can't connect to the Internet

2019-05-05 Thread Leo Famulari
On Sun, May 05, 2019 at 06:19:43PM +0200, Philip K. wrote:
> But `guix package pull` wouldn't work, because no connection could be
> established. Running `ping` on any server, would just inform me of
> dropped packets, `ip link set eth0 up` wouldn't change anything.

Can you give the exact command line you used to launch QEMU when it did
not work?

I tested the official Guix QEMU image [0] using the instructions in our
manual section Running Guix in a Virtual Machine [1] and I could
successfully do `guix download http://example.com`.

Note that `ping` (ICMP) does not work in QEMU when using '-net user'.
So, don't use `ping` to test the network in QEMU. Use `guix download`
instead since that will always be available.

If it still doesn't work after following the instructions in the manual,
please let us know the results of `qemu-system-x86_64 --version` and
`uname -a`. Also let us know if you are using a firewall or anything
like that.

Happy to help,
Leo

[0]
https://www.gnu.org/software/guix/download/

[1]
https://www.gnu.org/software/guix/manual/en/html_node/Running-Guix-in-a-VM.html


signature.asc
Description: PGP signature


Re: Uninstall/Install Guix

2019-05-05 Thread Chris Marusich
Hi Pierre-Henry,

"Pierre-Henry F."  writes:

> I tried to remove and re-install again but here what I get:
>
> phf@f02c:Downloads$ guix pull -l
> guix pull: error: stat: No such file or directory: 
> "/var/guix/profiles/per-user/phf/current-guix-1-link"
> phf@f02c:Downloads$ guix describe
> guix describe: error: failed to determine origin
>
>
> To uninstall:
>
>  sudo systemctl stop guix-daemon.service
>  sudo rm -rf /gnu
>  sudo rm -rf /var/guix
>  sudo rm -rf ~/.profile/guix
>  sudo rm -rf /etc/guix
>
>
> To install:
>
> https://git.savannah.gnu.org/cgit/guix.git/plain/etc/guix-install.sh
>
>
> Well... I really don't understand how all of that works.

Are you still having trouble, or were you able to resolve the issue?

I'm not sure what you meant in your last email.  Did you mean that you
ran the uninstall commands, followed by the guix-install.sh script, and
then when you ran "guix pull -l" you received the errors above?

 
-- 
Chris


signature.asc
Description: PGP signature


Re: Guix on a foreign distro (Mint) - List of packages is outdated and not updatable

2019-05-05 Thread Chris Marusich
melon  writes:

> 'echo $PATH'
> Gave me a very messy output. Apparently things like '.guix-profile/bin',
> '.guix-profile/sbin' and '/usr/bin' were all shown multiple times. I
> changed it to the following (by editing ~/.bashrc):
>
> export
> PATH="$HOME/.guix-profile/bin:$HOME/.guix-profile/sbin:$HOME/.config/guix/current/bin:$HOME/.bin/bin:/usr/bin:/bin"
>
> After restarting BASH and running 'guix pull', all my packages are
> once again up to date. Thank you again!

I'm glad to hear this solved your problem.  I just wanted to add some
information you might find useful.  When using Guix, you do not need to
set the PATH explicitly like this, but there is no harm in doing so if
you want to.  You can also write something like this instead:

  GUIX_PROFILE="$HOME/.guix-profile"
  . "$GUIX_PROFILE/etc/profile"

Whenever Guix generates a profile, by default a "profile hook" will run
that generates this etc/profile file.  This file contains shell commands
which set up all the environment variables you need in order to
"activate" the profile.  This includes PATH.  The nice thing about this
is that if you source this file in a place like ~/.bash_profile (or
similar), then whenever you log in, you'll always get the right
environment variables for your profile, regardless of what software
you've installed.

On a Guix System, both your $HOME/.guix-profile and
$HOME/.config/guix/current profiles will be "activated" automatically in
this manner (see: /etc/profile), but on a foreign distro, you have to do
this yourself by adding the appropriate lines to a shell start-up file.

I hope that perhaps this information helps simplify your configuration!

-- 
Chris


signature.asc
Description: PGP signature


Re: Scribus looks pixelated as if zoomed in

2019-05-05 Thread Chris Marusich
sirgazil  writes:

> I installed Scribus from Guix in a foreign distro and it looks weird
> when I launch it. See these screenshots for example:
>
> https://multimedialib.files.wordpress.com/2019/04/scribus-154-splash-2019-04-22.png
>
> https://multimedialib.files.wordpress.com/2019/04/scribus-154-dialog-2019-04-22.png
>
> https://multimedialib.files.wordpress.com/2019/04/scribus-154-main-2019-04-22.png
>
> It looks pixelated, as if zoomed in, and some parts of the interface
> appear clipped. Anyone gets this same behavior?
>
> I'm using the following Guix and Scribus:
>
> $ guix --version
> guix (GNU Guix) ffc8ab75f10ecaaf52cdc38f5846e9af8e2dadd5
>
> $ which scribus
> /var/guix/profiles/per-user/sirgazil/guix-profile/bin/scribus
>
> $ scribus --version
>
> Scribus, Open Source Desktop Publishing
> ---
> Homepage:   http://www.scribus.net
> Documentation:  http://docs.scribus.net
> Wiki:   http://wiki.scribus.net
> Issues: http://bugs.scribus.net
>
> Scribus Version 1.5.4

In the past, we have observed that on some foreign distributions, the
XDG_DATA_DIRS environment variable can interfere with the proper
presentation of icons [1], among other problems [2].

What is the output of the command "env | grep XDG_DATA_DIRS"?  What
happens if you start the application via an invocation such as "env -u
XDG_DATA_DIRS scribus"?

Footnotes: 
[1]  https://lists.gnu.org/archive/html/help-guix/2017-11/msg00031.html

[2]  https://debbugs.gnu.org/cgi/bugreport.cgi?bug=26202

-- 
Chris


signature.asc
Description: PGP signature


Re: Binaries for Rust, QEMU and QtWebKit

2019-05-05 Thread Chris Marusich
"Raghav Gururajan"  writes:

> Are there binaries available for Rust, QEMU and QtWebKit? These three
> take hell of a time to build, every time I run guix package -u.

You can check by running a command like the following:

  guix weather manifest.scm

where manifest.scm is a file that looks like this:

  (use-modules (gnu packages))

  (specifications->manifest
   '(
 "rust"
 "qemu"
 "qtwebkit"
 ))

Here is what I see when I run the command:

  $ guix weather --manifest=manifest.scm 
  computing 3 package derivations for x86_64-linux...
  looking for 5 store items on https://ci.guix.info...
  updating substitutes from 'https://ci.guix.info'... 100.0%
  https://ci.guix.info
20.0% substitutes available (1 out of 5)
137.0 MiB of nars (compressed)
503.9 MiB on disk (uncompressed)
0.252 seconds per request (1.3 seconds in total)
3.0 requests per second
'https://ci.guix.info/api/queue?nr=1000' returned 504 ("Gateway Time-out")

Looks like only one of those is available right now for the version of
Guix I'm using.  Maybe for your version, substitutes will be available.
Try it out and see!

For more information on the "guix weather" command, see section
"Invoking guix weather" in the manual:

https://www.gnu.org/software/guix/manual/en/html_node/Invoking-guix-weather.html

As with everything in Guix, there are also ways to check
programmatically, but the CLI interface is pretty easy to use.

-- 
Chris


signature.asc
Description: PGP signature


Re: "System Package" vs "System Service"

2019-05-05 Thread Chris Marusich
Raghav Gururajan  writes:

> Thank you very much for your clear explanation. I did add Tor Service
> with Default Configuration to my system config; ans also added the user
> to Tor group. But it seems that the traffic is not routed when I
> checked with "check.torproject.org". What should I do?
> On Sun, 2019-04-28 at 18:41 +0200, Danny Milosavljevic wrote:

You need to configure your web browser (or whatever software you are
using to access check.torproject.org) to use the TOR proxy.

-- 
Chris


signature.asc
Description: PGP signature


Re: A few questions about channels

2019-05-05 Thread Chris Marusich
ison  writes:

> 3) How can a channel provide patch files which can be used with
> "search-patches"? I attempted to look through the guix code in
> gnu/packages.scm and from what I can tell it looks like search-patches
> only looks in paths included from "%load-path". There is also a
> comment saying that it picks up the paths from $GUIX_PACKAGE_PATH, but
> I thought that variable was being deprecated in favor of channels. If
> so, shouldn't search-patches also look inside the channels repository
> for patch files?

This should work just like it would for GUIX_PACKAGE_PATH.  Are you
saying that the patch files you have created in your channel are not
being found?

david.lars...@selfhosted.xyz writes:

> On Wed, 24 Apr 2019, ison wrote:
>
>> Several questions about channels have been on my mind which I
>> haven't been able to find any documentation on. So I figured I would
>> ask them all in one place since they seem like fairly standard
>> questions that could help others setting up channels in the future
>> as well.
>>
>> 1) Is it possible to make a channel from a local git repository? (That is to 
>> say, a directory on the local machine initialized as a git repository)
>>
>
> Yes, for example, cat ~/.config/guix/channels.scm
>
> (cons (channel
>(name 'my-personal-packages)
>(url "file:///home/myuser/src/my-guix-packages"))
>   %default-channels)

Actually, you can also just write "/home/myuser/src/my-guix-packages".
The "file://" part is fine to add, but it is not necessary.  I think
(but am not sure) that you can use any protocol understood by Git here.

>> 2) Is it possible to use private remote repositories as channels?
>> The issue here seems to be one of authentication. I'm wonder if
>> there is (or should be) an "authentication" field one would add to
>> the channel definition in the channels.scm file.
>>
> I agree it would be nice to have. The git-fetch method is defined
> here:
> https://github.com/guix-mirror/guix/blob/012bf5c4c03e30633f137960bd0677e204c638a7/guix/build/git.scm
> and I think it can be modified without too much effort to include an
> argument for the -key flag to the git command. I am not sure though
> whether git-fetch will have access to the home user's directory in
> case you provide let's say ~/.ssh/id_rsa as argument. Another
> possibility would be to check the GIT_SSH_COMMAND env variable. I
> suppose you also need to make sure ssh is available for git-fetch.

It may also be possible to jump through hoops similar to how I did it
for package origins in this not-yet-merged patch:

https://debbugs.gnu.org/cgi/bugreport.cgi?bug=31285

I have been thinking about this problem for a while, but I have not yet
tried to solve it for channels.  The patch above only works for
individual packages, and it is quite a hack, so I am hesitant to merge
it into master because I think maybe there is a better way.

I think the better way might be to give the guix-daemon an SSH key
specifically for the purpose of accessing Git repositories over
authenticated SSH.  In the same way that the Guix daemon has its own
built in downloader for downloading files, we might be able to give it a
built in "git fetcher" to fetch Git repositories over SSH, using the
provided SSH key.  But I haven't looked into it more at this time.  Help
is welcome!

-- 
Chris


signature.asc
Description: PGP signature


Re: Help with OpenVPN Plugin for Network Manager

2019-05-05 Thread Chris Marusich
"Raghav Gururajan"  writes:

> Hello Guix!
>
> The "Services" part of my current system config is the following:
>
> (services (cons* (service gnome-desktop-service-type)
>  %desktop-services))
>
> How should I modify the above to edit Network Manager's Configuration
> to include and enable "network-manager-openvpn" plugin?
>
> I tried adding "(service network-manager-service-type
> (network-manager-configuration (vpn-plugins
> network-manager-openvpn)))" but I got an error that the service is
> used more than once.

You need to replace the existing network-manager-service-type with a new
copy that has the configuration you want.  One way to do that is to use
the modify-services form, which is documented in the manual in the
section "Using the Configuration System":

http://guix.info/manual/en/html_node/Using-the-Configuration-System.html

See also the "Service Reference" section:

http://guix.info/manual/en/html_node/Service-Reference.html#Service-Reference

Hope that helps!

-- 
Chris


signature.asc
Description: PGP signature


Re: GNOME Desktop

2019-05-05 Thread Timothy Sample
Hi,

"pelzflorian (Florian Pelz)"  writes:

> On Sun, May 05, 2019 at 10:13:38PM +0200, Ricardo Wurmus wrote:
>> pelzflorian (Florian Pelz)  writes:
>> > You can type in the terminal:
>> >
>> > guix install gnome-calendar
>> >
>> > This should become part of guix’ gnome package.  That it is missing is
>> > a bug.
>> 
>> Is it really?  I do like that we can choose to install only the
>> essential parts of GNOME without having to install packages that we may
>> not need.
>> 
>> Perhaps this could remain configurable.
>>
>
> In this case, maybe there should be a gnome-minimal package.
> Personally, I don’t like epiphany and use my own gnome package
> propagating the same packages but without epiphany.

I agree.  It would be nice to have an minimal package and
bells-and-whistles package.

While checking some things for GNOME 3.30, I (inadvertently) made a list
of all the “core” GNOME software that we are missing.  I thought I would
post it here just for the record.  I don’t know what all of these are,
but some of them look ripe for packaging.  :)

gnome-boxes
gnome-characters
gnome-color-manager
gnome-contacts
gnome-documents
gnome-font-viewer
gnome-getting-started-docs
gnome-initial-setup
gnome-logs
gnome-menus
gnome-music
gnome-online-miners
gnome-photos
gnome-software
gnome-themes-extra
gnome-user-docs
gnome-user-share
gnome-weather
gssdp
gupnp
gupnp-av
gupnp-dlna
gupnp-igd
libgepub
libgovirt
libgrss
libmediaart
mm-common
mousetweaks
phodav
rygel
sushi
tracker-miners
vino


-- Tim



"Insufficient privileges" message when saving a new connection in Networkmanager

2019-05-05 Thread Adam Mazurkiewicz
I prepared my config.scm file and reconfigured Guix to install
Networkmanager for my Xfce Desktop Environment. It worked but I have
no possibility to add new connections. When I try to save a new
connection the message "insufficient privileges" appears. How to fix
it?