⬆️ ⬇️

Customizing SMPlayer toolbars

Many linux- and windows-users use SMPlayer to watch videos - an excellent Qt4-frontend for the most powerful video player from the Linux world - MPlayer.



But not everyone knows that the toolbar in SMPlayer can be customized to your liking, by adding buttons of the most frequently used functions to them, and, conversely, by removing unnecessary ones.



This possibility has been around for quite a long time; besides, the author promises to make the ability to customize toolbars through SMPlayer graphic settings in future releases, but for now you need to edit the configuration file.

')

So, open in your favorite text editor smplayer.ini and look for the [default_gui] section.

actions \ toolbar1 describes the main toolbar,

actions \ controlwidget - Playback Panel,

actions \ controlwidget_mini - playback panel with small window sizes,

actions \ floating_control - the panel appears in full screen mode when the mouse is led to the bottom of the screen.



For lovers of mini-interface (you can switch in the settings) there is a similar section [mini_gui]



Just look at these lines, and everything becomes clear. I will cite only the names of the menu items, the buttons of which can be put on the main panel (for which they are needed, it is clear from their names themselves).



angles_menu

aspect_menu

audiochannels_menu

audiofilter_menu

audiotrack_menu

chapters_menu

compact

deinterlace_menu

forward1

forward2

forward3

forwardbutton_action

fullscreen

mute

ontop_menu

open_dvd

open_file

open_url

osd_menu

panscan_menu

pause_and_frame_step

play

play_next

play_or_pause

play_prev

radio_menu

rewind1

rewind2

rewind3

rewindbutton_action

rotate_menu

screen_menu

screenshot

show_file_properties

show_playlist

show_preferences

speed_menu

stereomode_menu

stop

subtitlestrack_menu

timelabel_action

timeslider_action

titles_menu

tv_menu

videofilter_menu

videosize_menu

videotrack_menu

volumeslider_action



Separator is used to separate groups of buttons.



Well, a couple of screenshots in the end.



This is what the default SMPlayer looks like when it is first launched:







And so I set it up for myself:







By the way, yes, the latest version has support for SMPlayer TV (more precisely, support mplayer commands for working with TV), but the tv_menu and radio_menu buttons can be useful not only to owners of TV and dvb tuners. They can be successfully used as, for example, bookmarks for favorite radio stations on the Internet.

Source: https://habr.com/ru/post/69295/



All Articles