You are not logged in.
Pages: 1
Hi,
Is it possible to have animated icons on the desktop or in panels?.
Thanks
Offline
What exactly do you mean by "animated icons"? Do you mean like an animated gif as an icon? Or image animations?
Gtk3 supports keyframe image animations. For example, assuming a deskbar tasklist (window buttons) with only icons showing, something like this:
.tasklist button image { -gtk-icon-transform: scale(1.4); }
/* tasklist grow animation */
@keyframes grow {
0% { -gtk-icon-transform: scale(1.4); }
10% { -gtk-icon-transform: scale(1.43); }
20% { -gtk-icon-transform: scale(1.46); }
30% { -gtk-icon-transform: scale(1.49); }
40% { -gtk-icon-transform: scale(1.52); }
50% { -gtk-icon-transform: scale(1.55); }
60% { -gtk-icon-transform: scale(1.58); }
70% { -gtk-icon-transform: scale(1.61); }
80% { -gtk-icon-transform: scale(1.64); }
90% { -gtk-icon-transform: scale(1.67); }
100% { -gtk-icon-transform: scale(1.7); }
}
.tasklist button:hover image {
animation-name: grow;
animation-duration: 10s;
animation-timing-function: step-end;
animation-delay: .2s
}
Will generate this:
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Thanks.
I'm referring to an icon with a repeatedly changing image, something like an animated GIF.
https://www.flaticon.com/animated-icons
Cheers
Offline
I don't believe so. I don't think xfdesktop or xfce4-panel are coded to handle animated images. At this point your limited to CSS animations.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
How come animated cursors work?
Linux Mint Xfce 21.1
Offline
I don't believe so. I don't think xfdesktop or xfce4-panel are coded to handle animated images. At this point your limited to CSS animations.
Thanks.
I was going to ask the same question as agashamu - there are animated cursors so why not icons?.
Cheers
Offline
Bump.
Offline
If I had to guess, Xfce implements the Xcursor protocol, which allows for animated cursors.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Thanks.
Offline
Pages: 1
[ Generated in 0.010 seconds, 7 queries executed - Memory usage: 546.2 KiB (Peak: 547.05 KiB) ]