[РЕШЕНО]radiotray Запускается только из под root

Доброго всем времени суток.

И так: Radiotray запускается только после выполнения комманды sudo:
[funk2256@PC ~]$ radiotray
/usr/lib/python2.7/site-packages/radiotray/XmlDataProvider.py:23: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.
  from gi.repository import Gtk
Traceback (most recent call last):
  File "/usr/bin/radiotray", line 15, in <module>
    radiotray_runner.main(sys.argv[1:])
  File "/usr/lib/python2.7/site-packages/radiotray/radiotray_runner.py", line 39, in main
    RadioTray()
  File "/usr/lib/python2.7/site-packages/radiotray/RadioTray.py", line 54, in __init__
    self.provider.loadFromFile()
  File "/usr/lib/python2.7/site-packages/radiotray/XmlDataProvider.py", line 43, in loadFromFile
    self.root = etree.parse(self.filename).getroot()
  File "src/lxml/etree.pyx", line 3444, in lxml.etree.parse (src/lxml/etree.c:83188)
  File "src/lxml/parser.pxi", line 1834, in lxml.etree._parseDocument (src/lxml/etree.c:120760)
  File "src/lxml/parser.pxi", line 1860, in lxml.etree._parseDocumentFromURL (src/lxml/etree.c:121107)
  File "src/lxml/parser.pxi", line 1764, in lxml.etree._parseDocFromFile (src/lxml/etree.c:120015)
  File "src/lxml/parser.pxi", line 1161, in lxml.etree._BaseParser._parseDocFromFile (src/lxml/etree.c:114564)
  File "src/lxml/parser.pxi", line 598, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/etree.c:107741)
  File "src/lxml/parser.pxi", line 709, in lxml.etree._handleParseResult (src/lxml/etree.c:109450)
  File "src/lxml/parser.pxi", line 638, in lxml.etree._raiseParseError (src/lxml/etree.c:108304)
  File "/home/funk2256/.local/share/radiotray/bookmarks.xml", line 1
lxml.etree.XMLSyntaxError: Start tag expected, '<' not found, line 1, column 3
[funk2256@PC ~]$ sudo radiotray

[sudo] пароль для funk2256:
/usr/lib/python2.7/site-packages/radiotray/XmlDataProvider.py:23: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.
  from gi.repository import Gtk
/usr/lib/python2.7/site-packages/radiotray/AudioPlayerGStreamer.py:64: FutureWarning: The behavior of this method will change in future versions. Use specific 'len(elem)' or 'elem is not None' test instead.
  if(cfg_provider._settingExists("buffer_size")):
Sleep Timer, Stops playing after a predefined time, SleepTimerPlugin.py, Carlos Ribeiro
StationSwitcher, Allows cycling through stations, StationSwitcherPlugin.py, Mark F
HelloWorld, This is a test plugin, HelloWorld.py, Carlos Ribeiro
started
Notifications, Shows message notifications on the desktop, NotificationPlugin.py, Carlos Ribeiro
/usr/share/radiotray/plugins/NotificationPlugin.py:25: PyGIWarning: Notify was imported without specifying a version first. Use gi.require_version('Notify', '0.7') before import to ensure that the right version gets loaded.
  from gi.repository import Notify
Mate Media Keys, Controls Radio Tray through keyboard multimedia keys, MateMediaKeysPlugin.py, Ken
Gnome Media Keys, Controls Radio Tray through keyboard multimedia keys, GnomeMediaKeysPlugin.py, Carlos Ribeiro
History, Shows song history, HistoryPlugin.py, Carlos Ribeiro


UPD:
Люблю когда сам спросил --> Подумал --> Ответил.
И так, проблема решилась правкой файла
~/.local/share/radiotray/bookmarks.xml
Попробуйте radiotray-ng, он написан на си, а не на втором пайтоне, глюков практически нет, в отличие от. Единственное не то, это отсутствие плагина с историей.
In Tux We Trust
Консольное - sox
 
Зарегистрироваться или войдите чтобы оставить сообщение.