从Ubuntu到CentOS 再到 Deepin Linux........折腾过很多发行版,前不久给自己的老电脑安装了win10+Manjaro双系统,manjaro是基于Arch的,不过相比arch人性化很多,不必一步一步构建系统,开机即用。但是也有一些小毛病,笔者就是因为Deepin linux bug太多换到Manjaro的。

笔者的鼠标是Logitech的蓝牙鼠标M337。再win10下完美使用,在Manjaro下连接上去后可以使用,但是就是每次关机后再开机就会失效,而且还连不上。必须得删除重新连接。很恶心的操作。翻看了网上的方法没有一个可以解决的,于是笔者自己瞎折腾,给解决了。

首先在软件管理包中安装Bluetooth的相关组件,如下都勾选上。

然后修改蓝牙配置文件:

sudo vim /etc/bluetooth/main.conf

修改FastConnectable = false ,取消#注释,改为FastConnectable = true

修改 AutoEnable=false,去掉前面的#注释,改为AutoEnable=true。

以下是我的配置详情,仅供参考:

[General]# Default adapter name
# Defaults to 'BlueZ X.YZ'
#Name = BlueZ# Default device class. Only the major and minor device class bits are
# considered. Defaults to '0x000000'.
#Class = 0x000100# How long to stay in discoverable mode before going back to non-discoverable
# The value is in seconds. Default is 180, i.e. 3 minutes.
# 0 = disable timer, i.e. stay discoverable forever
#DiscoverableTimeout = 0# How long to stay in pairable mode before going back to non-discoverable
# The value is in seconds. Default is 0.
# 0 = disable timer, i.e. stay pairable forever
#PairableTimeout = 0# Use vendor id source (assigner), vendor, product and version information for
# DID profile support. The values are separated by ":" and assigner, VID, PID
# and version.
# Possible vendor id source values: bluetooth, usb (defaults to usb)
#DeviceID = bluetooth:1234:5678:abcd# Do reverse service discovery for previously unknown devices that connect to
# us. This option is really only needed for qualification since the BITE tester
# doesn't like us doing reverse SDP for some test cases (though there could in
# theory be other useful purposes for this too). Defaults to 'true'.
#ReverseServiceDiscovery = true# Enable name resolving after inquiry. Set it to 'false' if you don't need
# remote devices name and want shorter discovery cycle. Defaults to 'true'.
#NameResolving = true# Enable runtime persistency of debug link keys. Default is false which
# makes debug link keys valid only for the duration of the connection
# that they were created for.
#DebugKeys = false# Restricts all controllers to the specified transport. Default value
# is "dual", i.e. both BR/EDR and LE enabled (when supported by the HW).
# Possible values: "dual", "bredr", "le"
ControllerMode = dual# Enables Multi Profile Specification support. This allows to specify if
# system supports only Multiple Profiles Single Device (MPSD) configuration
# or both Multiple Profiles Single Device (MPSD) and Multiple Profiles Multiple
# Devices (MPMD) configurations.
# Possible values: "off", "single", "multiple"
MultiProfile = on# Permanently enables the Fast Connectable setting for adapters that
# support it. When enabled other devices can connect faster to us,
# however the tradeoff is increased power consumptions. This feature
# will fully work only on kernel version 4.1 and newer. Defaults to
# 'false'.
FastConnectable = true# Default privacy setting.
# Enables use of private address.
# Possible values: "off", "device", "network"
# "network" option not supported currently
# Defaults to "off"
# Privacy = off[GATT]
# GATT attribute cache.
# Possible values:
# always: Always cache attributes even for devices not paired, this is
# recommended as it is best for interoperability, with more consistent
# reconnection times and enables proper tracking of notifications for all
# devices.
# yes: Only cache attributes of paired devices.
# no: Never cache attributes
# Default: always
Cache = always# Minimum required Encryption Key Size for accessing secured characteristics.
# Possible values: 0 and 7-16. 0 means don't care.
# Defaults to 0
# MinEncKeySize = 0[Policy]
#
# The ReconnectUUIDs defines the set of remote services that should try
# to be reconnected to in case of a link loss (link supervision
# timeout). The policy plugin should contain a sane set of values by
# default, but this list can be overridden here. By setting the list to
# empty the reconnection feature gets disabled.
#ReconnectUUIDs=00001112-0000-1000-8000-00805f9b34fb,0000111f-0000-1000-8000-00805f9b34fb,0000110a-0000-1000-8000-00805f9b34fb# ReconnectAttempts define the number of attempts to reconnect after a link
# lost. Setting the value to 0 disables reconnecting feature.
#ReconnectAttempts=7# ReconnectIntervals define the set of intervals in seconds to use in between
# attempts.
# If the number of attempts defined in ReconnectAttempts is bigger than the
# set of intervals the last interval is repeated until the last attempt.
#ReconnectIntervals=1,2,4,8,16,32,64# AutoEnable defines option to enable all controllers when they are found.
# This includes adapters present on start as well as adapters that are plugged
# in later on. Defaults to 'false'.
AutoEnable=true

关于双系统共用一个蓝牙鼠标key也是可以的,网上有教程,我就不写了。很简单,也很方便,不必来回切换鼠标的绑定。

Manjaro Linux 连接蓝牙鼠标后重启电脑得重新连接 解决方案相关推荐

  1. linux蓝牙鼠标自动断开,Manjaro Linux 连接蓝牙鼠标后重启电脑得重新连接 解决方案-Go语言中文社区...

    从Ubuntu到CentOS 再到 Deepin Linux........折腾过很多发行版,前不久给自己的老电脑安装了win10+Manjaro双系统,manjaro是基于Arch的,不过相比arc ...

  2. linux 网卡无效 设置_请教,关于更改linux网卡配置文件后重启IP不生效的问题~

    请教,关于更改linux网卡配置文件后重启IP不生效的问题~ (2011-08-24 00:33:20) 标签: 配置文件 linux 网卡 杂谈 请教,关于更改linux网卡配置文件后重启IP不生效 ...

  3. 电脑重装系统后重启电脑黑屏是怎么回事

    电脑重装系统后重启电脑黑屏怎么回事?最近有用户反映自己在重装电脑系统后,开机出现了黑屏的现象,检查后发现硬件设备没有故障,那么是怎么回事呢?有可能是显示器不支持该显卡显示的分辨率或者是重装系统后的显卡 ...

  4. Manjaro Linux KDE 安装后的配置

    一.更换中国源 sudo pacman-mirrors -i -c China -m rank #这个命令执行完毕的时候后弹窗让你选择想要使用的源,选择速度最快的那个就可以了. 推荐[https:// ...

  5. 电脑开机右下角有小金锁,并且提示一分钟后重启电脑

    1.     开机打开 CMD 命令 2.      输入 netsh winsock reset,最后提示成功后,重启电脑.     !注意!这个命令是重置Winsock 目录,此命令会让原本设置的 ...

  6. linux安装后重启电脑,centos 无线网卡驱动 安装 配置,装好后,重启一下电脑

    centos 无线网卡驱动 安装 配置,装好后,重启一下电脑 1,查看一下有没有装过无线网卡驱动[root@localhost network-scripts]# iwconfig lo no wir ...

  7. 安装oracle后重启电脑很卡,关于linux下安装oracle之后,重启系统后oracle不能正常启动的配置总结...

    一.linux下无法启动sqlplus 问题描述: [root@localhost oracle]# su - oracle [oracle@localhost oracle]$ sqlplus &q ...

  8. ubuntu 安装完成后重启电脑报错: BUG soft lockup 的解决办法

    安装 Ubuntu 出现 BUG soft lockup 的解决办法(18.04): 具体的错误内容: kernel:NMI watchdog: BUG: soft lockup - CPU#0 st ...

  9. cdr安装成功后出现重启计算机,CDR安装后重启电脑就打不开是什么原因?

    满意答案 wlinz 2019.05.22 采纳率:59%    等级:12 已帮助:14862人 U盘打不开的原因主要分为U盘问题与电脑问题,大家遇到U盘打不开,可使用排除法.首先我们确认U盘上次是 ...

最新文章

  1. always@( )列表里不能同时有电平敏感事件和边沿触发事件
  2. SqlServer注意事项总结,高级程序员必背。
  3. 奇怪的问题,.Net 2.0发送邮件失败...
  4. Boost.Signals 的文档/查看示例
  5. ITK:将具有RGB像素的vtkImageData转换为itk :: Image
  6. MySQL高级 - 常用工具 - mysqlshow
  7. Oracle并购Innobase公司是好意还是背后一刀
  8. WAF(NGINX)中502和504的区别
  9. 买房后每月还贷是什么感觉?
  10. 要快乐的度过充满困难的一生——任总给陈珠芳及党委成员的一封信
  11. MPQ4420HGJ DCDC电源设计+SIMetrix+Spice仿真模型
  12. 专题地图符号设计与构图
  13. Keil代码折来叠功能显示与隐藏!!!
  14. 2020大疆秋招笔试题B卷
  15. 微信小程序使用三元运算符
  16. 广东python编程比赛
  17. matlab中在同一图形窗口中绘制出一个周期内的正弦曲线和余弦曲线,多选(3分) 在一个图形窗口同时绘制[0,2π]的正弦曲线、余弦曲线,可以使用命令( )。...
  18. [1183]Clickhouse数据表数据分区partition数据生命周期操作
  19. vue移动端项目微信公众号授权登录
  20. java模拟多人接力赛跑_Java多线程--模拟接力赛跑

热门文章

  1. eclipse主题样式
  2. java实现的人民币大小写转换
  3. Unity游戏通用mod框架BepInEx生态的工作原理简介
  4. android中点击加号动画,android animation之scale 缩放(仿微信加号弹出菜单的动画效果)...
  5. 神器SpringDoc横空出世,最牛掰的API工具来了,赶紧看Spring吧!
  6. 应用下载需警惕,“猜你妹”病毒潜伏应用市场伺机刷流氓应用
  7. ubuntu 16.04 gtx1060 显卡安装【转】
  8. 短信群发上行和下行什么意思?
  9. EXCEL之跨工图表数据区域
  10. 协众信息UI设计如何提高审美能力?