随笔分类 -  [99.05]-linux

linux ubuntu deepin
摘要:#!/usr/bin/env xdg-open [Desktop Entry] Encoding=UTF-8 Type=Application X-Created-By= Categories=chat; Icon=org.remmina.Remmina Exec=/opt/remmina_deve 阅读全文
posted @ 2022-09-13 10:04 landv 阅读(103) 评论(0) 推荐(0) 编辑
摘要:卸载高版本 sudo apt remove cn.wps.wps-office 标记禁止更新 sudo apt-mark hold cn.wps.wps-office 查看禁止更新列表 sudo apt-mark showhold 下载旧版本 wget https://wdl1.cache.wps. 阅读全文
posted @ 2022-09-09 09:22 landv 阅读(496) 评论(0) 推荐(0) 编辑
摘要:查看Linux错误日志 journalctl -f 替换deepin默认文件管理器 gio mime inode/directory org.gnome.Nautilus.desktop upx解压 upx -d 文件 阅读全文
posted @ 2020-12-03 09:15 landv 阅读(313) 评论(0) 推荐(0) 编辑
摘要:[deepin][linux][bee]deepin关闭bee,在按键盘删除键删到顶端会毕一声,wineQQ里面尤其明显 全局设置 可以通过在内核模块中移除 pcspkr 模块来完全禁用PC喇叭: # rmmod pcspkr 注意: 将 pcspkr 模块加入黑名单的旧方法会阻止 udev 在启动 阅读全文
posted @ 2020-11-27 14:10 landv 阅读(268) 评论(0) 推荐(0) 编辑
摘要:https://www.cnblogs.com/lalalagq/p/9973716.html 一、编译安装PHP 1. 下载源码包并解压 源码包地址:http://php.net/downloads.php 下载源码包 当前PHP最新本门是7.2.9,下载 php-7.2.9 源码包 wget h 阅读全文
posted @ 2020-11-23 14:25 landv 阅读(668) 评论(0) 推荐(0) 编辑
摘要:依次执行如下命令 删除依赖包: sudo rm -rf /var/lib/mysql/ -R 删除配置文件: sudo rm -rf /etc/mysql/ -R 卸载相关软件: sudo apt autoremove mysql* --purge sudo apt remove apparmor 阅读全文
posted @ 2020-11-11 16:44 landv 阅读(683) 评论(0) 推荐(0) 编辑
摘要:[新坑][deepin][linux][Remmina]无法链接部分RDP服务Cannot open libmwv206dec.so, libmwv206dec.so: 无法打开共享对象文件: 没有那个文件或目录 [17:39:57:859] [24500:24541] [INFO][com.fre 阅读全文
posted @ 2020-11-11 15:25 landv 阅读(698) 评论(0) 推荐(0) 编辑
摘要:[deepin][linux][DBeaver]DBeaver社区版安装好没有图标 https://www.cnblogs.com/landv/p/13956926.html 修改 /usr/share/applications/dbeaver.desktop 文件,去掉 WM_CLASS 一行 修 阅读全文
posted @ 2020-11-11 08:27 landv 阅读(740) 评论(1) 推荐(0) 编辑
摘要:Windows WSL2 htop打开黑屏的问题解决 Update: it’s not as straightforward as I’d thought. The ppa contains packages for focal and have dependency issues with bio 阅读全文
posted @ 2020-08-12 10:10 landv 阅读(948) 评论(0) 推荐(0) 编辑
摘要:# -*- coding: utf-8 -*- import datetime import os import random import time import schedule # 引入uiautomator库 from pip._vendor import requests from uia 阅读全文
posted @ 2020-05-09 12:00 landv 阅读(3089) 评论(0) 推荐(0) 编辑
摘要:[deepin][linux]deepin禁用鼠标中间粘贴功能 不知何时起,nngxd,代码里面总是意外多点东西,造成bug.这都是鼠标中间在Linux上面有粘贴的功能,好吧,直接干掉这个功能。 方法如下: 1、禁用中键功能在终端输入如下命令即可: 1)禁用中键粘贴,开启侧键复制粘贴功能 xmodm 阅读全文
posted @ 2020-04-27 14:13 landv 阅读(827) 评论(0) 推荐(0) 编辑
摘要:[bash][linux]Linux开启vsftp #!/bin/bash #开始安装vsftpd echo ">>> 1. Start install Vsftpd ......" yum -y install pam pam-devel db4 de4-devel db4-tcl vsftpd 阅读全文
posted @ 2020-04-23 18:35 landv 阅读(625) 评论(0) 推荐(0) 编辑
摘要:重建docker网络 重启命令二:systemctl restart docker pkill docker iptables -t nat -F ifconfig docker0 down brctl delbr docker0 service docker restart deepin安装doc 阅读全文
posted @ 2020-04-03 11:18 landv 阅读(694) 评论(0) 推荐(0) 编辑
摘要:url重写是指通过配置conf文件,以让网站的url中达到某种状态时则定向/跳转到某个规则,比如常见的伪静态、301重定向、浏览器定向等 rewrite 语法 在配置文件的server块中写,如: server { rewrite 规则 定向路径 重写类型; } 规则:可以是字符串或者正则来表示想匹 阅读全文
posted @ 2020-02-28 15:29 landv 阅读(1416) 评论(0) 推荐(0) 编辑
摘要:apt-get install software-properties-common sudo add-apt-repository ppa:jonathonf/python-3.6sudo apt updatesudo apt install python3.6 阅读全文
posted @ 2020-01-04 09:13 landv 阅读(1022) 评论(0) 推荐(0) 编辑
摘要:https://github.com/andlabs/libui c++ https://github.com/andlabs/ui https://github.com/gotk3/gotk3/ https://github.com/go-gl/gl/v2.1/gl https://github. 阅读全文
posted @ 2020-01-04 09:12 landv 阅读(431) 评论(0) 推荐(0) 编辑
摘要:#查看设备列表ffmpeg -list_devices true -f dshow -i dummy #录制声音ffmpeg -f alsa -ac 2 -i hw:0,0 -acodec libmp3lame -f mp3 test1.mp3 #录制屏幕ffmpeg -f x11grab -s 1 阅读全文
posted @ 2019-12-10 09:07 landv 阅读(245) 评论(0) 推荐(0) 编辑
摘要:linux c++ 通过xcb库获取屏幕大小 阅读全文
posted @ 2019-11-29 08:17 landv 阅读(1071) 评论(0) 推荐(0) 编辑
摘要:gcc `pkg-config --cflags gtk+-3.0` -o example-1 example-1.c `pkg-config --libs gtk+-3.0` 阅读全文
posted @ 2019-11-09 08:42 landv 阅读(217) 评论(0) 推荐(0) 编辑
摘要:#include <stdio.h> #include <unistd.h> void usage() { printf("Usage:\n"); printf("\tOptDemo [-a] [-b] [-c message]"); } int main(int argc, char *argv[]) { int o; const char *optstring = "abc::"; // 有三 阅读全文
posted @ 2019-11-08 11:44 landv 阅读(188) 评论(0) 推荐(0) 编辑