Boot Guix from Grub on Coreboot laptop

2021-08-27 Thread znavko--- via
Hello! I have a laptop Lenovo Thinkpad burned with Coreboot and working on 
Trisquel. But some network bugs appeared after update (updates break almost 
every system I used except Guix) and I want to install Guix OS.
I burned an usb-stick that is booting perfectly on my PC, but it does not boot 
on the coreboot laptop. When I choose from the menu "Search ISO linux menu 
(USB)" it does not start booting from usb. And I enter grub command line and 
type:
> ls
... (usb1) (usb1,msdos2)
> set root=(usb1,msdos2)
> chainloader /efi/boot/bootx64.efi
error: unrecognized payload type.

I do not know what to do here.
I also tried to find 'vmlinuz' and 'initrd' on '(usb1)' but it's hard to find 
them there.
Can you help? Could Guix OS boot under Coreboot?


How to enable Chromium DNS over HTTPS

2021-07-25 Thread znavko--- via
Hello! I have to fight for my freedom with Russian government that having no 
idea how to spoil the ilfe except blocking various of web-sites doing it very 
quickly.
And I have to use VPN for visit protonmail, safe-mail .net, tutanota and even 
prnt .sc.
I bypass blocking very well in IceCat I do not know why. I only have there 'DNS 
over HTTPS".
But in Ungogled-Chromium there are troubles even using VPN.
Ungogled-Chromium does not download SSL-certificates when I visit protonmail 
(because of blocking on provider).
I dug and I think dns over https will solve my problem, but under Guix this 
flag could not be enabled:

chrome://flags/#dns-over-https
Secure DNS lookups
Enables DNS over HTTPS. When this feature is enabled, your browser may try to 
use a secure HTTPS
connection to look up the addresses of websites and other web resources. Mac, 
Windows, Chrome OS,
Android
#dns-over-https
Not available on your platform.

It is not available on my platform. What shoud I do? What do I need to install 
for it?


Re: How to remove extension from service definition?

2021-03-20 Thread znavko
Hello, Joshua!
I see your code is elegant and represents solution of a task:
remove 'network-manager-service-type' from %desktop-services variable

I've already got this solution here in Guix-help and I use it 
in every config.scm example placed to my git:
https://gitgud.io/znavko/guix-configs

Now I faced to another interestng task:
1. I use %desktop-services that declares 'network-manager-applet' 
as extension of 'profile-service-type' here [1]
2. I use 'xfce-desktop-service-type' that has 'profile-service-type'
as an extension [2]
3. I cannot just simply remove 'profile-service-type' because it is 
really important [3]
4. I need to remove 'network-manager-applet' from the extensions list
in 'profile-service-type' declared here [4]

You gave me and idea to work with variables.
I could just redefine some variable, for example copy 
desctop.scm to my local machine and include it to my config
and code it without those lines that include 'network-manager-applet'.
But I see this approach is not elegant, as Russians say 'a dog-nail'.

I seek elegant academical solution, as programmers say 'linux-way'.

I alwasy ask here and got solutions, but here I started to read
Lisp manual, then I will read Scheme manual, then Guile manual
and then Guix manual and Guix repository to discover that only 
funcion-antidote for this peace of code [4]:

(define %desktop-services
  ;; List of services typically useful for a "desktop" use case.
  (cons*
...
  (simple-service 'network-manager-applet
  profile-service-type
  (list network-manager-applet


Do you know some Guix function for remove extension?
If you have a snippet for remove extension from service it
will be very exact I want.


[1] 
https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/services/desktop.scm#n1260
[2] 
https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/services/desktop.scm#n1004
[3] https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/services.scm#n810
[4] 
https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/services/desktop.scm#n1260


March 19, 2021 4:07 PM, "Joshua Branson"  wrote:

> znavko--- via  writes:
> 
>> Hello! I wish to remove network-manager-applet extension from
>> profile-service-type
>> which is in the list of extensions of
>> xfce-desktop-service-type [1] and [2]
>> 
>> And also I want to see the result.
>> 
>> I try it unsuccessfully like this:
>> 
>> $ guile
>>> (use-modules (gnu) (gnu services) (gnu services desktop) (srfi srfi-1))
>>> xfce-desktop-service-type
>> 
>> $1 = #
>>> (remove (lambda (service) (eq? (service-kind service) profile-service-type))
>>> xfce-desktop-service-type)
>> 
>> ice-9/boot-9.scm:1669:16: In procedure raise-exception:
>> In procedure remove: Wrong type argument in position 2: #> xfce-desktop 7f6c0a4b1000>
> 
> (remove (lambda (service) (eq? (service-kind service) profile-service-type)) 
> %desktop-services)
> 
> "works for me." Though you get a HUGE output. I didn't check the
> output to make sure it was removed. Also just removing all
> profile-service-type(s) might be a REALLY BAD idea. I wouldn't know
> exactly why it would be bad, but it might remove lots of system services.
> 
>> Entering a new prompt. Type `,bt' for a backtrace or `,q' to continue.
>> Also I cannot remove service from %desktop-services asI usually do in 
>> config.scm:
>>> (remove (lambda (service) (member (service-kind service) (list 
>>> network-manager-service-type
>>> bluetooth-service))) %desktop-services)
>> 
>> ;;; :19:57: warning: possibly unbound variable 
>> `network-manager-service-type'
>> ice-9/boot-9.scm:1669:16: In procedure raise-exception:
>> error: network-manager-service-type: unbound variable
>> Can you show me how ot interact with guile ? And how to remove service 
>> extensionsand also
>> how to look at xfce-desktop-service-type contents?
> 
> So the problem with it not knowing that 'network-manager-service-type'
> is a variable is because you have not included the file that specifies
> that network-manager-service-type is a variable. So how do we discover
> what file has network-manager-service-type defined as a variable?
> 
> $ guix system search network-manager
> name: network-manager
> location: gnu/services/networking.scm:1120:4
> extends: shepherd-root dbus polkit account activate session-environment 
> profile
> shepherdnames: networking
> description: Run NetworkManager 
> (https://wiki.gnome.org/Projects/NetworkManager), a network
> management daemon that aims to
> + simplify wired and wireless networking.
> relevance: 15
> 
> You can see that it's located in gnu/services/networking.scm. Where is
> bluetooth defined?
> 
> $ guix s

Re: How to remove extension 'network-manager-applet' from 'service profile-service-type'

2021-03-07 Thread znavko
Hello, Joshua!
No, sorry. network-manager-applet is an extension of
profile-service-type
that is included in xfce-service-type in desctop.scm.

Though I remove network-manager from %desktop-services
(I already done it in attached config)
but it pervades into my system
as far as network-manager-applet is included 
in profile-service-type (that s part of xfce-service-type) 
and network-manager-applet requires network-manager.

My trouble is that there are two places where 
'profile-service-type' is affected:

1. in xfce-service-type definition it is just only including
2. in %desktop-services it is extended with network-manager-applet

I think I need somehow to remove
network-manager-applet
from profile-service-type

How to do it?

Here it is 'xfce-desktop-service-type' definition:
https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/services/desktop.scm#n980

Here netwok-manager-applet is included into profile-service-type:
https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/services/desktop.scm#n1260




March 6, 2021 5:01 PM, "Joshua Branson"  wrote:

> znavko--- via  writes:
> 
>> Hello! I use 'xfce-desktop-service-type' in my config.scm
>> and xfce service is using 'profile-service-type'.
>> Everything was ok while this line not appeared in services/desctop.scm:
>> 
>> 1260:
>> (simple-service 'network-manager-applet
>> profile-service-type
>> (list network-manager-applet))
>> 
>> How can I remove back 'network-manager-applet' extension from 
>> profile-service-type
>> in my config (in attach)?
> 
> Something like this might work:
> 
> #+BEGIN_SRC scheme
> (use-service-modules
> networking)
> 
> (define %my-desktop-services
> (remove (lambda (service)
> (member (service-kind service)
> (list
> network-manager-service-type
> )))
> %desktop-services))
> 
> (operating-system
> (services
> (cons* %my-desktop-services)))
> #+END_SRC
> 
>> PS: I dislike networkmanager for it is buggy and slow.
> 
> --
> Joshua Branson (joshuaBPMan in #guix)
> Sent from Emacs and Gnus
> https://gnucode.me
> https://video.hardlimit.com/accounts/joshua_branson/video-channels
> https://propernaming.org
> "You can have whatever you want, as long as you help
> enough other people get what they want." - Zig Ziglar



How to remove extension 'network-manager-applet' from 'service profile-service-type'

2021-03-05 Thread znavko--- via
Hello! I use 'xfce-desktop-service-type' in my config.scm
and xfce service is using 'profile-service-type'.
Everything was ok while this line not appeared in services/desctop.scm:

1260:
 (simple-service 'network-manager-applet
 profile-service-type
 (list network-manager-applet))

How can I remove back 'network-manager-applet' extension from 
profile-service-type
in my config (in attach)?

PS: I dislike networkmanager for it is buggy and slow.


config.scm
Description: Binary data


Re: What for network-manager appears in my system?

2021-03-05 Thread znavko
No, sorry, my config does not work now.
I think that I need remove 'network-manager-applet'
somehow otherwise than this way:

(remove (lambda (service)
  (member (service-kind service)
(list network-manager-service-type network-manager-applet
  profile-service-type modem-manager-service-type)))
  %desktop-services)

beacuase with such config I get everytime this:

# guix system reconfigure config-wpa2-wlp5-wf-blacklist--wt-nm.conf
The following derivations will be built:
   /gnu/store/0ymh3ajf45zcw7b06qaaxav1h818c67d-network-manager-applet-1.20.0.drv
   
/gnu/store/2xkgkr6cw1yf1rxdy293qkk9ldpmrarv-network-manager-applet-1.20.0.tar.xz.drv

162.5 MB will be downloaded
...
...

Can I advise how toremove 'network-manager-applet' from '%desktop-services'
in my config?


March 5, 2021 11:44 PM, zna...@disroot.org wrote:

> I searched something new in %desktop-services that I use in my config
> And really there are new services from line 1257:
> https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/services/desktop.scm
> 
> ;; NetworkManager and its applet.
> (service network-manager-service-type)
> (service wpa-supplicant-service-type) ;needed by NetworkManager
> (simple-service 'network-manager-applet
> profile-service-type
> (list network-manager-applet))
> (service modem-manager-service-type)
> (service usb-modeswitch-service-type)
> 
> 1271:
> (service cups-pk-helper-service-type)
> 
> I added these new items in my (lambda remove %desktop-services) like this:
> 
> (modify-services 
> ;; removing unnecessary services
> (remove (lambda (service)
> (member (service-kind service)
> (list gdm-service-type geoclue-service bluetooth-service
> sane-service-type
> network-manager-service-type network-manager-applet
> modem-manager-service-type
> avahi-service-type
> cups-pk-helper-service-type ntp-service-type)))
> %desktop-services) ;end of remove lambda services
> ...
> 
> And with these new lines any network-manager or cups will not appear in my 
> /gnu/store
> My system reconfigured well and fast without any ugliness.
> 
> I think it will be usefull to look %desktop-services from my terminal
> or also to look declaration of 'gnu/services/desktop.scm' from terminal.
> 
> Thanks!
> 
> March 5, 2021 10:19 PM, "znavko--- via"  wrote:
> 
>> Hello! I start 'guix pull && guix package -u && guix system reconfigure 
>> /etc/config.scm'
>> and here I saw I have network-manager in my system and its compilation fails 
>> (you know
>> reconfigure often breaks last half a year):
>> 
>> applying 2 grafts for 
>> /gnu/store/a6irrqvlpqk6v66g4kj54w4rcbylywz7-libnma-1.8.28.drv ...
>> building /gnu/store/9pf1dh0ijm5jd4n90sww7dl8038bvk9v-activate.scm.drv...
>> applying 2 grafts for 
>> /gnu/store/1hdklza3iwzr01iq0qc86j4hy68xzh4v-network-manager-1.24.0.drv ...
>> |builder for 
>> `/gnu/store/1hdklza3iwzr01iq0qc86j4hy68xzh4v-network-manager-1.24.0.drv' 
>> failed due to
>> signal 11 (Segmentation fault)
>> build of 
>> /gnu/store/1hdklza3iwzr01iq0qc86j4hy68xzh4v-network-manager-1.24.0.drv failed
>> View build log at
>> '/var/log/guix/drvs/1h/dklza3iwzr01iq0qc86j4hy68xzh4v-network-manager-1.24.0.drv.bz2'.
>> building /gnu/store/dxxvr6nri5zvy6wrkc6wrvsl3hr79l7g-boot.drv...
>> cannot build derivation 
>> `/gnu/store/qa5ks50xk0w3n7sinka0bgrdpdwrylmy-profile.drv': 1 dependencies
>> couldn't be built
>> building /gnu/store/iifkfi1k4zd89gx72xhffixbxwkv5yr5-raw-initrd.drv...
>> cannot build derivation 
>> `/gnu/store/klxa4qccb4wvpz1bkd1zmjz8zlsy0n73-system.drv': 1 dependencies
>> couldn't be built
>> guix system: error: build of 
>> `/gnu/store/klxa4qccb4wvpz1bkd1zmjz8zlsy0n73-system.drv' failed
>> I think it happened when Guix changed services organization, because I 
>> removed network-managger
>> service from my system.
>> 
>> I wish to remove network-manager from my system, but I could not determine 
>> what does refer to it?
>> 
>> # guix graph --type=referrers network-manager
>> digraph "Guix referrers" {
>> "/gnu/store/7g8agl6jiirihz913bi1xrvgq1jkkl8k-network-manager-1.24.0-doc" 
>> [label =
>> "network-manager-1.24.0-doc", shape = box, fontname = sans];
>> "/gnu/store/2qqmqppkn912i0sia4xca98b7zsrwpxy-network-manager-1.24.0" [label =
>> "network-manager-1.24.0", shape = box, fontname = sans];
>> "/gnu/store/2qqmqppkn912i0sia4xca98b7zsrwpxy-network-manager-1.24.0" ->
>> "/gnu/store/2qqmqppkn912i0sia4xca98b7zsrwpxy-network-manager-1.24.0" [color 
>> = dimgrey];
>> "/gnu/store/2qqmqppkn912i0sia4xca98b7zsrwpxy-network-manager-1.

Re: What for network-manager appears in my system?

2021-03-05 Thread znavko
I searched something new in %desktop-services that I use in my config
And really there are new services from line 1257:
https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/services/desktop.scm

 ;; NetworkManager and its applet.
 (service network-manager-service-type)
 (service wpa-supplicant-service-type);needed by NetworkManager
 (simple-service 'network-manager-applet
 profile-service-type
 (list network-manager-applet))
 (service modem-manager-service-type)
 (service usb-modeswitch-service-type)

1271:
 (service cups-pk-helper-service-type)

I added these new items in my (lambda remove %desktop-services) like this:

 (modify-services  
  ;; removing unnecessary services
  (remove (lambda (service)
(member (service-kind service)
(list gdm-service-type 
geoclue-service bluetooth-service
  sane-service-type
  
network-manager-service-type network-manager-applet
  modem-manager-service-type
  avahi-service-type
  
cups-pk-helper-service-type ntp-service-type)))
  %desktop-services) ;end of remove lambda 
services
...


And with these new lines any network-manager or cups will not appear in my 
/gnu/store
My system reconfigured well and fast without any ugliness.

I think it will be usefull to look %desktop-services from my terminal
or also to look declaration of 'gnu/services/desktop.scm' from terminal.


Thanks!


March 5, 2021 10:19 PM, "znavko--- via"  wrote:

> Hello! I start 'guix pull && guix package -u && guix system reconfigure 
> /etc/config.scm'
> and here I saw I have network-manager in my system and its compilation fails 
> (you know
> reconfigure often breaks last half a year):
> 
> applying 2 grafts for 
> /gnu/store/a6irrqvlpqk6v66g4kj54w4rcbylywz7-libnma-1.8.28.drv ...
> building /gnu/store/9pf1dh0ijm5jd4n90sww7dl8038bvk9v-activate.scm.drv...
> applying 2 grafts for 
> /gnu/store/1hdklza3iwzr01iq0qc86j4hy68xzh4v-network-manager-1.24.0.drv ...
> |builder for 
> `/gnu/store/1hdklza3iwzr01iq0qc86j4hy68xzh4v-network-manager-1.24.0.drv' 
> failed due to
> signal 11 (Segmentation fault)
> build of 
> /gnu/store/1hdklza3iwzr01iq0qc86j4hy68xzh4v-network-manager-1.24.0.drv failed
> View build log at
> '/var/log/guix/drvs/1h/dklza3iwzr01iq0qc86j4hy68xzh4v-network-manager-1.24.0.drv.bz2'.
> building /gnu/store/dxxvr6nri5zvy6wrkc6wrvsl3hr79l7g-boot.drv...
> cannot build derivation 
> `/gnu/store/qa5ks50xk0w3n7sinka0bgrdpdwrylmy-profile.drv': 1 dependencies
> couldn't be built
> building /gnu/store/iifkfi1k4zd89gx72xhffixbxwkv5yr5-raw-initrd.drv...
> cannot build derivation 
> `/gnu/store/klxa4qccb4wvpz1bkd1zmjz8zlsy0n73-system.drv': 1 dependencies
> couldn't be built
> guix system: error: build of 
> `/gnu/store/klxa4qccb4wvpz1bkd1zmjz8zlsy0n73-system.drv' failed
> I think it happened when Guix changed services organization, because I 
> removed network-managger
> service from my system.
> 
> I wish to remove network-manager from my system, but I could not determine 
> what does refer to it?
> 
> # guix graph --type=referrers network-manager
> digraph "Guix referrers" {
> "/gnu/store/7g8agl6jiirihz913bi1xrvgq1jkkl8k-network-manager-1.24.0-doc" 
> [label =
> "network-manager-1.24.0-doc", shape = box, fontname = sans];
> "/gnu/store/2qqmqppkn912i0sia4xca98b7zsrwpxy-network-manager-1.24.0" [label =
> "network-manager-1.24.0", shape = box, fontname = sans];
> "/gnu/store/2qqmqppkn912i0sia4xca98b7zsrwpxy-network-manager-1.24.0" ->
> "/gnu/store/2qqmqppkn912i0sia4xca98b7zsrwpxy-network-manager-1.24.0" [color = 
> dimgrey];
> "/gnu/store/2qqmqppkn912i0sia4xca98b7zsrwpxy-network-manager-1.24.0" ->
> "/gnu/store/7lz21cbcjazh67jycs72dvr2nvinhfpy-libnma-1.8.28" [color = dimgrey];
> "/gnu/store/2qqmqppkn912i0sia4xca98b7zsrwpxy-network-manager-1.24.0" ->
> "/gnu/store/hbqfmqb8wrfmz2kg538j8xk6zmr438x2-network-manager-applet-1.16.0" 
> [color = dimgrey];
> "/gnu/store/7lz21cbcjazh67jycs72dvr2nvinhfpy-libnma-1.8.28" [label = 
> "libnma-1.8.28", shape = box,
> fontname = sans];
> "/gnu/store/7lz21cbcjazh67jycs72dvr2nvinhfpy-libnma-1.8.28" ->
> "/gnu/store/7lz21cbcjazh67jycs72dvr2nvinhfpy-libnma-1.8

What for network-manager appears in my system?

2021-03-05 Thread znavko--- via
Hello! I start 'guix pull && guix package -u && guix system reconfigure 
/etc/config.scm'
and here I saw I have network-manager in my system and its compilation fails 
(you know
reconfigure often breaks last half a year):

applying 2 grafts for 
/gnu/store/a6irrqvlpqk6v66g4kj54w4rcbylywz7-libnma-1.8.28.drv ...
building /gnu/store/9pf1dh0ijm5jd4n90sww7dl8038bvk9v-activate.scm.drv...
applying 2 grafts for 
/gnu/store/1hdklza3iwzr01iq0qc86j4hy68xzh4v-network-manager-1.24.0.drv ...
|builder for 
`/gnu/store/1hdklza3iwzr01iq0qc86j4hy68xzh4v-network-manager-1.24.0.drv' failed 
due to signal 11 (Segmentation fault)
build of /gnu/store/1hdklza3iwzr01iq0qc86j4hy68xzh4v-network-manager-1.24.0.drv 
failed
View build log at 
'/var/log/guix/drvs/1h/dklza3iwzr01iq0qc86j4hy68xzh4v-network-manager-1.24.0.drv.bz2'.
building /gnu/store/dxxvr6nri5zvy6wrkc6wrvsl3hr79l7g-boot.drv...
cannot build derivation 
`/gnu/store/qa5ks50xk0w3n7sinka0bgrdpdwrylmy-profile.drv': 1 dependencies 
couldn't be built
building /gnu/store/iifkfi1k4zd89gx72xhffixbxwkv5yr5-raw-initrd.drv...
cannot build derivation 
`/gnu/store/klxa4qccb4wvpz1bkd1zmjz8zlsy0n73-system.drv': 1 dependencies 
couldn't be built
guix system: error: build of 
`/gnu/store/klxa4qccb4wvpz1bkd1zmjz8zlsy0n73-system.drv' failed
I think it happened when Guix changed services organization, because I removed 
network-managger service from my system.

I wish to remove network-manager from my system, but I could not determine what 
does refer to it?

# guix graph --type=referrers network-manager
digraph "Guix referrers" {
 "/gnu/store/7g8agl6jiirihz913bi1xrvgq1jkkl8k-network-manager-1.24.0-doc" 
[label = "network-manager-1.24.0-doc", shape = box, fontname = sans];
 "/gnu/store/2qqmqppkn912i0sia4xca98b7zsrwpxy-network-manager-1.24.0" [label = 
"network-manager-1.24.0", shape = box, fontname = sans];
 "/gnu/store/2qqmqppkn912i0sia4xca98b7zsrwpxy-network-manager-1.24.0" -> 
"/gnu/store/2qqmqppkn912i0sia4xca98b7zsrwpxy-network-manager-1.24.0" [color = 
dimgrey];
 "/gnu/store/2qqmqppkn912i0sia4xca98b7zsrwpxy-network-manager-1.24.0" -> 
"/gnu/store/7lz21cbcjazh67jycs72dvr2nvinhfpy-libnma-1.8.28" [color = dimgrey];
 "/gnu/store/2qqmqppkn912i0sia4xca98b7zsrwpxy-network-manager-1.24.0" -> 
"/gnu/store/hbqfmqb8wrfmz2kg538j8xk6zmr438x2-network-manager-applet-1.16.0" 
[color = dimgrey];
 "/gnu/store/7lz21cbcjazh67jycs72dvr2nvinhfpy-libnma-1.8.28" [label = 
"libnma-1.8.28", shape = box, fontname = sans];
 "/gnu/store/7lz21cbcjazh67jycs72dvr2nvinhfpy-libnma-1.8.28" -> 
"/gnu/store/7lz21cbcjazh67jycs72dvr2nvinhfpy-libnma-1.8.28" [color = 
darkviolet];
 "/gnu/store/7lz21cbcjazh67jycs72dvr2nvinhfpy-libnma-1.8.28" -> 
"/gnu/store/hbqfmqb8wrfmz2kg538j8xk6zmr438x2-network-manager-applet-1.16.0" 
[color = darkviolet];
 "/gnu/store/hbqfmqb8wrfmz2kg538j8xk6zmr438x2-network-manager-applet-1.16.0" 
[label = "network-manager-applet-1.16.0", shape = box, fontname = sans];
 "/gnu/store/hbqfmqb8wrfmz2kg538j8xk6zmr438x2-network-manager-applet-1.16.0" -> 
"/gnu/store/hbqfmqb8wrfmz2kg538j8xk6zmr438x2-network-manager-applet-1.16.0" 
[color = peachpuff4];

}
I have this in my system, but as I see now it does not remove network-manager:

 ;; removing unnecessary 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
Here it is what I've installed under root:

root@antelope ~# guix package -I
hdparm 9.60 out /gnu/store/11dsd9gizfvksbvn74qv7qgrxpxv4w9l-hdparm-9.60
unzip 6.0 out /gnu/store/1zx8knb7h79q6cr4kwhbz6z6v609309w-unzip-6.0
bzip2 1.0.8 out /gnu/store/a9f7wmc75hbpg520phw9z4l9asm3qvsw-bzip2-1.0.8
wget 1.20.3 out /gnu/store/6b26hgs87h6m2qvnpa1qxmkizhhh4jpi-wget-1.20.3
curl 7.74.0 out /gnu/store/6w4w31samjbpiavzgm13zin6qnx22xb6-curl-7.74.0
emacs-paredit 24 out 
/gnu/store/xvcf371a70iflp4plmm7sr7v25n8kb87-emacs-paredit-24
emacs-highlight 0.0.0 out 
/gnu/store/gh5vgsm1124kgjhlxd8bpb0nfgacqi36-emacs-highlight-0.0.0
openvpn 2.4.10 out /gnu/store/gnspsy1j18chlc6d5vaf7xa17x8m2m6b-openvpn-2.4.10
emacs 27.1 out /gnu/store/7z33lhy9m8xqgym9w3hj30y1w290c8hn-emacs-27.1
protonvpn-cli 2.2.6 out 
/gnu/store/wfvag525xhppxf7vnxj11a0h4x9dsrbr-protonvpn-cli-2.2.6
graphviz 2.42.3 out /gnu/store/bi9hjvhcgr5rc0r29wmb18xxk4cgphx8-graphviz-2.42.3
xdot 1.1 out /gnu/store/g64mfj0dphlksshp8i3zqbcpza1pbsqx-xdot-1.1
There are my config in attach and also all packages network-manager.
Can you help me to configure my system to remove nm?


config.scm
Description: Binary data
 find /gnu/store -name '*network-manager*'
/gnu/store/0v2bjnlb9r4pdbgwp9s16ywifszdqczr-guix-ddb51f3/gnu/packages/patches/network-manager-plugin-path.patch
/gnu/store/46dxzgz2m039s1abvsspjkwl4n44s46r-network-manager-applet-1.8.14.tar.xz.drv
/gnu/store/zxra71hd3ss8r3382dhplsffnr0v8k29-network-manager-1.10.10-guile-builder
/gnu/store/qcay6z52w84fb8g6xyy1yrw7piicmf6v-network-manager-1.10.10.drv

How to flush DNS

2021-02-28 Thread znavko--- via
Hello, Guix Help!

Sometimes when I connect to vpn with protonvpn-cli and then after some time 
disconnect
IceCat cannot find sites I have visited before. But it can find new sites 
perfectly!
Also 'ping gnu.org' gives unknown host, but ping some ip works fine.
This problem goes away when I visit those unawailable web-sites from Chromium 
with Tor.

I think this is because of DNS cache that protonvpn made in my system.

Can you show me how to flush dns cache after using Protonvpn?


How to check Guix servers have Ungoogled-Chrome substitutions for me?

2021-02-27 Thread znavko--- via
Hello, Guix Help!

I often run `guix pull && guix package -u` and sometimes it tooks too much 
time, and my fan is noisy
because some heavy package (like Icecat or Ungoogled-Chromium or LibreOffice0 
is compiling from sources.

It's a pity, because to get the newest version of such is not included into my 
wish list, and I waste time.

Is there some 'guix' command run that will download updates and will check 
which packages are to be
substitued, and which are to be compiled?

I want to see this. And then I want to solve to prevent compilation of 
LibreOffice, Chromium, Icecat if they are to be compiled.

Please, show me this hack.


How to allow usual users use protonvpn binary and connect

2021-02-24 Thread znavko--- via
Hello, Guix Help!

I need to connect or disconnect protonvpn manually when I want.
And type root password for that is too much.
If usual user can run
$ sudo protonvpn c
with no ay password required, it will be fine!

But I don't know how to type it in my config.
just adding protonvpn in my existing perfectly working rule givesthe error:

(define %sudoers-specification
 (plain-file "sudoers" "root ALL=(ALL) ALL
%wheel ALL=(ALL) ALL
%wheel ALL=(root) NOPASSWD: /usr/scripts/*, /wpa, protonvpn"))

Also if I define full path to protonvpn binary in /gnu/store that does not work 
too.

How to make it right?


Re: How to use pip3 libs abcent in guix repo?

2021-02-18 Thread znavko
Thank you for tricks!


February 18, 2021 3:45 PM, "Jelle Licht"  wrote:

> Hey Znavko,
> 
> znavko--- via  writes:
> 
>> Hello, developers and users!
>> I wish to use python-binance, ta-lib, python-websocket-client, python-numpy 
>> as in this video
>> https://youtu.be/GdlFhF6gjKo?t=713 (https://youtu.be/GdlFhF6gjKo?t=713)
>> Guix repository already has python-numpy, python-websocket-client packages, 
>> but others abcent.
>> 
>> How can I use python libs downloading them from web without installation by 
>> guix pm?
>> Is there proper way to setup python libraries in my system, where to place 
>> it and how to link it?
> 
> As a python 'noob' who started seriously playing around with it about a
> week ago, I might save you some hassle:
> 
> It is really, really much easier to work with guix-managed dependencies;
> check out the guix pypi importer to see how this can work.
> 
> If you do not want do that, for whichever reason, I can recommend using
> a virtualenv. Open a guix environment by issuing:
> 
> `guix environment --ad-hoc python-pip python-virtualenv python-numpy 
> python-websocket-client
> python'
> 
> Note that it is important that the "python" package comes last in this
> invocation!
> 
> In the spawned shell, run:
> 
> --8<---cut here---start->8---
> virtualenv -p python3 my-amazing-venv
> source my-amazing-venv/bin/activate
> pip3 install python-binance
> --8<---cut here---end--->8---
> 
> After that, but still in your `guix environment' + `source
> my-amazing-venv/bin/activate' shell, you should be able to verify that
> you can load up binance:
> `python3 -m binance'
> 
> It won't complain about not finding the binance module, so in this case,
> no output = good news.
> 
> Because all of this is a kind of terrible user experience, it might make
> sense to string all of this stuff together in a shell script. Again, I'd
> like to state that simply getting all of the packages you need packaged
> for guix (locally or in guix proper) makes all of this complexity go away.
> 
> HTH,
> - Jelle



How to use pip3 libs abcent in guix repo?

2021-02-17 Thread znavko--- via
Hello, developers and users!
I wish to use python-binance, ta-lib, python-websocket-client, python-numpy as 
in this video https://youtu.be/GdlFhF6gjKo?t=713 
(https://youtu.be/GdlFhF6gjKo?t=713)
Guix repository already has python-numpy, python-websocket-client packages, but 
others abcent.

How can I use python libs downloading them from web without installation by 
guix pm?
Is there proper way to setup python libraries in my system, where to place it 
and how to link it?

Thank you.


Make changes to be applied after guix install and system reconfigure?

2021-01-31 Thread znavko--- via
Hi, Guix! I go to try programming stuff. And I have a question to ask.
When I install some essential system packages or also reconfigure system
the changes do not go to be applied on the fly.
F. e. trying to work with dates in C I have such a 'history':

 444 date -d 130683
 445 glibc
 446 nano t.c
 447 gcc t.c
 448 guix install gcc
 449 guix install build-essential
 450 nano t.c
 451 gcc t.c
 452 nano t.h
 453 nano t.c
 454 cd /home/bob/Videos
 455 ffmpeg -i 1.mp4 -ss 00:00:02.90 -to 00:00:40 -c copy 2.mp4
...
 504 cat t.c
 505 gcc t.c
 506 ls
 507 ./a.out
 508 history

So here I install "gcc" and "build-essentials" but have no success cause
my simple copypasted lines do not work without reboot.
And only next time I turn back to this interest after several restarts
I have success.

Please, can you advise me what to do after installing such system things
and also after system reconfigure for get changes work?

PS: my code was without errors but did not compiled because off linking,
due to I've just installed gcc and did not rebooted.

$ cat t.c
#include 
#include 

int main() {
 char text[100];
 time_t now = time(NULL);
 struct tm *t = localtime();
 strftime(text, sizeof(text)-1, "%d %m %Y %H:%M", t);
 printf("Current Date: %s", text);
 return 0;
}


Re: How to use emacs-tramp ?

2021-01-22 Thread znavko
Yes! Thank you very much, Nicolas!

January 22, 2021 10:44 PM, "Nicolas Goaziou"  wrote:

> Hello,
> 
> znavko--- via  writes:
> 
>> Hello! i wish transparently edit php files on remote server with emacs.
>> i've installed emacs-tramp with 'guix install emacs-tramp'
>> and required it and configured it with lines in
>> ~/.emacs as desribed here:
>> https://www.gnu.org/software/tramp/#Default-Host
>> 
>> But when I press C-x C-f
>> and type '-::' and then save this file
>> emacs just says: "Wrote /home/bob/-::'
> 
> Shouldn't you type "/" first, i.e., '/-::' ?
> 
> Regards,
> --
> Nicolas Goaziou



How to use emacs-tramp ?

2021-01-22 Thread znavko--- via
Hello! i wish transparently edit php files on remote server with emacs.
i've installed emacs-tramp with 'guix install emacs-tramp'
and required it and configured it with lines in
~/.emacs as desribed here:
https://www.gnu.org/software/tramp/#Default-Host

But when I press C-x C-f
and type '-::' and then save this file
emacs just says: "Wrote /home/bob/-::'
Please, why tramp does not work for me?
Can you share workable config?
$ cat .emacs
;emacs-php-mode
(add-hook 'php-mode-hook 'php-enable-default-coding-style)

;emacs-tramp remote files via ssh
(require 'tramp)
(custom-set-variables
 '(tramp-default-method "ssh")
 '(tramp-default-user "znavko")
 '(tramp-default-host "99.00.99.00#78500"))
;; BasicCustomization
(setq inhibit-startup-screen t) ;; disable welcome message
(global-linum-mode t) ;; enable line numbers globally
(setq linum-format "%4d u2502") ;; format line number spacing


Re: How to remove %base-firmware from firmware variable

2021-01-22 Thread znavko
Yes, it works. But only external usb wifi adapter does not work. I use internal 
now.

$ lsusb
Bus 001 Device 002: ID 0cf3:9271 Qualcomm Atheros Communications AR9271 802.11n
...

$ ifconfig -a | grep Link
enp2s0Link encap:Ethernet  HWaddr E4:54:E8:BA:20:AC
loLink encap:Local Loopback
wlp5s0Link encap:Ethernet  HWaddr AC:D5:64:52:9C:57


# lspci | grep -i wireles
05:00.0 Network controller: Qualcomm Atheros QCA9565 / AR9565 Wireless Network 
Adapter (rev 01)

# lspci -vv -s 05:00.0 | grep driver
Kernel driver in use: ath9k


I do not know which driver was used for usb wifi adapter, i remember it could 
connect
with nl80211. Is nl80211 not free?


Can you advice me some powerful usb wifi adapter with free drivers?



January 22, 2021 7:09 PM, "Tobias Geerinckx-Rice"  wrote:

> Znavko,
> 
> Guix's operating-system is a record. Records are just key-value 
> pair collections. Some keys have default values, but there's no 
> need to remove anything when you simply want to replace the 
> default.
> 
> znavko--- via 写道:
> 
>> I just want to unset 'firmware' or make it totally empty.
> 
> Pass the empty list as its value:
> 
> (operating-system
> ...
> (firmware (list)) ; or '() if you like that
> ...)
> 
> Kind regards,
> 
> T G-R



How to remove %base-firmware from firmware variable

2021-01-22 Thread znavko--- via
Hello! I saw in Guix manual 
http://guix.gnu.org/manual/en/guix.html#index-firmware
that there is 'firmware' module in operating-system that is %base-firmware by 
default.
I want to try to remove 'firmware' module to look if my pc continues to work 
without it.

Can you please help me?
I use 'remove' procedure in 'services' but really cannot repeat it for 
'operating-system'.
I just want to unset 'firmware' or make it totally empty.
; -*- mode: Scheme; -*-
;;this is znavko's Dual Boot config
;; for lightweight xfce4 desktop
;; with the second OS in GRUB on the separate SSD /dev/sdb2 ( grub: (hd1,gpt2) )
;; without networkmanager but wpa_supplicant + static networking instead
;; with sudoers for openvpn and wpa_supplicant scripts in /usr/scripts
;; disabling pc-speaker

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

(define %sudoers-specification
  (plain-file "sudoers" "root ALL=(ALL) ALL
%wheel ALL=(ALL) ALL
%wheel ALL=(root) NOPASSWD: /usr/scripts/*, /wpa"))

(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-efi-bootloader)
(target "/boot/efi")
(menu-entries (list 
(menu-entry
 
(label "Devuan")
 
(linux "(hd1,gpt2)/vmlinuz")
 
(linux-arguments '("root=/dev/sdb2"))
 
(initrd "(hd1,gpt2)/initrd.img"))
  
  (file-systems (cons* 
(file-system (device "/dev/sda1") 
(mount-point "/boot/efi") (type "vfat"))
(file-system (device "/dev/sda2") 
(mount-point "/") (type "ext4")) 
(file-system (device "/dev/sdc1") 
(mount-point "/home/bob/disk") (type "ext4"))
%base-file-systems))

  (swap-devices '("/dev/sda3"))

  (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* 
 ;; xfce4 desktop, dhcp-client, slim
 (service xfce-desktop-service-type)
 ;;(service dhcp-client-service-type)
 (service slim-service-type)

 (static-networking-service "wlp0s20f0u2" 
"192.168.1.71"
  #:netmask 
"255.255.255.0"
  #:gateway 
"192.168.1.1")
 
 (modify-services  
  ;; removing unnecessary 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 with static networking (above)
  (wpa-supplicant-service-type config =>
   
(wpa-supplicant-configuration
  

Re: How to use elfutils? bash: eu-strip: command not found

2021-01-18 Thread znavko
Yes, Pierre, you are right.

I have found glibc folder and there was that file in subfolder lib/ 

$ ls /gnu/store/fa6wj5bxkj5ll1d7292a70knmyl7a0cr-glibc-2.31/lib | grep ld-l
ld-linux-x86-64.so.2

You said, that it's better to compile program from sources
instead of patching elf. Ok. 

I've read an article about Bitcoin legal status in the USA.
And understood that may be guix already has bitcoin-core in repository.
And finally I've installed it with

$ guix install bitcoin-core

Thank you!



January 17, 2021 9:54 PM, "Pierre Neidhardt"  wrote:

> Frankly, it's easier to get your program to run if you can compile it
> from source.
> It's going to be quite tricky to patch the ELF.
> 
> The linker is in the "lib" folder of the glibc package.
> 
>> "/gnu/store/m9vxvh...-glibc-2.23/lib/ld-linux-x86-64.so.2"
> 
> This is correct.
> 
>> So, I installed as I can understand glibc:
>> 
>> $ guix install glibc
>> ...ok
>> 
>> $ whereis ld-linux
>> ld-linux:
> 
> I don't use whereis, my guess is that it's not looking in the right
> location.
> Note that the linker is a .so file in a /lib folder, which is maybe why
> whereis cannot find it.
> 
>> # find / -type d -name "*ld-linux*"
>> find: ‘/run/user/1000/gvfs’: Permission denied
> 
> You are looking for folder here, this cannot work. You need to use
> `-type f' instead.
> 
> Hope that helps!
> 
> --
> Pierre Neidhardt
> https://ambrevar.xyz



Re: How to use elfutils? bash: eu-strip: command not found

2021-01-17 Thread znavko
Thank you very much!

Can you give me another lesson where to find ld-linux in Guix?

$ eu-readelf --all ./projectbinary-qt | grep interpreter
[Requesting program interpreter: /lib64/ld-linux-x86-64.so.2]

I've found with duckduckgo on 10-th page of this document:
https://guix.gnu.org/guix-fosdem-packaging-20170205.pdf

"/gnu/store/m9vxvh...-glibc-2.23/lib/ld-linux-x86-64.so.2"

So, I installed as I can understand glibc:

$ guix install glibc
...ok

$ whereis ld-linux
ld-linux:
$ 

# find / -type d -name "*ld-linux*"
find: ‘/run/user/1000/gvfs’: Permission denied
#


Where to find ld-linux for that program I want to run?


Also, can you advise something if that program is qt?
Will it be enough package 'qt', or need to install smth else?


January 17, 2021 10:59 AM, "Pierre Neidhardt"  wrote:

> Hi!
> 
> You need to install the "bin" output:
> 
> guix install elfutils:bin
> 
> If you want to fix your executable interpreter (and probably the RPATH
> too), you can use `patchelf'.
> 
> -- 
> Pierre Neidhardt
> https://ambrevar.xyz



How to use elfutils? bash: eu-strip: command not found

2021-01-17 Thread znavko--- via
Hello! I have an error with some binary and I wish to check
its interpreter, but elfutils package is not so easy for me.

$ ./projectbinary-qt
bash: ./projectbinary-qt: No such file or directory

$ readelf --all ./projectbinary-qt | grep interpreter
bash: readelf: command not found

$ guix search readelf | grep name
name: elfutils

$ guix install elfutils
The following package will be installed:
 elfutils 0.176

The following derivation will be built:
 /gnu/store/dg558rpz3yklhsy8rh7d7wv122hwi1k8-profile.drv

building CA certificate bundle...
building fonts directory...
generating GLib schema cache...
creating GTK+ icon theme cache...
building cache files for GTK+ input methods...
building directory of Info manuals...
building database for manual pages...
building XDG desktop file cache...
building XDG MIME database...
building profile with 47 packages...
$

$ eu-readelf
bash: eu-readelf: command not found

$ eu-strip
bash: eu-strip: command not found

$ whereis elfutils
elfutils:
Please, how to use it? May be only under root?


How to define my dns servers in resolv

2021-01-16 Thread znavko--- via
Hello! I cannot agree limitations my provider setup
with the orders of Russian government to forbid access
to this or that website, for example,
protonmail.com, tutanota.com, vpnbook.com are prohibited.
Does any civilized country do such a harm?

I wish to use my own DNS servers from free and secure services.
I want to start just to type them into /etc/resolv.conf

And may be further actions will be dnsmasq with wpa_supplicant
with your help.

Can I deal with resolv.conf without dnsmasq?

Can you advise me manual page or example where resolv.conf is
configured?? I did not find it except notes in dnsmasq configurations.


Re: efi dual boot issue

2021-01-16 Thread znavko
You can find some examples on github with 'guix config'.
I have EFI Dual boot configuration here
https://gitgud.io/znavko/guix-configs/-/blob/master/guix-config-dual-boot.scm

bootloader field lookslike this:

  (bootloader (bootloader-configuration (bootloader 
grub-efi-bootloader)
(target "/boot/efi")
(menu-entries (list (menu-entry 
 (label "Ubuntu")   
 (linux "(hd2,gpt3)/boot/vmlinuz")  
 (linux-arguments 
'("root=/dev/sdc3"))
   (initrd "(hd2,gpt3)/boot/initrd.img")) 

This bootloader configuration was made when I tried
to boot Ubuntu with grub command line.
I've found with grub's 'ls' command a linuz image 
and initrd file and booted successfully.
After that  I was sure such config will work.

I can't imagine troubles you will have with MS Windows.
May be easier it will be to use two different hard disks 
and to change their order in BIOS?


January 15, 2021 9:24 PM, "kevinbanjo"  wrote:

> Hi everyone. I'm trying to install a dual boot with windows 10 btrfs root
> GuixSD and I have a catch 22 I can't figure out how to resolve:
> 
> When I go to generate the system it says that grub-install didn't work (I
> can't remember exactly why and I was in console mode so I couldn't
> copy/paste the error but the gist of it was that it was because I booted in
> bios mode).
> 
> I had to go into bios and disable my legacy boot and windows still boots
> but I can't boot the GuixSD USB ISO.
> 
> It's an HP laptop and when I hit ESC during boot and select boot options it
> walks me thru the EFI boot files and I picked both the boot files and it
> just returns to the boot menu.
> 
> I also tried hard resetting my laptop (unplugging it, pulling out the
> battery and holding the power button down for a while) plus booting windows
> into recovery mode and letting it try and fix the boot (which probably only
> did the windows one as that was the only one that showed up) and still
> nothing.
> 
> How do I build an EFI boot if I can't boot GuixSD ISO as EFI?
> 
> TIA,
> -Kevin



How to stop DHCPCD

2021-01-12 Thread znavko--- via
Hello! I have system config without networkmanager, wicd.
I use wpa_supplicant + dhclient. But may be I have some mistakes in config.
/var/log/messages contains lot of messages by dhcpcd that tries to serve
enp2s0 and wlp5s0. Look in attach.
(I use dhcp-client-service-type for wlp0s20f0u2)

Is it normal to let DHCPCD to work with all interfaces?
Sometimes I use Ethernet but it will be ok to start Ethernet by hands
without dhcpcd daemon trying to do things allways for all interfaces.

Do you have some advices?
May be it is better to disable DHCPCD for enp2s0 and wlp5s0?
How should I correct my config.scm ?
$ cat /var/log/messages
...
Jan 12 14:45:39 localhost dhclient: No working leases in persistent database - 
sleeping.
Jan 12 14:48:24 localhost dhclient: DHCPDISCOVER on enp2s0 to 255.255.255.255 
port 67 interval 8
Jan 12 14:48:32 localhost dhclient: DHCPDISCOVER on enp2s0 to 255.255.255.255 
port 67 interval 21
Jan 12 14:48:53 localhost dhclient: DHCPDISCOVER on enp2s0 to 255.255.255.255 
port 67 interval 7
Jan 12 14:49:00 localhost dhclient: DHCPDISCOVER on enp2s0 to 255.255.255.255 
port 67 interval 15
Jan 12 14:49:15 localhost dhclient: DHCPDISCOVER on enp2s0 to 255.255.255.255 
port 67 interval 10
Jan 12 14:49:25 localhost dhclient: No DHCPOFFERS received.
Jan 12 14:49:25 localhost dhclient: No working leases in persistent database - 
sleeping.
Jan 12 14:49:58 localhost dhclient: DHCPDISCOVER on wlp5s0 to 255.255.255.255 
port 67 interval 4
Jan 12 14:50:02 localhost dhclient: DHCPDISCOVER on wlp5s0 to 255.255.255.255 
port 67 interval 7
Jan 12 14:50:09 localhost dhclient: DHCPDISCOVER on wlp5s0 to 255.255.255.255 
port 67 interval 8
Jan 12 14:50:17 localhost dhclient: DHCPDISCOVER on wlp5s0 to 255.255.255.255 
port 67 interval 18
Jan 12 14:50:35 localhost dhclient: DHCPDISCOVER on wlp5s0 to 255.255.255.255 
port 67 interval 10
Jan 12 14:50:45 localhost dhclient: DHCPDISCOVER on wlp5s0 to 255.255.255.255 
port 67 interval 14
Jan 12 14:50:59 localhost dhclient: No DHCPOFFERS received.
Jan 12 14:50:59 localhost dhclient: No working leases in persistent database - 
sleeping.
Jan 12 14:52:42 localhost dhclient: DHCPDISCOVER on enp2s0 to 255.255.255.255 
port 67 interval 7
Jan 12 14:52:49 localhost dhclient: DHCPDISCOVER on enp2s0 to 255.255.255.255 
port 67 interval 10
Jan 12 14:52:59 localhost dhclient: DHCPDISCOVER on enp2s0 to 255.255.255.255 
port 67 interval 21
Jan 12 14:53:20 localhost dhclient: DHCPDISCOVER on enp2s0 to 255.255.255.255 
port 67 interval 21
Jan 12 14:53:41 localhost dhclient: DHCPDISCOVER on enp2s0 to 255.255.255.255 
port 67 interval 2
Jan 12 14:53:43 localhost dhclient: No DHCPOFFERS received.
Jan 12 14:53:43 localhost dhclient: No working leases in persistent database - 
sleeping.
Jan 12 14:57:05 localhost dhclient: DHCPDISCOVER on enp2s0 to 255.255.255.255 
port 67 interval 8
Jan 12 14:57:13 localhost dhclient: DHCPDISCOVER on enp2s0 to 255.255.255.255 
port 67 interval 12
Jan 12 14:57:25 localhost dhclient: DHCPDISCOVER on enp2s0 to 255.255.255.255 
port 67 interval 19
Jan 12 14:57:44 localhost dhclient: DHCPDISCOVER on enp2s0 to 255.255.255.255 
port 67 interval 16
Jan 12 14:58:00 localhost dhclient: DHCPDISCOVER on enp2s0 to 255.255.255.255 
port 67 interval 6
Jan 12 14:58:06 localhost dhclient: No DHCPOFFERS received.
Jan 12 14:58:06 localhost dhclient: No working leases in persistent database - 
sleeping.
Jan 12 14:58:15 localhost dhclient: DHCPDISCOVER on wlp5s0 to 255.255.255.255 
port 67 interval 4
Jan 12 14:58:19 localhost dhclient: DHCPDISCOVER on wlp5s0 to 255.255.255.255 
port 67 interval 4
Jan 12 14:58:23 localhost dhclient: DHCPDISCOVER on wlp5s0 to 255.255.255.255 
port 67 interval 6
Jan 12 14:58:29 localhost dhclient: DHCPDISCOVER on wlp5s0 to 255.255.255.255 
port 67 interval 13
Jan 12 14:58:42 localhost dhclient: DHCPDISCOVER on wlp5s0 to 255.255.255.255 
port 67 interval 15
Jan 12 14:58:57 localhost dhclient: DHCPDISCOVER on wlp5s0 to 255.255.255.255 
port 67 interval 9
Jan 12 14:59:06 localhost dhclient: DHCPDISCOVER on wlp5s0 to 255.255.255.255 
port 67 interval 8
Jan 12 14:59:14 localhost dhclient: DHCPDISCOVER on wlp5s0 to 255.255.255.255 
port 67 interval 2
Jan 12 14:59:16 localhost dhclient: No DHCPOFFERS received.
Jan 12 14:59:16 localhost dhclient: No working leases in persistent database - 
sleeping.

; -*- mode: Scheme; -*-
;;this is znavko's Dual Boot config
;; for lightweight xfce4 desktop
;; with the second OS in GRUB on the separate SSD /dev/sdb2 ( grub: (hd1,gpt2) )
;; without networkmanager but wpa_supplicant + dhcp-client instead
;; with sudoers for openvpn and wpa_supplicant scripts in /usr/scripts
;; disabling pc-speaker

(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 

Re: Allow my usual user reconnect to wifi without root pass and also replace wpa config

2021-01-01 Thread znavko
I've added these additions to config.scm, thinking it will give effect:

(define %sudoers-specification
  (plain-file "sudoers" "root ALL=(ALL) ALL
%wheel ALL=(ALL) ALL
ALL ALL=(ALL) NOPASSWD: /wpa"))


(operating-system
...
  (sudoers-file %sudoers-specification)
)

And reconfigured. And it works!

Note that must run it with sudo!

$ sudo /wpa isp
Connecting to ISP provider
Service networking has been stopped.
Service wpa-supplicant has been stopped.
Service wpa-supplicant has been started.
Service networking has been started.


Very nice.
My usual user works nice with wpa_supplicant now.

Thanks to draketo and his config example
https://www.draketo.de/software/guix-config.html



January 1, 2021 7:08 PM, "znavko--- via"  wrote:

> Hello! Happy New Year, Guix Help!
> 
> I'd like to make my OS a bit comfortable for usual user.
> 
> I use only wpa_supplicant + dhclient without any utility that gives control 
> over wifi to usual
> users.
> And I want to give such a control by my own hands and your advice.
> 
> Wi-fi connection sometimes is loosing, and the way to reconnect is to restart 
> hurd services.
> I do it by root beautifully. I need to allow usual user to do this too.
> 
> With that task I also have two providers: wired ISP and Mobile ISP -
> And I have such a script for choosing between them.
> Attachment: wpa
> 
> So this script fulfill things of reconnection and changing wpa_supplicant.conf
> very easy for root.
> I want to allow to usual user just to run:
> 
> $ /wpa isp
> 
> and my script reconnect to wifi again.
> 
> I tried to give root privileges for user 'bob' to run script /wpa with this 
> line in /etc/sudoers:
> # cat /etc/sudoers
> root ALL=(ALL) ALL
> %wheel ALL=(ALL) ALL
> user ALL=(bob) NOPASSWD: /wpa
> #groups bob
> bob : users wheel video audio netdev
> But I still have these error messages:
> 
> $ sudo -u bob /wpa isp
> Connecting to ISP provider
> cp: cannot create regular file '/etc/wpa_supplicant/wpa_supplicant.conf': 
> Permission denied
> error: connect: /run/user/1000/shepherd/socket: No such file or directory
> error: connect: /run/user/1000/shepherd/socket: No such file or directory
> ^X^C
> $
> Please, what to do here?



Allow my usual user reconnect to wifi without root pass and also replace wpa config

2021-01-01 Thread znavko--- via
Hello! Happy New Year, Guix Help!

I'd like to make my OS a bit comfortable for usual user.

I use only wpa_supplicant + dhclient without any utility that gives control 
over wifi to usual users.
And I want to give such a control by my own hands and your advice.

Wi-fi connection sometimes is loosing, and the way to reconnect is to restart 
hurd services.
I do it by root beautifully. I need to allow usual user to do this too.

With that task I also have two providers: wired ISP and Mobile ISP -
And I have such a script for choosing between them.
Attachment: wpa

So this script fulfill things of reconnection and changing wpa_supplicant.conf
very easy for root.
I want to allow to usual user just to run:

$ /wpa isp

and my script reconnect to wifi again.

I tried to give root privileges for user 'bob' to run script /wpa with this 
line in /etc/sudoers:
# cat /etc/sudoers
root ALL=(ALL) ALL
%wheel ALL=(ALL) ALL
user ALL=(bob) NOPASSWD: /wpa
#groups bob
bob : users wheel video audio netdev
But I still have these error messages:

$ sudo -u bob /wpa isp
Connecting to ISP provider
cp: cannot create regular file '/etc/wpa_supplicant/wpa_supplicant.conf': 
Permission denied
error: connect: /run/user/1000/shepherd/socket: No such file or directory
error: connect: /run/user/1000/shepherd/socket: No such file or directory
^X^C
$
Please, what to do here?


wpa
Description: Binary data


Re: Why Emacs config file disables Welcome message only if this line places to .emacs but not in .emacs.d/init.el

2021-01-01 Thread znavko
Hello! Sorry, that is commented line starting with number sign '#' but it 
should be semi-colon ";"


December 31, 2020 4:57 PM, "znavko--- via"  wrote:

> Hello! I plan to type some russian translations for guix manual sometimes 
> again.
> 
> I still have undergraduate level of emacs and have annoying ignorance of how 
> to configure emacs.
> 
> For example this line can hide "Welcome" frame:
> (setq inhibit-startup-screen t)
> 
> I placed it into ~/.emacs.d/.init.el where I have placed my po-mode lines and 
> they works.
> But exactly this line does not work. I have po-mode in emacs but I still have 
> "Welcome" window.
> 
> I placed this line "(setq inhibit-startup-screen t)" to ~/.emacs and I 
> finally got "Welcome" window
> away.
> 
> My next step is russian spell check. Need to have some basics of how to deal 
> with this great
> instrument!
> 
> Can you advice some good tutorials for better understanding emacs?



Why Emacs config file disables Welcome message only if this line places to .emacs but not in .emacs.d/init.el

2020-12-29 Thread znavko--- via
Hello! I plan to type some russian translations for guix manual sometimes again.

I still have undergraduate level of emacs and have annoying ignorance of how to 
configure emacs.

For example this line can hide "Welcome" frame:
(setq inhibit-startup-screen t)

I placed it into ~/.emacs.d/.init.el where I have placed my po-mode lines and 
they works.
But exactly this line does not work. I have po-mode in emacs but I still have 
"Welcome" window.

I placed this line "(setq inhibit-startup-screen t)" to ~/.emacs and I finally 
got "Welcome" window away.

My next step is russian spell check. Need to have some basics of how to deal 
with this great instrument!

Can you advice some good tutorials for better understanding emacs?


.init.el
Description: Binary data


Re: Herd works with network not at all

2020-12-20 Thread znavko
You know, after I increased delay after services were stopped 
to 8 seconds
and also placed dealy 8 seconds between start of wpa-supplicant and start of 
networking
My reconnections are working nice.
I think the reason is the delay, but it is just practical knowledge, not 
academical...


December 20, 2020 9:38 PM, "znavko--- via"  wrote:

> Hello, Guix! My simple script is just using for reconnect to Internet 
> provider from those 2 I use.
> 
> It works bad.
> I have internet after PC was booted.
> And then I have to use this script to connect to another provider (just for 
> to change IP).
> I run my script with `# ./wpa bee` and it does things but I have no Internet 
> and ping does not find
> host gnu.org
> 
> This script stops two services in my system
> networking
> wpa-supplicant
> And then runs them with new wpa-supplicant config.
> 
> I placed `sleep 2` there between stopping and running services. But did not 
> get it works fine.
> 
> My new config and using of another Internet provider works after reboot.
> Also it works without herd just with
> 
> # wpa_supplicant -B -i wlp2s0 -c /etc/wpa_supplicant/wpa_supplicant.conf
> # dhclient -v
> 
> I cannot see errors in herd services. Herd services works badly, but hand 
> made connection works
> fine.
> Is the deal over 2 seconds of delay? Do I need to increase delay period?
> 
> Please, what do I need to consider?



Herd works with network not at all

2020-12-20 Thread znavko--- via
Hello, Guix! My simple script is just using for reconnect to Internet provider 
from those 2 I use.

It works bad.
I have internet after PC was booted.
And then I have to use this script to connect to another provider (just for to 
change IP).
I run my script with `# ./wpa bee` and it does things but I have no Internet 
and ping does not find host gnu.org

This script stops two services in my system
networking
wpa-supplicant
And then runs them with new wpa-supplicant config.

I placed `sleep 2` there between stopping and running services. But did not get 
it works fine.

My new config and using of another Internet provider works after reboot.
Also it works without herd just with

# wpa_supplicant -B -i wlp2s0 -c /etc/wpa_supplicant/wpa_supplicant.conf
# dhclient -v

I cannot see errors in herd services. Herd services works badly, but hand made 
connection works fine.
Is the deal over 2 seconds of delay? Do I need to increase delay period?

Please, what do I need to consider?


wpa
Description: Binary data


Cannot write to /boot directory No space left

2020-12-10 Thread znavko--- via
Hi! Can you help me? My usual reconfiguratio with my usual confug now fails.

# guix system reconfigure /etc/config.scm

ctivating system...
making '/gnu/store/23hk1si942jxxsp85hikidhyyn3gjqws-system' the current 
system...
setting up setuid programs in '/run/setuid-programs'...
populating /etc from /gnu/store/y8jinvvspwi3r28ga6vmv38rdymg4lv3-etc...
The following derivation will be built:
 /gnu/store/wm0ci788xclkh1i3j283wn4rsbd7s4j3-install-bootloader.scm.drv

building 
/gnu/store/wm0ci788xclkh1i3j283wn4rsbd7s4j3-install-bootloader.scm.drv...
guix system: error: 
'/gnu/store/d1i6x7vwr83j1m0zms580mh2dqgx1s6m-grub-efi-2.04/sbin/grub-install 
--boot-directory //boot --bootloader-id=Guix --efi-directory //boot/efi' exited 
with status 1; output follows:

 Installing for x86_64-efi platform.
 Could not prepare Boot variable: No space left on device
 /gnu/store/d1i6x7vwr83j1m0zms580mh2dqgx1s6m-grub-efi-2.04/sbin/grub-install: 
error: efibootmgr failed to register the boot entry: Input/output error.
# mount | grep boot
/dev/sda1 on /boot/efi type vfat 
(rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
# df -h
Filesystem Size Used Avail Use% Mounted on
none 12G 0 12G 0% /dev
/dev/sda2 47G 28G 17G 63% /
/dev/sda1 519M 152K 519M 1% /boot/efi
tmpfs 12G 119M 12G 1% /dev/shm
none 12G 24K 12G 1% /run/systemd
none 12G 0 12G 0% /run/user
cgroup 12G 0 12G 0% /sys/fs/cgroup
none 12G 0 12G 0% /var/cache/fontconfig
tmpfs 2.4G 16K 2.4G 1% /run/user/1000
/dev/sdc2 227G 3.5G 212G 2% /mnt
I see that "//boot" is using -- with two slashes.
Is it a bug?
Ps: this happened after I installed Debian on /dev/sdc


Re: Where are suggestions or open discussions of Guix at large made?

2020-12-07 Thread znavko
Guix repeats the idea of Nix, but realising it more preciously and elegantly.
Instead of self-made imperfect language describing configuration
Guix is using powerful Guile.

You want some forks of Guix, do you?
It is hard to package some software you like for Guix,
but forking guix breaking its elegance for just to install firmware, 
Oracle, Chrome and other stuff is not rational at all, i think.

I think, there is a sense to tune Guix for some
commercial solutions like web-server, database server.

Guix and reproducible builds are from 5th industrial revolution 
(that did not happened yet) when you can easily change your 
production cycle for even each one product
to fulfil desire of every customer. 
There you need to configure your production cycle many ways 
and every configuration must work!

If you want popular comfortable OS on your home computer, that is not idea of 
Guix.


December 7, 2020 9:43 PM, "Yasuaki Kudo"  wrote:

> Hello!
> 
> I wonder which mailing list (or anything else) is the best for open-ended 
> Guix discussions.
> 
> I think Guix has a huge potential and it a needs a downgraded version (akin 
> to how Ubuntu makes a
> worse version of Debian) so that more people can use it. As it stands, by 
> default, Guix doesn't
> have:
> 
> * Regular, unpatched Linux with unaccountable black magic firmware code 
> * Polluted web browsers like Google Chrome
> * Visual Studio Code that probably has similar issues as Google Chrome?
> * and on and on...
> 
> The first is one of the most serious problems because computers with AMD 
> graphics cards won't even
> boot without it? (The installer may, but once installed, it seems to halt 
> during boot, even when
> desktop services are turned off?)
> 
> I have heard of PantherX but I wonder if anyone is thinking about 
> "vernacular" dirty
> Guix-derivative with all sorts of horrible compromises... 
> 
> Cheers,
> Yasu



How to secure Grub control from other distro?

2020-12-07 Thread znavko--- via
Hello! I have two distros on my PC:
on /dev/sda - Guix
on /dev/sdc - Ubuntu

Today, after update and upgrade of newly installed Ubuntu and also after 
installation of lubuntu-desktop and lxde on ubuntu,
I was unfortunately grieved.
Lubuntu had recovered my Grub and had broken everything!
I was need to boot into Guix with grub command line and make `guix system 
reconfigure /etc/config.scm` for to get my Grub
controlling by Guix again!

I have a question. Have I any possibility to secure and save my Grub from other 
buggy distros i may setup on other ssd in my pc?

I think it will be hard to fight with ubuntu or debian or some other distro not 
to touch Grub.


Adding new entry to GRUB for another OS on the third drive and turning system back to work?

2020-12-04 Thread znavko--- via
Hello, Guix help!
Please, look through my short booyloader configuration, will it break my system?
(operating-system (host-name "antelope") (timezone "Europe/Moscow") (locale 
"en_US.utf8")
 (bootloader
 (bootloader-configuration (bootloader grub-efi-bootloader)
 (target "/boot/efi")
 (menu-entries (menu-entry
 (label "Ubuntu")
 (linux "(hd2,gpt3)/boot/vmlinuz")
 (linux-arguments '("root=/dev/sdc3"))
 (initrd "(hd2,gpt3)/boot/initrd.img")
 (file-systems (cons*
 (file-system (device "/dev/sda1") (mount-point "/boot/efi") (type "vfat"))
 (file-system (device "/dev/sda2") (mount-point "/") (type "ext4"))
 %base-file-systems))
...
I just learned how to use GRUB for booting to another OS placed on another SSD 
in my PC.
And now I want to add another OS to GRUB's configuration, that is holding by 
Guix.

Could you say, is this config workable?

And also if something goes wrong in my experiments, how to get back to previous 
workable Grub configuration?
Can I do it with Guix usb stick? Which steps to do for reconfigure my system 
and "cow-store" from usb stick?


Re: How to reconfigure system without downloads I did not order?

2020-11-28 Thread znavko
I restarted the process of reconfigure (usual without additional flags and 
hacks)
for abput 25 times and at last it downloaded everything and finished 
successfully.

I think Guix needs good infrastructure and some
mechanism of checking optimal mirrors and recommendations for using them.

To add new disk into system with such a bad lucks is a very bottle neck of this 
powerful system.


November 28, 2020 12:14 PM, "Tobias Geerinckx-Rice"  wrote:

> Hullo znavko,
> 
> znavko--- via 写道:
> 
>> I am sorry. How to prevent the process of system upgrade and
>> just remain things as they are but only adding new disk to my
>> system?
> 
> Guix can't upgrade your system, it can only build a new one. It
> will merely re-use parts of the old system that they have in
> common (which can be and often is ‘almost everything’).
> 
> This is actually significant: you can't ask a new Guix to modify
> an older Guix's system, to leave everything in place but just add
> this one small thing, like you can for bare profiles. For that,
> you need to reconfigure the old system with the same version of
> Guix that was used to build it.
> 
> What do
> 
> $ guix system describe
> 
> and
> 
> $ guix describe
> 
> say? My guess is they will both display a different commit
> because you've ‘guix pull’ed after creating the system. If so,
> you can use
> 
> $ guix time-machine --commit= -- system
> reconfigure …
> 
> to apply your changes.
> 
> If the system and guix commits *do* match and you've added nothing
> besides a new FILE-SYSTEM, I have no idea why Guix is
> (re-)building ffmpeg. An overzealous ‘guix gc’ in the meantime?
> 
> Kind regards,
> 
> T G-R



Re: How to reconfigure system without downloads I did not order?

2020-11-28 Thread znavko
-5.8.16/bzImage
  channels:
guix:
  repository URL: https://git.savannah.gnu.org/git/guix.git
  branch: master
  commit: f14f108853a948fe21fe9bebfd295084b97a53e1
  configuration file: 
/gnu/store/b8lqcvy8jlp2wax1w970qrvyj7p0fvwq-configuration.scm
Generation 30   Oct 31 2020 23:48:30
  file name: /var/guix/profiles/system-30-link
  canonical file name: /gnu/store/k34z5xal5hwvxk6nnhcll1if7k4wr4f2-system
  label: GNU with Linux-Libre 5.9.2
  bootloader: grub-efi
  root device: /dev/sda2
  kernel: /gnu/store/dni49zhdnmmy6y0isgh71yjhrmj31j37-linux-libre-5.9.2/bzImage
  channels:
guix:
  repository URL: https://git.savannah.gnu.org/git/guix.git
  branch: master
  commit: d7e033b9a153a9e60f52ff64f4eb355c1c3d0a6e
  configuration file: 
/gnu/store/b8lqcvy8jlp2wax1w970qrvyj7p0fvwq-configuration.scm
Generation 31   Nov 14 2020 17:47:12
  file name: /var/guix/profiles/system-31-link
  canonical file name: /gnu/store/fxbkh4yv3cka01y3xhw4jwlw2kc22rxq-system
  label: GNU with Linux-Libre 5.9.8
  bootloader: grub-efi
  root device: /dev/sda2
  kernel: /gnu/store/jrgkcfd5lxrljirwqkv29jcdipha2vkc-linux-libre-5.9.8/bzImage
  channels:
guix:
  repository URL: https://git.savannah.gnu.org/git/guix.git
  branch: master
  commit: 870d74ab6883196b269382b86b6e48a1cc7ac8ae
  configuration file: 
/gnu/store/b8lqcvy8jlp2wax1w970qrvyj7p0fvwq-configuration.scm
Generation 32   Nov 21 2020 13:41:06(current)
  file name: /var/guix/profiles/system-32-link
  canonical file name: /gnu/store/w1z5yl7fnpg2663s6kpjsddb0yazjr8s-system
  label: GNU with Linux-Libre 5.9.9
  bootloader: grub-efi
  root device: /dev/sda2
  kernel: /gnu/store/i0yqm9bz9734swkk2ii39gvs634m20f5-linux-libre-5.9.9/bzImage
  channels:
guix:
  repository URL: https://git.savannah.gnu.org/git/guix.git
  branch: master
  commit: a99ddf3e7ac436e75fcee0345f931b5d7f767e36
  configuration file: 
/gnu/store/b8lqcvy8jlp2wax1w970qrvyj7p0fvwq-configuration.scm




November 28, 2020 12:14 PM, "Tobias Geerinckx-Rice"  wrote:

> Hullo znavko,
> 
> znavko--- via 写道:
> 
>> I am sorry. How to prevent the process of system upgrade and
>> just remain things as they are but only adding new disk to my
>> system?
> 
> Guix can't upgrade your system, it can only build a new one. It
> will merely re-use parts of the old system that they have in
> common (which can be and often is ‘almost everything’).
> 
> This is actually significant: you can't ask a new Guix to modify
> an older Guix's system, to leave everything in place but just add
> this one small thing, like you can for bare profiles. For that,
> you need to reconfigure the old system with the same version of
> Guix that was used to build it.
> 
> What do
> 
> $ guix system describe
> 
> and
> 
> $ guix describe
> 
> say? My guess is they will both display a different commit
> because you've ‘guix pull’ed after creating the system. If so,
> you can use
> 
> $ guix time-machine --commit= -- system
> reconfigure …
> 
> to apply your changes.
> 
> If the system and guix commits *do* match and you've added nothing
> besides a new FILE-SYSTEM, I have no idea why Guix is
> (re-)building ffmpeg. An overzealous ‘guix gc’ in the meantime?
> 
> Kind regards,
> 
> T G-R



How to reconfigure system without downloads I did not order?

2020-11-28 Thread znavko--- via
Hello! I have a little incomprehension that make solving a simple task so slow.

I just want to say Guix to mount newly inserted SSD (3rd from all) after every 
start.

I have just edited /root/config-2-disks.conf placing these lines:

(operating-system (host-name "antelope") (timezone "Europe/Moscow") (locale 
"en_US.utf8")
 (bootloader (bootloader-configuration (bootloader grub-efi-bootloader) (target 
"/boot/efi")))
 (file-systems (cons*
 (file-system (device "/dev/sda1") (mount-point "/boot/efi") (type "vfat"))
 (file-system (device "/dev/sda2") (mount-point "/") (type "ext4"))
 (file-system (device "/dev/sdb1") (mount-point "/home/bob/disk1") (type 
"ext4"))
 (file-system (device "/dev/sdc1") (mount-point "/home/bob/disk2") (type 
"ext4"))
 %base-file-systems))
The process of reconfiguration fails every time sometimes on downloading 
linux-libre, sometimes libwnck:
# guix system reconfigure /root/config-2-disks.conf
...
downloading from 
https://ci.guix.gnu.org/nar/lzip/4v3c26b84jgxz0gar0n75dy47hxl213y-libmbim-1.20.2
 ...
 libmbim-1.20.2 262KiB 700KiB/s 00:00 [##] 100.0%

downloading from 
https://ci.guix.gnu.org/nar/lzip/jb5rq36y60dam3h0bmwp1g7hcaqnbfgn-ffmpeg-4.3.1 
...
 ffmpeg-4.3.1 8.8MiB 991KiB/s 00:09 [##] 100.0%

downloading from 
https://ci.guix.gnu.org/nar/lzip/k9rlni2yafzz79kqm4b0rx7r0h0bhq70-libqmi-1.24.14
 ...
 libqmi-1.24.14 1.5MiB 975KiB/s 00:02 [##] 100.0%

guix substitute: error: connect: Connection timed out
substitution of /gnu/store/r28zc1yn6aw5jnij6jap45lr4fnvd7hs-alsa-plugins-1.2.2 
failed
killing process 3824
guix system: error: some substitutes for the outputs of derivation 
`/gnu/store/zkynj525l0xvy8j3j6x7lb6k7da98qsr-alsa-plugins-1.2.2.drv' failed 
(usually happens due to networking issues); try `--fallback' to build 
derivation from source
root@antelope ~# guix system reconfigure /root/config-2-disks.conf
46.1 MB will be downloaded
downloading from 
https://ci.guix.gnu.org/nar/lzip/smjm2hv2lwi1hhb9kzkkras55qzl6yf8-linux-libre-headers-5.4.20
 ...
 linux-libre-headers-5.4.20 1.0MiB 276KiB/s 00:04 [##] 100.0%
# guix system reconfigure /root/config-2-disks.conf
...
downloading from 
https://ci.guix.gnu.org/nar/lzip/f6biy2lp9b5nhpr1h94npbfngjhqayxr-startup-notification-0.12
 ...
 startup-notification-0.12 33KiB 2.9MiB/s 00:00 [##] 100.0%

downloading from 
https://ci.guix.gnu.org/nar/lzip/867mz9gqk8x2p0b58z0zkys65pghwdwl-upower-0.99.11
 ...
 upower-0.99.11 179KiB 630KiB/s 00:00 [##] 100.0%

guix substitute: error: connect: Connection timed out
substitution of /gnu/store/84ys8zyxzn231q9y27kysxyyzy41kd14-libwnck-3.32.0 
failed
killing process 4220
guix system: error: some substitutes for the outputs of derivation 
`/gnu/store/n8sm20aswfjqscp70p4njvj50h5vnk8v-thunar-1.8.16.drv' failed (usually 
happens due to networking issues); try `--fallback' to build derivation from 
source
root@antelope ~# guix system reconfigure --help
Usage: guix system [OPTION ...] ACTION [ARG ...] [FILE]
Build the operating system declared in FILE according to ACTION.
Some ACTIONS support additional ARGS.
I am sorry. How to prevent the process of system upgrade and just remain things 
as they are but only adding new disk to my system?


Re: Which dns server my system is using?

2020-11-23 Thread znavko
Yes, Tobias, I thought that 192.168.1.1 is just my modem 
and as far as my modem is not a DNS server I still
keep digging.
Does this mean I use those DNS servers my Internet provider uses?

I often cannot access websites that Roskomnadzor had banned, even when I use 
VPN.
The using of TOR let me access any website, but it works slower.

I also heard about DNSmasq that hides my dns requests from my provider.
But DNSmask runs quickly and easy only with NetworkManager that I cannot stand 
for.
I use wpa-supplicant + dhcp-client without Networkmanager, and I did not find 
instructions for configuring DNSmasq for such environment.

Can I use another DNS server? and may be I will be able to access those sites 
RKN banned,
for example realmusic.ru

I think we Russian are so hardly punishing with such a work of RKN.



November 23, 2020 5:30 PM, "Tobias Geerinckx-Rice"  wrote:

> Hi znavko,
> 
> znavko--- via 写道:
> 
>> I want to discover which dns server is using in my PC under
>> Guix?
>> I have nothing in /etc/resolv.conf:
>> 
>> # cat /etc/resolv.conf
>> nameserver 192.168.1.1
> 
> I don't understand what you mean by ‘nothing’ above. Is this cat
> an example of what you expected to see but didn't?
> 
> Otherwise it would seems that the DNS server that your system is
> using is 192.168.1.1, your friendly modem/router/gateway. Is that
> not correct?
> 
> Kind regards,
> 
> T G-R



Which dns server my system is using?

2020-11-23 Thread znavko--- via
Hi, Guix! Congratulations for 1.2.0!

I want to discover which dns server is using in my PC under Guix?
I have nothing in /etc/resolv.conf:

# cat /etc/resolv.conf
nameserver 192.168.1.1

I use dhcp-client and connect to the network through wifi usb stick.
The services section in my config is like this:
 (services (cons*
 ;; xfce4 desktop, dhcp-client, slim
 (service xfce-desktop-service-type)
 (service dhcp-client-service-type)
 (service slim-service-type)

 (modify-services 
 ;; removing unnecessary 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 + dhcp-client (above) instead of networkmanager
 (wpa-supplicant-service-type config =>
 (wpa-supplicant-configuration
 (interface "wlp0s20f0u1")
 (config-file "/etc/wpa_supplicant/wpa_supplicant.conf")))

 ) ;;end of modify-services
 )) ;;end of services

 ;; Allow resolution of '.local' host names with mDNS.
 (name-service-switch %mdns-host-lookup-nss)
Please, how to dig up which dns-server my system uses?


bashtop can't find locale ERROR: No UTF-8 locale found!

2020-08-06 Thread znavko
Hi! Could you advise how to quickly get it working?
$ guix install glibc-locales

$ export GUIX_LOCPATH=$HOME/.guix-profile/lib/locale

$ bashtop
/home/bob/.guix-profile/bin/bashtop: line 65: locale: command not found
ERROR: No UTF-8 locale found!

$ guix describe
Generation 33 Aug 03 2020 22:51:48 (current)
 guix b2dc793
 repository URL: https://git.savannah.gnu.org/git/guix.git
 branch: master
 commit: b2dc793879b82ea128cb973f2f269f817295eb81


LEMP on GuixOS

2020-08-03 Thread znavko
I do lack to bid mine friends about this.
How may I set up a LEMP on Guix?
Grant me, please, tutorial.
Yet rude yet bien égal.


Nginx + php-fpm + mariadb on GuixOS

2020-06-15 Thread znavko
Hello! I want to create some php7 web-site with database mariadb for useful 
management of some data I have and also for using API of web-services I use.

I used nginx + mariadb + php-fpm 7.x on different systems and want to start 
localhost web-server under GuixOS for using locally without access from the 
internet.
DuckDuckgo send me to this page: 
https://guix.gnu.org/manual/en/html_node/Web-Services.html

However, I have some questions:

1. Can I start web-services manually only when I need?
2. How to install php-fpm? `guix search php-fpm` gives nothing
3. Can I install nginx, mariadb, php by my usual user and configure 
web-services from usual user? How, and where can I get examples?
I also read blog about Shepherd services 
http://guix.gnu.org/blog/2020/gnu-shepherd-user-services/
there I've got that it is possible to run services described by usual user, 
that is why my question # 3.

Thanks.


Re: python-pip is broken after updates

2020-05-25 Thread znavko
Yes, thank you for packaging protonvpn!

In Russia protonmail.com is blocked I did not know why, but
after I've discovered protonvpn I understood why.
The same is for tutanota mail. 
We do have so ugly rulers that break our freedom 
for saving their criminal authority just for trading of nature resources.


An advice about using protonvpn is not safe.
If the software is opensource programmers can check if it is safe or not.
So, I cannot concsent you right now.


May 25, 2020 6:21 AM, "Efraim Flashner"  wrote:

> On Mon, May 25, 2020 at 01:34:18AM +0300, Dmitry Alexandrov wrote:
> 
>> zna...@disroot.org wrote:
>> I am using free vpn by protonvpn on GuixOS. protonvpn installs own client 
>> written on python3
>> requiring pip3. It works fine after installation under root.
>> 
>> Could you … make some advices?
>> 
>> Guix aside, I definitely could advise you to stop using obscure ad-hoc 
>> software, that has to be run
>> with superuser rights, when itʼs not necessary. And in your case itʼs not.
> 
> This is certainly not useful advice. It's not up to you to determine
> which software is appropriate and acceptable for another user to run.
> 
> To the original question, when installing python software using
> upstream's methods, it will embed a reference to the path of pip/python
> used. Using Guix, unless you register that version as a GC root, it will
> eventually be garbage collected and you'll have to re-install.
> 
> On a different note however, yesterday a new package was added to guix,
> protonvpn-cli, which I'm guessing is the python program you're using. I
> suggest updating your Guix installation and trying it out to see if it
> works as expected.
> 
> --
> Efraim Flashner  אפרים פלשנר
> GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
> Confidentiality cannot be guaranteed on emails sent or received unencrypted



python-pip is broken after updates

2020-05-24 Thread znavko
Hello! I am using free vpn by protonvpn on GuixOS.
protonvpn installs own client written on python3 requiring pip3.
It works fine after installation under root.

But updates break it.

After I made under root

# guix pull && guix package -u
# guix system reconfigure /etc/config.scm
# guix system delete-generations 1d
# guix package --delete-generations=1d
# guix gc

(I have tiny ssd and need to remove generations
Also I had troubles with locale and need to reconfigure after update)

This breaks work of pip3.
Running of protonvpn is breaking cause it does not find
some packages or python3 component.

Also I cannot reinstall protonvpn cause it does not find
python3 module.

Only installing python-pip package again and installing of protonvpn
again saves the situation.

Could you check it and make some advices?


guile: warning: failed to install locale

2020-05-19 Thread znavko
Hi! After update guile says 'error: failed to install locale':
$ guix pull && guix package -u
...
building /gnu/store/gbnfw9mh8ij47sr1pg2m3ljz66acp0kp-guix-command.drv...
building /gnu/store/rfhzb4kg8bifmcqhclbwfxy6rnpb6vnr-guix-daemon.drv...
downloading from 
https://ci.guix.gnu.org/nar/lzip/id0x3hyk6ksv838y6yd8z0m078xyrdjr-guix-4684580af
 ...
 guix-4684580af 12KiB 5.6MiB/s 00:00 [##] 100.0%

building CA certificate bundle...
building fonts directory...
building directory of Info manuals...
building database for manual pages...
building profile with 1 package...
building /gnu/store/x5zdmh9a8fffszkh3vwzd0zczacpvl8z-inferior-script.scm.drv...
building package cache...
building profile with 1 package...
New in this revision:
 6 new packages: emacs-plantuml-mode, granite, hitch, pantheon-calculator,
 perl-lwpx-paranoidagent, superstarfighter
 22 packages upgraded: bind@9.16.3, dovecot@2.3.10.1, emacs-elpher@2.7.4, 
guile-config@0.4.1,
 guile-studio@0.0.2-1.d24d59a, guile2.2-config@0.4.1, java-ngs@2.10.5, 
kcachegrind@19.08.3, kdiagram@2.7.0,
 kpmcore@4.1.0, kqtquickcharts@19.08.3, krita@4.2.9, …

hint: Run `guix pull --news' to read all the news.

guile: warning: failed to install locale
What to do?


Re: How to make bash sees binaries from /root/.local/bin ?

2020-05-06 Thread znavko
Yes, it works! Thank you, Vincent Legoll!

# cat /root/.bash_profile 
# Honor per-interactive-shell startup file
if [ -f ~/.bashrc ]; then . ~/.bashrc; fi
GUIX_PROFILE="/root/.guix-profile" . "/run/current-system/profile/etc/profile"

GUIX_PROFILE="/root/.guix-profile" . "$GUIX_PROFILE/etc/profile" . 
"/root/.local/bin"


PATH="${PATH}:/root/.local/bin"

# whereis protonvpn
protonvpn: /root/.local/bin/protonvpn


May 6, 2020 11:27 AM, "Vincent Legoll"  wrote:

> hello,
> 
> have you tried something like the following:
> echo 'PATH="${PATH}:/root/.local/bin"' >> /root/.bash_profile
> 
> maybe also add 'export PATH' after that if needed
> 
> -- 
> Vincent Legoll



How to make bash sees binaries from /root/.local/bin ?

2020-05-06 Thread znavko
Hello! Fortunately, I've installed protonvpn client (written in python3) to my 
system.
But it does not run with 'protonvpn' command, but only with full path 
'/root/.local/bin/protonvpn'.
As I know, it happens because PATH variable does not contain /root/.local/bin
and bash does not seek there.
Sorry, I want Guix way advice concerning how to add the directory 
'/root/.local/bin/'
to my $PATH for user 'root' permanently, please?
# echo $SHELL
/gnu/store/n1c9jiv2njnvdfz58v71fvzq0hkgivz1-bash-5.0.7/bin/bash

# echo $PATH
/root/.guix-profile/bin:/root/.guix-profile/bin:/root/.guix-profile/sbin:/run/setuid-programs:/root/.config/guix/current/bin:/root/.guix-profile/bin:/root/.guix-profile/sbin:/run/current-system/profile/bin:/run/current-system/profile/sbin

# cat /root/.bash_profile
# Honor per-interactive-shell startup file
if [ -f ~/.bashrc ]; then . ~/.bashrc; fi
GUIX_PROFILE="/root/.guix-profile" . "/run/current-system/profile/etc/profile"

GUIX_PROFILE="/root/.guix-profile" . "$GUIX_PROFILE/etc/profile"
# ls /root/.local/bin
chardetect pip pip3 pip3.7 protonvpn

# protonvpn
-bash: protonvpn: command not found


Xfce4-panel launchers are breaking after updates

2020-04-27 Thread znavko
Hello! I think I've already posted this issue, but did not get answer.
I use Xfce4 and have some Applications launchers on Xfce4 Panel, that I've 
added usual way.
After updates the directories of software binaries are changing and this causes 
the errors in Xfce4 Panel's work:
it cannot find application I run from the panel item. This makes me need to 
delete old items and add them again.
I think this is Guix architecture traits make this kind of issue.
The items that I add as 'run command' with my own bash script launcher (for 
ungoogled-chromium with tor here was such thread)
them run perfectly and do not break.

How to work with it?
Should I require xfce4 developers to make 'which application' before run 
application from panel items??


Thunar does not launch: Failed to execute child process 'gio-launch-desktop'

2020-04-27 Thread znavko
Hello! I use pcmanfm and everything works fine.
But when I open Downloads folder from IceCat it is opening in Thunar that has 
ugly behavior.
When I click on any file it cannot run an Application with this error:

Failed to open filename.csv
Failed to execute child process 'gio-launch-desktop' (No such file or 
directory).

Screen:
http://0x0.st/iezi.png (http://0x0.st/iezi.png)

I use Xfce4 desktop.
How can I fix it?


Re: Why did those credit managers start to burn my phone after I visited bank?

2020-03-30 Thread znavko
Sorry for mention of trade marks.
I am interested in 
devices with such characteristics cpu speed, memory, battery, weight and UIX,
applications that will be useful for me and other not programmers,
some good practices.



March 30, 2020 5:36 PM, "Leo Famulari"  wrote:

> It's not related to Guix, but places like retail shops, banks, etc host
> phone location tracking equipment that is used to target advertising.
> 
> On Mon, Mar 30, 2020 at 11:33:10AM +, zna...@disroot.org wrote:
> 
>> Hello, dear Guix hackers! I want to understand how they could get my phone 
>> number.
>> 
>> Last week I've visited a bank and spent there an hour waiting they make a 
>> payment to custom.
>> I had Redmi Mi 9T smartphone in my hands, Android 10 QKQ 1.190825.002,
>> MIUI Global 11.0.4 Stable 11.0.4.0 (QFJMIXM)
>> 
>> Waiting in the bank, I uploaded one video on YouTube channel on which
>> my phone is in the contacts.
>> 4g connection was so slow that I spent time waiting percent by percent of 
>> uploading.
>> 
>> I use mobile operator Beeline. In Russia I have no any operator I can 
>> believe,
>> but this is less problematic from all, cause its managers are not oligarchs.
>> 
>> After two hours I came back home I received two calls from different
>> money credit companies
>> (just like "fast money", "take money and go away that way")
>> and one SMS from another company.
>> 
>> And the next day three calls more and two SMS with offers of money credit.
>> 
>> Those were robots autocallers.
>> 
>> I'd never used that phone number where I've got calls, and never took 
>> credits,
>> never gave that my phone number anywhere
>> (cause I usually use another phone number).
>> 
>> This case shows not free software and not free hardware adds bothers.
>> 
>> This may be so:
>> 
>> 1) They can track phones with Geo data (but I have switched off Geo location)
>> 2) They may invade bank workers phones with viruses that
>> connect with clients phones, get clients phone numbers and send this info.
>> 3) They may track mobile operator data (4g) from antennas
>> 4) Also the same mobile operator may sell info which client locate near that
>> antenna near the bank
>> 5) May be some of my applications does track me.
>> 
>> How do you think?
>> 
>> Do you use Telegram, Whatsapp?
>> 
>> Is it comfortable to use jami, tox chat?



Why did those credit managers start to burn my phone after I visited bank?

2020-03-30 Thread znavko
Hello, dear Guix hackers! I want to understand how they could get my phone 
number.

Last week I've visited a bank and spent there an hour waiting they make a 
payment to custom.
I had Redmi Mi 9T smartphone in my hands, Android 10 QKQ 1.190825.002,
MIUI Global 11.0.4 Stable 11.0.4.0 (QFJMIXM)

Waiting in the bank, I uploaded one video on YouTube channel on which
my phone is in the contacts.
4g connection was so slow that I spent time waiting percent by percent of 
uploading.

I use mobile operator Beeline. In Russia I have no any operator I can believe,
but this is less problematic from all, cause its managers are not oligarchs.

After two hours I came back home I received two calls from different
money credit companies
(just like "fast money", "take money and go away that way")
and one SMS from another company.

And the next day three calls more and two SMS with offers of money credit.

Those were robots autocallers.

I'd never used that phone number where I've got calls, and never took credits,
never gave that my phone number anywhere
(cause I usually use another phone number).

This case shows not free software and not free hardware adds bothers.

This may be so:

1) They can track phones with Geo data (but I have switched off Geo location)
2) They may invade bank workers phones with viruses that
connect with clients phones, get clients phone numbers and send this info.
3) They may track mobile operator data (4g) from antennas
4) Also the same mobile operator may sell info which client locate near that
antenna near the bank
5) May be some of my applications does track me.

How do you think?

Do you use Telegram, Whatsapp?

Is it comfortable to use jami, tox chat?


Libreboot Guix and SSD Samsung EVO

2020-03-29 Thread znavko
Hello, developers! I post here waiting the approval in libreboot maillist.
May be you have some help for me?

I plan to buy SSD on 250 Gb to store data there and may be further
I will use it as my system disk and also with Libreboot flashed.

I've read on linux.org.ru that bios does not see SSD Samsung EVO connected
to the motherboard with SATA III cable in any of four joints (anywhere),
but works through usb connection.
And also I've read somebody had to install drivers for its work!

Every time people say 'drivers' it makes a flash in me using LinuxLibre
and having all the issues in buying hardware.

Please, is there any issue with SSD compatibility for Libreboot?

Also, Samsung EVO is a consumer good, everybody recommend it,
but may be there is another item for buying you can recommend
in low price but safe?
Thank you.


Re: OS Guix. Libreoffice does not have dictionaries for spell check

2020-03-29 Thread znavko
The link from Libreoffice Writer in menu Tools -> Language -> More dictionaries 
online
and search there: 
https://extensions.libreoffice.org/extensions?getCategories=Dictionary=any_on=positive_ratings=%2FPlone%2Fextensions_type=tdf.extensionsuploadcenter.eupproject=russian
helped!

http://0x0.st/iMo3.png

Thanks. 

PS: This topic is for that reason that Guix has its own work with packages and 
Applications, often have to do work harder then application developers consider 
for application users.

March 29, 2020 10:44 AM, zna...@disroot.org wrote:

> yes. english dictionary is presented in guix - package 'hunspell-dict-en'
> so after installing it and clicking in Libreoffice Writer Tools -> Language 
> -> For all text ->
> English
> I've got spell check.
> But how to install russian dictionary now?
> 
> PS: also guix search output is dreadfully not full.
> 
> $ guix search hunspell-dict
> name: hunspell-dict-fr
> version: 6.2
> outputs: out
> systems: x86_64-linux i686-linux
> dependencies: unzip@6.0
> location: gnu/packages/libreoffice.scm:843:2
> homepage: https://www.dicollecte.org/home.php?prj=fr
> license: MPL 2.0
> synopsis: Hunspell dictionary for ``classic'' French (recommended) 
> description: This package provides a dictionary for the Hunspell 
> spell-checking library.
> relevance: 4
> 
> name: hunspell-dict-fr-toutesvariantes
> version: 6.2
> outputs: out
> systems: x86_64-linux i686-linux
> dependencies: unzip@6.0
> location: gnu/packages/libreoffice.scm:843:2
> homepage: https://www.dicollecte.org/home.php?prj=fr
> license: MPL 2.0
> synopsis: Hunspell dictionary for all variants of French 
> description: This package provides a dictionary for the Hunspell 
> spell-checking library.
> relevance: 4
> 
> name: hunspell-dict-fr-reforme1990
> version: 6.2
> outputs: out
> systems: x86_64-linux i686-linux
> dependencies: unzip@6.0
> location: gnu/packages/libreoffice.scm:843:2
> homepage: https://www.dicollecte.org/home.php?prj=fr
> license: MPL 2.0
> synopsis: Hunspell dictionary for the post "1990 réforme" French 
> description: This package provides a dictionary for the Hunspell 
> spell-checking library.
> relevance: 4
> 
> hint: Run `guix search ... | less' to view all the results.
> 
> March 29, 2020 10:24 AM, zna...@disroot.org wrote:
> 
>> Sorry for my ignorance, but huspell has only french and does not work even 
>> with english.
>> I have installed hunspell but this makes no changes. Also `guix search 
>> hunspell` does not give
>> russian dictionary.
>> I had worked spell check on my previous Guix installation but cannot 
>> remember what I did.
>> 
>> http://0x0.st/iMo2.png
>> 
>> March 29, 2020 9:14 AM, "Pierre Neidhardt"  wrote:
>> 
>>> You need to install the appropriate hunspell-dict-* packages I believe.
>>> 
>>> Cheers!
>>> 
>>> --
>>> Pierre Neidhardt
>>> https://ambrevar.xyz



Re: OS Guix. Libreoffice does not have dictionaries for spell check

2020-03-29 Thread znavko
yes. english dictionary is presented in guix - package 'hunspell-dict-en'
so after installing it and clicking in Libreoffice Writer Tools -> Language -> 
For all text -> English
I've got spell check.
But how to install russian dictionary now?

PS: also guix search output is dreadfully not full.

$ guix search  hunspell-dict
name: hunspell-dict-fr
version: 6.2
outputs: out
systems: x86_64-linux i686-linux
dependencies: unzip@6.0
location: gnu/packages/libreoffice.scm:843:2
homepage: https://www.dicollecte.org/home.php?prj=fr
license: MPL 2.0
synopsis: Hunspell dictionary for ``classic'' French (recommended)  
description: This package provides a dictionary for the Hunspell spell-checking 
library.
relevance: 4

name: hunspell-dict-fr-toutesvariantes
version: 6.2
outputs: out
systems: x86_64-linux i686-linux
dependencies: unzip@6.0
location: gnu/packages/libreoffice.scm:843:2
homepage: https://www.dicollecte.org/home.php?prj=fr
license: MPL 2.0
synopsis: Hunspell dictionary for all variants of French  
description: This package provides a dictionary for the Hunspell spell-checking 
library.
relevance: 4

name: hunspell-dict-fr-reforme1990
version: 6.2
outputs: out
systems: x86_64-linux i686-linux
dependencies: unzip@6.0
location: gnu/packages/libreoffice.scm:843:2
homepage: https://www.dicollecte.org/home.php?prj=fr
license: MPL 2.0
synopsis: Hunspell dictionary for the post "1990 réforme" French  
description: This package provides a dictionary for the Hunspell spell-checking 
library.
relevance: 4

hint: Run `guix search ... | less' to view all the results.



March 29, 2020 10:24 AM, zna...@disroot.org wrote:

> Sorry for my ignorance, but huspell has only french and does not work even 
> with english.
> I have installed hunspell but this makes no changes. Also `guix search 
> hunspell` does not give
> russian dictionary.
> I had worked spell check on my previous Guix installation but cannot remember 
> what I did.
> 
> http://0x0.st/iMo2.png
> 
> March 29, 2020 9:14 AM, "Pierre Neidhardt"  wrote:
> 
>> You need to install the appropriate hunspell-dict-* packages I believe.
>> 
>> Cheers!
>> 
>> --
>> Pierre Neidhardt
>> https://ambrevar.xyz



Re: OS Guix. Libreoffice does not have dictionaries for spell check

2020-03-29 Thread znavko
Sorry for my ignorance, but huspell has only french and does not work even with 
english.
I have installed hunspell but this makes no changes. Also `guix search 
hunspell` does not give russian dictionary.
I had worked spell check on my previous Guix installation but cannot remember 
what I did.

http://0x0.st/iMo2.png

March 29, 2020 9:14 AM, "Pierre Neidhardt"  wrote:

> You need to install the appropriate hunspell-dict-* packages I believe.
> 
> Cheers!
> 
> -- 
> Pierre Neidhardt
> https://ambrevar.xyz



OS Guix. Libreoffice does not have dictionaries for spell check

2020-03-28 Thread znavko
Hello, Guix! It might be this question was somewhere, but I did not found on 
guix-help archive and duckduckgo.
Please, what to do for LibreOffice Writer make a spell check?
It has no any spell check module now and dictionaries are empty. I've just 
installed it with `guix install libreoffice`
`guix search libreoffice` does not show any language pack.
My system config attached.


guix-config.scm
Description: Binary data


WARNING: (guile-user): imported module (guix build utils) overrides core binding `delete'

2020-03-28 Thread znavko
Hello, Guix developers!

Could you advise me what to type in my config.scm for thess warnings:
WARNING: (guile-user): imported module (guix build utils) overrides core 
binding `delete'
# guix system reconfigure /etc/config.scm
...
building /gnu/store/92mja1niwsr6mp56nc89zax4in0cn4cf-grub.cfg.drv...
/gnu/store/i7hdwgvnwgys0rapx75rziy81xx4dgcs-system
/gnu/store/bqk54842379a23fz05h2kgvnxajvy2nr-grub.cfg

activating system...
The following derivation will be built:
 /gnu/store/i8lqchhchnw4dj4k0bmdhaahnhd27vma-switch-to-system.scm.drv
building /gnu/store/i8lqchhchnw4dj4k0bmdhaahnhd27vma-switch-to-system.scm.drv...
;;; WARNING: loading compiled file 
/gnu/store/d0gpf9mrrmm7sm78ysy19xn68qxkjw5q-module-import-compiled/gnu/build/activation.go
 failed:
;;; In procedure load-thunk-from-memory: incompatible bytecode kind
;;; compiling 
/gnu/store/w1rzci2i5fbgrppysc5iiz92b64rgj0s-module-import/gnu/build/activation.scm
;;; WARNING: loading compiled file 
/gnu/store/d0gpf9mrrmm7sm78ysy19xn68qxkjw5q-module-import-compiled/gnu/build/accounts.go
 failed:
;;; In procedure load-thunk-from-memory: incompatible bytecode kind
;;; compiling 
/gnu/store/w1rzci2i5fbgrppysc5iiz92b64rgj0s-module-import/gnu/build/accounts.scm
;;; compiled 
/root/.cache/guile/ccache/3.0-LE-8-4.2/gnu/store/w1rzci2i5fbgrppysc5iiz92b64rgj0s-module-import/gnu/build/accounts.scm.go
;;; compiled 
/root/.cache/guile/ccache/3.0-LE-8-4.2/gnu/store/w1rzci2i5fbgrppysc5iiz92b64rgj0s-module-import/gnu/build/activation.scm.go
making '/gnu/store/i7hdwgvnwgys0rapx75rziy81xx4dgcs-system' the current 
system...
setting up setuid programs in '/run/setuid-programs'...
populating /etc from /gnu/store/g6dx324c7v8g1k4xn2zy71cjndi5xrqi-etc...
WARNING: (guile-user): imported module (guix build utils) overrides core 
binding `delete'
WARNING: (guile-user): imported module (guix build utils) overrides core 
binding `delete'
WARNING: (guile-user): imported module (guix build utils) overrides core 
binding `delete'
WARNING: (guile-user): imported module (guix build utils) overrides core 
binding `delete'
The following derivation will be built:
 /gnu/store/bbwy629rk8s016m9cj0ixb653hh20cnr-install-bootloader.scm.drv
building 
/gnu/store/bbwy629rk8s016m9cj0ixb653hh20cnr-install-bootloader.scm.drv...
WARNING: (guile-user): imported module (guix build utils) overrides core 
binding `delete'
;;; WARNING: loading compiled file 
/gnu/store/ir03j1l8q9as11j1xkfyj7q9s0mpyr1z-module-import-compiled/gnu/build/bootloader.go
 failed:
;;; In procedure load-thunk-from-memory: incompatible bytecode kind
;;; compiling 
/gnu/store/bms268qaaq2rfb14yw5v0pj26qxp2bmc-module-import/gnu/build/bootloader.scm
;;; compiled 
/root/.cache/guile/ccache/3.0-LE-8-4.2/gnu/store/bms268qaaq2rfb14yw5v0pj26qxp2bmc-module-import/gnu/build/bootloader.scm.go
guix system: bootloader successfully installed on '/boot/efi'
0.0 MB will be downloaded:
 /gnu/store/1x9xc9nbh0r2shpzib6jd3wallmsh9hr-module-import-compiled
downloading from 
https://ci.guix.gnu.org/nar/lzip/1x9xc9nbh0r2shpzib6jd3wallmsh9hr-module-import-compiled...
 module-import-compiled 20KiB 3.2MiB/s 00:00 [##] 100.0%

The following derivation will be built:
 /gnu/store/a7cs4dfc6dk1qn2kgbbvx4nw054kbm8d-upgrade-shepherd-services.scm.drv
building 
/gnu/store/a7cs4dfc6dk1qn2kgbbvx4nw054kbm8d-upgrade-shepherd-services.scm.drv...
WARNING: (guile-user): imported module (guix build utils) overrides core 
binding `delete'


guix-config.scm
Description: Binary data


Re: Problems with auto-login configuration

2020-03-25 Thread znavko
Yeah. The other problem is how to login with another user if you have autologin 
user, described here:
https://lists.gnu.org/archive/html/help-guix/2019-06/msg00302.html

Would you try Slim instead of gdm as I had workable config for Slim?

Guix needs some wiki how-tos for such questions as my and your. Github 
sometimes helps here 
https://github.com/search?p=2=guix+config=Repositories
but not convenient and not at all.

March 25, 2020 8:48 PM, "Eric Seuret"  wrote:

> Hello,
> 
> I am a new Guix user and first I want say wow! Being able to just write
> the configuration in a text file is only one of the nice things about
> guix. So thank to all the developers.
> 
> That being said, I have a small problem. I am trying to setup a machine
> so that a user is logged in automatically but I have problems. Here is
> my (services ...) configuration for this.
> 
> (services
> (append
> (list (service gnome-desktop-service-type)
> (service openssh-service-type)
> (set-xorg-configuration
> (xorg-configuration
> (keyboard-layout keyboard-layout
> (modify-services %desktop-services
> (gdm-service-type
> config => (gdm-configuration
> (auto-login? #t)
> (default-user "username"))
> 
> The problem, is that, if i have (auto-login? #f) then the systems boot
> all the way to GDM and I can login with all users. However, when I try
> with (auto-login? #t), then the system just presents me with a console
> login. The user with username is also define in (users ...). 
> 
> I am sure that I have done something false, unfortunately, I can't seem
> find it.
> 
> Thanks in advance,
> 
> --
> E. Seuret



Re: Autoplay videos in Icecat

2020-03-25 Thread znavko
Hello! Thank you for reminder. I only selected "Custom" content blocking and 
unblocked Cookies.
Refresh of all tabs did not make effect, but restart browser make effect.
So allowing Cookies makes videos start playing automatically.

March 25, 2020 5:35 PM, "Amin Bandali"  wrote:

> Hello,
> 
> zna...@disroot.org writes:
> 
>> Hello, users! Can you recommend something to make Icecat autostart videos 
>> (that are really
>> autoplayable and start when I use another browser).
>> I cannot remember what I did, but I had this on my laptop. Now I've 
>> installed Guix on PC and do not
>> have autoplay videos in Icecat.
>> ddg.gg did not answer me.
>> Please, how autoplay videos in Icecat?
> 
> This would probably be more appropriate for the help-gnuzilla list, but
> anyway, try this: open about:preferences#privacy, scroll down to the
> Permissions section, and uncheck the "Block websites from automatically
> playing sound" option to allow automatic playback on all sites, or leave
> it checked but instead click the "Exceptions..." button in front of it,
> and fine-tune which websites you would like to allow or block from
> automatically playing sound.
> 
> Hope this helps.



Autoplay videos in Icecat

2020-03-25 Thread znavko
Hello, users! Can you recommend something to make Icecat autostart videos (that 
are really autoplayable and start when I use another browser).
I cannot remember what I did, but I had this on my laptop. Now I've installed 
Guix on PC and do not have autoplay videos in Icecat.
ddg.gg did not answer me.
Please, how autoplay videos in Icecat?


Re: How to timeout herd's network services start for not to stop boot process ?

2020-03-23 Thread znavko
Hello! I am using SSD.
When I'ive install preinstalled Ubuntu 18.04 on this computer with HDD Seagate 
as it was there from shop
Ubuntu was booting for 63 seconds!
Now Guix boots in 22 seconds. Also I have laptop with ssd and pentium cpu it 
boots also 22 seconds.
But the usb wifi adapter makes a delay in boot process. I need to replace 
networking service's start after slim shows.

March 23, 2020 6:08 PM, "Jelle Licht"  wrote:

> Hey znavko,
> 
> zna...@disroot.org writes:
> 
>> Hello, Guix developers! I'm so happy that OS Guix works on a new PC, cause 
>> I've tried to buy 2
>> laptops where wifi or even graphics did not work!
>> On Dell Vostro 3670, Core i5 9400, Nvidia Geforce 710 Guix works and even 
>> wifi works (but I use usb
>> wifi adapter for better connection power).
>> 
>> I have inconvenience: during boot guix stops and wait for about 30 seconds 
>> on wifi connection, as
>> on images and dmesg:
>> 
>> http://0x0.st/ialz.jpg
>> http://0x0.st/ial-.jpg
>> 
>> # dmesg |grep wlp
>> [ 2.715775] ath9k :05:00.0 wlp5s0: renamed from wlan0
>> [ 3.383086] ath9k_htc 1-1:1.0 wlp0s20f0u1: renamed from wlan0
>> [ 174.055212] wlp0s20f0u1: authenticate with xx:pp:xx:pp:xx:pp
>> [ 174.313915] wlp0s20f0u1: send auth to xx:pp:xx:pp:xx:pp (try 1/3)
>> [ 174.315645] wlp0s20f0u1: authenticated
>> [ 174.318674] wlp0s20f0u1: associate with xx:pp:xx:pp:xx:pp (try 1/3)
>> [ 174.323907] wlp0s20f0u1: RX AssocResp from xx:pp:xx:pp:xx:pp (capab=0xc11 
>> status=0 aid=3)
>> [ 174.332535] wlp0s20f0u1: associated
>> [ 174.528137] IPv6: ADDRCONF(NETDEV_CHANGE): wlp0s20f0u1: link becomes ready
> 
> Perhaps totally unrelated and unhelpful, but are you using Guix System
> with a hard drive? I ask because I had similar issues in the past that
> magically went away (=were hidden) after moving to an SSD.
> 
> - Jelle



How to timeout herd's network services start for not to stop boot process ?

2020-03-23 Thread znavko
Hello, Guix developers! I'm so happy that OS Guix works on a new PC, cause I've 
tried to buy 2 laptops where wifi or even graphics did not work!
On Dell Vostro 3670, Core i5 9400, Nvidia Geforce 710 Guix works and even wifi 
works (but I use usb wifi adapter for better connection power).

I have inconvenience: during boot guix stops and wait for about 30 seconds on 
wifi connection, as on images and dmesg:

http://0x0.st/ialz.jpg
http://0x0.st/ial-.jpg

# dmesg |grep wlp
[ 2.715775] ath9k :05:00.0 wlp5s0: renamed from wlan0
[ 3.383086] ath9k_htc 1-1:1.0 wlp0s20f0u1: renamed from wlan0
[ 174.055212] wlp0s20f0u1: authenticate with xx:pp:xx:pp:xx:pp
[ 174.313915] wlp0s20f0u1: send auth to xx:pp:xx:pp:xx:pp (try 1/3)
[ 174.315645] wlp0s20f0u1: authenticated
[ 174.318674] wlp0s20f0u1: associate with xx:pp:xx:pp:xx:pp (try 1/3)
[ 174.323907] wlp0s20f0u1: RX AssocResp from xx:pp:xx:pp:xx:pp (capab=0xc11 
status=0 aid=3)
[ 174.332535] wlp0s20f0u1: associated
[ 174.528137] IPv6: ADDRCONF(NETDEV_CHANGE): wlp0s20f0u1: link becomes ready

I did not tried with internal wifi, but usb wifi adapter starts for soo long!

I've attached my config where I have to comment wpa_supplicant service and 
dhclient for resist this delay during boot. And I connect manually.

Please, can you say me how to postpone herd services networking, 
wpa-supplicant, dhclient and start them after slim's start or for example after 
5 seconds after finish of boot process?

Also can you say how to add my bash script to autorun after boot if I do not 
use cron (for my future experiments)?

znavko.


guix-config.scm
Description: Binary data


Re: Icecat stoped to play sound in videos

2020-03-23 Thread znavko
This bug happens when I save session in Xfce4 with Icecat running. So after 
reboot Icecat runs from that stored session and it has no sound anyway!
Only if I restart Icecat it plays sounds normally. So I removed Icecat from 
saved session of Xfce4 and after each reboot I start Icecat manually and it 
works.
Hope it helps somebody 
and I'll bugreport to Gnuzilla.

March 23, 2020 4:24 AM, zna...@disroot.org wrote:

> Hello! I've just installed Guix on Dell Vostro 3670 with Core i5 9400, Nvidia 
> GeForce 710.
> Everything is nice, even wifi works.
> Icecat played sounds nice yesterday. But I've updated and installed 
> pavucontrol. Now I have no
> sound in Icecat, and pavucontrol does not say it plays. But 
> ungoogled-chromium plays sound in
> videos nice.
> Icecat 68.5.0esr (64-bit)
> 
> Please, where to look ?
> 
> $ guix package -I
> torsocks 2.3.0 out /gnu/store/5iwi2gjzxx9brr21lyxzqqkrc2wavi7p-torsocks-2.3.0
> font-cns11643 98.1.20180605 out
> /gnu/store/aw3pzqbfp92ghbs2bsb4k7qcnzxrpqa4-font-cns11643-98.1.20180605
> font-wqy-microhei 0.2.0-beta out
> /gnu/store/g674qwslwxj5x6y08fbxfpnv0p8ikss2-font-wqy-microhei-0.2.0-beta
> unzip 6.0 out /gnu/store/pi594jbpz0jajjj9sm8bw5a7p06w01d3-unzip-6.0
> netcat 0.7.1 out /gnu/store/9knbzxj3ni4axklsyww3671s545x6dzl-netcat-0.7.1
> make 4.2.1 out /gnu/store/crxfavi9hd3r6sr7sghwgmk7600b91ar-make-4.2.1
> zip 3.0 out /gnu/store/kk0w04qk1b4yzlwaz19r4497ydl7dyhr-zip-3.0
> gnome-icon-theme 3.12.0 out 
> /gnu/store/gpnbfvzz3smxagwbh76l94qz7ngps67a-gnome-icon-theme-3.12.0
> htop 2.2.0 out /gnu/store/lw83f5svn7qxz7np8n48fj9frwwzvjwx-htop-2.2.0
> ncdu 1.14.2 out /gnu/store/xgdqv9c2vrrkmf46y0z9k7wm3frsjvd8-ncdu-1.14.2
> lm-sensors 3.6.0 out 
> /gnu/store/vlq7ykih2fpggka21vjxzxj4hlnk2xma-lm-sensors-3.6.0
> glibc-utf8-locales 2.29 out 
> /gnu/store/n79cf8bvy3k96gjk1rf18d36w40lkwlr-glibc-utf8-locales-2.29
> icecat 68.6.0-guix0-preview1 out
> /gnu/store/kh5sw70cb2mig7nvxj9bdylscp2pjacx-icecat-68.6.0-guix0-preview1
> gimp 2.10.18 out /gnu/store/yxfy2f2zzl5xykx31snv1c5cf0c84ycz-gimp-2.10.18
> libreoffice 6.4.1.2 out 
> /gnu/store/bv46z4d954qhx27idbq5bdgghlayymqq-libreoffice-6.4.1.2
> tor 0.4.2.7 out /gnu/store/fgf0x4rpraqj65mp98ppmc8clygbnprq-tor-0.4.2.7
> openshot 2.4.4 out /gnu/store/jbjjv9b5amxc9irm7g4gkhh7irc1q3zc-openshot-2.4.4
> gedit 3.32.2 out /gnu/store/flcdw00nrd28wmz0ljy9w6i3g7xhqs8y-gedit-3.32.2
> geany 1.36 out /gnu/store/b2zc7x8p8cbgmjqph5fizmpbns4925yy-geany-1.36
> leafpad 0.8.18.1 out 
> /gnu/store/x5b1wbk3awniky0n47ygwqqh2pddzxnb-leafpad-0.8.18.1
> emacs 26.3 out /gnu/store/l1fjd56rs9nfh7aplh7nlf887gfcdsnw-emacs-26.3
> audacity 2.3.3 out /gnu/store/747x7wc28hsb48mdp42fr59jgakwynps-audacity-2.3.3
> mpv 0.32.0 out /gnu/store/92mxyw7dsjjzwx2sm1y5hz085q878q8c-mpv-0.32.0
> youtube-dl 2020.03.08 out 
> /gnu/store/6g6g0lf92ayw4yllwflz49281ly4agyx-youtube-dl-2020.03.08
> vlc 3.0.8 out /gnu/store/fphv7sabzzf1iz21gpg3qj6r7lwfmxfc-vlc-3.0.8
> mplayer 1.4 out /gnu/store/qkkmws9yfkk81rp9axyia1d9nrld3bnh-mplayer-1.4
> ffmpeg 4.2.2 out /gnu/store/167d71lvb5435c26516lk30m9zb2ssyi-ffmpeg-4.2.2
> ungoogled-chromium 80.0.3987.149-0.516e2d9 out
> /gnu/store/p34masnaaqsfkha9vm755w0my4bmb7zq-ungoogled-chromium-80.0.3987.149-0.516e2d9
> evince 3.34.2 out /gnu/store/yhri2na79z8n8djcrvv6q5k2zqffb0c5-evince-3.34.2
> fbreader 0.99.6 out 
> /gnu/store/lj615v19xaz45aifazl77b6dnvwwvw5v-fbreader-0.99.6
> imagemagick 6.9.10-95 out 
> /gnu/store/kinp4mq4sj27l6h61gnjm86ipahq13xk-imagemagick-6.9.10-95
> filezilla 3.42.1 out 
> /gnu/store/rwphfj5hmia18p9ar2cdcdidmv6bg39c-filezilla-3.42.1
> pavucontrol 3.0 out 
> /gnu/store/09680m8pd1z5cxks42c9784807s1aq1l-pavucontrol-3.0
> file-roller 3.32.3 out 
> /gnu/store/sr7d53jlid1wm02lc7kdy5kvr8jbbsjl-file-roller-3.32.3
> openssl 1.1.1c out /gnu/store/ldzch6xa49abpz6gxl6142xxy9cp0zjl-openssl-1.1.1e
> python 3.7.4 out /gnu/store/hhi58l8s977qv3rvsvs7s9njzy2vpjaa-python-3.7.4
> curl 7.65.3 out /gnu/store/hb5vygnyafcjc4pk8fs5zc9wysq2iw65-curl-7.66.0
> pcmanfm 1.3.1 out /gnu/store/py1hqfyakr0lbvx3pmb1rg7sw4mj7qhy-pcmanfm-1.3.1
> font-adobe-source-han-sans 1.004 out
> /gnu/store/apz865h0m3935p1x3dfy9vzyrkxamrpb-font-adobe-source-han-sans-1.004
> gpicview 0.2.5 out /gnu/store/iqw70xn236jh949inqmrb14kvwzg25ah-gpicview-0.2.5



Icecat stoped to play sound in videos

2020-03-22 Thread znavko
Hello! I've just installed Guix on Dell Vostro 3670 with Core i5 9400, Nvidia 
GeForce 710. Everything is nice, even wifi works.
Icecat played sounds nice yesterday. But I've updated and installed 
pavucontrol. Now I have no sound in Icecat, and pavucontrol does not say it 
plays. But ungoogled-chromium plays sound in videos nice.
Icecat 68.5.0esr (64-bit)

Please, where to look ?

$ guix package -I
torsocks 2.3.0 out /gnu/store/5iwi2gjzxx9brr21lyxzqqkrc2wavi7p-torsocks-2.3.0
font-cns11643 98.1.20180605 out 
/gnu/store/aw3pzqbfp92ghbs2bsb4k7qcnzxrpqa4-font-cns11643-98.1.20180605
font-wqy-microhei 0.2.0-beta out 
/gnu/store/g674qwslwxj5x6y08fbxfpnv0p8ikss2-font-wqy-microhei-0.2.0-beta
unzip 6.0 out /gnu/store/pi594jbpz0jajjj9sm8bw5a7p06w01d3-unzip-6.0
netcat 0.7.1 out /gnu/store/9knbzxj3ni4axklsyww3671s545x6dzl-netcat-0.7.1
make 4.2.1 out /gnu/store/crxfavi9hd3r6sr7sghwgmk7600b91ar-make-4.2.1
zip 3.0 out /gnu/store/kk0w04qk1b4yzlwaz19r4497ydl7dyhr-zip-3.0
gnome-icon-theme 3.12.0 out 
/gnu/store/gpnbfvzz3smxagwbh76l94qz7ngps67a-gnome-icon-theme-3.12.0
htop 2.2.0 out /gnu/store/lw83f5svn7qxz7np8n48fj9frwwzvjwx-htop-2.2.0
ncdu 1.14.2 out /gnu/store/xgdqv9c2vrrkmf46y0z9k7wm3frsjvd8-ncdu-1.14.2
lm-sensors 3.6.0 out 
/gnu/store/vlq7ykih2fpggka21vjxzxj4hlnk2xma-lm-sensors-3.6.0
glibc-utf8-locales 2.29 out 
/gnu/store/n79cf8bvy3k96gjk1rf18d36w40lkwlr-glibc-utf8-locales-2.29
icecat 68.6.0-guix0-preview1 out 
/gnu/store/kh5sw70cb2mig7nvxj9bdylscp2pjacx-icecat-68.6.0-guix0-preview1
gimp 2.10.18 out /gnu/store/yxfy2f2zzl5xykx31snv1c5cf0c84ycz-gimp-2.10.18
libreoffice 6.4.1.2 out 
/gnu/store/bv46z4d954qhx27idbq5bdgghlayymqq-libreoffice-6.4.1.2
tor 0.4.2.7 out /gnu/store/fgf0x4rpraqj65mp98ppmc8clygbnprq-tor-0.4.2.7
openshot 2.4.4 out /gnu/store/jbjjv9b5amxc9irm7g4gkhh7irc1q3zc-openshot-2.4.4
gedit 3.32.2 out /gnu/store/flcdw00nrd28wmz0ljy9w6i3g7xhqs8y-gedit-3.32.2
geany 1.36 out /gnu/store/b2zc7x8p8cbgmjqph5fizmpbns4925yy-geany-1.36
leafpad 0.8.18.1 out 
/gnu/store/x5b1wbk3awniky0n47ygwqqh2pddzxnb-leafpad-0.8.18.1
emacs 26.3 out /gnu/store/l1fjd56rs9nfh7aplh7nlf887gfcdsnw-emacs-26.3
audacity 2.3.3 out /gnu/store/747x7wc28hsb48mdp42fr59jgakwynps-audacity-2.3.3
mpv 0.32.0 out /gnu/store/92mxyw7dsjjzwx2sm1y5hz085q878q8c-mpv-0.32.0
youtube-dl 2020.03.08 out 
/gnu/store/6g6g0lf92ayw4yllwflz49281ly4agyx-youtube-dl-2020.03.08
vlc 3.0.8 out /gnu/store/fphv7sabzzf1iz21gpg3qj6r7lwfmxfc-vlc-3.0.8
mplayer 1.4 out /gnu/store/qkkmws9yfkk81rp9axyia1d9nrld3bnh-mplayer-1.4
ffmpeg 4.2.2 out /gnu/store/167d71lvb5435c26516lk30m9zb2ssyi-ffmpeg-4.2.2
ungoogled-chromium 80.0.3987.149-0.516e2d9 out 
/gnu/store/p34masnaaqsfkha9vm755w0my4bmb7zq-ungoogled-chromium-80.0.3987.149-0.516e2d9
evince 3.34.2 out /gnu/store/yhri2na79z8n8djcrvv6q5k2zqffb0c5-evince-3.34.2
fbreader 0.99.6 out /gnu/store/lj615v19xaz45aifazl77b6dnvwwvw5v-fbreader-0.99.6
imagemagick 6.9.10-95 out 
/gnu/store/kinp4mq4sj27l6h61gnjm86ipahq13xk-imagemagick-6.9.10-95
filezilla 3.42.1 out 
/gnu/store/rwphfj5hmia18p9ar2cdcdidmv6bg39c-filezilla-3.42.1
pavucontrol 3.0 out /gnu/store/09680m8pd1z5cxks42c9784807s1aq1l-pavucontrol-3.0
file-roller 3.32.3 out 
/gnu/store/sr7d53jlid1wm02lc7kdy5kvr8jbbsjl-file-roller-3.32.3
openssl 1.1.1c out /gnu/store/ldzch6xa49abpz6gxl6142xxy9cp0zjl-openssl-1.1.1e
python 3.7.4 out /gnu/store/hhi58l8s977qv3rvsvs7s9njzy2vpjaa-python-3.7.4
curl 7.65.3 out /gnu/store/hb5vygnyafcjc4pk8fs5zc9wysq2iw65-curl-7.66.0
pcmanfm 1.3.1 out /gnu/store/py1hqfyakr0lbvx3pmb1rg7sw4mj7qhy-pcmanfm-1.3.1
font-adobe-source-han-sans 1.004 out 
/gnu/store/apz865h0m3935p1x3dfy9vzyrkxamrpb-font-adobe-source-han-sans-1.004
gpicview 0.2.5 out /gnu/store/iqw70xn236jh949inqmrb14kvwzg25ah-gpicview-0.2.5


Re: Which usb wi-fi adapter from those to choose?

2020-03-21 Thread znavko
Thank you, Efraimm Flashner, thank you very much!!
This Wi-Fi USB adapter works on OS Guix!

"WTXUP for Atheros AR9271 150Mbps 802.11n Wireless WiFi USB Adapter Wi Fi 
Dongle internal Antenna Soft AP for Windows7/8/10/Linux"

I have bought this one too. And Guix works with it this way:


step 1. get info about new hardware

# ifconfig -a
enp3s0 Link encap:Ethernet HWaddr ee:tt:ee:tt:ee:tt
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 TX bytes:0

lo Link encap:Local Loopback
inet addr:127.0.0.1 Bcast:0.0.0.0 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 TX bytes:0

wlp0s29u1u2Link encap:Ethernet HWaddr pp:ii:pp:ii:pp:ii
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 TX bytes:0

wlp2s0 Link encap:Ethernet HWaddr xx:pp:xx:pp:pp
inet addr:192.168.1.70 Bcast:192.168.1.255 Mask:255.255.255.0
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:157 errors:0 dropped:0 overruns:0 frame:0
TX packets:19 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:49195 TX bytes:2254

# rfkill list all
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
1: phy1: Wireless LAN
Soft blocked: no
Hard blocked: no


# lsusb
Bus 001 Device 006: ID 5986:0652 Acer, Inc
Bus 001 Device 004: ID 0cf3:9271 Qualcomm Atheros Communications AR9271 802.11n
Bus 001 Device 008: ID 0cf3:3004 Qualcomm Atheros Communications AR3012 
Bluetooth 4.0
Bus 001 Device 003: ID 248a:8367 Maxxter
Bus 001 Device 007: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card 
Reader Controller
Bus 001 Device 005: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 001 Device 002: ID 8087:07e6 Intel Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


# ip a
1: lo:  mtu 65536 qdisc noqueue state UNKNOWN group 
default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: enp3s0:  mtu 1500 qdisc pfifo_fast state 
DOWN group default qlen 1000
link/ether ee:tt:ee:tt:ee:tt brd ff:ff:ff:ff:ff:ff
3: wlp2s0:  mtu 1500 qdisc noqueue state UP 
group default qlen 1000
link/ether xx:pp:xx:pp:pp brd ff:ff:ff:ff:ff:ff
inet 192.168.1.70/24 brd 192.168.1.255 scope global wlp2s0
valid_lft forever preferred_lft forever
inet6 qq:cc:qq:cc:qq:cc/64 scope link
valid_lft forever preferred_lft forever
4: wlp0s29u1u2:  mtu 1500 qdisc mq state 
DOWN group default qlen 1000
link/ether xx:ii:xx:ii:xx:ii brd ff:ff:ff:ff:ff:ff




~# lspci -k
00:00.0 Host bridge: Intel Corporation Atom Processor Z36xxx/Z37xxx Series SoC 
Transaction Register (rev 0e)
Subsystem: Lenovo Device 3905
Kernel driver in use: iosf_mbi_pci
00:02.0 VGA compatible controller: Intel Corporation Atom Processor 
Z36xxx/Z37xxx Series Graphics & Display (rev 0e)
Subsystem: Lenovo Device 3905
Kernel driver in use: i915
Kernel modules: i915
00:13.0 SATA controller: Intel Corporation Atom Processor E3800 Series SATA 
AHCI Controller (rev 0e)
Subsystem: Lenovo Device 3905
Kernel driver in use: ahci
Kernel modules: ahci
00:1a.0 Encryption controller: Intel Corporation Atom Processor Z36xxx/Z37xxx 
Series Trusted Execution Engine (rev 0e)
Subsystem: Lenovo Device 3905
00:1b.0 Audio device: Intel Corporation Atom Processor Z36xxx/Z37xxx Series 
High Definition Audio Controller (rev 0e)
Subsystem: Lenovo Device 3905
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
00:1c.0 PCI bridge: Intel Corporation Atom Processor E3800 Series PCI Express 
Root Port 1 (rev 0e)
Kernel driver in use: pcieport
00:1c.2 PCI bridge: Intel Corporation Atom Processor E3800 Series PCI Express 
Root Port 3 (rev 0e)
Kernel driver in use: pcieport
00:1c.3 PCI bridge: Intel Corporation Atom Processor E3800 Series PCI Express 
Root Port 4 (rev 0e)
Kernel driver in use: pcieport
00:1d.0 USB controller: Intel Corporation Atom Processor Z36xxx/Z37xxx Series 
USB EHCI (rev 0e)
Subsystem: Lenovo Device 3905
Kernel driver in use: ehci-pci
00:1f.0 ISA bridge: Intel Corporation Atom Processor Z36xxx/Z37xxx Series Power 
Control Unit (rev 0e)
Subsystem: Lenovo Device 3905
Kernel driver in use: lpc_ich
Kernel modules: lpc_ich
00:1f.3 SMBus: Intel Corporation Atom Processor E3800 Series SMBus Controller 
(rev 0e)
Subsystem: Lenovo Device 3905
Kernel driver in use: i801_smbus
Kernel modules: i2c_i801
02:00.0 Network controller: Qualcomm Atheros QCA9565 / AR9565 Wireless Network 
Adapter (rev 01)
Subsystem: Lenovo Device 4026
Kernel driver in use: ath9k
Kernel modules: ath9k
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. 

Does OS Guix works fine with Intel UHD Grapics 630?

2020-02-26 Thread znavko
Hello! I choose PC and have a question choosing processor.

Here I've found what will work with Guix, as I think:
https://www.citilink.ru/catalog/computers_and_notebooks/computers/1120107/
ACER Veriton ES2710G, Intel Core i3 6100, DDR4 8Gb, 1000Gb, Intel HD Graphics 
530, Free DOS, [dt.vqeer.080]

Intel Core i3 6100 has graphics controller - Intel HD Graphics 530
that is presented on h-node:
https://h-node.org/videocards/catalogue/en/1/1/undef/undef/undef/undef/video-card-works/undef?search_string=graphics+530=Search

So, I think this PC with core i3 6100 is suitable and will work with OS Guix.

There is another PC with core i5
https://www.citilink.ru/catalog/computers_and_notebooks/computers/1193819/
ACER Aspire XC-886, Intel Core i5 9400, DDR4 8Gb, 128Gb(SSD), Intel UHD 
Graphics 630, noOS, [dt.bdder.01p]

I'd prefer Core i5 9400, but I am not sure graphic card is suitable, cause 
h-node has only this:
https://h-node.org/videocards/catalogue/en/1/1/undef/undef/undef/undef/video-card-works/undef?search_string=graphics+630=Search

There is on h-node only Intel HD 630, but there is not Intel UHD 630.

Please, does Guix work on Core i5 9400 with Intel UHD Graphics 630 ?

znavko.


Which usb wi-fi adapter from those to choose?

2020-02-19 Thread znavko
Hello! I want to buy usb wifi-adapter for PC. I've discovered that RYF 
recommends only devices from abroad webshops, but I cannot order from there, 
cause there is no guarantee their services are good and clean (RYF certifies 
only devices but not vendors and their services, I know).

I want to buy in my city from Russian webshop. Please, let me know which device 
from those I can use under Guix:
https://www.dns-shop.ru/catalog/17a9eac716404e77/adaptery-wi-fi/

There are no Atheros.

Only Asus, DEXP, Zyxel, Intel, TP-Link, D-Link, Tenda, Xiami.

Can I run something without any additional drivers compilations, just typing 
'ifconfig wlp2s0 up && wpa_supplicant -B -i wlp2s0 -c w.conf && dhclient -v 
wlp2s0' ???


Re: Watching HTML5 video on GNU Guix?

2019-12-26 Thread znavko
ffmpeg was installed:

$ guix install ffmpeg
The following package will be upgraded:
   ffmpeg   4.2.1 → 4.2.1   
/gnu/store/rc3j2svk1jcviig5qk9q49k5z2giwc6r-ffmpeg-4.2.1

substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
The following derivation will be built:
   /gnu/store/q77mx4rwzp2f9dlfcwyfrq2jr6iqd189-profile.drv
The following profile hooks will be built:
   /gnu/store/6vy42kw25p39ns5nc59ah5h5ybqv2bxh-manual-database.drv
   /gnu/store/86586pml7sbkpr0q99ks8qybqrjz8y90-ca-certificate-bundle.drv
   /gnu/store/9g63hzqwyxhngi3w54qak81zy34smwak-gtk-im-modules.drv
   /gnu/store/bdk8kd8riawgy8xxxiw892g40669g1a2-xdg-desktop-database.drv
   /gnu/store/djqd46r7kyby9rf039sgxbw1sry3wpl5-info-dir.drv
   /gnu/store/fah28q0y8dxzayym4z7vixdq6yk41wkm-glib-schemas.drv
   /gnu/store/hrvmv6kzxf6qpnbl19i5b4wflb5f4j77-xdg-mime-database.drv
   /gnu/store/jzflbgzgsdjgfhhxdb92pmmn1zazjhc6-gtk-icon-themes.drv
   /gnu/store/q97kj7m0239f4n4w024ai0wymb7cf05p-fonts-dir.drv
building CA certificate bundle...
building fonts directory...
generating GLib schema cache...
creating GTK+ icon theme cache...
building cache files for GTK+ input methods...
building directory of Info manuals...
building database for manual pages...
building XDG desktop file cache...
building XDG MIME database...
building /gnu/store/q77mx4rwzp2f9dlfcwyfrq2jr6iqd189-profile.drv...
85 packages in profile



Those two video are working (cause youtube had converted them, I think).

On the other videos that are not displaying and often this is live streams (I 
think, youtube did not converted them to acceptable format)
these Javascript warnings with WebGL errors appear in terminal:

https://www.youtube.com/watch?v=9K26GI4C3uY

$ icecat
JavaScript error: resource:///modules/sessionstore/SessionStore.jsm, line 1325: 
uncaught exception: 2147746065
JavaScript warning: 
https://mail.disroot.org/rainloop/v/1.12.1/static/js/min/openpgp.min.js, line 
0: Successfully compiled asm.js code (total compilation time 94ms)
JavaScript warning: 
https://mail.disroot.org/rainloop/v/1.12.1/static/js/min/openpgp.min.js, line 
0: Successfully compiled asm.js code (total compilation time 7ms)
JavaScript warning: 
https://mail.disroot.org/rainloop/v/1.12.1/static/js/min/openpgp.min.js, line 
0: Successfully compiled asm.js code (total compilation time 2ms)
console.warn: LoginRecipes: "getRecipes: falling back to a synchronous message 
for:" "https://www.youtube.com;
JavaScript warning: 
https://www.youtube.com/yts/jsbin/player_ias-vfl22ubNH/ru_RU/base.js, line 
5359: Error: WebGL warning: getContext: Disallowing antialiased backbuffers due 
to blacklisting.
JavaScript warning: 
https://www.youtube.com/yts/jsbin/player_ias-vfl22ubNH/ru_RU/base.js, line 
5359: Error: WebGL warning: : Failed to create WebGL context: 
WebGL is currently disabled.
JavaScript warning: 
https://www.youtube.com/yts/jsbin/player_ias-vfl22ubNH/ru_RU/base.js, line 
5359: Error: WebGL warning: getContext: Disallowing antialiased backbuffers due 
to blacklisting.
JavaScript warning: 
https://www.youtube.com/yts/jsbin/player_ias-vfl22ubNH/ru_RU/base.js, line 
5359: Error: WebGL warning: : Failed to create WebGL context: 
WebGL is currently disabled.
JavaScript warning: 
https://www.youtube.com/yts/jsbin/player_ias-vfl22ubNH/ru_RU/base.js, line 
5359: Error: WebGL warning: getContext: Disallowing antialiased backbuffers due 
to blacklisting.
JavaScript warning: 
https://www.youtube.com/yts/jsbin/player_ias-vfl22ubNH/ru_RU/base.js, line 
5359: Error: WebGL warning: : Failed to create WebGL context: 
WebGL is currently disabled.


Icecat console displays:
Error: WebGL warning: getContext: Disallowing antialiased backbuffers due to 
blacklisting. base.js:5359:276
Error: WebGL warning: : Failed to create WebGL context: WebGL is 
currently disabled. base.js:5359:276
Blocked https://www.youtube.com/watch?v=9K26GI4C3uY from extracting canvas data 
because no user input was detected. base.js:2900:157

and many ties this:
Request to access cookie or storage on 
“https://i.ytimg.com/vi/sfw1IB58HYA/hqdefault.jpg?sqp=-oaymwE…qpAwsIARUAAIhCGAFwAQ===AOn4CLDPtI4kQ5jl0Nq6M8f7wUF2sjlv6g”
 was blocked because we are blocking all third-party storage access requests 
and content blocking is enabled.


Also coub.com does not show any video (but only preview and loading gif). And 
terminal says:

JavaScript error: , line 0: AbortError: The fetching process for the media 
resource was aborted by the user agent at the user's request.
JavaScript warning: 
https://coubsecureassets-a.akamaihd.net/assets/site-b958a1e64d3db9f33ba277dc34d32a3d334e338bb81cf62fbc7f469c80a20fb6.js,
 line 39617: Error: This error message will be blank when 
privacy.resistFingerprinting = true.  If it is really necessary, please add it 
to the whitelist in MediaError::GetMessage: Failed to init decoder
JavaScript warning: 
https://coubsecureassets-a.akamaihd.net/assets/site-b958a1e64d3db9f33ba277dc34d32a3d334e338bb81cf62fbc7f469c80a20fb6.js,

Watching HTML5 video on GNU Guix?

2019-12-26 Thread znavko
Hello! I've updated my system having now working Xfce4, this bug was fixed: 
https://issues.guix.gnu.org/issue/37342

But now I cannot watch HTML5 videos in IceCat 68.3.0esr (64-bit), cause it does 
not support one of formats video hosting is using.
It says: "In current time your browser does not support any of available video 
formats."

All those extensions in Icecat are disabled, so LibreJS, LibrifyJS, Searxes 
blocker - are disabled.

I have a question of how to use this part of the internet and work on GNU Guix 
simultaneously.


Re: Why 'iw dev' does not show wireless device?

2019-10-09 Thread znavko
(Double). Yes, Tobias, I've dug this finally. This wifi card is not supported 
by LinuxLibre.

Please, would you give me advice, what to choose from mass-market ( in Russia 
dns-shop.ru )
for LinuxLibre and Guix in price under 540 euro ( 40.000 Roubles ) ???

I found this https://certification.ubuntu.com/desktop
But not sure it will exactly work with LinuxLibre. Also h-node lack some 
contemporary models.

October 6, 2019 6:17 PM, "Tobias Geerinckx-Rice"  wrote:

> Znavko,
> 
> zna...@disroot.org 写道:
> 
>> # lspci -vvnn > wifi
>> # nano wifi
>> ...
>> Network controller: Qualcomm Atheros QCA9377 802.11ac Wireless
>> Network Adapter
>> ...
>> Kernel driver in use: ath10k_pci
>> Kernel modules: ath10k_pci
>> Please, what to do? I cannot get the name of the network device.
> 
> All ath10k devices of which I'm aware require proprietary firmware
> blobs that Guix won't ship and Linux-Libre won't load. Even
> though the kernel driver is loaded, I suspect you'll find some
> firmware-related errors in dmesg.
> 
> I'm sorry,
> 
> T G-R



Why 'iw dev' does not show wireless device?

2019-10-06 Thread znavko
Hello! I want to install the latest Guix 1.0.1 x86_84 on Acer Aspire 3 
A315-42-R1JJ, AMD Ryzen 3 3200U/AMD Radeon Vega 6.
I've deleted from grub 'modprobe.blacklist=radeon' and added 'nomodeset' cause 
I have radeon and without 'nomodeset' option boot just freezes.

But I cannot see wifi. I've unblocked it with
# rfkill list
0: acer-wireless: Wireless LAN
 Soft blocked: yes
 Hard blocked: no
...
# rfkill unblock wifi
# rfkill list
0: acer-wireless: Wireless LAN
 Soft blocked: no
 Hard blocked: no
...

But iw does not see wireless device:
# iw dev
#

# ip link
1: lo:...
2: enp3s0
#

# lspci -vvnn > wifi
# nano wifi
...
Network controller: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter
...
Kernel driver in use: ath10k_pci
Kernel modules: ath10k_pci
Please, what to do? I cannot get the name of the network device.


How to update Guix not destroying Xfce4 ?

2019-09-26 Thread znavko
Hello, Guix Help! I had issue with Xfce4, described here: 
https://lists.gnu.org/archive/html/bug-guix/2019-09/msg00070.html

Now time passed. But the same result.
After `guix pull && guix system reconfigure /etc/config.scm` I get unworkable 
Xfce4, menus do not displaying after each reboot.

I've made `guix pull --switch-generation=98 && guix system roll-back` after my 
new today's try. And this 98 generation's commit is ok.
But those commits from September 2019 are bad wrong. When use one of those 
september's commits and doing `guix system reconfigure /etc/config.scm` I get 
Xfce4 not works.

Here are my commits:

# guix describe

Generation 98 Aug 05 2019 22:59:02 (current)
 guix 7b88b71
 repository URL: https://git.savannah.gnu.org/git/guix.git
 branch: master
 commit: 7b88b7112045004479a788dda050dce940202adc

# guix pull -l > znavko-commits

Attached.

Please, I think something was changed, and my current config is wrong. Can you 
check it? Can you say what to do?


znavko-commits
Description: Binary data


znavko-config.scm
Description: Binary data


Ho to hide settings on a new tab Icecat

2019-08-03 Thread znavko
Hello! Need to set 'Search' and 'Top sites' blocks to the top of Icecat tab.
But there is 'Privacy settings' block in the top, screen: http://0x0.st/zOid.png
Please, how to hide or delete it at all?


Re: Xfce4 localization in Guix System for only one exact user

2019-08-03 Thread znavko
Yes, Julien, you are right!
Changing config file to this:

(operating-system ...
  (locale "ru_RU.utf8"))

and running as root:

# guix pull
# guix package -u
# guix system reconfigure /etc/config.scm
# guix package -u

made all my applications work on Russian: Xfce, Gimp, LibreOffice, Audacity and 
so on:

http://0x0.st/zOsk.png

But the next question is: how to make Russian environment only for defined 
user, not for all users?

You said, my DM may have it. I use Slim and did not found such configs. Also 
`guix search xfce` did not display something like xfce4-settings. And I did not 
found language settings in xfce settings manager.

My question rests unanswered.


August 2, 2019 5:14 PM, "Julien Lepiller"  wrote:

> Le 2 août 2019 18:50:23 GMT+02:00, zna...@disroot.org a écrit :
> 
>> Hello! This is from those question people want just find one or two
>> lines to paste in terminal and to get effect.
>> I did not find solution.
>> Please, how to make Xfce4 menus (right mouse click, maybe Main Menu)
>> become Russian for only one user 'mom'?
>> 
>> As I know, packages are installing using locale settings. So, I need to
>> configure my locale and reinstall Xfce4 (reconfigure system).
>> 
>> I have installed locale package as as Guix Manual says [1] with this
>> command:
>> 
>> $ guix install glibc-locales
>> I have now 'locale' command in guix (but do not know exactly if it is
>> provided with glibc-locales? and is it providing with
>> glibc-utf8-locales ?):
>> 
>> $ locale
>> LANG=en_US.utf8
>> LC_CTYPE="en_US.utf8"
>> LC_NUMERIC="en_US.utf8"
>> LC_TIME="en_US.utf8"
>> LC_COLLATE="en_US.utf8"
>> LC_MONETARY="en_US.utf8"
>> LC_MESSAGES="en_US.utf8"
>> LC_PAPER="en_US.utf8"
>> LC_NAME="en_US.utf8"
>> LC_ADDRESS="en_US.utf8"
>> LC_TELEPHONE="en_US.utf8"
>> LC_MEASUREMENT="en_US.utf8"
>> LC_IDENTIFICATION="en_US.utf8"
>> LC_ALL=
>> And I've found in the web the way to change locale that might work on
>> Guix System:
>> 
>> $ localedef -c -i ru_RU -f UTF-8 ru_RU.utf8
>> cannot create temporary file:
>> /run/current-system/locale/2.28/locale-archive.g44JbZ: Read-only file
>> system
>> 
>> But as I can see need to do this by sudo user. So it will change locale
>> for entire system. But I want localize Xfce4 for only user 'mom'.
>> Can I do it?
>> [1] http://guix.gnu.org/manual/en/guix.html#Locales-1
> 
> Not sure I can help. First, you don't need to generate a locale, it's already 
> available as
> ru_RU.UTF-8 (or similar). Your graphical session will need to be loaded with 
> that locale.
> 
> To do so, either set it globally with the locale field in your config.scm, or 
> find a way to have it
> loaded by the user. Maybe your login manager allows you to set a locale, 
> which might work, or
> configure the desktop environment to use the locale. This is not something 
> managed by guix, but
> with user preferences. Maybe you will need a separate package for that 
> (xfce4-settings or
> something).
> 
> Sorry I can't provide much more help.



Screencast recording on Guix System

2019-08-02 Thread znavko
Hello! I use Gimp for grab screen (File - Create - From screenshot).
But now I want record screencast to make video with my actions. Is there any 
package on guix for fulfill this?


Xfce4 localization in Guix System for only one exact user

2019-08-02 Thread znavko
Hello! This is from those question people want just find one or two lines to 
paste in terminal and to get effect.
I did not find solution.
Please, how to make Xfce4 menus (right mouse click, maybe Main Menu) become 
Russian for only one user 'mom'?

As I know, packages are installing using locale settings. So, I need to 
configure my locale and reinstall Xfce4 (reconfigure system).

I have installed locale package as as Guix Manual says [1] with this command:

$ guix install glibc-locales
I have now 'locale' command in guix (but do not know exactly if it is provided 
with glibc-locales? and is it providing with glibc-utf8-locales ?):

$ locale
LANG=en_US.utf8
LC_CTYPE="en_US.utf8"
LC_NUMERIC="en_US.utf8"
LC_TIME="en_US.utf8"
LC_COLLATE="en_US.utf8"
LC_MONETARY="en_US.utf8"
LC_MESSAGES="en_US.utf8"
LC_PAPER="en_US.utf8"
LC_NAME="en_US.utf8"
LC_ADDRESS="en_US.utf8"
LC_TELEPHONE="en_US.utf8"
LC_MEASUREMENT="en_US.utf8"
LC_IDENTIFICATION="en_US.utf8"
LC_ALL=
And I've found in the web the way to change locale that might work on Guix 
System:

$ localedef -c -i ru_RU -f UTF-8 ru_RU.utf8
cannot create temporary file: 
/run/current-system/locale/2.28/locale-archive.g44JbZ: Read-only file system

But as I can see need to do this by sudo user. So it will change locale for 
entire system. But I want localize Xfce4 for only user 'mom'.
Can I do it?
[1] http://guix.gnu.org/manual/en/guix.html#Locales-1


Re: Fonts and Language in Icecat

2019-08-02 Thread znavko
thank you, Tibias. I've created new vriable with this instructions: 
https://support.mozilla.org/en-US/kb/about-config-editor-firefox
and now my Icecat browser has Russian interface with that langpack you've 
advised.

August 2, 2019 5:11 AM, "Tobias Geerinckx-Rice"  wrote:

> Znavko!
> 
> zna...@disroot.org 写道:
> 
>> But Russian language pack does not make any change in my Icacat.
>> I have 'Icecat 60.6.1esr (64-bit)' and used 60.30/, 60.7.0/
>> directories from ftp gnuzilla. No one
>> langpack translates menus into Russian: http://0x0.st/zfdK.png
> 
> I tested it, it works fine, now I want to learn Russian:
> https://www.tobias.gr/ruok.png
> 
> Did you set the variable I asked you to?
> 
> С уважением,
> 
> T G-R



Re: Fonts and Language in Icecat

2019-08-02 Thread znavko
signomi. alla pos to dimiourgiso; den xero ti na wthhso.

August 2, 2019 10:37 AM, zna...@disroot.org wrote:

> There is only these variables :
> 
> http://0x0.st/zfny.png
> 
> and starting with 'intl.locale' there is only 'intl.locale.matchOS' :
> http://0x0.st/zfnt.png
> 
> But I like your patience.
> 
> August 2, 2019 5:11 AM, "Tobias Geerinckx-Rice"  wrote:
> 
>> Znavko!
>> 
>> zna...@disroot.org 写道:
>> 
>>> But Russian language pack does not make any change in my Icacat.
>>> I have 'Icecat 60.6.1esr (64-bit)' and used 60.30/, 60.7.0/
>>> directories from ftp gnuzilla. No one
>>> langpack translates menus into Russian: http://0x0.st/zfdK.png
>> 
>> I tested it, it works fine, now I want to learn Russian:
>> https://www.tobias.gr/ruok.png
>> 
>> Did you set the variable I asked you to?
>> 
>> С уважением,
>> 
>> T G-R



Re: Fonts and Language in Icecat

2019-08-02 Thread znavko
There is only these variables :

http://0x0.st/zfny.png

and starting with 'intl.locale' there is only 'intl.locale.matchOS' :
http://0x0.st/zfnt.png

But I like your patience.


August 2, 2019 5:11 AM, "Tobias Geerinckx-Rice"  wrote:

> Znavko!
> 
> zna...@disroot.org 写道:
> 
>> But Russian language pack does not make any change in my Icacat.
>> I have 'Icecat 60.6.1esr (64-bit)' and used 60.30/, 60.7.0/
>> directories from ftp gnuzilla. No one
>> langpack translates menus into Russian: http://0x0.st/zfdK.png
> 
> I tested it, it works fine, now I want to learn Russian:
> https://www.tobias.gr/ruok.png
> 
> Did you set the variable I asked you to?
> 
> С уважением,
> 
> T G-R



Re: Fonts and Language in Icecat

2019-08-01 Thread znavko
Thank you, Tobias!
I've changed to these fonts configurations and it is working: 0x0.st/zf0M.png

But Russian language pack does not make any change in my Icacat.
I have 'Icecat 60.6.1esr (64-bit)' and used 60.3.0/, 60.7.0/ directories from 
ftp gnuzilla. No one
langpack translates menus into Russian: http://0x0.st/zfdK.png


August 1, 2019 6:20 PM, "Tobias Geerinckx-Rice"  wrote:

> Znavko,
> 
> zna...@disroot.org 写道:
> 
>> I have copied fonts to mom account and its content is this:
>> $ ls /home/mom/.fonts/
> 
> The XDG ‘.local/fonts’ directory is preferred by upstream and
> probably more future-proof, although .fonts might still work.
> 
> Have you run ‘fc-cache -rv’ and restarted IceCat after
> installing fonts?
> 
> If /var/cache/fontconfig exists, delete it first[0].
> 
>> And also how to make Icecat menus are Russian?
> 
> You can download ‘language packs’ at
> 
> https://ftp.gnu.org/gnu/gnuzilla/60.7.0/langpacks
> 
> then set ‘intl.locale.requested’ to ‘ru_RU’ in about:config
> (you may need to create this key).
> 
> Kind regards,
> 
> T G-R
> 
> [0]: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=36862



Fonts and Language in Icecat

2019-08-01 Thread znavko
Hello! I have some troubles in the second user account 'mom' in Guix System in 
Icecat browser.
It has ugly fonts for guix manual code. Here it is screen:
http://0x0.st/zf0K.png

My languages and fonts configs in Icecat are these: http://0x0.st/zf0N.png

I have copied fonts to mom account and its content is this:
$ ls /home/mom/.fonts/
'a_AvanteLt Light.ttf' 'Minion Pro Bold.ttf'
'Academy Old Regular.ttf' 'Myriad Pro Light Italic.ttf'
'Academy Regular.ttf' 'Myriad Pro Light Regular.ttf'
'a_FuturaRound Bold.ttf' pehlevi.ttf
'AvantGarde Regular.ttf' 'PF Monumenta Pro Regular.ttf'
'Century Gothic Regular.ttf' 'Pragmatica Bold.ttf'
'Century Schoolbook Regular.ttf' 'Pragmatica Cyrillic.ttf'
'FreeSet Regular.ttf' 'Pravda Regular.ttf'
'Izhitsa Regular.ttf' 'Tracia Regular.ttf'
'Lazurski Regular.ttf' 'Verdana Regular.ttf'
How to do that code displays well?

And also how to make Icecat menus are Russian?


Re: GuixSD doesn't boot on UEFI

2019-07-28 Thread znavko
Yeah, this happens. I thank occasion I can use Guix on my Lenovo G50-30!
I plan to buy new notebook and hope Guix will play there normally. If not, I 
will use Trisquel. I like Guix and Trisquel, for they use free software.

July 28, 2019 1:04 PM, luka...@tutanota.com wrote:

> Sorry, I am annoyed by Guix now... I rather use Nix
> 
> Jul 28, 2019, 1:13 PM by pelzflor...@pelzflorian.de:
> 
>> On Sat, Jul 27, 2019 at 12:31:55PM +0200, luka...@tutanota.com wrote:
>> 
>>> I have a Trekstor Surfbook A13B running Parabola (so other 
>>> installers/distros work fine)
>>> Installer works on other PCs, so the installer is not corrupt.
>> 
>> 1.0.1 still freezes old Macbooks; the patch fixing this behavior was
>> commited after 1.0.1. Does the ci.guix.gnu.org have a more recent
>> post-1.0.1 installer image to try?
>> 
>> Regards,
>> Florian



Re: GuixSD doesn't boot on UEFI

2019-07-26 Thread znavko
I had black screen when Guix Installer loaded (it is really buggy), I just 
switched to another tty.
Do you see boot messages or what is going after you choose usb as boot device?
Can you press Alt + f5 to open another tty?

July 26, 2019 3:38 PM, luka...@tutanota.com wrote:

> Hello everyone,
> GuixSD Installer freezes my UEFI-only PC, image was successfully verified 
> over gpg.
> Please help.
> 
> Lukas Friedrich



Re: switch off cpu fan on lenovo g50-30

2019-07-04 Thread znavko
yes. I ran, but thinkfan cannot use module:

# modprobe thinkpad_acpi fan_control=1
# 
# thinkfan

ERROR: SensorDriver: Initializing fan control in /proc/acpi/ibm/thermal: No 
such file or directory


Say me how to type thinkpad.conf to use thinkpad_acpi module?

# modinfo thinkpad_acpi
filename:   
/run/booted-system/kernel/lib/modules/5.1.15-gnu/kernel/drivers/platform/x86/thinkpad_acpi.ko
license:GPL
version:0.26
description:ThinkPad ACPI Extras
author: Henrique de Moraes Holschuh 
author: Borislav Deianov 
alias:  dmi:bvnIBM:bvrI[MU]ET??WW*
alias:  tpacpi
srcversion: 0CECBC9452E671846F915F0
alias:  acpi*:LEN0268:*
alias:  acpi*:LEN0068:*
alias:  acpi*:IBM0068:*
depends:snd,video,ledtrig-audio,nvram
retpoline:  Y
intree: Y
name:   thinkpad_acpi
vermagic:   5.1.15-gnu SMP mod_unload modversions 



should I somehow define this modules file in thinkfan.conf?


July 4, 2019 8:28 PM, "pelzflorian (Florian Pelz)"  
wrote:

> On Thu, Jul 04, 2019 at 08:13:44PM +, zna...@disroot.org wrote:
> 
>> As there [1] said have no fan control module:
> 
> I assume you did try the modprobe command from the message:
> 
> https://lists.gnu.org/archive/html/guix-devel/2016-04/msg01231.html
> 
> Regards,
> Florian



Re: switch off cpu fan on lenovo g50-30

2019-07-04 Thread znavko
As there [1] said  have no fan control module:

 pwm_fan sysfs-path

Control a sysfs PWM fan. Many hwmon drivers that provide a `temp*_input' 
file also allow fan control, although there may also be drivers that are 
specific to either temperature reading or fan control. You can search for a PWM 
control file e.g. with `find /sys -type f -name "pwm?"'. Note that with PWM, 
fan levels usually range from 0 to 255, although besides a file like `pwm1' 
there may also be `pwm1_min' and `pwm1_max' that specify different (soft or 
recommended?) limits for a particular fan.


# find /sys -type f -name "pwm?"
#
# find /sys -type f -name "pwm*"
# 

Have you on your linux-libre?

[1] https://www.mankier.com/5/thinkfan.conf

July 4, 2019 5:24 PM, "Efraim Flashner"  wrote:

> I often turn to Debian when I have a problem like this one. In the
> source (I assume in ours and not just in theirs) There's an example
> folder with two example configs¹ so I'd suggest checking them out and
> seeing if they look right.
> 
> ¹https://sources.debian.org/src/thinkfan/0.9.3-2/examples
> 
> -- 
> Efraim Flashner  אפרים פלשנר
> GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
> Confidentiality cannot be guaranteed on emails sent or received unencrypted



Re: switch off cpu fan on lenovo g50-30

2019-07-04 Thread znavko
With thinkfan.conf.simple having this:

# thinkfan

ERROR: TpFanDriver: Initializing fan control in /proc/acpi/ibm/fan: No such 
file or directory


With  thinkfan.conf.complex this:

# thinkfan

ERROR: SensorDriver: Initializing fan control in /proc/acpi/ibm/thermal: No 
such file or directory


Linux-libre has no fan control module for lenovo g50-30. How to get it?


July 4, 2019 5:24 PM, "Efraim Flashner"  wrote:

> I often turn to Debian when I have a problem like this one. In the
> source (I assume in ours and not just in theirs) There's an example
> folder with two example configs¹ so I'd suggest checking them out and
> seeing if they look right.
> 
> ¹https://sources.debian.org/src/thinkfan/0.9.3-2/examples
> 
> -- 
> Efraim Flashner  אפרים פלשנר
> GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
> Confidentiality cannot be guaranteed on emails sent or received unencrypted



Re: guix pull behind proxy not working

2019-07-04 Thread znavko
If you want any idea, I use freevpn.me and vpnbook.com accounts with 'openvpn' 
package. All guix commands download normally. And in terminal I have vpn ip 
(for freevpn.me):

$ curl ifconfig.io
51.15.151.165

But really I am not sure which is my ip when guix downloads.


July 4, 2019 12:53 PM, mar...@famic.de wrote:

> Hi there!
> 
> This is my first contact with Guix System and I managed to install it as
> Virtualbox guest system behind a corporate proxy. Well, this was already
> quite a challenge and succeeded only due the workaround
> (https://guix-devel.gnu.narkive.com/k3oBoFqW/changing-http-proxy-settings-in-guixsd),
> but now `guix install` works, I can install new packages (given a
> warning about never calling `guix pull`). However, calling `guix pull`
> and `guix system reconfigure` still fails due to unreachable network.
> Does it need different proxy settings? What can I do?
> 
> Here is the guix-configuration part of my /etc/config.scm (omitting my
> proxy address details):
> 
> (define %my-services
> (modify-services %desktop-services
> (guix-service-type config =>
> (guix-configuration
> (inherit config)
> (http-proxy "http://:")
> 
> Thanks for any ideas,
> Martin



Re: switch off cpu fan on lenovo g50-30

2019-07-04 Thread znavko
I see this now:

# pwmconfig
# pwmconfig revision $Revision$ ($Date$)
This program will search your sensors for pulse width modulation (pwm)
controls, and test each one to see if it controls a fan on
your motherboard. Note that many motherboards do not have pwm
circuitry installed, even if your sensor chip supports pwm.

We will attempt to briefly stop each fan using the pwm controls.
The program will attempt to restore each fan to full speed
after testing. However, it is ** very important ** that you
physically verify that the fans have been to full speed
after the program has completed.

/root/.guix-profile/sbin/pwmconfig: There are no pwm-capable sensor modules 
installed



# fancontrol
Loading configuration from /etc/fancontrol ...
Error: Can't read configuration file



July 4, 2019 7:29 AM, "Efraim Flashner"  wrote:

> On Thu, Jul 04, 2019 at 06:42:40AM +, zna...@disroot.org wrote:
> 
>> Hello! Sometimes I need my laptop Lenovo G50-30 is silent, need to switch 
>> off CPU fan.
>> Basically this laptop had no cpu fan but only passive cooling system. I had 
>> inserted cpu fan by my
>> hands and there were fan power joint on the motherboard. This is nice. I 
>> hope Guix Linux-Libre has
>> necessary fan control driver for my laptop.
>> 
>> There is package 'thinkfan' in Guix repository. Would you advice me how to 
>> config it and is it
>> possible to switch off fan?
>> 
>> # thinkfan
>> 
>> ERROR: /etc/thinkfan.conf: No such file or directory
> 
> efraim@macbook41 ~/workspace/guix$
> /./gnu/store/c8pmmbpx3q881baivkrcmi01lrj4si4j-thinkfan-1.0.2/sbin/thinkfan 
> --help
> ERROR: Invalid command line: Unknown option: --
> Usage: thinkfan [-hnqzD [-b BIAS] [-c CONFIG] [-s SECONDS] [-p [SECONDS]]]
> -h This help message
> -s Maximum cycle time in seconds (Integer. Default: 5)
> -b Floating point number (-10 to 30) to control rising temperature
> exaggeration (see README). Default: 5.0
> -c Load different configuration file (default: /etc/thinkfan.conf)
> -q Be more quiet. Can be specified up to three times so that only errors
> are logged.
> -v Enable verbose logging (e.g. log temperatures continuously).
> -p Use the pulsing-fan workaround (for worn out fans). Takes an optional
> floating-point argument (0 ~ 10s) as depulsing duration. Default 0.5s.
> -d Don't read S.M.A.R.T. temperature from sleeping disks
> -D DANGEROUS mode: Disable all sanity checks. May result in undefined
> behaviour!
> 
> Unless you want to write a system service for it, I'd figure out where
> there's a thinkfan.conf file (we don't seem to have it installed with
> the package) and run 'sudo -E thinkfan -c /path/to/thinkfan.conf'
> 
> --
> Efraim Flashner  אפרים פלשנר
> GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
> Confidentiality cannot be guaranteed on emails sent or received unencrypted



Re: switch off cpu fan on lenovo g50-30

2019-07-04 Thread znavko
Hello, Efraim Flashner! I want your support cause my question is not figuring 
out from the web.
For typing my config for 'thinkfan' need to write thinkfan.conf, and there, I 
think, it is necessary to define temperature control kernel module. 
After running `sensors-detect` (from 'lmsensors' package) this config file 
appeared:

# cat /etc/sysconfig/lm_sensors
# Generated by sensors-detect on Thu Jul  4 12:53:51 2019
# This file is sourced by /etc/init.d/lm_sensors and defines the modules to
# be loaded/unloaded.
#
# The format of this file is a shell script that simply defines variables:
# HWMON_MODULES for hardware monitoring driver modules, and optionally
# BUS_MODULES for any required bus driver module (for example for I2C or SPI).

HWMON_MODULES="coretemp"


As I understood 'coretemp' is that module I can use in thinkfan.conf.  I see 
`sensors` is using coretemp-isa-


# sensors
soc_dts0-virtual-0
Adapter: Virtual device
temp1:+42.0°C  

acpitz-acpi-0
Adapter: ACPI interface
temp1:+60.0°C  (crit = +90.0°C)

soc_dts1-virtual-0
Adapter: Virtual device
temp1:+42.0°C  

coretemp-isa-
Adapter: ISA adapter
Core 0:   +46.0°C  (high = +105.0°C, crit = +105.0°C)
Core 1:   +46.0°C  (high = +105.0°C, crit = +105.0°C)
Core 2:   +52.0°C  (high = +105.0°C, crit = +105.0°C)
Core 3:   +52.0°C  (high = +105.0°C, crit = +105.0°C)


Ok. But I need to use 'coretemp' file from /proc as in example here [1]. But I 
do not know where is it:

# find /proc -name 'corete*'
# 


Please, can you help me?


[1] https://www.mankier.com/5/thinkfan.conf



July 4, 2019 7:29 AM, "Efraim Flashner"  wrote:

> On Thu, Jul 04, 2019 at 06:42:40AM +, zna...@disroot.org wrote:
> 
>> Hello! Sometimes I need my laptop Lenovo G50-30 is silent, need to switch 
>> off CPU fan.
>> Basically this laptop had no cpu fan but only passive cooling system. I had 
>> inserted cpu fan by my
>> hands and there were fan power joint on the motherboard. This is nice. I 
>> hope Guix Linux-Libre has
>> necessary fan control driver for my laptop.
>> 
>> There is package 'thinkfan' in Guix repository. Would you advice me how to 
>> config it and is it
>> possible to switch off fan?
>> 
>> # thinkfan
>> 
>> ERROR: /etc/thinkfan.conf: No such file or directory
> 
> efraim@macbook41 ~/workspace/guix$
> /./gnu/store/c8pmmbpx3q881baivkrcmi01lrj4si4j-thinkfan-1.0.2/sbin/thinkfan 
> --help
> ERROR: Invalid command line: Unknown option: --
> Usage: thinkfan [-hnqzD [-b BIAS] [-c CONFIG] [-s SECONDS] [-p [SECONDS]]]
> -h This help message
> -s Maximum cycle time in seconds (Integer. Default: 5)
> -b Floating point number (-10 to 30) to control rising temperature
> exaggeration (see README). Default: 5.0
> -c Load different configuration file (default: /etc/thinkfan.conf)
> -q Be more quiet. Can be specified up to three times so that only errors
> are logged.
> -v Enable verbose logging (e.g. log temperatures continuously).
> -p Use the pulsing-fan workaround (for worn out fans). Takes an optional
> floating-point argument (0 ~ 10s) as depulsing duration. Default 0.5s.
> -d Don't read S.M.A.R.T. temperature from sleeping disks
> -D DANGEROUS mode: Disable all sanity checks. May result in undefined
> behaviour!
> 
> Unless you want to write a system service for it, I'd figure out where
> there's a thinkfan.conf file (we don't seem to have it installed with
> the package) and run 'sudo -E thinkfan -c /path/to/thinkfan.conf'
> 
> --
> Efraim Flashner  אפרים פלשנר
> GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
> Confidentiality cannot be guaranteed on emails sent or received unencrypted



switch off cpu fan on lenovo g50-30

2019-07-04 Thread znavko
Hello! Sometimes I need my laptop Lenovo G50-30 is silent, need to switch off 
CPU fan.
Basically this laptop had no cpu fan but only passive cooling system. I had 
inserted cpu fan by my hands and there were fan power joint on the motherboard. 
This is nice. I hope Guix Linux-Libre has necessary fan control driver for my 
laptop.

There is package 'thinkfan' in Guix repository. Would you advice me how to 
config it and is it possible to switch off fan?

# thinkfan

ERROR: /etc/thinkfan.conf: No such file or directory
# lsmod
Module Size Used by
mmc_block 49152 0
fuse 114688 2
ccm 20480 9
joydev 24576 0
intel_rapl 24576 0
intel_soc_dts_thermal 20480 0
intel_soc_dts_iosf 20480 1 intel_soc_dts_thermal
intel_powerclamp 20480 0
coretemp 20480 0
kvm 647168 0
irqbypass 16384 1 kvm
punit_atom_debug 16384 0
cmdlinepart 16384 0
snd_hda_codec_hdmi 57344 1
snd_hda_codec_conexant 24576 1
snd_hda_codec_generic 77824 1 snd_hda_codec_conexant
ledtrig_audio 16384 2 snd_hda_codec_generic,snd_hda_codec_conexant
rtsx_usb_ms 24576 0
intel_spi_platform 16384 0
intel_spi 24576 1 intel_spi_platform
rtsx_usb_sdmmc 32768 0
crct10dif_pclmul 16384 1
spi_nor 45056 1 intel_spi
memstick 20480 1 rtsx_usb_ms
mtd 65536 3 cmdlinepart,intel_spi
iTCO_wdt 16384 0
iTCO_vendor_support 16384 1 iTCO_wdt
arc4 16384 2
crc32_pclmul 16384 0
uvcvideo 98304 0
videobuf2_vmalloc 20480 1 uvcvideo
videobuf2_memops 20480 1 videobuf2_vmalloc
videobuf2_v4l2 24576 1 uvcvideo
ath9k 155648 0
videobuf2_common 45056 2 videobuf2_v4l2,uvcvideo
rtsx_usb 24576 2 rtsx_usb_sdmmc,rtsx_usb_ms
ath9k_common 24576 1 ath9k
videodev 204800 3 videobuf2_v4l2,uvcvideo,videobuf2_common
media 53248 4 videodev,videobuf2_v4l2,uvcvideo,videobuf2_common
ath9k_hw 479232 2 ath9k_common,ath9k
usbmouse 16384 0
ath3k 24576 0
usbkbd 16384 0
hci_uart 122880 0
btusb 49152 0
ghash_clmulni_intel 16384 0
btqca 20480 1 hci_uart
ath 32768 3 ath9k_common,ath9k,ath9k_hw
btrtl 20480 2 hci_uart,btusb
btbcm 16384 2 hci_uart,btusb
btintel 24576 2 hci_uart,btusb
cryptd 24576 1 ghash_clmulni_intel
mac80211 843776 1 ath9k
bluetooth 577536 7 btrtl,btqca,btintel,hci_uart,btbcm,ath3k,btusb
i915 1540096 6
r8169 81920 0
cec 45056 1 i915
input_leds 16384 0
drm_kms_helper 172032 1 i915
psmouse 151552 0
snd_hda_intel 45056 3
cfg80211 704512 4 ath9k_common,ath9k,ath,mac80211
realtek 20480 1
i2c_i801 32768 0
serio_raw 20480 0
lpc_ich 24576 0
drm 421888 7 drm_kms_helper,i915
snd_hda_codec 135168 4 
snd_hda_codec_generic,snd_hda_codec_conexant,snd_hda_codec_hdmi,snd_hda_intel
i2c_algo_bit 16384 1 i915
fb_sys_fops 16384 1 drm_kms_helper
snd_hda_core 90112 5 
snd_hda_codec_generic,snd_hda_codec_conexant,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
syscopyarea 16384 1 drm_kms_helper
sysfillrect 16384 1 drm_kms_helper
snd_hwdep 20480 1 snd_hda_codec
sysimgblt 16384 1 drm_kms_helper
snd_pcm 110592 4 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_core
snd_timer 40960 1 snd_pcm
video 45056 1 i915
snd 86016 14 
snd_hda_codec_generic,snd_hda_codec_conexant,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_timer,snd_pcm
ecdh_generic 28672 1 bluetooth
pwm_lpss_platform 16384 0
soundcore 16384 1 snd
pwm_lpss 16384 1 pwm_lpss_platform
i2c_hid 28672 0
mac_hid 16384 0
rfkill_gpio 16384 0
virtio_rng 16384 0
virtio_console 32768 0
virtio_net 57344 0
virtio_blk 20480 0
virtio_balloon 24576 0
virtio_pci 24576 0
virtio 16384 6 
virtio_rng,virtio_console,virtio_balloon,virtio_pci,virtio_blk,virtio_net
virtio_ring 32768 6 
virtio_rng,virtio_console,virtio_balloon,virtio_pci,virtio_blk,virtio_net
isci 143360 0
libsas 81920 1 isci
scsi_transport_sas 40960 2 isci,libsas
pata_atiixp 16384 0
pata_acpi 16384 0
nls_iso8859_1 16384 0
wp512 36864 0
serpent_generic 32768 0
xts 16384 0
dm_crypt 40960 0
hid_apple 16384 0
hid_generic 16384 0
usbhid 53248 0
hid 131072 4 i2c_hid,usbhid,hid_apple,hid_generic
uas 24576 0
usb_storage 69632 1 uas
ahci 40960 2
libahci 32768 1 ahci


Why reproducibility is breaking by metadata?

2019-07-02 Thread znavko
Hello, Guix Help! I am translating Guix manual and found that the author is 
entirely given to reproducibility. It leads to such phrases that metadata 
breaks reproducibility when he describes '--save-provenance' flag of 'guix 
pack' command here:

'This option is not enabled by default because, like timestamps, provenance 
information contributes nothing to the build process. In other words, there is 
an infinity of channel URLs and commit IDs that can lead to the same pack. 
Recording such “silent” metadata in the output thus potentially breaks the 
source-to-binary bitwise reproducibility property. '

I did not expected such a categorical statement. I think, it does not actually 
break reproducibility but only complicates checks. If we have to talk about 
reproducibility to ignoramus, saying 'this option breaks reproducibility 
option' have to have remark 'simply put' or 'plainly'.


Slim auto-login disallow me to login with another user

2019-06-28 Thread znavko
Hello, Guix! I have configured Slim to do autologin with user 'mom'. I use 
xfce4+slim. So it works.
But I have expected it is possible to logout from 'mom' and login with 'bob'.
But not! After pressing in Xfce4 'Logout' it does logout but thereafter login 
again with mom.
Please, is it possible to do something?
I tried to use another tty to kill slim, xorg services but I do not know 
exactly which process to kill and what to run to start session.

My config's lines:
 (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))
 (services (cons*
 (service xfce-desktop-service-type)
 (service dhcp-client-service-type)
 (service slim-service-type
 (slim-configuration
 ;;(auto-login? #t)
 ;;(default-user "mom")
 (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

 ;; 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"))


Re: Consider the package expr evaluates to.

2019-06-24 Thread znavko
'Expression is evaluated'??
Maybe better is 'the package that matches expression'?

'Consider' - here it means 'to use'. But dictionary meaning of 'consider' is 
'think about', 'regard' [1], so this is hard for understanding.

Guix Manual, in general, has simple language, good understanding, but sometimes 
its author cracks reader's mind.

Hope it will be rewritten and some sensual things (such as partitioning and 
typing Bios Grub config) will be added.

[1] https://www.lexico.com/en/definition/consider

June 24, 2019 3:50 PM, "Andreas Enge"  wrote:

> On Sun, Jun 23, 2019 at 06:27:26PM +, zna...@disroot.org wrote:
> 
>> I cannot understand this string from manual:
>> "Consider the package expr evaluates to."
> 
> This is an English shortcut for the following:
> "Consider the package to which expr evaluates."
> 
> So when expr is evaluated, it becomes a package; consider this package.
> 
> Actually I wonder whether it should not be in passive voice?
> "Consider the package to which expr is evaluated?". Native speaker needed!
> 
> Andreas



translating word 'see' that is adding with pxref{}

2019-06-23 Thread znavko
Hello! I saw Russian manual has word 'see' everywhere with pxref{} strings.
In Russian this is 'см.', that is short version of 'смотреть', and is using in 
texts.

Where can I put my msgstr 'см.' for pxrefs? Should I translate gettext 
interface?


Consider the package expr evaluates to.

2019-06-23 Thread znavko
I cannot understand this string from manual:
"Consider the package expr evaluates to."

I cannot translate it using dictionary. Please, could you rephrase it for me?

There the link to `guix build --expression` make some sense: "-e expr 

Build the package or derivation expr evaluates to. "

As I understand: To build the package or derivation that responds to expression 
(or that contains expression). Am I right?

But that first line I definitely can't understand.


Re: How to configure Xorg to use [proprietary] Sis 771 driver on Guix?

2019-06-18 Thread znavko
sorry, that previous email contained xorg.log from another laptop.

this is from my asus k50c with sis771/671:


$ cat /var/log/Xorg.0.log
[25.713] 
X.Org X Server 1.20.5
X Protocol Version 11, Revision 0
[25.714] Build Operating System: GNU GuixSD
[25.714] Current Operating System: Linux antelope 5.1.10-gnu #1 SMP 1 x86_64
[25.714] Kernel command line: 
BOOT_IMAGE=/gnu/store/xavyip9kqsms2dd0v0xwpgid1s493fx9-linux-libre-5.1.10/bzImage
 --root=/dev/sda2 --system=/gnu/store/grn3j37fmlf60cdv90n2w9w11lamf441-system 
--load=/gnu/store/grn3j37fmlf60cdv90n2w9w11lamf441-system/boot 
modprobe.blacklist=pcspkr,snd_pcsp,bluetooth
[25.714] Build Date: 01 January 1970  12:00:01AM
[25.715]  
[25.715] Current version of pixman: 0.36.0
[25.715]Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[25.715] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[25.716] (==) Log file: "/var/log/Xorg.0.log", Time: Tue Jun 18 17:20:13 
2019
[25.757] (++) Using config file: 
"/gnu/store/gvkn9ywia7qh4z0fhqziwydv0gnpqrmi-xserver.conf"
[25.757] (++) Using config directory: 
"/gnu/store/rh8hkpf4pnkcqfbiqh81ngmiwmbh0x9n-xorg.conf.d"
[25.757] (==) Using system config directory 
"/gnu/store/2wbh7pp0sk7waq5rb666wz9z5ypr8qck-xorg-server-1.20.5/share/X11/xorg.conf.d"
[25.761] (==) No Layout section.  Using the first Screen section.
[25.761] (==) No screen section available. Using defaults.
[25.761] (**) |-->Screen "Default Screen Section" (0)
[25.761] (**) |   |-->Monitor ""
[25.762] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[25.762] (**) Option "AllowMouseOpenFail" "on"
[25.762] (==) Automatically adding devices
[25.763] (==) Automatically enabling devices
[25.763] (==) Automatically adding GPU devices
[25.763] (==) Max clients allowed: 256, resource mask: 0x1f
[25.787] (**) FontPath set to:

/gnu/store/cn966w06mgzsbprs5cdzmv3ll8if3gr5-font-alias-1.0.3/share/fonts/X11/75dpi,

/gnu/store/cn966w06mgzsbprs5cdzmv3ll8if3gr5-font-alias-1.0.3/share/fonts/X11/100dpi,

/gnu/store/cn966w06mgzsbprs5cdzmv3ll8if3gr5-font-alias-1.0.3/share/fonts/X11/misc,

/gnu/store/cn966w06mgzsbprs5cdzmv3ll8if3gr5-font-alias-1.0.3/share/fonts/X11/cyrillic,

/gnu/store/sm8dqm4wgpac90zsv3y8li378qwc16pg-font-misc-misc-1.1.2/share/fonts/X11/misc,

/gnu/store/2wa88yyr6vlmyhqzb0js9wfvfnfw7c3f-font-adobe75dpi-1.0.3/share/fonts/X11/75dpi
[25.788] (**) ModulePath set to 
"/gnu/store/5x9bkmlrpqhl85aw8ndv6mvhj7hna9fh-xf86-video-vesa-2.4.0/lib/xorg/modules/drivers,/gnu/store/bwqk672yqa33xcij9df2jy1pgraabkin-xf86-video-fbdev-0.5.0/lib/xorg/modules/drivers,/gnu/store/jba0fsw626bbi1kw3v4knjpmhwmypkkq-xf86-video-amdgpu-19.0.1/lib/xorg/modules/drivers,/gnu/store/5v39hrqh5ask62skiynkz7gwivnzjh8w-xf86-video-ati-19.0.1/lib/xorg/modules/drivers,/gnu/store/w7nir2q57r5qxxyh2g9h68hndl3dw7xw-xf86-video-cirrus-1.5.3/lib/xorg/modules/drivers,/gnu/store/l9g2kq140sy0jr6c8g2zv60qzh11hbzd-xf86-video-intel-2.99.917-13.6afed33/lib/xorg/modules/drivers,/gnu/store/3sxb0gpx9ifigjgf6cx6lh1ddr8nhv9w-xf86-video-mach64-6.9.6/lib/xorg/modules/drivers,/gnu/store/pa3rbaidil0dw7p1dihx01kma7fcbs50-xf86-video-nouveau-1.0.16/lib/xorg/modules/drivers,/gnu/store/zl7xhp0vxzbgj3846c0lnxs6fmmnp22l-xf86-video-nv-2.1.21/lib/xorg/modules/drivers,/gnu/store/fiw1bmnzd2jnlmzjb3az7ni73m8346jk-xf86-video-sis-0.10.9/lib/xorg/modules/drivers,/gnu/store/5hrhmqlajwa07v0ia9dh7gp33nwyps33-xf86-input-libinpu
[25.788] (II) The server relies on udev to provide the list of input 
devices.
If no devices become available, reconfigure udev or disable 
AutoAddDevices.
[25.788] (II) Loader magic: 0x616d00
[25.788] (II) Module ABI versions:
[25.788]X.Org ANSI C Emulation: 0.4
[25.788]X.Org Video Driver: 24.0
[25.788]X.Org XInput driver : 24.1
[25.789]X.Org Server Extension : 10.0
[25.791] (++) using VT number 7

[25.791] (II) systemd-logind: logind integration requires -keeptty and 
-keeptty was not provided, disabling logind integration
[25.806] (--) PCI:*(1@0:0:0) 1039:6351:1043:19e2 rev 16, Mem @ 
0xd000/268435456, 0xfe9e/131072, I/O @ 0xdc00/128, BIOS @ 
0x/131072
[25.808] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or 
directory)
[25.809] (II) LoadModule: "glx"
[25.878] (II) Loading 
/gnu/store/2wbh7pp0sk7waq5rb666wz9z5ypr8qck-xorg-server-1.20.5/lib/xorg/modules/extensions/libglx.so
[25.955] (II) Module glx: vendor="X.Org Foundation"
[25.956]compiled for 1.20.5, module version = 1.0.0
[25.956]ABI class: X.Org Server Extension, version 10.0
[25.956] (==) Matched sis as autoconfigured 

Re: How to configure Xorg to use [proprietary] Sis 771 driver on Guix?

2019-06-17 Thread znavko
# cat /var/log/Xorg.0.log
[10.574] 
X.Org X Server 1.20.4
X Protocol Version 11, Revision 0
[10.583] Build Operating System: GNU GuixSD
[10.586] Current Operating System: Linux antelope 5.0.14-gnu #1 SMP 1 x86_64
[10.586] Kernel command line: 
BOOT_IMAGE=/gnu/store/v0ziysnm86c9bi8wh8pf6cckkdzqsyjf-linux-libre-5.0.14/bzImage
 --root=/dev/sda1 --system=/var/guix/profiles/system-116-link 
--load=/var/guix/profiles/system-116-link/boot 
modprobe.blacklist=pcspkr,snd_pcsp,bluetooth,ideapad_laptop
[10.596] Build Date: 01 January 1970  12:00:01AM
[10.600]  
[10.603] Current version of pixman: 0.36.0
[10.610]Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[10.610] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[10.625] (==) Log file: "/var/log/Xorg.0.log", Time: Tue Jun 18 06:41:36 
2019
[10.675] (++) Using config file: 
"/gnu/store/m4w8mr4crlxwsh1acc3255rvkr5l3xgf-xserver.conf"
[10.679] (++) Using config directory: 
"/gnu/store/2mi80p4sj8a0xxddfgyzqh647rifgiix-xorg.conf.d"
[10.682] (==) Using system config directory 
"/gnu/store/6yar7xifqhywhwz72djqrz8v88y5i3vj-xorg-server-1.20.4/share/X11/xorg.conf.d"
[10.692] (==) No Layout section.  Using the first Screen section.
[10.695] (==) No screen section available. Using defaults.
[10.699] (**) |-->Screen "Default Screen Section" (0)
[10.703] (**) |   |-->Monitor ""
[10.711] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[10.711] (**) Option "AllowMouseOpenFail" "on"
[10.714] (==) Automatically adding devices
[10.718] (==) Automatically enabling devices
[10.721] (==) Automatically adding GPU devices
[10.725] (==) Max clients allowed: 256, resource mask: 0x1f
[10.771] (**) FontPath set to:

/gnu/store/cn966w06mgzsbprs5cdzmv3ll8if3gr5-font-alias-1.0.3/share/fonts/X11/75dpi,

/gnu/store/cn966w06mgzsbprs5cdzmv3ll8if3gr5-font-alias-1.0.3/share/fonts/X11/100dpi,

/gnu/store/cn966w06mgzsbprs5cdzmv3ll8if3gr5-font-alias-1.0.3/share/fonts/X11/misc,

/gnu/store/cn966w06mgzsbprs5cdzmv3ll8if3gr5-font-alias-1.0.3/share/fonts/X11/cyrillic,

/gnu/store/sm8dqm4wgpac90zsv3y8li378qwc16pg-font-misc-misc-1.1.2/share/fonts/X11/misc,

/gnu/store/2wa88yyr6vlmyhqzb0js9wfvfnfw7c3f-font-adobe75dpi-1.0.3/share/fonts/X11/75dpi
[10.796] (**) ModulePath set to 
"/gnu/store/w2xryn7vr8vd6mddqln9jhmmdc5x6y0n-xf86-video-vesa-2.4.0/lib/xorg/modules/drivers,/gnu/store/6njzy2lv87fr9a9ay5cp205bqfssva74-xf86-video-fbdev-0.5.0/lib/xorg/modules/drivers,/gnu/store/d2wf4a3wby80053m7ijcly1ggbq4mcz5-xf86-video-amdgpu-19.0.1/lib/xorg/modules/drivers,/gnu/store/5prr3ix7i6lkjw36barc2hlh6ga1sx62-xf86-video-ati-19.0.1/lib/xorg/modules/drivers,/gnu/store/v454ijfrmyb0cd1a74mmz2yk03il8xsm-xf86-video-cirrus-1.5.3/lib/xorg/modules/drivers,/gnu/store/bw9l6744nmm3qa7i1smi91gql061dkj0-xf86-video-intel-2.99.917-13.6afed33/lib/xorg/modules/drivers,/gnu/store/yimnqfs9v6qf2k3i3psm1cv0dhm54qg3-xf86-video-mach64-6.9.6/lib/xorg/modules/drivers,/gnu/store/7rdfy1y6093cdqh3hk7scpx74fs2smpr-xf86-video-nouveau-1.0.16/lib/xorg/modules/drivers,/gnu/store/bgmya5sgd8q9vvj0wzrngmgx74ig5dkf-xf86-video-nv-2.1.21/lib/xorg/modules/drivers,/gnu/store/3h77x4bxb0lj876sy3i77l39ixc060yl-xf86-video-sis-0.10.9/lib/xorg/modules/drivers,/gnu/store/py75z016islwsdi116jca4mv07hzvrhb-xf86-input-libinpu
[10.803] (II) The server relies on udev to provide the list of input 
devices.
If no devices become available, reconfigure udev or disable 
AutoAddDevices.
[10.803] (II) Loader magic: 0x616d00
[10.803] (II) Module ABI versions:
[10.803]X.Org ANSI C Emulation: 0.4
[10.803]X.Org Video Driver: 24.0
[10.803]X.Org XInput driver : 24.1
[10.803]X.Org Server Extension : 10.0
[10.812] (++) using VT number 7

[10.816] (II) systemd-logind: logind integration requires -keeptty and 
-keeptty was not provided, disabling logind integration
[10.821] (II) xfree86: Adding drm device (/dev/dri/card0)
[10.838] (--) PCI:*(0@0:2:0) 8086:0f31:17aa:3905 rev 14, Mem @ 
0x9000/4194304, 0x8000/268435456, I/O @ 0x2050/8, BIOS @ 
0x/131072
[10.843] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or 
directory)
[10.843] (II) LoadModule: "glx"
[10.907] (II) Loading 
/gnu/store/6yar7xifqhywhwz72djqrz8v88y5i3vj-xorg-server-1.20.4/lib/xorg/modules/extensions/libglx.so
[10.947] (II) Module glx: vendor="X.Org Foundation"
[10.947]compiled for 1.20.4, module version = 1.0.0
[10.951]ABI class: X.Org Server Extension, version 10.0
[10.954] (==) Matched modesetting as autoconfigured driver 0
[10.958] (==) Matched fbdev as autoconfigured 

Re: How to configure Xorg to use [proprietary] Sis 771 driver on Guix?

2019-06-17 Thread znavko
Mark, this is my lspci, lsmod, guix describe:

# lspci

00:00.0 Host bridge: Silicon Integrated Systems [SiS] 671MX
00:01.0 PCI bridge: Silicon Integrated Systems [SiS] AGP Port (virtual 
PCI-to-PCI bridge)
00:02.0 ISA bridge: Silicon Integrated Systems [SiS] SiS968 [MuTIOL Media IO] 
(rev 01)
00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 IDE Controller 
(rev 01)
00:03.0 USB controller: Silicon Integrated Systems [SiS] USB 1.1 Controller 
(rev 0f)
00:03.1 USB controller: Silicon Integrated Systems [SiS] USB 1.1 Controller 
(rev 0f)
00:03.3 USB controller: Silicon Integrated Systems [SiS] USB 2.0 Controller
00:05.0 IDE interface: Silicon Integrated Systems [SiS] SATA Controller / IDE 
mode (rev 03)
00:06.0 PCI bridge: Silicon Integrated Systems [SiS] PCI-to-PCI bridge
00:07.0 PCI bridge: Silicon Integrated Systems [SiS] PCI-to-PCI bridge
00:0f.0 Audio device: Silicon Integrated Systems [SiS] Azalia Audio Controller
00:1f.0 PCI bridge: Silicon Integrated Systems [SiS] PCI-to-PCI bridge
01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS] 771/671 
PCIE VGA Display Adapter (rev 10)
02:00.0 Network controller: Qualcomm Atheros AR9285 Wireless Network Adapter 
(PCI-Express) (rev 01)
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 
PCI Express Gigabit Ethernet Controller (rev 01)


# lsmod
Module  Size  Used by
fuse  114688  2
ccm20480  9
uvcvideo   98304  0
videobuf2_vmalloc  20480  1 uvcvideo
videobuf2_memops   20480  1 videobuf2_vmalloc
videobuf2_v4l2 24576  1 uvcvideo
videobuf2_common   45056  2 videobuf2_v4l2,uvcvideo
videodev  204800  3 videobuf2_v4l2,uvcvideo,videobuf2_common
media  53248  4 
videodev,videobuf2_v4l2,uvcvideo,videobuf2_common
joydev 24576  0
usbmouse   16384  0
arc4   16384  2
ath9k 155648  0
ath9k_common   24576  1 ath9k
ath9k_hw  479232  2 ath9k_common,ath9k
coretemp   20480  0
ath32768  3 ath9k_common,ath9k,ath9k_hw
mac80211  843776  1 ath9k
snd_hda_codec_realtek   114688  1
snd_hda_codec_generic77824  1 snd_hda_codec_realtek
ledtrig_audio  16384  2 snd_hda_codec_generic,snd_hda_codec_realtek
cfg80211  704512  4 ath9k_common,ath9k,ath,mac80211
snd_hda_intel  45056  3
snd_hda_codec 135168  3 
snd_hda_codec_generic,snd_hda_intel,snd_hda_codec_realtek
snd_hda_core   90112  4 
snd_hda_codec_generic,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
snd_hwdep  20480  1 snd_hda_codec
snd_pcm   110592  3 snd_hda_intel,snd_hda_codec,snd_hda_core
input_leds 16384  0
psmouse   151552  0
r8169  81920  0
serio_raw  20480  0
realtek20480  1
snd_timer  40960  1 snd_pcm
snd86016  13 
snd_hda_codec_generic,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_pcm
soundcore  16384  1 snd
asus_laptop32768  0
sparse_keymap  16384  1 asus_laptop
input_polldev  20480  1 asus_laptop
video  45056  1 asus_laptop
mac_hid16384  0
sis_agp16384  1
virtio_rng 16384  0
virtio_console 32768  0
virtio_net 57344  0
virtio_blk 20480  0
virtio_balloon 24576  0
virtio_pci 24576  0
virtio 16384  6 
virtio_rng,virtio_console,virtio_balloon,virtio_pci,virtio_blk,virtio_net
virtio_ring32768  6 
virtio_rng,virtio_console,virtio_balloon,virtio_pci,virtio_blk,virtio_net
isci  143360  0
libsas 81920  1 isci
scsi_transport_sas 40960  2 isci,libsas
pata_atiixp16384  0
pata_acpi  16384  0
nls_iso8859_1  16384  0
wp512  36864  0
serpent_generic32768  0
xts16384  0
dm_crypt   40960  0
hid_apple  16384  0
hid_generic16384  0
usbhid 53248  0
hid   131072  4 usbhid,hid_apple,hid_generic
uas24576  0
usb_storage69632  1 uas
ahci   40960  0
libahci32768  1 ahci
sata_sis   16384  2

# guix describe
Generation 2Jun 17 2019 08:50:09(current)
  guix 0bc010d
repository URL: https://git.savannah.gnu.org/git/guix.git
branch: master
commit: 0bc010dacded4d89aa39f2d37fe75414b69b680e


June 17, 2019 4:04 PM, "Mark H Weaver"  wrote:

> Hello,
> 
> Tobias Geerinckx-Rice  writes:
> 
>> On a more positive note: have you looked at
>> 
>> https://aur.archlinux.org/packages/xf86-video-sisimedia
>> (or https://aur.archlinux.org/packages/xf86-video-sis)?
> 
> Guix already has 'xf86-video-sis', and it's already included in
> 

Re: How to configure Xorg to use [proprietary] Sis 771 driver on Guix?

2019-06-17 Thread znavko
Mark, let's start. As I've read in links Tobias offered Sis 771/671 is not 
mentioned there,  but many other versions are presented. Is it reason?

If you say what exactly to type in my config [1] I'll do it.

[1] http://termbin.com/ni3a

June 17, 2019 4:04 PM, "Mark H Weaver"  wrote:

> Hello,
> 
> Tobias Geerinckx-Rice  writes:
> 
>> On a more positive note: have you looked at
>> 
>> https://aur.archlinux.org/packages/xf86-video-sisimedia
>> (or https://aur.archlinux.org/packages/xf86-video-sis)?
> 
> Guix already has 'xf86-video-sis', and it's already included in
> %default-xorg-modules in (gnu services xorg). So, now we just need to
> find out why it's not working. Maybe one of the other video modules
> guesses that it can support the hardware, but it actually fails? In
> that case, it might help to move 'xf86-video-sis' higher up in the list
> of modules to try.
> 
> Regards,
> Mark



Re: How to configure Xorg to use [proprietary] Sis 771 driver on Guix?

2019-06-16 Thread znavko
Thank you, Tobias!
I'll try to use that. As I understand I need to write driver package definition 
using Guix Manual #Defining-Packages.
Is there some difficulties with driver packages?

June 16, 2019 4:08 PM, "Tobias Geerinckx-Rice"  wrote:

> Ehlo Znavko,
> 
> zna...@disroot.org wrote:
> 
>> oops, not sure it is intel.
> 
> SiS[0] is not Intel. They're a Taiwanese company whose graphics
> division later became the ill-fated XGI for a while.
> 
> Takes me back… :-)
> 
>> here i've placed driver https://gitgud.io/znavko/sis771
> 
> As was to be expected, that's not free software (or even open
> source) (or even source).
> 
> You're probably breaking the law by even hosting that link:
> there's no licence to be found anywhere, let alone one allowing
> redistribution.
> 
> This is why proprietary software sucks.
> 
>> Can anybody write package definition ?
> 
> Considering the fact that this is a 10-year-old binary blob for
> use with >10-year old X.org, that it would be illegal to host the
> origin unless you find a licence permitting that (unlikely), and
> that it has 0% chance of ever making it into Guix proper, you're
> very unlikely to find a volunteer to do this for you. And this
> mailing list or any other Guix project channel would not be an
> appropriate place to find them. Sorry.
> 
> On a more positive note: have you looked at
> 
> https://aur.archlinux.org/packages/xf86-video-sisimedia
> (or https://aur.archlinux.org/packages/xf86-video-sis)?
> 
> As you can see by the number of patches at that first link,
> keeping such old hardware working with modern software presents
> plenty of challenges—without adding those of binary blobs :-)
> 
> T G-R
> 
> [0]: https://en.wikipedia.org/wiki/Silicon_Integrated_Systems



  1   2   3   >