From mboxrd@z Thu Jan 1 00:00:00 1970 From: Subject: Does not halt after Menu - Logout - Shut down and closing notebook hood Date: Sun, 14 Oct 2018 09:54:37 +0200 (CEST) Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_127630_1906119207.1539503677504" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45198) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gBbEa-0007KN-5j for help-guix@gnu.org; Sun, 14 Oct 2018 03:54:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gBbEW-0001gh-3c for help-guix@gnu.org; Sun, 14 Oct 2018 03:54:44 -0400 Received: from w1.tutanota.de ([81.3.6.162]:40276) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gBbEV-0001e0-Q0 for help-guix@gnu.org; Sun, 14 Oct 2018 03:54:40 -0400 Received: from w2.tutanota.de (unknown [192.168.1.163]) by w1.tutanota.de (Postfix) with ESMTP id 7C8D8FBF199 for ; Sun, 14 Oct 2018 07:54:37 +0000 (UTC) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Help Guix ------=_Part_127630_1906119207.1539503677504 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Hello, Guix Help! I want to make an effort to solve a problem I've noticed. I am using GuixSD, Xfce4. I think I have no screensaver and Screen lock. But inconvenient thing rests there. Every time I want to turn of notebook and close it quickly it does not switch off at all. 1. I click Xfce4 Menu -> Log out -> Shut down 2. I close notebook hood quickly 3. I go away 4. Notebook keep on working When I return to notebook (even 8-10 hours later) and open it I see it is working and lines in a black screen go there. Something like 'stoping service.. will now halt'. And it turning off. Please, how to configure it not to sleep when I close hood but to halt when I want it this way? ------=_Part_127630_1906119207.1539503677504 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit Hello, Guix Help! I want to make an effort to solve a problem I've noticed.
I am using GuixSD, Xfce4. I think I have no screensaver and Screen lock.
But inconvenient thing rests there.
Every time I want to turn of notebook and close it quickly it does not switch off at all.
1. I click Xfce4 Menu -> Log out -> Shut down
2. I close notebook hood quickly
3. I go away
4. Notebook keep on working

When I return to notebook (even 8-10 hours later) and open it I see it is working and lines in a black screen go there. Something like 'stoping service.. will now halt'. And it turning off.

Please, how to configure it not to sleep when I close hood but to halt when I want it this way?
------=_Part_127630_1906119207.1539503677504-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: iyzsong@member.fsf.org (=?utf-8?B?5a6L5paH5q2m?=) Subject: Re: Does not halt after Menu - Logout - Shut down and closing notebook hood Date: Sun, 14 Oct 2018 20:10:08 +0800 Message-ID: <871s8s4tlr.fsf@member.fsf.org> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58631) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gBfFH-0007Zh-5m for help-guix@gnu.org; Sun, 14 Oct 2018 08:11:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gBfFC-0008Hw-Iu for help-guix@gnu.org; Sun, 14 Oct 2018 08:11:41 -0400 Received: from rezeros.cc ([45.76.207.221]:35430) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gBfFC-0008Fa-4T for help-guix@gnu.org; Sun, 14 Oct 2018 08:11:38 -0400 In-Reply-To: (znavko's message of "Sun, 14 Oct 2018 09:54:37 +0200 (CEST)") List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: znavko@tutanota.com Cc: Help Guix writes: > When I return to notebook (even 8-10 hours later) and open it I see it is working and lines in a black screen go there. Something like 'stoping service.. will now halt'. And it turning off. > > Please, how to configure it not to sleep when I close hood but to halt when I want it this way? > > Hello, Guix Help! I want to make an effort to solve a problem I've noticed. > I am using GuixSD, Xfce4. I think I have no screensaver and Screen lock. > But inconvenient thing rests there. > Every time I want to turn of notebook and close it quickly it does not switch off at all. > 1. I click Xfce4 Menu -> Log out -> Shut down > 2. I close notebook hood quickly > 3. I go away > 4. Notebook keep on working > > When I return to notebook (even 8-10 hours later) and open it I see it is working and lines in a black screen go there. Something like 'stoping service.. will now halt'. And it turning > off. > > Please, how to configure it not to sleep when I close hood but to halt when I want it this way? Hello, I think this can be done by set 'handle-lid-switch' to 'ignore' (it's 'suspend' by default) for the 'elogind-service-type', for example: (operating-system ... (services (cons* (xfce-desktop-service) (modify-services %desktop-services (elogind-service-type c => (elogind-configuration (handle-lid-switch 'ignore))))))) Hope it helps! From mboxrd@z Thu Jan 1 00:00:00 1970 From: Subject: Re: Does not halt after Menu - Logout - Shut down and closing notebook hood Date: Sun, 14 Oct 2018 17:45:53 +0200 (CEST) Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_134525_1770463143.1539531953601" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38033) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gBiad-0001Xc-OU for help-guix@gnu.org; Sun, 14 Oct 2018 11:46:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gBiaZ-00070w-NE for help-guix@gnu.org; Sun, 14 Oct 2018 11:45:59 -0400 Received: from w1.tutanota.de ([81.3.6.162]:37020) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gBiaZ-0006we-AJ for help-guix@gnu.org; Sun, 14 Oct 2018 11:45:55 -0400 Received: from w2.tutanota.de (unknown [192.168.1.163]) by w1.tutanota.de (Postfix) with ESMTP id 94C5BFA092F for ; Sun, 14 Oct 2018 15:45:53 +0000 (UTC) In-Reply-To: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Help Guix ------=_Part_134525_1770463143.1539531953601 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Yes. After changes in /etc/config.scm and running as root `guix system reco= nfigure /etc/config.scm` and reboot I've got it! =C2=A0Your advice solved! Thank you! Hello, I think this can be done by set 'handle-lid-switch' to 'ignore'(it's= 'suspend' by default) for the 'elogind-service-type', for example:(operati= ng-system ... (services (cons* (xfce-desktop-service) (modif= y-services %desktop-services (elogind-service-type = c =3D> (elogind-configuration (handle-lid-switch 'ig= nore)))))))Hope it helps! ------=_Part_134525_1770463143.1539531953601 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit Yes. After changes in /etc/config.scm and running as root `guix system reconfigure /etc/config.scm` and reboot I've got it!
 Your advice solved! Thank you!



Hello, I think this can be done by set 'handle-lid-switch' to 'ignore'
(it's 'suspend' by default) for the 'elogind-service-type', for example:

(operating-system
  ...
  (services
    (cons* (xfce-desktop-service)
           (modify-services %desktop-services
             (elogind-service-type
               c => (elogind-configuration
                      (handle-lid-switch 'ignore)))))))

Hope it helps!
------=_Part_134525_1770463143.1539531953601-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Subject: Re: Does not halt after Menu - Logout - Shut down and closing notebook hood Date: Sun, 14 Oct 2018 18:43:04 +0200 (CEST) Message-ID: References: <> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_135575_1533555728.1539535384212" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50067) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gBjTx-000857-DJ for help-guix@gnu.org; Sun, 14 Oct 2018 12:43:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gBjTu-0002tM-6U for help-guix@gnu.org; Sun, 14 Oct 2018 12:43:09 -0400 Received: from w1.tutanota.de ([81.3.6.162]:54968) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gBjTt-0002o9-PG for help-guix@gnu.org; Sun, 14 Oct 2018 12:43:06 -0400 Received: from w2.tutanota.de (unknown [192.168.1.163]) by w1.tutanota.de (Postfix) with ESMTP id 360D2FBF094 for ; Sun, 14 Oct 2018 16:43:04 +0000 (UTC) In-Reply-To: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: znavko@tutanota.com Cc: Help Guix ------=_Part_135575_1533555728.1539535384212 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Would you be so kind to give me info where I can get the variables, its ele= ments and possible values? As you've offered this: (modify-services %desktop-services =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (e= logind-service-type =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 c =3D> (elogind-configuration =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (handle-lid-switch 'ign= ore)))) I can find elogind configuration here https://git.savannah.gnu.org/cgit/gui= x.git/tree/gnu/services/desktop.scm#n566 As I look at `guix package -s elogind` I've discovered that _elogind_ is a = port of systemd _logind_ service. Manual describes here=C2=A0 http://man7.org/linux/man-pages/man5/logind.con= f.5.html =20 "HandleLidSwitch=3D, HandleLidSwitchDocked=3D =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Controls how l= ogind shall handle the system power and sleep keys =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 and the lid sw= itch to trigger actions such as system power-off or =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 suspend. Can b= e one of "ignore", "poweroff", "reboot", "halt", =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 "kexec", "susp= end", "hibernate", "hybrid-sleep", and "lock". If =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 "ignore", logi= nd will never handle these keys." Ok,=C2=A0 I've got variable 'HandleLidSwitch' and it's value 'ignore' that = I need to use. It is so hard to get from all these sources the lines that you've wrote. But sorry, config contains 'handle-lid-switch'. And may be I will need any = other configurations in other services that were not mentioned in Guix cgit= . So how to get their exact names? I started to learn guile at free time. But other Linux distributions had an= swers in the web how to configure. Using GuixSD I need to know exactly every package configurations and to now= exactly how to translate it into Scheme. I there any specific manual how to do that? ------=_Part_135575_1533555728.1539535384212 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Would you be so kind to give me info where I can get the variables, its ele= ments and possible values?
As you've offered this:

(modify-= services %desktop-services
       &= nbsp;     (elogind-service-type
   =             c =3D>= ; (elogind-configuration
       &nb= sp;            =   (handle-lid-switch 'ignore))))

I can find elogind configu= ration here ht= tps://git.savannah.gnu.org/cgit/guix.git/tree/gnu/services/desktop.scm#n566=
As I look at `guix package -s elogind` I've discovered that _elog= ind_ is a port of systemd _logind_ service.
Manual describes here = ; http://man7.org/linux/man-pages/ma= n5/logind.conf.5.html
"HandleLidSwitch=3D, HandleLidSwitchDo= cked=3D
           C= ontrols how logind shall handle the system power and sleep keys
 =           and the lid switch t= o trigger actions such as system power-off or
    =        suspend. Can be one of "ignore&qu= ot;, "poweroff", "reboot", "halt",
 = ;          "kexec", = "suspend", "hibernate", "hybrid-sleep", and &= quot;lock". If
        &n= bsp;  "ignore", logind will never handle these keys."
Ok,  I've got variable 'HandleLidSwitch' and it's value 'ign= ore' that I need to use.
It is so hard to get from all these sources t= he lines that you've wrote.
But sorry, config contains 'handle-lid-swi= tch'. And may be I will need any other configurations in other services tha= t were not mentioned in Guix cgit.
So how to get their exact names?
I started to learn guile at free time. But other Linux distributio= ns had answers in the web how to configure.
Using GuixSD I need to kno= w exactly every package configurations and to now exactly how to translate = it into Scheme.
I there any specific manual how to do that?

------=_Part_135575_1533555728.1539535384212-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Marusich Subject: Re: Does not halt after Menu - Logout - Shut down and closing notebook hood Date: Mon, 15 Oct 2018 01:50:09 -0700 Message-ID: <87y3aziofy.fsf@gmail.com> References: > Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46466) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gByaE-0006zG-8e for help-guix@gnu.org; Mon, 15 Oct 2018 04:50:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gByaD-00077i-5v for help-guix@gnu.org; Mon, 15 Oct 2018 04:50:38 -0400 Received: from mail-pf1-x432.google.com ([2607:f8b0:4864:20::432]:44500) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gByaA-0006sB-Dv for help-guix@gnu.org; Mon, 15 Oct 2018 04:50:35 -0400 Received: by mail-pf1-x432.google.com with SMTP id r9-v6so9318685pff.11 for ; Mon, 15 Oct 2018 01:50:17 -0700 (PDT) In-Reply-To: (znavko's message of "Sun, 14 Oct 2018 18:43:04 +0200 (CEST)") List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: znavko@tutanota.com Cc: Help Guix --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable writes: > [...] And may be I will need > any other configurations in other services that were not mentioned in > Guix cgit. > So how to get their exact names? Some (perhaps most) services assume that you are somewhat familiar with the software in question. For example, the explanation of the openssh-configuration in the Guix manual explains what the configuration items do, but if you don't know what OpenSSH is, then it probably doesn't help you very much. When you encounter situations like this, you might sometimes need to read more about the software in question before you will understand how to use it in GuixSD. This is generally true for any GNU/Linux distribution. > I started to learn guile at free time. But other Linux distributions > had answers in the web how to configure. > Using GuixSD I need to know exactly every package configurations and > to now exactly how to translate it into Scheme. > I there any specific manual how to do that? In cases like this, your best bet is to do the following: 1) Check the GNU Guix manual. You can read it online [1] or on your computer via the command "info guix". 2) Check the GNU Guix source. It sounds like you already know how to do that. Sometimes, the source code contains helpful information that has not yet been added to the manual. 3) Search the help-guix@gnu.org email archives [2] for information. Sometimes, the same question has been asked before. It's also useful to search the guix-devel@gnu.org email list [3], since a lot of discussion happens there, also. 4) If you still don't understand something, ask for help at help-guix@gnu.org. You can also ask for help in our IRC chat room [4]. Nobody starts out knowing everything. The Guix community is very welcoming to newcomers, and I'm sure that if you take the time to ask questions, you'll receive friendly, useful advice. Good luck! Footnotes:=20 [1] https://www.gnu.org/software/guix/manual/en/html_node/GNU-Distribution= .html [2] https://lists.gnu.org/archive/html/help-guix/ [3] https://lists.gnu.org/archive/html/guix-devel/ [4] https://www.gnu.org/software/guix/contact/irc/ =2D-=20 Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEy/WXVcvn5+/vGD+x3UCaFdgiRp0FAlvEVMEACgkQ3UCaFdgi Rp1o6Q//ZfpQACP/ZvzEvD5isp7/wjt3M8l0zP7vLEsfbiYZtn0lnrX7j/84f55F YFLCw2bDWS2NNS2s81hpPAuMcpf9A0iRY7NxLHB+Rq6eX0damaOpuDmBuZ4UmcwV kXGP7vWqhsyllVQxi2REBU7J/9W4GG6SunV1B4226X0sG5g2/lBAicJOAIyBBOEf XjsSEw7B4/ay0Ne9rzTW2xq66Kpmulx2ZG5CZS0Vgja1fPYMEEGmVIylfYzebexF wPklgb2KU62WnLraxrUXKqcVoflZeen4OcCwfb68wLUFI/5kKzmgi1LXj1kapDYZ xc0F9i2G+aH7fqDwn87VHbHroMRPzc4h2r+tjH3L4I46hvPacBNe8kH2oVbsWPvF 1WWF8uHv8sm6mdf5zUIV7qj1zuI1livW26aWFhCGI2tkp7uLihA8XptmZPrKLl/X jTGUCfhbzeWBoEOWkO7wF7HeTglbU7NU4V0JhfOo3VpbUHryGby8o46/ne5Pw6Ix mCSSKwu3pXeQ4A5KTk+ocbw5dREeA7keqhyVS078iLgqnCJCZZan7vgfEc6Y+qu1 svxJEKA7QC9vK3d1oVmc8rtyBwh4YDrayB92f4Sxd27Up/Euf0TGH1cG7FauY6kw 8zOl1lNuITov+NA4ppGOUr4er5wZzUeF0Vafg3pQusFPcGxhD5w= =GB3i -----END PGP SIGNATURE----- --=-=-=-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marius Bakke Subject: Re: Does not halt after Menu - Logout - Shut down and closing notebook hood Date: Mon, 15 Oct 2018 20:35:03 +0200 Message-ID: <8736t7hxd4.fsf@fastmail.com> References: > <87y3aziofy.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41787) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gC7iF-0005Jy-En for help-guix@gnu.org; Mon, 15 Oct 2018 14:35:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gC7iB-00028h-Bd for help-guix@gnu.org; Mon, 15 Oct 2018 14:35:30 -0400 Received: from wout1-smtp.messagingengine.com ([64.147.123.24]:38563) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gC7i5-000217-OG for help-guix@gnu.org; Mon, 15 Oct 2018 14:35:23 -0400 In-Reply-To: <87y3aziofy.fsf@gmail.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Chris Marusich , znavko@tutanota.com Cc: Help Guix --=-=-= Content-Type: text/plain Chris Marusich writes: > writes: > >> [...] And may be I will need >> any other configurations in other services that were not mentioned in >> Guix cgit. >> So how to get their exact names? > > Some (perhaps most) services assume that you are somewhat familiar with > the software in question. For example, the explanation of the > openssh-configuration in the Guix manual explains what the configuration > items do, but if you don't know what OpenSSH is, then it probably > doesn't help you very much. When you encounter situations like this, > you might sometimes need to read more about the software in question > before you will understand how to use it in GuixSD. This is generally > true for any GNU/Linux distribution. Perhaps it would be useful with an appendix to the manual explaining some of the concepts in play. Not only Scheme and the configuration system, but also things like bootloaders, partitioning, LUKS, etc. I think it could be good resource for many new and intermediate GNU/Linux users, sort of like the Arch wiki for GuixSD. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQTck4iltADvsyxsIHHh9++BT5KhDgUCW8Td1wAKCRDh9++BT5Kh DmwpAQDTlSe96HAvE5U/NRDdabEoVepe/SWf8aPOBHkNBfRDVQD9Eh8a6mJ5R2gz SH3Q1tWhn5LqRI9ML+mWb7JUQ49IhQ4= =G8LP -----END PGP SIGNATURE----- --=-=-=-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Subject: Re: Does not halt after Menu - Logout - Shut down and closing notebook hood Date: Tue, 16 Oct 2018 06:24:15 +0200 (CEST) Message-ID: References: <> < (znavko's message of "Sun, 14 Oct 2018 18:43:04 +0200 (CEST)")> <87y3aziofy.fsf@gmail.com> <<87y3aziofy.fsf@gmail.com>> <8736t7hxd4.fsf@fastmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_187232_164277586.1539663855645" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35923) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gCGuQ-0007Oa-5x for help-guix@gnu.org; Tue, 16 Oct 2018 00:24:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gCGuM-0001Iz-QJ for help-guix@gnu.org; Tue, 16 Oct 2018 00:24:41 -0400 Received: from w1.tutanota.de ([81.3.6.162]:57334) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gCGuM-0000jU-8J for help-guix@gnu.org; Tue, 16 Oct 2018 00:24:38 -0400 In-Reply-To: <8736t7hxd4.fsf@fastmail.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Marius Bakke Cc: Help Guix ------=_Part_187232_164277586.1539663855645 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit This idea is quite interesting! For me very novice, there are too few examples of config file in cgit and manual. As Ludovic Courtes says 'So we have a package abstraction. Just pretty useful' https://peertube.social/videos/watch/2d3b999c-0bc8-4375-87ad-91ff86b9521a?start=12m26s When user is not familiar with Scheme need to learn variables described here https://www.gnu.org/software/guix/manual/en/html_node/Services.html#Services before your attempt to add a new service becomes successful. I cannot understand the chain of those variables and do not know the content of variables. So how to display them without starting compilation? Is it possible to get something like analysis of my config.scm before running `guix system reconfigure /etc/config.scm` ? And how to know what (use-modules (gnu services networking)) adds or what (gnu services audio) adds. F.e. if I do not want pulseaudio, but want only alsa, how to type it in my config.scm? Need to discover a tree of variables for know which modules and may be other git parts are necessary for adding new service or package into system. As I imagine only guix messages while starting compilation can help and cgit is the one place where source code may have helpful stuff. I also cannot understand how function (use-modules) works, and what does it do with arguments? Arguments look like childs gnu->services->audio, but why I see they are separated by space? All I've got at this moment listening MIT LISP lectures that (use-modules) is a function. May be you'll offer more powerful learning with examples for quick start? 15. Oct 2018 21:35 by mbakke@fastmail.com : > Perhaps it would be useful with an appendix to the manual explaining > some of the concepts in play. Not only Scheme and the configuration > system, but also things like bootloaders, partitioning, LUKS, etc. > > I think it could be good resource for many new and intermediate > GNU/Linux users, sort of like the Arch wiki for GuixSD. ------=_Part_187232_164277586.1539663855645 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable This idea is quite interesting! For me very novice, there are too few examp= les of config file in cgit and manual.
As Ludovic Courtes says 'So we = have a package abstraction. Just pretty useful' https://peertube.social/videos= /watch/2d3b999c-0bc8-4375-87ad-91ff86b9521a?start=3D12m26s
When us= er is not familiar with Scheme need to learn variables described here https://www.gnu.org/= software/guix/manual/en/html_node/Services.html#Services before your at= tempt to add a new service becomes successful.
I cannot understand the= chain of those variables and do not know the content of variables. So how = to display them without starting compilation?
Is it possible to get s= omething like analysis of my config.scm before running `guix system reconfi= gure /etc/config.scm` ?
And how to know what (use-modules (gnu service= s networking)) adds or what (gnu services audio) adds. F.e. if I do not wan= t pulseaudio, but want only alsa, how to type it in my config.scm?
Nee= d to discover a tree of variables for know which modules and may be=20 other git parts are necessary for adding new service or package into=20 system.
As I imagine only guix messages while starting compilation can= help and cgit is the one place where source code may have helpful stuff.I also cannot understand how function (use-modules) works, and what doe= s it do with arguments? Arguments look like childs gnu->services->aud= io, but why I see they are separated by space? All I've got at this moment = listening MIT LISP lectures that (use-modules) is a function.
May be y= ou'll offer more powerful learning with examples for quick start?


15. Oct 2018 21:35 by mbakke@fastmail.com:

Perhaps it would be useful with = an appendix to the manual explaining
some of the concepts in play. No= t only Scheme and the configuration
system, but also things like bootl= oaders, partitioning, LUKS, etc.

I think it could be good resour= ce for many new and intermediate
GNU/Linux users, sort of like the Arc= h wiki for GuixSD.
------=_Part_187232_164277586.1539663855645--