Problem: smplayer gui does not start in desired language obsd$ sysctl kern.version kern.version=OpenBSD 6.4-current (GENERIC.MP) #388: Thu Oct 25 00:35:54 MDT 2018 [email protected] <mailto:[email protected]>:/usr/src/sys/arch/amd64/compile/GENERIC.MP
obsd$ locale LANG=pl_PL.UTF-8 LC_COLLATE="pl_PL.UTF-8" LC_CTYPE="pl_PL.UTF-8" LC_MONETARY="pl_PL.UTF-8" LC_NUMERIC="pl_PL.UTF-8" LC_TIME="pl_PL.UTF-8" LC_MESSAGES="pl_PL.UTF-8" LC_ALL=pl_PL.UTF-8 obsd$ pkg_info -I smplayer smplayer-18.9.0 complete front-end for MPlayer and MPV pkg_info says translations are installed here:/usr/local/share/smplayer/translations but smplayer is looking for translations in wrong place and the GUI starts in english: obsd$ smplayer Debug: global_init Debug: global_init: config file: '/home/dataflux/.config/smplayer/smplayer.ini' Debug: Preferences::load Debug: AssStyles::load Debug: Preferences::load: config_version: 5, CURRENT_CONFIG_VERSION: 5 Debug: Translator::loadCatalog: can't load qt_pl_PL from /usr/local/bin/translations Debug: Translator::loadCatalog: can't load qt_pl_PL from /usr/local/lib/qt5/translations Debug: Translator::loadCatalog: can't load qtbase_pl_PL from /usr/local/bin/translations Debug: Translator::loadCatalog: can't load qtbase_pl_PL from /usr/local/lib/qt5/translations Debug: Translator::loadCatalog: can't load smplayer_pl_PL from /usr/local/bin/translations This is SMPlayer v. 18.9.0 (revision 9113) running on Other OS Debug: This is SMPlayer v. 18.9.0 (revision 9113) running on Other OS Debug: Compiled with Qt v. 5.9.6, using 5.9.6 Debug: * application path: "/usr/local/bin" Debug: * data path: "/usr/local/bin" Debug: * translation path: "/usr/local/bin/translations" Debug: * doc path: "/usr/local/bin/docs" Debug: * themes path: "/usr/local/bin/themes" Debug: * shortcuts path: "/usr/local/bin/shortcuts" Debug: * config path: "/home/dataflux/.config/smplayer" Debug: * ini path: "/home/dataflux/.config/smplayer" Debug: * file for subtitles' styles: "/home/dataflux/.config/smplayer/styles.ass" Debug: * current path: "/home/dataflux" When I manually copy translation file to /usr/local/bin/translations the GUI starts in correct language: obsd# cp /usr/local/share/smplayer/translations/smplayer_pl.qm /usr/local/bin/translations/smplayer_pl.qm
[15:23:33:831] Translator::loadCatalog: can't load qt_pl_PL from /usr/local/bin/translations [15:23:33:831] Translator::loadCatalog: can't load qt_pl_PL from /usr/local/lib/qt5/translations [15:23:33:831] Translator::loadCatalog: can't load qtbase_pl_PL from /usr/local/bin/translations [15:23:33:831] Translator::loadCatalog: can't load qtbase_pl_PL from /usr/local/lib/qt5/translations [15:23:33:831] Translator::loadCatalog: can't load smplayer_pl_PL from /usr/local/bin/translations [15:23:33:832] This is SMPlayer v. 18.9.0 (revision 9113) running on Other OS [15:23:33:832] Compiled with Qt v. 5.9.6, using 5.9.6 [15:23:33:832] * application path: "/usr/local/bin" [15:23:33:832] * data path: "/usr/local/bin" [15:23:33:832] * translation path: "/usr/local/bin/translations" [15:23:33:832] * doc path: "/usr/local/bin/docs" [15:23:33:832] * themes path: "/usr/local/bin/themes" [15:23:33:832] * shortcuts path: "/usr/local/bin/shortcuts" [15:23:33:832] * config path: "/home/dataflux/.config/smplayer" [15:23:33:832] * ini path: "/home/dataflux/.config/smplayer" [15:23:33:832] * file for subtitles' styles: "/home/dataflux/.config/smplayer/styles.ass" [15:23:33:832] * current path: "/home/dataflux/.config/smplayer" [15:23:33:832] main: hdpi_config_path: "/home/dataflux/.config/smplayer" [15:23:33:832] SMPlayer::processArgs: arguments: 1 [15:23:33:832] SMPlayer::processArgs: 0 = smplayer [15:23:33:832] SMPlayer::processArgs: files_to_play: count: 0 [15:23:33:833] SMPlayer::gui: changed working directory to app path [15:23:33:833] SMPlayer::gui: current directory: /usr/local/bin [15:23:33:834] Screen::setAutoHideCursor: 0 [15:23:33:834] Screen::setAutoHideCursor: 0 [15:23:33:836] Images::setTheme: "H2O" is an internal theme [15:23:33:836] Images::setThemesPath: "" [15:23:33:873] MediaSettings::reset [15:23:33:873] Core::changeFileSettingsMethod: hash [15:23:33:874] PlayerID::Player: player_bin: "mpv" filename: "mpv" [15:23:33:874] PlayerProcess::createPlayerProcess: creating MPVProcess [15:23:33:874] MPVProcess::initializeOptionVars [15:23:33:874] MediaSettings::reset [15:23:33:874] MplayerLayer::setRepaintBackground: 1 [15:23:33:874] Preferences::monitor_aspect_double [15:23:33:874] warning: monitor_aspect couldn't be parsed! [15:23:33:874] monitor_aspect set to 0 [15:23:33:877] Sig::load [15:23:33:956] Playlist::setModified: 0 [15:23:33:956] Playlist::updateWindowTitle: "Untitled playlist" [15:23:33:966] Recents::addItem: 'http://smplayer.info/sample.m3u8' [15:23:33:966] Playlist::setConfigPath: "/home/dataflux/.config/smplayer" [15:23:33:966] Playlist::setConfigPath: ini file: "/home/dataflux/.config/smplayer/playlist.ini" [15:23:33:967] Playlist::loadSettings [15:23:33:967] Helper::qtVersion: 5906 [15:23:33:969] Playlist::updateWindowTitle: "Untitled playlist" [15:23:33:969] Playlist::setModified: 0 [15:23:33:969] Playlist::updateWindowTitle: "Untitled playlist" [15:23:33:976] BaseGui::BaseGui: default_style: "fusion" [15:23:33:978] Favorites::load [15:23:33:979] Favorites::load [15:23:33:979] TVList::parse_channels_conf [15:23:33:979] VList::parse_channels_conf: /home/dataflux/.mplayer/channels.conf.ter doesn't exist [15:23:33:979] TVList::parse_channels_conf: can't open /home/dataflux/.mplayer/channels.conf [15:23:33:979] Favorites::load [15:23:33:979] TVList::parse_channels_conf [15:23:33:979] VList::parse_channels_conf: /home/dataflux/.mplayer/channels.conf.ter doesn't exist [15:23:33:979] TVList::parse_channels_conf: can't open /home/dataflux/.mplayer/channels.conf [15:23:33:987] BaseGui::initializeMenus [15:23:33:987] BaseGui::updateBookmarks [15:23:34:014] BaseGui::initializeMenus [15:23:34:014] BaseGui::updateBookmarks [15:23:34:015] BaseGui::updateRecents [15:23:34:015] BaseGui::updateWidgets [15:23:34:015] Core::changeUseCustomSubStyle: 1 [15:23:34:015] Core::changeSubVisilibity: 1 [15:23:34:015] WARNING: PlayerProcess::writeToStdin: process not running [15:23:34:015] Core::displayMessage [15:23:34:015] PlayerID::Player: player_bin: "mpv" filename: "mpv" [15:23:34:015] BaseGui::setupNetworkProxy [15:23:34:015] BaseGui::setupNetworkProxy: no proxy [15:23:34:015] BaseGui::setStayOnTop: 0 [15:23:34:015] BaseGui::setStayOnTop: nothing to do [15:23:34:015] BaseGui::updateWidgets [15:23:34:016] PlayerID::Player: player_bin: "mpv" filename: "mpv" [15:23:34:016] BaseGui::updateRecents [15:23:34:016] UpdateChecker::UpdateChecker: enabled: false [15:23:34:016] UpdateChecker::UpdateChecker: days_to_check: 7 [15:23:34:016] UpdateChecker::UpdateChecker: days since last check: 0 [15:23:34:021] BaseGuiPlus::updateSendToScreen [15:23:34:022] BaseGuiPlus::updateSendAudioMenu [15:23:34:022] DeviceInfo::paDevices [15:23:34:039] DeviceInfo::paDevices: index: 0 [15:23:34:039] DeviceInfo::paDevices: name: "sndio-sink" [15:23:34:040] PlayerID::Player: player_bin: "mpv" filename: "mpv" [15:23:34:040] GlobalShortcuts::GlobalShortcuts [15:23:34:041] GlobalShortcuts::setEnabled: false [15:23:34:043] Chromecast::loadSettings [15:23:34:050] BaseGui::initializeMenus [15:23:34:051] BaseGui::updateBookmarks [15:23:34:051] BaseGui::updateRecents [15:23:34:052] BaseGuiPlus::updateWidgets [15:23:34:052] BaseGui::updateWidgets [15:23:34:052] PlayerID::Player: player_bin: "mpv" filename: "mpv" [15:23:34:054] BaseGuiPlus::loadConfig [15:23:34:054] DefaultGui::createStatusBar [15:23:34:056] StateWidget::StateWidget: supported formats for QMovie: ("gif") [15:23:34:056] DefaultGui::createActions [15:23:34:057] DefaultGui::createControlWidget [15:23:34:057] DefaultGui::createControlWidgetMini [15:23:34:057] AutohideWidget::installFilter: child name: "mplayerlayer" [15:23:34:057] AutohideWidget::installFilter: child name: "mplayerwindowlogo" [15:23:34:057] AutohideWidget::installFilter: child name: "" [15:23:34:057] DefaultGui::adjustFloatingControlSize [15:23:34:058] DefaultGui::populateMainMenu [15:23:34:058] BaseGuiPlus::populateMainMenu [15:23:34:058] BaseGui::populateMainMenu [15:23:34:059] BaseGuiPlus::initializeSystrayMenu [15:23:34:065] BaseGui::initializeMenus [15:23:34:065] BaseGui::updateBookmarks [15:23:34:065] BaseGui::updateRecents [15:23:34:065] DefaultGui::updateWidgets [15:23:34:065] BaseGuiPlus::updateWidgets [15:23:34:065] BaseGui::updateWidgets [15:23:34:065] PlayerID::Player: player_bin: "mpv" filename: "mpv" [15:23:34:066] PlayerID::Player: player_bin: "mpv" filename: "mpv" [15:23:34:066] PlayerID::Player: player_bin: "mpv" filename: "mpv" [15:23:34:067] DefaultGui::loadConfig [15:23:34:067] DesktopInfo::isInsideScreen: geometry of screen: QRect(0,0 1920x1080) [15:23:34:068] DesktopInfo::isInsideScreen: center point of window: QPoint(1052,586) [15:23:34:068] ToolbarEditor::load: 'toolbar1' [15:23:34:068] ToolbarEditor::load: loading action open_file [15:23:34:068] ToolbarEditor::load: loading action open_url [15:23:34:068] ToolbarEditor::load: loading action favorites_menu [15:23:34:068] ToolbarEditor::load: loading action separator [15:23:34:068] ToolbarEditor::load: adding separator [15:23:34:068] ToolbarEditor::load: loading action screenshot [15:23:34:068] ToolbarEditor::load: loading action separator [15:23:34:068] ToolbarEditor::load: adding separator [15:23:34:068] ToolbarEditor::load: loading action show_file_properties [15:23:34:069] ToolbarEditor::load: loading action show_playlist [15:23:34:069] ToolbarEditor::load: loading action show_tube_browser [15:23:34:069] ToolbarEditor::load: loading action separator [15:23:34:069] ToolbarEditor::load: adding separator [15:23:34:069] ToolbarEditor::load: loading action show_preferences [15:23:34:069] ToolbarEditor::load: loading action separator [15:23:34:069] ToolbarEditor::load: adding separator [15:23:34:069] ToolbarEditor::load: loading action play_prev [15:23:34:069] ToolbarEditor::load: loading action play_next [15:23:34:069] ToolbarEditor::load: loading action separator [15:23:34:069] ToolbarEditor::load: adding separator [15:23:34:070] ToolbarEditor::load: loading action audiotrack_menu [15:23:34:070] ToolbarEditor::load: loading action subtitlestrack_menu [15:23:34:070] ToolbarEditor::load: 'controlwidget' [15:23:34:070] ToolbarEditor::load: loading action play_or_pause [15:23:34:071] ToolbarEditor::load: loading action stop [15:23:34:071] ToolbarEditor::load: loading action separator [15:23:34:072] ToolbarEditor::load: adding separator [15:23:34:072] ToolbarEditor::load: loading action rewindbutton_action [15:23:34:072] ToolbarEditor::load: loading action timeslider_action [15:23:34:073] TimeSlider::setDragDelay: 100 [15:23:34:073] ToolbarEditor::load: loading action forwardbutton_action [15:23:34:073] ToolbarEditor::load: loading action separator [15:23:34:073] ToolbarEditor::load: adding separator [15:23:34:073] ToolbarEditor::load: loading action fullscreen [15:23:34:073] ToolbarEditor::load: loading action mute [15:23:34:074] ToolbarEditor::load: loading action volumeslider_action [15:23:34:074] ToolbarEditor::load: 'controlwidget_mini' [15:23:34:074] ToolbarEditor::load: loading action play_or_pause [15:23:34:075] ToolbarEditor::load: loading action stop [15:23:34:075] ToolbarEditor::load: loading action separator [15:23:34:075] ToolbarEditor::load: adding separator [15:23:34:075] ToolbarEditor::load: loading action rewind1 [15:23:34:075] ToolbarEditor::load: loading action timeslider_action [15:23:34:075] TimeSlider::setDragDelay: 100 [15:23:34:075] ToolbarEditor::load: loading action forward1 [15:23:34:075] ToolbarEditor::load: loading action separator [15:23:34:075] ToolbarEditor::load: adding separator [15:23:34:075] ToolbarEditor::load: loading action mute [15:23:34:075] ToolbarEditor::load: loading action volumeslider_action [15:23:34:076] ToolbarEditor::load: 'floating_control' [15:23:34:076] ToolbarEditor::load: loading action play_or_pause [15:23:34:076] ToolbarEditor::load: loading action stop [15:23:34:076] ToolbarEditor::load: loading action separator [15:23:34:076] ToolbarEditor::load: adding separator [15:23:34:076] ToolbarEditor::load: loading action rewind1 [15:23:34:076] ToolbarEditor::load: loading action current_timelabel_action [15:23:34:077] ToolbarEditor::load: loading action timeslider_action [15:23:34:077] TimeSlider::setDragDelay: 100 [15:23:34:077] ToolbarEditor::load: loading action total_timelabel_action [15:23:34:077] ToolbarEditor::load: loading action forward1 [15:23:34:077] ToolbarEditor::load: loading action separator [15:23:34:077] ToolbarEditor::load: adding separator [15:23:34:077] ToolbarEditor::load: loading action fullscreen [15:23:34:077] ToolbarEditor::load: loading action mute [15:23:34:077] ToolbarEditor::load: loading action volumeslider_action [15:23:34:079] Helper::qtVersion: 5906 [15:23:34:079] DefaultGui::updateWidgets [15:23:34:079] BaseGuiPlus::updateWidgets [15:23:34:079] BaseGui::updateWidgets [15:23:34:079] PlayerID::Player: player_bin: "mpv" filename: "mpv" [15:23:34:080] PlayerID::Player: player_bin: "mpv" filename: "mpv" [15:23:34:080] PlayerID::Player: player_bin: "mpv" filename: "mpv" [15:23:34:080] BaseGui::applyStyles [15:23:34:080] BaseGui::applyStyles: stylesheet: "H2O" [15:23:34:080] BaseGui::changeStyleSheet: "H2O" [15:23:34:080] BaseGui::loadQss: :/default-theme/style.qss [15:23:34:080] Images::setTheme: "H2O" is an internal theme [15:23:34:080] Images::setThemesPath: "" [15:23:34:080] BaseGui::changeStyleSheet: ":/H2O/style.qss" [15:23:34:080] BaseGui::loadQss: :/H2O/style.qss [15:23:34:080] Images::setTheme: "H2O" is an internal theme [15:23:34:080] Images::setThemesPath: "" [15:23:34:114] BaseGui::applyStyles: style: "Windows" [15:23:34:187] BaseGui::showEvent [15:23:34:251] BaseGui::loadActions [15:23:34:251] ActionsEditor::loadFromConfig [15:23:34:259] BaseGuiPlus::updateShortcutsContext [15:23:34:270] BaseGui::initializeMenus [15:23:34:270] BaseGui::updateBookmarks [15:23:34:271] BaseGui::updateRecents [15:23:34:271] DefaultGui::updateWidgets [15:23:34:271] BaseGuiPlus::updateWidgets [15:23:34:271] BaseGui::updateWidgets [15:23:34:271] PlayerID::Player: player_bin: "mpv" filename: "mpv" [15:23:34:272] PlayerID::Player: player_bin: "mpv" filename: "mpv" [15:23:34:272] PlayerID::Player: player_bin: "mpv" filename: "mpv" [15:23:35:024] BaseGui::checkReminder [15:23:35:645] BaseGuiPlus::closeEvent [15:23:35:645] BaseGuiPlus::closeWindow [15:23:35:645] BaseGui::closeWindow [15:23:35:645] DefaultGui::~DefaultGui [15:23:35:645] DefaultGui::saveConfig [15:23:35:645] DefaultGui::saveConfig: w: 1143 h: 758 [15:23:35:645] Helper::qtVersion: 5906 [15:23:35:645] ToolbarEditor::save: 'toolbar1' [15:23:35:645] ToolbarEditor::save: 'controlwidget' [15:23:35:645] ToolbarEditor::save: 'controlwidget_mini' [15:23:35:645] ToolbarEditor::save: 'floating_control' [15:23:35:645] BaseGuiPlus::saveConfig [15:23:35:645] Chromecast::saveSettings [15:23:35:646] Core::saveMediaInfo [15:23:35:646] Favorites::save [15:23:35:649] Favorites::save [15:23:35:649] Favorites::save [15:23:35:650] Playlist::saveSettings [15:23:35:650] Helper::qtVersion: 5906 [15:23:35:680] global_end [15:23:35:680] Preferences::save [15:23:35:680] AssStyles::save
dmesg.boot
Description: Binary data
