自从使用awesome window manager之后,坚果云服务就不再自动启动了,需要手动启动。 坚果云的启动脚本位置为:“~/.nutstore/dist/bin/nutstore-pydaemon.py”
要在awesome window manager中设置为自动启动坚果云服务,则需要在awesome window manager配置文件rc.lua中添加如下代码:
-- 自启动
autorun = true
autorunApps =
{
"~/.nutstore/dist/bin/nutstore-pydaemon.py"
}
if autorun then
for app = 1, #autorunApps do
awful.util.spawn_with_shell(autorunApps[app])
end
end原文地址:http://darksun.blog.51cto.com/3874064/1560619