Difference between revisions of "Kodi"
From Blue-IT.org Wiki
(Created page with "== PC does not shutdown == Alter the button command by editing the corresping value in #> vim .kodi/addons/skin.eminence/1080i/DialogButtonMenu.xml #> # vim .kodi/addon...") |
(→PC does not shutdown) |
||
(9 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
== PC does not shutdown == | == PC does not shutdown == | ||
− | + | [UPDATE] only with Kodi <= vers. 16 (Isengard), solved with > vers.17 (Krypton) and above | |
+ | Alter the ''onclick'' command by editing the corresponding value to ''XBMC.Powerdown()'' in the file '''DialogButtonMenu.xml''' which you will find within your skins path: ''~/.kodi/addons/skin.YOUR_SKIN/YOUR_DPI'' | ||
+ | |||
+ | Old: <onclick>'''ShutDown()'''</onclick> | ||
+ | New: <onclick>'''XBMC.Powerdown()'''</onclick> | ||
+ | |||
+ | Change YOUR_SKIN and YOUR_DPI appropriate to your settings: | ||
+ | #> vim .kodi/addons/skin.YOUR_SKIN/YOUR_DPI/DialogButtonMenu.xml | ||
+ | |||
+ | For example my skin is ''eminence'' and uses ''1080i'' display resolution: | ||
#> vim .kodi/addons/skin.eminence/1080i/DialogButtonMenu.xml | #> vim .kodi/addons/skin.eminence/1080i/DialogButtonMenu.xml | ||
− | + | ||
− | |||
<control type="button" id="3116"> | <control type="button" id="3116"> | ||
<description>Shutdown</description> | <description>Shutdown</description> | ||
<include>DefContextMenuButton</include> | <include>DefContextMenuButton</include> | ||
<label>13005</label> | <label>13005</label> | ||
− | |||
'''<onclick>XBMC.Powerdown()</onclick>''' | '''<onclick>XBMC.Powerdown()</onclick>''' | ||
</control> | </control> | ||
+ | |||
+ | == Change the display output to second display == | ||
+ | With an integrated graphics card I had the problem switch the default output screen to the right display. Whenever I tried to do this within the settings menu, the kodi screen switched to the right and went black. So I could not save the new preferences. | ||
+ | |||
+ | A way to do it manually is: | ||
+ | vim ~/.kodi/userdata/guisettings.xml | ||
+ | |||
+ | Search for "monitor": | ||
+ | <monitor>HDMI-3</monitor> | ||
+ | |||
+ | and change it according to your needs. Possible values you should take out of your settings-menu in the kodi gui. | ||
+ | |||
+ | Voilá. |
Latest revision as of 12:39, 15 September 2017
PC does not shutdown
[UPDATE] only with Kodi <= vers. 16 (Isengard), solved with > vers.17 (Krypton) and above
Alter the onclick command by editing the corresponding value to XBMC.Powerdown() in the file DialogButtonMenu.xml which you will find within your skins path: ~/.kodi/addons/skin.YOUR_SKIN/YOUR_DPI
Old: <onclick>ShutDown()</onclick> New: <onclick>XBMC.Powerdown()</onclick>
Change YOUR_SKIN and YOUR_DPI appropriate to your settings:
#> vim .kodi/addons/skin.YOUR_SKIN/YOUR_DPI/DialogButtonMenu.xml
For example my skin is eminence and uses 1080i display resolution:
#> vim .kodi/addons/skin.eminence/1080i/DialogButtonMenu.xml <control type="button" id="3116"> <description>Shutdown</description> <include>DefContextMenuButton</include> <label>13005</label> <onclick>XBMC.Powerdown()</onclick> </control>
Change the display output to second display
With an integrated graphics card I had the problem switch the default output screen to the right display. Whenever I tried to do this within the settings menu, the kodi screen switched to the right and went black. So I could not save the new preferences.
A way to do it manually is:
vim ~/.kodi/userdata/guisettings.xml
Search for "monitor":
<monitor>HDMI-3</monitor>
and change it according to your needs. Possible values you should take out of your settings-menu in the kodi gui.
Voilá.