Add startup programs in GNOME 3

This is a tip to automatically start any program of your choice while logging into your GNOME 3 desktop.

Create an ordinary file in your ~/.config/autostart directory. If the ~/.config/autostartdirectory is not present, you will have to create it.

Name the file appname.desktop; where appname is the name of the program you want to start during GNOME 3 startup.

For example, I wanted Artha (a free offline dictionary)  to start during GNOME 3 startup in Fedora and I named the file artha.desktop and saved it in the~/.config/autostart directory.

Now enter the following data in the file.

[Desktop Entry]
Type=Application
Exec=/usr/bin/artha Hidden=false
X-GNOME-Autostart-enabled=true
Name[en_US]=artha Name=artha Comment[en_US]=offline dictionary Comment=offline English dictionary

You should change the sections shown in blue to reflect your application.

Lastly save and close the file. That is it. Next time you start GNOME 3, the application will automatically start running.

出自http://linuxandfriends.com/2011/06/01/how-to-add-startup-programs-in-gnome-3/

转载于:https://my.oschina.net/wangzhengbo/blog/60703

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值