Re: Installation: Load non-free wifi firmware (iwlwifi)

2018-03-24 Thread Chris Marusich
Hi Pierre,

Pierre Neidhardt  writes:

> linux-libre turns off the ability to load non-free firmware.  Why is
> it so?

I did a little bit of searching on the Internet, and it seems to me like
the reason why Linux-libre turns off the ability to load non-free
firmware is because the project does not want to induce you to use
non-free software.  For details, you may find this article and the
linked email threads interesting:

"The trouble with firmware" by Jake Edge, January 5, 2011
https://lwn.net/Articles/421680/

> Is it possible to re-enable the feature?

My understanding is that discussions about how to use non-free software
are not allowed on the GNU Guix email lists.  We're happy to help you
figure out how to solve your problems using free software, though!

> If not, are there other ways around the issue?

As Ludo mentioned elsewhere, using a dongle is one good option.  What
prevents you from using a dongle?

Another option is to find a system that respects your freedom and does
not require proprietary software to run.  I have a LibreBoot laptop I
purchased from MiniFree, and I love it!  I know that purchasing a
replacement computer that respects your freedom can seem like an
expensive option, but if you have the money, then it's an option:

https://minifree.org/

You may also be interested in looking at:

https://www.fsf.org/resources/hw/endorsement/respects-your-freedom

-- 
Chris


signature.asc
Description: PGP signature


Re: Problem with Glbc-locales: failed to install locale

2018-03-24 Thread Chris Marusich
"oury.dus...@posteo.net"  writes:

> At this point I'm in a fix with getting Guix running normally. I'd
> like to get it running though on Trisquel.

I don't understand this message.  Are you the same person as
darlingmouse, who had trouble earlier in the thread?  What problem are
you having that we can help with?

I'd like to help you out, but I couldn't understand your message.
Perhaps I missed some context.

-- 
Chris


signature.asc
Description: PGP signature


Не монтируется электронная книжка

2018-03-24 Thread Jone
Более того, она зависла после первого раза. Хардварный сброс.
После второго раза - никакой реакции на подключение.
Только на третий раз удачное соединение. По USB!!

dmesg

1: [sde] Attached SCSI removable disk
[15463.554865] sd 6:0:0:0: [sdd] Attached SCSI removable disk
[15564.604846] usb 1-6.3: USB disconnect, device number 20
[15569.177396] usb 1-6: reset high-speed USB device number 19 using
ehci-pci [15569.629399] usb 1-6.3: new high-speed USB device number 21
using ehci-pci [15569.743468] usb 1-6.3: New USB device found,
idVendor=0489, idProduct=e107 [15569.743473] usb 1-6.3: New USB device
strings: Mfr=1, Product=2, SerialNumber=3 [15569.743475] usb 1-6.3:
Product: Pocketbook 622 [15569.743476] usb 1-6.3: Manufacturer:
Pocketbook [15569.743478] usb 1-6.3: SerialNumber: 3230204E6F76
[15569.746511] usb-storage 1-6.3:1.0: USB Mass Storage device detected
[15569.746596] scsi host6: usb-storage 1-6.3:1.0
[15570.750640] scsi 6:0:0:0: Direct-Access LinuxFile-Stor
Gadget 0326 PQ: 0 ANSI: 2 [15570.752635] scsi 6:0:0:1:
Direct-Access LinuxFile-Stor Gadget 0326 PQ: 0 ANSI: 2
[15570.753233] sd 6:0:0:0: Attached scsi generic sg4 type 0
[15570.753341] sd 6:0:0:1: Attached scsi generic sg5 type 0
[15570.755588] sd 6:0:0:0: Power-on or device reset occurred
[15570.758588] sd 6:0:0:1: Power-on or device reset occurred
[15570.767619] sd 6:0:0:0: [sdd] Attached SCSI removable disk
[15570.878611] sd 6:0:0:1: [sde] Attached SCSI removable disk
[15578.943716] usb 1-6.3: USB disconnect, device number 21
[15649.477402] usb 1-6: reset high-speed USB device number 19 using
ehci-pci [15650.377400] usb 1-6: USB disconnect, device number 19
root@guix ~# 

На всех прошлых дистрибутивах проблем с монтированием не было!



Re: Emacs in multiple profiles

2018-03-24 Thread Konrad Hinsen
Alex Kost  writes:

> It is completely different: with "-Q", your .emacs file is not loaded at
> all, and with "--no-site-file", only the emacs packages from the guix
> profile are not autoloaded.  Isn't that what you wanted?

Not quite: I want it to autoload the packages from my current Guix
profile, not from my main Guix profile.

> If you want to autoload emacs packages from a guix environment (or
> similarly from any non-standard guix profile), you can do it like this:
>
> (let ((guix-env (getenv "GUIX_ENVIRONMENT")))
>   (when (and guix-env
>  (require 'guix-emacs nil t))
> (guix-emacs-autoload-packages guix-env)))

Except that GUIX_ENVIRONMENT is defined only by "guix environment", not
by profiles. Otherwise this would be exactly what I want - and in fact
what I'd expect guix-emacs.el to do, instead of accessing the user's
main profile.

Konrad.



Re: Emacs in multiple profiles

2018-03-24 Thread Alex Kost
Konrad Hinsen (2018-03-24 13:14 +0100) wrote:

> Alex Kost  writes:
>
>> It is completely different: with "-Q", your .emacs file is not loaded at
>> all, and with "--no-site-file", only the emacs packages from the guix
>> profile are not autoloaded.  Isn't that what you wanted?
>
> Not quite: I want it to autoload the packages from my current Guix
> profile, not from my main Guix profile.

But what your "current profile" is?  How can emacs know about it?  It
"knows" only about the default (system and user) profiles.  So if you
wish to load packages from non-standard profiles, you need to do it on
your own (as I showed below).

>> If you want to autoload emacs packages from a guix environment (or
>> similarly from any non-standard guix profile), you can do it like this:
>>
>> (let ((guix-env (getenv "GUIX_ENVIRONMENT")))
>>   (when (and guix-env
>>  (require 'guix-emacs nil t))
>> (guix-emacs-autoload-packages guix-env)))
>
> Except that GUIX_ENVIRONMENT is defined only by "guix environment", not
> by profiles. Otherwise this would be exactly what I want - and in fact
> what I'd expect guix-emacs.el to do, instead of accessing the user's
> main profile.

Again, I don't understand how emacs could guess in what profile you
installed your emacs packages, so it just autoloads whatever is found in
the system and user profile.

So for your situation, you can just run emacs with --no-site-file option
and put a code like this in your emacs config file:

(when (require 'guix-emacs nil t)
  (guix-emacs-autoload-packages "/path/to/your/profile"))

-- 
Alex



DKMS modules support

2018-03-24 Thread Eleven
Hi all, I installed guixsd on my MacBook today and I want to enable the spi 
keyboard, then I found this : 
https://github.com/roadrunner2/macbook12-spi-driver 
 

so, could these process mentioned in the link be configured in the guixsd 
system configurations?  Does the kernel support dkms modules for now?

Re: Вопрос по опциям монтирования SSD и logrotate

2018-03-24 Thread Pierre Neidhardt

> Regarding multilingual e-mails, I'm wondering if it would be possible to
> have a summary of the matter at hand together with its various solutions
> once the problem is solved.

I mean, a summary in English.

-- 
Pierre Neidhardt

Retirement means that when someone says "Have a nice day", you
actually have a shot at it.


signature.asc
Description: PGP signature


Re: Вопрос по опциям монтирования SSD и logrotate

2018-03-24 Thread Oleg Pykhalov
Привет Jone,

Jone  writes:

> 1. Из мануала не ясно, могу ли я использовать noatime и discard.

Это опции монтирования файловой системы EXT4(5), которые не перечислены
в докуметации Guix, но их можно посмотреть в мануале:

man 5 ext4

man -w 5 ext4
/gnu/store/…-e2fsprogs-1.43.6/share/man/man5/ext4.5.gz

Опции монтирования можно указать в file-system options для любых
файловых систем [1], например:

(operating-system
  ;; …
  (file-systems (cons* ;; …
   (file-system
 (device "tmpfs")
 (mount-point "/tmp")
 (type "tmpfs")
 (check? #f)
 (flags '(no-dev))
 (options "mode=1777,size=50%"))
   %base-file-systems))
  ;; …
  )

> Хорошо, мы можем выполнять trim по cron (mcron).  Этот сервис есть в
> %desktop-services?

Нет.

Список сервисов ‘%desktop-services’ можно посмотреть в
‘gnu/services/desktop.scm’ [2] или вызвав Guile:

guile -e '(@@ (gnu services desktop) %desktop-services)'

> Или я должен явно прописывать это? 

Да, примеры есть в документации Guix [3].

> Как часто следует выполнять команду trim?

У меня GuixSD занимает весь накопитель около года.  ‘grep’ работает
шустро все это время без ‘trim’ :-) Но я бы наверное порекомендовал
после каждого вызова ‘guix gc’, потому что ‘trim’ выполняется для
нахождения пустого пространства, которое появляется после сборки мусора.

[…]

- [1]  https://www.gnu.org/software/guix/manual/html_node/File-Systems.html
- [2]  https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/services/desktop.scm
- [3]  
https://www.gnu.org/software/guix/manual/html_node/Scheduled-Job-Execution.html

Oleg.


signature.asc
Description: PGP signature


Вопрос по опциям монтирования SSD и logrotate

2018-03-24 Thread Jone
1. Из мануала не ясно, могу ли я использовать noatime и discard.
Хорошо, мы можем выполнять trim по cron (mcron). Этот сервис есть в
%desktop-services? Или я должен явно прописывать это? Как часто следует
выполнять команду trim?

2. Для logrotate есть какой-то аналог, но я забыл какой :) Он включен
по умолчанию?

Я считаю, что дефолтные настройки для Desktop требуют корректировки, с
учетом сказанного выше. Я выполняю reconfigure уже в десятый раз, но
все равно полностью не доволен результатом.