【2019年02月11日更新】壁纸更换程序—unsplash4deepin
Tofloor
poster avatar
kid_kid
deepin
2018-05-15 19:35
Author
本帖最后由 kid_kid 于 2019-2-11 20:38 编辑

unsplash4deepin-qt
本程序长驻托盘小图标,内存占用14M左右,对于多显示器匹配最高分辨率。
春节抽空写了个壁纸保存功能,因为自己在用的时候经常会遇到想要保存的壁纸,但却忘了程序把壁纸下在哪里了- -!
下载地址:https://github.com/shansb/unsplash4deepin-qt/releases


安装
如遇无法启动无法设置开机自启动等问题请卸载后重新安装即可。

使用
安装好之后需要手动启动,需要手动右击图标添加开机自启动。
  • 手动刷新:推荐双击小图标刷新;也可以通过右击图标,点击手动刷新菜单进行刷新。
  • 设置刷新时间:右击托盘图标,点击刷新时间进入子菜单即可勾选指定的刷新时间。
    • 设置刷新时间后自动在下一次刷新之后生效,也可通过手动刷新即时生效。
  • 保存壁纸:会将当前壁纸保存到~/Pictures/unsplash/ 目录里中。
  • 关于:跳转github项目主页。
  • 退出:退出程序。

截图
Reply Favorite View the author
All Replies
1 / 2
To page
avatar
WENWEN
deepin
2018-05-15 19:48
#1
点赞  dtk写一个撒
Reply View the author
avatar
impressionyang
deepin
2018-05-15 19:49
#2
赞呀,这波666,萌新的福音
Reply View the author
avatar
nhnhwsnh
deepin
2018-05-15 19:50
#3
正好最近在捯饬Python,回头我也弄一个每天把Bing的图搞回来当桌面
Reply View the author
avatar
要讲武德
deepin
2018-05-15 20:01
#4
Reply View the author
avatar
jianguo922
deepin
2018-05-15 20:30
#5
正好需要,试下!谢谢楼主分享
Reply View the author
avatar
kid_kid
deepin
2018-05-15 21:37
#6
https://bbs.deepin.org/post/156469
点赞  dtk写一个撒

现在还不会,有空学学
Reply View the author
avatar
BG7ZAG
deepin
2018-05-15 21:38
#7
看看哪位大神有空用dtk写个
Reply View the author
avatar
bsidb
deepin
2018-05-16 03:27
#8
点赞~ 正想写个Bing的自动换壁纸的,就看到这个了!
Reply View the author
avatar
jianguo922
deepin
2018-05-16 05:49
#9
安装完成,启动菜单里找不到对应图标,托盘也没看到
Reply View the author
avatar
ax******er@126.com
deepin
2018-05-16 06:52
#10
希望打包成flatpak,然后提交deepin商店
Reply View the author
avatar
独孤不羁
deepin
2018-05-16 14:26
#11
我想写了一个自动换壁纸的程序,想知道DDE的API接口,调用哪个API可以更换壁纸?
DDE的API参考哪里有啊。
Reply View the author
avatar
kid_kid
deepin
2018-05-16 17:26
#12
https://bbs.deepin.org/post/156469
安装完成,启动菜单里找不到对应图标,托盘也没看到

- -!没有么,我其实就是将快捷方式复制到启动器目录。终端没有显示“应用创建失败”的提示么
Reply View the author
avatar
kid_kid
deepin
2018-05-16 17:27
#13
https://bbs.deepin.org/post/156469
我想写了一个自动换壁纸的程序,想知道DDE的API接口,调用哪个API可以更换壁纸?
DDE的API参考哪里有啊。 ...

可以查看“深度看图”的源码,在github上
Reply View the author
avatar
kid_kid
deepin
2018-05-16 17:28
#14
https://bbs.deepin.org/post/156469
希望打包成flatpak,然后提交deepin商店

正在学习用qt来写一个,到时再打包
Reply View the author
avatar
kid_kid
deepin
2018-05-16 17:35
#15
https://bbs.deepin.org/post/156469
安装完成,启动菜单里找不到对应图标,托盘也没看到

哦,可能你直接点击install.sh运行了,这时候路径在home下,脚本里面的路径就不对了,所以需要终端cd到当前目录运行install.sh。
Reply View the author
avatar
y***0@163.com
deepin
2018-05-16 19:55
#16
https://bbs.deepin.org/post/156469
哦,可能你直接点击install.sh运行了,这时候路径在home下,脚本里面的路径就不对了,所以需要终端cd到当 ...

完全是到目录里,./~.sh  菜单里还是没有图标  ,装这个需要装Java吗?
Reply View the author
avatar
kid_kid
deepin
2018-05-17 01:27
#17
https://bbs.deepin.org/post/156469
完全是到目录里,./~.sh  菜单里还是没有图标  ,装这个需要装Java吗?

安装不需要,运行的话deepin默认有java环境的,可以直接运行。终端有什么输出么,我手上的两台电脑跑安装脚本都没问题...方便的话能否把终端输出贴出来。如果觉得麻烦也可以等我把QT倒腾明白了打包个deb或者flatpak再安装。 -.-
Reply View the author
avatar
海天鹰
deepin
2018-05-17 05:32
#18
要什么安装,几行bash就搞定:
#!/bin/sh     
while :
do
gsettings set org.gnome.desktop.background picture-uri file://"`ls /media/sonichy/fun/pic/desk/*.jpg | shuf -n1`"  
sleep 30
done
Reply View the author
avatar
y***0@163.com
deepin
2018-05-17 09:57
#19
https://bbs.deepin.org/post/156469
安装不需要,运行的话deepin默认有java环境的,可以直接运行。终端有什么输出么,我手上的两台电脑跑安装 ...

wunian@wunian-PC:~/Documents/unsplash4deepin$ chmod +x install.sh
wunian@wunian-PC:~/Documents/unsplash4deepin$ ./install.sh
请求root权限...
应用将安装到opt目录下,并创建启动器图标

Root状态:
获得权限
'resource/setting' -> '/opt/unsplash4Deepin/setting'
'resource/setting.json' -> '/opt/unsplash4Deepin/setting.json'
'resource/unplash4deepin.desktop' -> '/opt/unsplash4Deepin/unplash4deepin.desktop'
'resource/unsplash4deepin.jar' -> '/opt/unsplash4Deepin/unsplash4deepin.jar'
'resource/unsplash4deepin.png' -> '/opt/unsplash4Deepin/unsplash4deepin.png'
应用在/opt目录下成功创建
'resource/setting' -> '/home/wunian/.config/unplash4deepin/setting'
应用参数设置成功
'resource/unplash4deepin.desktop' -> '/home/wunian/.config/autostart/unplash4deepin.desktop'
应用设置为自启动
'resource/unplash4deepin.desktop' -> '/usr/share/applications/unplash4deepin.desktop'
快捷方式创建成功
  这个应该成功了吧 ,但菜单里找不到
Reply View the author
avatar
21wmd
deepin
2018-05-17 16:20
#20
感觉楼主666啊,感觉楼主应该在完成开发后推进软件商店啊
Reply View the author
1 / 2
To page