Manjaro 蓝牙

新安装的Manjaro系统(18.0.4),可以连接蓝牙音响设备,但是默认输出音质较差,使用品质较低的设备不易察觉到,但是使用稍微好一些的音响设备,音质会受到明显的影响。 有些情况下,新安装的系统缺少必要的软件包,可以连接蓝牙音箱,但是没有选择输出设备的选项,记录两种可以解决这个问题的方法: 1、安装Blueman,使用Blueman连接设备。 2、Manjaro(Gnome)系统安装pulseaudio-module,重启系统之后,在音频输出设备选项中可以选择连接到电脑的音箱。 到此为止,系统可以通过蓝牙音响输出音频,但是默认音质较低,需要进行设置,以选择高品音质输出。 sudo pacman -Sy bluez bluexz-utils sudo pacman -Sy blueman sudo systemctl status bluetooth sudo systemctl start bluetooth sudo systemctl enable bluetooth 完成之后,系统中会新建一个蓝牙的配置文件: edit /etc/bluetooth/main.conf sudo nano /etc/bluetooth/main.conf add the following lines under the [General] tag (copied from audio.conf, I found searching for a solution): # …

开机错误提示

1、030_Watchdog did not stop Edit /etc/systemd/system.conf, and: uncomment 2 lines: … #RuntimeWatchdogSec=0 #ShutdownWatchdogSec=10min … leave RuntimeWatchdogSec at 0 set ShutdownWatchdogSec to 0 like here … RuntimeWatchdogSec=0 ShutdownWatchdogSec=0 … reboot done 2、A TPM error (7) occurred attempting to read a pcr value echo “blacklist tpm_tis” | sudo tee -a /etc/modprobe.d/tpm_tis.conf 3、intel_rapl …

修改Ubuntu默认以图形界面启动还是以命令行形式启动

适用于Ubuntu 16.04 在图形界面下,打开模拟终端,输入 sudo systemctl set-default multi-user.target reboot重启即可 如果在进入命令行模式后想要进入图形界面,输入 sudo systemctl start lightdm 注意,这样进入图形界面仅本次有效,重启后仍会默认命令行模式 如果想要改回默认进入图形界面,输入 sudo systemctl set-default graphical.target 重启即可   https://blog.csdn.net/u013463707/article/details/76842737

Ubuntu16.04可执行文件添加到PATH路径中

方法一: export PATH=/usr/local/bin:$PATH #配置完后可以通过echo $PATH查看配置结果。 #生效方法:立即生效 #有效期限:临时改变,只能在当前的终端窗口中有效,当前窗口关闭后就会恢复原有的path配置 #用户局限:仅对当前用户 方法二: #通过修改.bashrc文件: vim ~/.bashrc #在最后一行添上: export PATH=/usr/local/bin:$PATH #生效方法:(有以下两种) #1、关闭当前终端窗口,重新打开一个新终端窗口就能生效 #2、输入“source ~/.bashrc”命令,立即生效 #有效期限:永久有效 #用户局限:仅对当前用户 方法三: #通过修改profile文件: vim /etc/profile export PATH=/usr/local/bin:$PATH #生效方法:系统重启 #有效期限:永久有效 #用户局限:对所有用户 方法四: #通过修改environment文件: vim /etc/environment 在PATH=”/usr/local/sbin:/usr/sbin:/usr/bin:/sbin:/bin”中加入 “:/usr/local/bin” #生效方法:系统重启 #有效期限:永久有效 #用户局限:对所有用户   https://blog.csdn.net/sscpu1/article/details/82656436

MariaDB设置初始化密码及修改密码

方法1: [root@localhost ~]# mysql MariaDB[(none)]> UPDATE mysql.user SET password = PASSWORD(‘newpassword’) WHERE USER = ‘root’; MariaDB[(none)]> FLUSH PRIVILEGES; 方法2: [root@localhost ~]# mysql MariaDB[(none)]> SET password=PASSWORD(‘newpassward’); 方法3: [root@localhost ~]# mysqladmin -u root password ‘newpassword’ 如果root已经设置过密码,采用如下方法 [root@localhost ~]#mysqladmin -u root -p ‘oldpassword’ password ‘newpassword’ https://blog.csdn.net/zwj52pk/article/details/78651647