0
点赞
收藏
分享

微信扫一扫

C语言实战项目--贪吃蛇

小猪肥 2024-05-06 阅读 14
  1. 终端输入命令:gnome-session-properties 打开启动设置
    如果提示:Command ‘gnome-session-properties’ not found, but can be installed with:
    apt install gnome-startup-applications
    在这里插入图片描述
    则执行:apt install gnome-startup-applications安装一下
    在这里插入图片描述
  2. 在启动设置点击添加(add)
    在指令一行输入:
# $1:浏览器
# $2:浏览器自动打开地址
# --kiosk:绝对全屏,按F11都不会退出全屏(如果要退出,按Ctrl + F键)。F键:F1-F12都试一下 系统版本不同可能快捷键不同
$1 --kiosk --noerrdialogs --start-fullscreen $2
#例子(谷歌):google-chrome-stable --kiosk --noerrdialogs --start-fullscreen https://www.baidu.com
#例子(系统自带sensible-browser浏览器):sensible-browser --kiosk --noerrdialogs --start-fullscreen https://www.baidu.com
#(https://www.baidu.com:浏览器自动打开地址)
  1. 提示:
    查看 浏览器 路径
# $1:浏览器
whereis $1
#例子(查看 google chrome 路径)whereis google-chrome-stable
#例子(查看 系统自带sensible-browser浏览器 路径)whereis sensible-browser
举报

相关推荐

0 条评论