ubuntu 16.04LTS 开机启动自动更换壁纸的实现方法

2019-01-16 22:28:31丽君

开机自启动

在/home/hzy/.config/autostart中,新建一个xxx.desktop的文件,内容如下:

[Desktop Entry] Name=autoChangeBackgroundImg Comment=Python Program Exec=python /home/hzy/Script/autoChangeBackgroundImg/autoChangeBackgroundImg.py Icon=/home/hzy/Script/autoChangeBackgroundImg/autoChangeBackgroundImg.png Terminal=false MultipleArgs=false Type=Application Categories=Application;Development; StartupNotify=true

说明:

1. Exec 后面的路径就是该脚本的路径

2. Icon的话可以自己随便找个图片,设置成该路径即可

以上这篇ubuntu 16.04LTS 开机启动自动更换壁纸的实现方法就是小编分享给大家的全部内容了,希望能给大家一个参考,也希望大家多多支持易采站长站。

您可能感兴趣的文章:

Ubuntu 18.04 LTS安装KVM虚拟机的方法步骤Ubuntu 16.04 LTS系统里中文txt文件打开的问题解决VMware14.0.0版本虚拟机安装Ubuntu16.04 LTS版本Linux系统图文教程ubuntu 16.04 LTS 安装mongodb 3.2.8教程Ubuntu LTS服务器部署Jenkins详细介绍Ubuntu 16.04 LTS下安装MATLAB 2014B的方法教程Ubuntu 16.04 LTS中源码安装Python 3.6.0的方法教程详解从Ubuntu 14.04 LTS版升级到Ubuntu 16.04 LTSUbuntu16.04 LTS 下安装 Android Studio 2.2.2 的详细步骤Ubuntu Server 16.04 LTS 上安装 LAMP图解教程ubuntu14.04LTS安装nginx+mariaDB+php7+YAF的方法Ubuntu16.04.4LTS安装mininet遇到的问题及解决方案