kde desktop autostart program

论坛 期权论坛 编程之家     
选择匿名的用户   2021-6-2 19:02   902   0

In KDE desktop environment,we cannot add the start script in /etc/rc.local file simple.

The GUI program needs to communicate with the X server.

The Apps that do not need X server can be done in /etc/rc.local.

So ,for KDE here, we should add the autostart script in ~/.kde4/Autostart/ directory.

In this path,we create a file has execute permission,when the kde starts it will call all the files here,

to start the user need program.

for KDE3,it is ~/kde/Autostart.

for KDE4,it is ~/.kde4/Autostart.

for Gnome,it is ~/.gnomerc (I forget the detail name).



分享到 :
0 人收藏
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

积分:3875789
帖子:775174
精华:0
期权论坛 期权论坛
发布
内容

下载期权论坛手机APP