unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* kicking off nm again
@ 2019-04-12 19:47 znavko
  2019-04-13 18:58 ` Mark H Weaver
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: znavko @ 2019-04-12 19:47 UTC (permalink / raw)
  To: help-guix


[-- Attachment #1.1: Type: text/plain, Size: 4860 bytes --]

Hello! I need your advise in my `holly war` for guix purity in my low-capacity Laptop.

While `guix pull && guix system reconfigure config-znavko-12-04-2019.scm` worked, Network-Manager and some other stuff have pervaded.

I saw this:

# guix pull && guix system reconfigure config-znavko-12-04-2019.scm
...
downloading from https://ci.guix.info/nar/gzip/5d9hhqd8mzcbll094lapd3q59kcfbjwx-mutter-3.24.4...

downloading from https://ci.guix.info/nar/gzip/02k2cbgmlanypwnbn1qzxxh54zs7z9gg-geocode-glib-3.20.1...
 geocode-glib-3.20.1 98KiB 56KiB/s 00:02 [##################] 100.0%

downloading from https://ci.guix.info/nar/gzip/8x3imp6y4qnfgjhfi1k53mdbkz1xscwl-gnome-online-accounts-3.26.2-lib...
 gnome-online-accounts-3.26.2-lib 276KiB 53KiB/s 00:00 [# ] 5 gnome-online-accounts-3.26.2-lib 276KiB 60KiB/s 00:01 [## ] 11 gnome-online-accounts-3.26.2-lib 276KiB 45KiB/s 00:01 [### ] 17 gnome-online-accounts-3.26.2-lib 276KiB 8KiB/s 00:08 [#### ] 23. gnome-online-accounts-3.26.2-lib 276KiB 9KiB/s 00:09 [##### ] 29. gnome-online-accounts-3.26.2-lib 276KiB 12KiB/s 00:09 [####### ] 40 gnome-online-accounts-3.26.2-lib 276KiB 13KiB/s 00:10 [######## ] 46 gnome-online-accounts-3.26.2-lib 276KiB 15KiB/s 00:10 [######### ] 52 gnome-online-accounts-3.26.2-lib 276KiB 16KiB/s 00:11 [########### ] 63 gnome-online-accounts-3.26.2-lib 276KiB 17KiB/s 00:12 [############ ] 69 gnome-online-accounts-3.26.2-lib 276KiB 19KiB/s 00:12 [############## ] 81 gnome-online-accounts-3.26.2-lib 276KiB 21KiB/s 00:12 [################ ] 92 gnome-online-accounts-3.26.2-lib 276KiB 22KiB/s 00:12 [##################] 100.0%

downloading from https://ci.guix.info/nar/gzip/sv05vb2d34kabcr0bkxywlgscpp3gvd5-libgweather-3.26.1...
downloading from https://ci.guix.info/nar/gzip/m7sbp699inhdmlmpvkzmsncgi0lkz263-network-manager-1.8.4...
 network-manager-1.8.4 4.6MiB 117KiB/s 00:40 [##################] 100.0%

downloading from https://ci.guix.info/nar/gzip/jj4a71qxpkpk2i3qi4mnkr0ghs6bhh0g-evolution-data-server-3.28.1...

downloading from https://ci.guix.info/nar/gzip/zdxjj50y3w5l2npkpkm29k9zjpng5ghm-network-manager-applet-1.8.4...
Do not want to have NetworkManager, but I discovered it has dependents (attached svg). In svg I cannot determine what exactly need nm. Arc-theme? Gdm? Gnome?

My packages for root are:

# guix package -I
emacs-rainbow-delimiters 2.1.3 out /gnu/store/83d544jsqd2jnqnd9racpghg71pgv546-emacs-rainbow-delimiters-2.1.3
xset 1.2.4 out /gnu/store/af5xnphd8nl3qsrvq312idvbbq1y4vs6-xset-1.2.4
lshw B.02.18 out /gnu/store/4arjspj4d99kkx8nkmjh1j4nrfw7wsb0-lshw-B.02.18
unzip 6.0 out /gnu/store/rvr69vbggcy12qiayy20yf49vcgh11zj-unzip-6.0
glibc-utf8-locales 2.28 out /gnu/store/94k5w17z54w25lgp90czdqfv9m4hwzhq-glibc-utf8-locales-2.28
wireless-tools 30.pre9 out /gnu/store/38l735aqzshdfd1z0z0df6ci1jdkg91w-wireless-tools-30.pre9
dosfstools 4.1 out /gnu/store/vhg24flnc41ysbq6hds8s33s1x2i12mn-dosfstools-4.1
torsocks 2.3.0 out /gnu/store/rc7166vfi36sx0vqyggnm4b3n1z9ry9k-torsocks-2.3.0
curl 7.64.0 out /gnu/store/09x4p4ywz39xzy42kmscfi2nnhwjgybd-curl-7.64.0
postgresql 10.7 out /gnu/store/cjwd6qaw7imbv64qb6ja4gx4zpwzl77c-postgresql-10.7
htop 2.2.0 out /gnu/store/b5hkkgk2lmx5n0gipbx93jh6pxbzzdz6-htop-2.2.0
wget 1.20.1 out /gnu/store/wxhbyn2ff6fz9xhm4nyilgx8gs0hnk4p-wget-1.20.1
nmap 7.70 out /gnu/store/viz0jwlhdjzdicz0sl3g7c4bcpz5xpap-nmap-7.70
tor 0.3.4.11 out /gnu/store/0mnwmb670xxzqanqbamjmli7nm0dlpyn-tor-0.3.4.11
openvpn 2.4.7 out /gnu/store/krzb78b7ma2gvyjpiw58vz4nv21qg665-openvpn-2.4.7
graphviz 2.40.1 out /gnu/store/hw4h30a6hgza5fr2pdaz69bnqyh6r0cb-graphviz-2.40.1
emacs-paredit 24 out /gnu/store/1zha5anxg029qfl7r569aap5lfyrb66a-emacs-paredit-24
emacs-geiser 0.10 out /gnu/store/sjrmk26ayiblnsz7ka5lcy61xpp1hk5b-emacs-geiser-0.10
lm-sensors 3.4.0 out /gnu/store/8a27wj8mslg3plrg1zsymhchvyqsgnkq-lm-sensors-3.4.0
git 2.21.0 out /gnu/store/f7lmi6k82mw54gz00m5nq4abpc79mgbp-git-2.21.0
emacs 26.1 out /gnu/store/zcs0sb51znspcach6z5r4zn9zwqw2zyh-emacs-26.1
gedit 3.28.1 out /gnu/store/bzkvlf8msq0bi78vpajqjyyd68anf0al-gedit-3.28.1
glibc-locales 2.28 out /gnu/store/acl2wxzzkkcjv74rlqswdf9p8pwddlmk-glibc-locales-2.28
1) Let me know how to delete nm, if I've removed it from services in %desktop-services, but gdm or gnome pulled it into my system.

2) libgweather. Also, I do not need lbgweather. arc-theme depends on it again? Sorry, I do not use gnome.

3) geocode-glib. Gnome is so fat. How to cut it off? Can I have gdm without gnome?

4) gnome-online-accounts

5) evolution-data-server

6) network-manager-applet

7) mutter, what's this? I think xfce4 does not use it. How to kick it out?

Please, is the last leaf of revert dependencies graph that package I need to remove for that guix will not pull these 7 packages again?
If so arc-theme and gnome are my aims. How to remove them?

[-- Attachment #1.2: Type: text/html, Size: 5273 bytes --]

[-- Attachment #2: nm-dependents.svg --]
[-- Type: image/svg+xml, Size: 13075 bytes --]

[-- Attachment #3: config-znavko-12-04-2019.scm --]
[-- Type: application/octet-stream, Size: 2698 bytes --]

;-*- mode: Scheme; -*-
;;this is znavko's cute config

(use-modules (gnu) (gnu system nss)
	     (gnu system locale) ;;for locale-definition
	     (gnu services desktop)
	     (srfi srfi-1)	       ;;for remove function
	     (gnu services networking) ;;for remove ntp
	     (gnu services avahi)      ;;for remove avahi
	     (gnu services xorg)
	     (gnu packages admin) ;;for wpa_supplicant
	     )

(use-service-modules desktop)
(use-package-modules certs gnome)

(operating-system (host-name "antelope") (timezone "Europe/Moscow") (locale "en_US.utf8")
		  (bootloader (bootloader-configuration (bootloader grub-bootloader) (target "/dev/sda")))
		  (file-systems (cons (file-system (device "/dev/sda1") (mount-point "/") (type "ext4")) %base-file-systems))
		  (swap-devices '("/dev/sda2"))

		  (users (cons* (user-account (name "bob") (group "users")
					      (supplementary-groups '("wheel" "netdev" "audio" "video"))
					      (home-directory "/home/bob"))
				(user-account (name "mom") (group "users")
					      (supplementary-groups '("wheel" "netdev" "audio" "video"))
					      (home-directory "/home/mom"))
				%base-user-accounts))

		  ;; This is where we specify system-wide packages.
		  (packages (cons* nss-certs ;for HTTPS access
				   gvfs	     ;for user mounts
				   wpa-supplicant
				   %base-packages))

		  (services (cons* 
			     (service xfce-desktop-service-type)
			     (service dhcp-client-service-type)

			     (modify-services      
			      (remove (lambda (service)
					(member (service-kind service)
						(list ntp-service-type avahi-service-type 
						      bluetooth-service network-manager-service-type)))
				      %desktop-services) ;end of remove lambda services

			      (wpa-supplicant-service-type config =>
							   (wpa-supplicant-configuration
							    (interface "wlp2s0")
							    (config-file "/etc/wpa_supplicant/wpa_supplicant.conf")))

			      (gdm-service-type config =>
						(gdm-configuration
						 (xorg-configuration
						  (xorg-configuration
						   (extra-config  
						    '("Section \"InputClass\"
Identifier \"touchpad\"
Driver \"libinput\"
MatchIsTouchpad \"on\"
Option \"Tapping\" \"on\"
EndSection")
						    )))))

			      (elogind-service-type
			       c => (elogind-configuration (handle-lid-switch 'ignore)))
			      )	;;end of modify-services
			     ))	;;end of services

		  ;; Allow resolution of '.local' host names with mDNS.
		  (name-service-switch %mdns-host-lookup-nss)

		  ;;blacklist ugly sound speaker, blacklist ideapad_laptop for prevent soft blocking wlan
		  (kernel-arguments '("modprobe.blacklist=pcspkr,snd_pcsp,bluetooth,ideapad_laptop"))

		  ) ;;end of operating-system

[-- Attachment #4: libgweather-dependents.svg --]
[-- Type: image/svg+xml, Size: 15792 bytes --]

[-- Attachment #5: geocode-glib.svg --]
[-- Type: image/svg+xml, Size: 17716 bytes --]

[-- Attachment #6: evolution-data-server.svg --]
[-- Type: image/svg+xml, Size: 8008 bytes --]

[-- Attachment #7: network-manager-applet.svg --]
[-- Type: image/svg+xml, Size: 4615 bytes --]

[-- Attachment #8: mutter.svg --]
[-- Type: image/svg+xml, Size: 2875 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: kicking off nm again
  2019-04-12 19:47 kicking off nm again znavko
@ 2019-04-13 18:58 ` Mark H Weaver
  2019-04-14  7:44 ` znavko
  2019-04-14 14:25 ` znavko
  2 siblings, 0 replies; 4+ messages in thread
From: Mark H Weaver @ 2019-04-13 18:58 UTC (permalink / raw)
  To: znavko; +Cc: help-guix

Hi,

znavko@disroot.org writes:

> Hello! I need your advise in my `holly war` for guix purity in my low-capacity Laptop.
>
> While `guix pull && guix system reconfigure
> config-znavko-12-04-2019.scm` worked, Network-Manager and some other
> stuff have pervaded.

[...]

> 1) Let me know how to delete nm, if I've removed it from services in
> %desktop-services, but gdm or gnome pulled it into my system.
>
> 2) libgweather. Also, I do not need lbgweather. arc-theme depends on
> it again? Sorry, I do not use gnome.
>
> 3) geocode-glib. Gnome is so fat. How to cut it off? Can I have gdm
> without gnome?
>
> 4) gnome-online-accounts
>
> 5) evolution-data-server
>
> 6) network-manager-applet
>
> 7) mutter, what's this? I think xfce4 does not use it. How to kick it out?

One reason that all of this stuff is being pulled in is because you're
using GDM as your display manager:

> 		  (services (cons* 
> 			     (service xfce-desktop-service-type)
> 			     (service dhcp-client-service-type)
>
> 			     (modify-services      
> 			      (remove (lambda (service)
> 					(member (service-kind service)
> 						(list ntp-service-type avahi-service-type 
> 						      bluetooth-service network-manager-service-type)))
> 				      %desktop-services) ;end of remove lambda services
>
> 			      (wpa-supplicant-service-type config =>
> 							   (wpa-supplicant-configuration
> 							    (interface "wlp2s0")
> 							    (config-file "/etc/wpa_supplicant/wpa_supplicant.conf")))
>
> 			      (gdm-service-type config =>
> 						(gdm-configuration
> 						 (xorg-configuration
> 						  (xorg-configuration
> 						   (extra-config  
> 						    '("Section \"InputClass\"
> Identifier \"touchpad\"
> Driver \"libinput\"
> MatchIsTouchpad \"on\"
> Option \"Tapping\" \"on\"
> EndSection")
> 						    )))))

If you don't want GNOME, then you must not use GDM.  GDM actually runs a
little GNOME 3 session even before you log in.  It will pull in much of
the GNOME 3 stuff.

If you want a lightweight system, add 'gdm-service-type' to the list of
things to remove from %desktop-services, and use 'slim-service-type'
instead.

       Mark

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: kicking off nm again
  2019-04-12 19:47 kicking off nm again znavko
  2019-04-13 18:58 ` Mark H Weaver
@ 2019-04-14  7:44 ` znavko
  2019-04-14 14:25 ` znavko
  2 siblings, 0 replies; 4+ messages in thread
From: znavko @ 2019-04-14  7:44 UTC (permalink / raw)
  To: Mark H Weaver; +Cc: help-guix

I've read an actual guix manual pages from the local source tree, figured out the consist of %desktop-services Scheme variable and retyped my config. These things were done there: removing gdm-service-type, adding slim-service-type and configuring slim-service-type to work with touchpad. Then `guix system reconfigure /etc/config.scm' was run. gdm disappeared, as you said. It will not pull GNOME 3 stuff now.

		  (services (cons* 
			     (service xfce-desktop-service-type)
			     (service dhcp-client-service-type)
			     (service slim-service-type)

			     (modify-services      
			      (remove (lambda (service)
					(member (service-kind service)
						(list ntp-service-type avahi-service-type 
						      bluetooth-service network-manager-service-type
						      gdm-service-type)))
				      %desktop-services) ;end of remove lambda services

			      (wpa-supplicant-service-type config =>
							   (wpa-supplicant-configuration
							    (interface "wlp2s0")
							    (config-file "/etc/wpa_supplicant/wpa_supplicant.conf")))

			      (slim-service-type config =>
						(slim-configuration
						 (xorg-configuration
						  (xorg-configuration
						   (extra-config  
						    '("Section \"InputClass\"
Identifier \"touchpad\"
Driver \"libinput\"
MatchIsTouchpad \"on\"
Option \"Tapping\" \"on\"
EndSection")
						    )))))

			      (elogind-service-type
			       c => (elogind-configuration (handle-lid-switch 'ignore)))
			      )	;;end of modify-services
			     ))	;;end of services

Thank you, Mark! 

April 13, 2019 7:39 PM, "Mark H Weaver" <mhw@netris.org> wrote:

> Hi,
> 
> znavko@disroot.org writes:
> 
>> Hello! I need your advise in my `holly war` for guix purity in my low-capacity Laptop.
>> 
>> While `guix pull && guix system reconfigure
>> config-znavko-12-04-2019.scm` worked, Network-Manager and some other
>> stuff have pervaded.
> 
> [...]
> 
>> 1) Let me know how to delete nm, if I've removed it from services in
>> %desktop-services, but gdm or gnome pulled it into my system.
>> 
>> 2) libgweather. Also, I do not need lbgweather. arc-theme depends on
>> it again? Sorry, I do not use gnome.
>> 
>> 3) geocode-glib. Gnome is so fat. How to cut it off? Can I have gdm
>> without gnome?
>> 
>> 4) gnome-online-accounts
>> 
>> 5) evolution-data-server
>> 
>> 6) network-manager-applet
>> 
>> 7) mutter, what's this? I think xfce4 does not use it. How to kick it out?
> 
> One reason that all of this stuff is being pulled in is because you're
> using GDM as your display manager:
> 
>> (services (cons*
>> (service xfce-desktop-service-type)
>> (service dhcp-client-service-type)
>> 
>> (modify-services
>> (remove (lambda (service)
>> (member (service-kind service)
>> (list ntp-service-type avahi-service-type
>> bluetooth-service network-manager-service-type)))
>> %desktop-services) ;end of remove lambda services
>> 
>> (wpa-supplicant-service-type config =>
>> (wpa-supplicant-configuration
>> (interface "wlp2s0")
>> (config-file "/etc/wpa_supplicant/wpa_supplicant.conf")))
>> 
>> (gdm-service-type config =>
>> (gdm-configuration
>> (xorg-configuration
>> (xorg-configuration
>> (extra-config
>> '("Section \"InputClass\"
>> Identifier \"touchpad\"
>> Driver \"libinput\"
>> MatchIsTouchpad \"on\"
>> Option \"Tapping\" \"on\"
>> EndSection")
>> )))))
> 
> If you don't want GNOME, then you must not use GDM. GDM actually runs a
> little GNOME 3 session even before you log in. It will pull in much of
> the GNOME 3 stuff.
> 
> If you want a lightweight system, add 'gdm-service-type' to the list of
> things to remove from %desktop-services, and use 'slim-service-type'
> instead.
> 
> Mark

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: kicking off nm again
  2019-04-12 19:47 kicking off nm again znavko
  2019-04-13 18:58 ` Mark H Weaver
  2019-04-14  7:44 ` znavko
@ 2019-04-14 14:25 ` znavko
  2 siblings, 0 replies; 4+ messages in thread
From: znavko @ 2019-04-14 14:25 UTC (permalink / raw)
  To: Mark H Weaver; +Cc: help-guix

sorry, this works with touchpad.

		  (services (cons* 
			     (service xfce-desktop-service-type)
			     (service dhcp-client-service-type)
			     (service slim-service-type
				      (slim-configuration
					(xorg-configuration
					 (xorg-configuration
					  (extra-config  
					   '("Section \"InputClass\"
Identifier \"touchpad\"
Driver \"libinput\"
MatchIsTouchpad \"on\"
Option \"Tapping\" \"on\"
EndSection")
					   ))))
				      )

			     (modify-services      
			      (remove (lambda (service)
					(member (service-kind service)
						(list ntp-service-type avahi-service-type 
						      bluetooth-service network-manager-service-type
						      gdm-service-type)))
				      %desktop-services) ;end of remove lambda services

			      (wpa-supplicant-service-type config =>
							   (wpa-supplicant-configuration
							    (interface "wlp2s0")
							    (config-file "/etc/wpa_supplicant/wpa_supplicant.conf")))

			      (elogind-service-type
			       c => (elogind-configuration (handle-lid-switch 'ignore)))
			      )	;;end of modify-services
			     ))	;;end of services




April 14, 2019 7:44 AM, znavko@disroot.org wrote:

> I've read an actual guix manual pages from the local source tree, figured out the consist of
> %desktop-services Scheme variable and retyped my config. These things were done there: removing
> gdm-service-type, adding slim-service-type and configuring slim-service-type to work with touchpad.
> Then `guix system reconfigure /etc/config.scm' was run. gdm disappeared, as you said. It will not
> pull GNOME 3 stuff now.
> 
> (services (cons* 
> (service xfce-desktop-service-type)
> (service dhcp-client-service-type)
> (service slim-service-type)
> 
> (modify-services 
> (remove (lambda (service)
> (member (service-kind service)
> (list ntp-service-type avahi-service-type 
> bluetooth-service network-manager-service-type
> gdm-service-type)))
> %desktop-services) ;end of remove lambda services
> 
> (wpa-supplicant-service-type config =>
> (wpa-supplicant-configuration
> (interface "wlp2s0")
> (config-file "/etc/wpa_supplicant/wpa_supplicant.conf")))
> 
> (slim-service-type config =>
> (slim-configuration
> (xorg-configuration
> (xorg-configuration
> (extra-config 
> '("Section \"InputClass\"
> Identifier \"touchpad\"
> Driver \"libinput\"
> MatchIsTouchpad \"on\"
> Option \"Tapping\" \"on\"
> EndSection")
> )))))
> 
> (elogind-service-type
> c => (elogind-configuration (handle-lid-switch 'ignore)))
> ) ;;end of modify-services
> )) ;;end of services
> 
> Thank you, Mark! 
> 
> April 13, 2019 7:39 PM, "Mark H Weaver" <mhw@netris.org> wrote:
> 
>> Hi,
>> 
>> znavko@disroot.org writes:
>> 
>>> Hello! I need your advise in my `holly war` for guix purity in my low-capacity Laptop.
>>> 
>>> While `guix pull && guix system reconfigure
>>> config-znavko-12-04-2019.scm` worked, Network-Manager and some other
>>> stuff have pervaded.
>> 
>> [...]
>> 
>>> 1) Let me know how to delete nm, if I've removed it from services in
>>> %desktop-services, but gdm or gnome pulled it into my system.
>>> 
>>> 2) libgweather. Also, I do not need lbgweather. arc-theme depends on
>>> it again? Sorry, I do not use gnome.
>>> 
>>> 3) geocode-glib. Gnome is so fat. How to cut it off? Can I have gdm
>>> without gnome?
>>> 
>>> 4) gnome-online-accounts
>>> 
>>> 5) evolution-data-server
>>> 
>>> 6) network-manager-applet
>>> 
>>> 7) mutter, what's this? I think xfce4 does not use it. How to kick it out?
>> 
>> One reason that all of this stuff is being pulled in is because you're
>> using GDM as your display manager:
>> 
>>> (services (cons*
>>> (service xfce-desktop-service-type)
>>> (service dhcp-client-service-type)
>>> 
>>> (modify-services
>>> (remove (lambda (service)
>>> (member (service-kind service)
>>> (list ntp-service-type avahi-service-type
>>> bluetooth-service network-manager-service-type)))
>>> %desktop-services) ;end of remove lambda services
>>> 
>>> (wpa-supplicant-service-type config =>
>>> (wpa-supplicant-configuration
>>> (interface "wlp2s0")
>>> (config-file "/etc/wpa_supplicant/wpa_supplicant.conf")))
>>> 
>>> (gdm-service-type config =>
>>> (gdm-configuration
>>> (xorg-configuration
>>> (xorg-configuration
>>> (extra-config
>>> '("Section \"InputClass\"
>>> Identifier \"touchpad\"
>>> Driver \"libinput\"
>>> MatchIsTouchpad \"on\"
>>> Option \"Tapping\" \"on\"
>>> EndSection")
>>> )))))
>> 
>> If you don't want GNOME, then you must not use GDM. GDM actually runs a
>> little GNOME 3 session even before you log in. It will pull in much of
>> the GNOME 3 stuff.
>> 
>> If you want a lightweight system, add 'gdm-service-type' to the list of
>> things to remove from %desktop-services, and use 'slim-service-type'
>> instead.
>> 
>> Mark

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-04-14 14:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-04-12 19:47 kicking off nm again znavko
2019-04-13 18:58 ` Mark H Weaver
2019-04-14  7:44 ` znavko
2019-04-14 14:25 ` znavko

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).