all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: znavko@disroot.org
To: Raghav Gururajan <rvgn@disroot.org>, help-guix@gnu.org
Subject: Re: Bluetooth
Date: Thu, 02 May 2019 10:33:25 +0000	[thread overview]
Message-ID: <8aa2936272861aad84e524707136e8a7@disroot.org> (raw)
In-Reply-To: <5de097a28c8391caaba1663e45381520@disroot.org>

My workable config is:

(operating-system
...
  (services
  ...
			     (modify-services      
			      (remove (lambda (service)
					(member (service-kind service)
						(list ntp-service-type avahi-service-type 
						      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")))

			      (bluetooth-service config =>
						      (bluetooth-configuration
						       (auto-enable? #t)))
			      

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


So if I am correct:

			     (modify-services    
			      %desktop-services
			      (bluetooth-service config =>
						      (bluetooth-configuration
						       (auto-enable? #t)))
			      


May 2, 2019 10:12 AM, "Raghav Gururajan" <rvgn@disroot.org> wrote:

> In continuation to my previous email in this thread:
> 
> It appears bluetooth service is included in %desktop-services.
> 
> I already modified %desktop-services to include openvpn-plugin with the following syntax:
> (services (cons* (service gnome-desktop-service-type)
> (modify-services %desktop-services
> (network-manager-service-type
> config => (network-manager-configuration
> (inherit config)
> (vpn-plugins
> (list network-manager-openvpn)))))))
> 
> Now, what is the syntax for appending the bluetooth-service modification (auto-enable? #t) to the
> above config??
> 
> Thank you!
> 
> May 2, 2019 6:02 AM, "Raghav Gururajan" <rvgn@disroot.org> wrote:
> 
>> Mine is RYF Certified TET-X200T. I bought exactly this https://tehnoetic.com/laptops/tet-x200t.
>> Bluetooth worked fine when I was using Trisquel and Hyperbola.
>> 
>> May 2, 2019 5:53 AM, znavko@disroot.org wrote:
>> 
>>> Many bluetooth devices are not supported by linux-libre kernel. Which you have?
>>> try here https://lists.gnu.org/archive/html/help-guix/2018-10/msg00045.html
>>> https://lists.gnu.org/archive/html/help-guix/2019-01/msg00057.html
>>> there is option auto-enable #f, so that config is important.
>>> http://git.savannah.gnu.org/cgit/guix.git/tree/gnu/services/desktop.scm#n412
>>> 
>>> May 2, 2019 9:34 AM, "Raghav Gururajan" <rvgn@disroot.org> wrote:
>> 
>> Hello Guix!
>> 
>> I have added "bluetooth-service [#:bluez bluez] [#:auto-enable? #t]" to my system services. But I
>> am not able to use bluetooth as user. In GNOME settings, it's no bluetooth found" or if I turn on
>> the button, it turns off again. I have added the user to "lp" group as well. What should be the
>> issue?
>> 
>> Thank you!

  parent reply	other threads:[~2019-05-02 10:33 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-02  9:33 Bluetooth Raghav Gururajan
2019-05-02  9:53 ` Bluetooth znavko
2019-05-02 10:02 ` Bluetooth Raghav Gururajan
2019-05-02 10:12 ` Bluetooth Raghav Gururajan
2019-05-02 10:33 ` znavko [this message]
2019-05-02 10:36 ` Bluetooth Raghav Gururajan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8aa2936272861aad84e524707136e8a7@disroot.org \
    --to=znavko@disroot.org \
    --cc=help-guix@gnu.org \
    --cc=rvgn@disroot.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.