From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: =?utf-8?B?0JLQvtC/0YDQvtGBINC/0L4g0L7Qv9GG0LjRj9C8INC80L4=?= =?utf-8?B?0L3RgtC40YDQvtCy0LDQvdC40Y8=?= SSD =?utf-8?Q?=D0=B8?= logrotate Date: Thu, 05 Apr 2018 10:46:35 +0200 Message-ID: <87woxm2g7o.fsf@gnu.org> References: <20180324162058.184a2eaf@gmail.com> <87in9lzp1p.fsf@gmail.com> <87o9jdr5k0.fsf@gmail.com> <87muyxr47l.fsf@gmail.com> <87h8p410ba.fsf@gmail.com> <876057vyqc.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54750) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f40XZ-0006uW-GW for help-guix@gnu.org; Thu, 05 Apr 2018 04:46:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f40XW-0002kU-Az for help-guix@gnu.org; Thu, 05 Apr 2018 04:46:41 -0400 Received: from hera.aquilenet.fr ([185.233.100.1]:56366) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1f40XW-0002j2-4h for help-guix@gnu.org; Thu, 05 Apr 2018 04:46:38 -0400 In-Reply-To: <876057vyqc.fsf@gmail.com> (Pierre Neidhardt's message of "Wed, 04 Apr 2018 19:51:31 +0530") 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: Pierre Neidhardt Cc: help-guix Hello, Pierre Neidhardt skribis: > Oleg Pykhalov writes: > >>>> =D0=A5=D0=BE=D1=80=D0=BE=D1=88=D0=BE, =D0=BC=D1=8B =D0=BC=D0=BE=D0=B6= =D0=B5=D0=BC =D0=B2=D1=8B=D0=BF=D0=BE=D0=BB=D0=BD=D1=8F=D1=82=D1=8C trim = =D0=BF=D0=BE cron (mcron). =D0=AD=D1=82=D0=BE=D1=82 =D1=81=D0=B5=D1=80=D0= =B2=D0=B8=D1=81 =D0=B5=D1=81=D1=82=D1=8C =D0=B2 >>>> %desktop-services? >>> >>> =D0=9D=D0=B5=D1=82. >>> >>> =D0=A1=D0=BF=D0=B8=D1=81=D0=BE=D0=BA =D1=81=D0=B5=D1=80=D0=B2=D0=B8=D1= =81=D0=BE=D0=B2 =E2=80=98%desktop-services=E2=80=99 =D0=BC=D0=BE=D0=B6=D0= =BD=D0=BE =D0=BF=D0=BE=D1=81=D0=BC=D0=BE=D1=82=D1=80=D0=B5=D1=82=D1=8C =D0= =B2 >>> =E2=80=98gnu/services/desktop.scm=E2=80=99 [2] =D0=B8=D0=BB=D0=B8 =D0= =B2=D1=8B=D0=B7=D0=B2=D0=B0=D0=B2 Guile: >>> >>> guile -e '(@@ (gnu services desktop) %desktop-services)' >>> >>>> =D0=98=D0=BB=D0=B8 =D1=8F =D0=B4=D0=BE=D0=BB=D0=B6=D0=B5=D0=BD =D1=8F= =D0=B2=D0=BD=D0=BE =D0=BF=D1=80=D0=BE=D0=BF=D0=B8=D1=81=D1=8B=D0=B2=D0=B0= =D1=82=D1=8C =D1=8D=D1=82=D0=BE?=20 >>> >>> =D0=94=D0=B0, =D0=BF=D1=80=D0=B8=D0=BC=D0=B5=D1=80=D1=8B =D0=B5=D1=81= =D1=82=D1=8C =D0=B2 =D0=B4=D0=BE=D0=BA=D1=83=D0=BC=D0=B5=D0=BD=D1=82=D0=B0= =D1=86=D0=B8=D0=B8 Guix [3]. >> >> The question was about how to check what services contains >> =E2=80=98%desktop-services=E2=80=99 variable. > > Is there a convenient way to get a pretty print out of the result? You can use =E2=80=98guix system extension-graph=E2=80=99 to view the graph= of services of your system: https://www.gnu.org/software/guix/manual/html_node/Invoking-guix-system.h= tml Alternately, you can inspect the =E2=80=98%desktop-services=E2=80=99 variab= le at the REPL: --8<---------------cut here---------------start------------->8--- $ guile GNU Guile 2.2.3 Copyright (C) 1995-2017 Free Software Foundation, Inc. Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'. This program is free software, and you are welcome to redistribute it under certain conditions; type `,show c' for details. Enter `,help' for help. scheme@(guile-user)> ,use(gnu services desktop) scheme@(guile-user)> ,use(gnu services) scheme@(guile-user)> (map (compose service-type-name service-kind) %desktop= -services) $1 =3D (slim screen-locker screen-locker mtp network-manager wpa-supplicant= avahi udisks upower accountsservice colord geoclue polkit elogind dbus ntp= login console-fonts agetty mingetty mingetty mingetty mingetty mingetty mi= ngetty static-networking syslog urandom-seed guix nscd udev special-files) --8<---------------cut here---------------end--------------->8--- HTH, Ludo=E2=80=99.