admin 管理员组文章数量: 1184232
Ubuntu 20.04动态壁纸
默认你已经下好gnome的主题编辑器tweaks了。
如果没有下载,使用
sudo apt install gnome-tweaks
进行下载
打开
/usr/share/backgrounds/contest/
,有一个
focal.xml
,里面存放的就是动态壁纸的信息。
将这个xml文件复制一份,然后进行编辑,例如
<background><starttime><year>2020</year><month>04</month><day>01</day><hour>00</hour><minute>00</minute><second>00</second></starttime><!-- This animation will start at midnight. --><static><duration>1795.0</duration><file>/usr/share/backgrounds/1.png</file></static><transition><duration>5.0</duration><from>/usr/share/backgrounds/1.png</from><to>/usr/share/backgrounds/2.png</to></transition><static><duration>1795.0</duration><file>/usr/share/backgrounds/2.png</file></static><transition><duration>5.0</duration><from>/usr/share/backgrounds/2.png</from><to>/usr/share/backgrounds/3.png</to></transition><static><duration>1795.0</duration><file>/usr/share/backgrounds/3.png</file></static><transition><duration>5.0</duration><from>/usr/share/backgrounds/3.png</from><to>/usr/share/backgrounds/4.png</to></transition><static><duration>1795.0</duration><file>/usr/share/backgrounds/4.png</file></static><transition><duration>5.0</duration><from>/usr/share/backgrounds/4.png</from><to>/usr/share/backgrounds/1.png</to></transition><!-- <static>
<duration>1795.0</duration>
<file>/usr/share/backgrounds/ryan-stone-skykomish-river.jpg</file>
</static>
<transition>
<duration>5.0</duration>
<from>/usr/share/backgrounds/ryan-stone-skykomish-river.jpg</from>
<to>/usr/share/backgrounds/hardy_wallpaper_uhd.png</to>
</transition>
<static>
<duration>1795.0</duration>
<file>/usr/share/backgrounds/hardy_wallpaper_uhd.png</file>
</static>
<transition>
<duration>5.0</duration>
<from>/usr/share/backgrounds/hardy_wallpaper_uhd.png</from>
<to>/usr/share/backgrounds/Focal-Fossa_WP_4096x2304_GREY.png</to>
</transition> --></background>然后,打开tweaks,在壁纸设置一栏填入你编辑的xml文件的地址
然后按alt+F2,输入
r
重启gnome,就可以使用动态壁纸了
版权声明:本文标题:Ubuntu 20.04下,从静态到动态:一次完美的Gnome桌面升级指南 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.roclinux.cn/b/1771241353a3542365.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论