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