随笔分类 -  Linux学习

摘要:如果用wayland配置桌面可能产生此错误。 将.desktop文件复制到~/.local/share/applications下 cp /usr/share/applications/virtualbox.desktop ~/.local/share/applications/ 编辑virtual 阅读全文
posted @ 2020-02-06 14:58 看不见的R 阅读(252) 评论(0) 推荐(0)
摘要:1. sddm锁屏界面 qt5-virtualkeyboard 2. 桌面环境中使用 onboard 阅读全文
posted @ 2020-01-27 22:05 看不见的R 阅读(565) 评论(0) 推荐(0)
摘要:1. 配置文件为 .Xdefaults 阅读全文
posted @ 2020-01-26 20:40 看不见的R 阅读(459) 评论(0) 推荐(0)
摘要:1. 安装qt与make(qt不会自动安装make依赖,需要注意)。 阅读全文
posted @ 2020-01-06 21:15 看不见的R 阅读(668) 评论(0) 推荐(0)
摘要:conky.config = { alignment = 'top_left', ackground = true, update_interval=1, double_buffer=true, imlib_cache_size=10, draw_shades=false, draw_outline 阅读全文
posted @ 2019-11-13 00:32 看不见的R 阅读(439) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2019-10-25 07:19 看不见的R 阅读(423) 评论(0) 推荐(0)
摘要:/etc/sddm.conf [Autologin] User=john Session=plasma.desktop 以上的配置文件使得系统启动时自动以用户john开启一个Plasma会话。支持的会话类型可以在 ls /usr/share/xsessions/ 中找到 阅读全文
posted @ 2019-10-18 17:13 看不见的R 阅读(2474) 评论(0) 推荐(0)
摘要:1. 下载grub主题包 b 2. 解压文件,复制到主题目录下。 /boot/grub/themes 3. 修改配置文件 sudo vim /etc/grub.d/00_header 添加如下内容 GRUB_THEME="/boot/grub/themes/主题包名/theme.txt" 4. 更新 阅读全文
posted @ 2019-10-17 22:13 看不见的R 阅读(2956) 评论(0) 推荐(0)
摘要:1.通过ifconfig命令查看当前的网络设置 2. 2.需到修改 etc/sysconfig/network-scripts/ifcfg-enp0s3这个文件 阅读全文
posted @ 2019-10-05 13:22 看不见的R 阅读(341) 评论(0) 推荐(0)
摘要:这是拓展包与软件版本不一致导致的,关闭拓展包功能,或者移除拓展包即可。 阅读全文
posted @ 2019-10-04 13:07 看不见的R 阅读(232) 评论(0) 推荐(0)
摘要:添加用户 # useradd -d /xxx/xxxx -s /usr/bin/nologin username 登陆会发现无法登陆ftp 还需要关闭pam过度验证。 # vim /etc/pam.d/vsftpd 注释掉下面这句话。 ################################ 阅读全文
posted @ 2019-10-01 18:33 看不见的R 阅读(595) 评论(0) 推荐(0)
摘要:1. 安装php、php-fpm、nginx. # pacman -S nginx php php-fpm 2. 编辑配置文件 php.ini与php-fpm.conf基本配置就可以用。如php.ini需开启模块。如mysql.so,去掉前面;。 # vim /etc/php/php.ini *** 阅读全文
posted @ 2019-09-26 09:42 看不见的R 阅读(795) 评论(0) 推荐(0)
摘要://使用root用户执行所有命令# pacman -S mariadb # mariadb-install-db --user=mysql --basedir=/usr --datadir=/var/lib/mysql //此命令是为了解决相对路径造成的报错问题,basedir指的是安装路径, da 阅读全文
posted @ 2019-09-26 00:07 看不见的R 阅读(1208) 评论(0) 推荐(0)
摘要:1. 查看网卡名称 $ ifconfig 2. 复制配置文件例子。 # cp /etc/netctl/examples/ xxxxx ../xxxxx 3. 编辑配置文件 # vim /etc/netctl/xxxxxx ####################################### 阅读全文
posted @ 2019-09-25 22:47 看不见的R 阅读(4479) 评论(0) 推荐(0)
摘要:一、 安装kmscon yaourt -S kmscon 二、 手动创建配置文件 /etc/fonts/conf.d/99-kmscon.conf <?xml version="1.0"?> <!DOCTYPE fontconfig SYSTEM "fonts.dtd"> <fontconfig> 阅读全文
posted @ 2019-09-16 16:03 看不见的R 阅读(1462) 评论(0) 推荐(0)
摘要:archlinux安装cron # pacman -S cronie 示例: CentOS系统想每天凌晨3点重启 打开/etc/crontab添加 # vi /etc/crontab 0 3 * * * root reboot 然后重启crond服务 # systemctl restart cron 阅读全文
posted @ 2019-09-14 16:13 看不见的R 阅读(728) 评论(0) 推荐(0)
摘要:1.安装NetworkManager # yum install -y NetworkManager 2. 启用无线 # nmcli r wifi on 3.扫描WIFI # nmcli dev wifi 4.连接wifi # nmcli dev wifi connect <SSID> passwo 阅读全文
posted @ 2019-09-09 09:24 看不见的R 阅读(2604) 评论(0) 推荐(0)
摘要:安装了一台可外网登陆的CentOS系统的服务器,虽然被侵的可能性不大,还是配置下firewall吧,SElinux直接关闭好了。 如何关闭SElinux:https://www.cnblogs.com/mc-r/p/11447004.html 一、简介 Firewall与iptables一样都是调用 阅读全文
posted @ 2019-09-05 22:12 看不见的R 阅读(1064) 评论(0) 推荐(0)
摘要:#su#cd 到执行目录#cd /bin#取文件#wget -O screenfetch https://git.io/vaHfR#添加执行权限#chmod +x screenfetch执行 screenfetch 阅读全文
posted @ 2019-09-04 22:21 看不见的R 阅读(2021) 评论(0) 推荐(0)
摘要:编辑 /usr/share/sddm/scripts/Xsession 阅读全文
posted @ 2019-09-04 12:36 看不见的R 阅读(553) 评论(0) 推荐(0)