摘要: 1. 创建目录(用户家目录下的.config下创建autostart目录) /home/当前用户/.config/autostart 2. 创建文件 app.desktop文件 3. 给app.desktop文件添加如下内容 [Desktop Entry] Type=Application Exec 阅读全文
posted @ 2020-12-18 11:36 孙延坤 阅读(88) 评论(0) 推荐(0) 编辑
摘要: windows编辑的sh脚本,直接拷贝到 linux 上运行,可能会提示脚本格式不正确,解决步骤: 1. 在 Linux 上安装 dos2unix 2. 执行命令:dos2unix 文件全名 阅读全文
posted @ 2020-12-18 11:29 孙延坤 阅读(164) 评论(0) 推荐(0) 编辑
摘要: #!/bin/bash ErrMsg="" echo "更新软件包..."sudo apt-get update &> /dev/null if [ $? -eq 0 ]then echo "软件包更新成功!"else $ErrMsg="软件包更新失败!" fi if [ -z $ErrMsg ]t 阅读全文
posted @ 2020-12-18 11:25 孙延坤 阅读(447) 评论(0) 推荐(0) 编辑
摘要: https://www.microsoft.com/net/download/visual-studio-sdks 阅读全文
posted @ 2020-12-18 11:13 孙延坤 阅读(475) 评论(0) 推荐(0) 编辑
摘要: 1. 打开注册表 运行->regedit 2. 导航 HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers 3. 新建字符串值 数值名称:devenv.exe全路径 值:DPIUNAW 阅读全文
posted @ 2020-12-18 11:11 孙延坤 阅读(288) 评论(0) 推荐(0) 编辑