1
From version 0.3.13 smplayer can change its icons at runtime.
3
In Preferences->Interface you'll find an option for changing the icon set.
5
In this document I'm going to explain how that option works and how you
6
can create your own icon set.
8
smplayer will look for a directory for icons. The directory may be
9
/usr/local/share/smplayer/icons/ or something like that. You can know it
10
by looking at the first lines of the smplayer log:
13
This is smplayer v. 0.3.13 running on Linux
15
* application path: '/usr/bin'
16
* data path: '/usr//share/smplayer/'
17
* translation path: '/usr//share/smplayer/translations/'
18
* doc path: '/usr//share/doc/packages/smplayer/'
19
* icon path: '/usr//share/smplayer/icons/'
22
Well, under the icons/ directory there can be other subdirectories. Each
23
subdirectory contains an icon set. The name of the directory will be the
24
name of the icon set (the name which will be shown in the Preferences
27
Inside that directory there'll be the *.png files that smplayer will
28
load if the user choose that icon set.
30
To create your own icon set, just create a subdirectory under icons/
31
with the name you want. Inside store your icons with the same names that
32
they have in icons-png/ in the sources.
34
It's not necessary that the icons were the same size as the original
35
ones, but smplayer can resize some of them.
37
It's not necessary either that you create a replacement for all icons.
38
If a icon is not there, smplayer will use the default icon.
40
In the other hand smplayer could try to load a icon that it's not even
41
in the default icon set. So your icon set could even provide icons for
42
menu options that the default icon set doesn't have.
44
Currently smplayer searches for these additional icons: