[LINUX HOW-TO] Usefull terminal commands !

  Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
VeggieVampire Offline
Junior Member
Posts: 14
Joined: Nov 2014
Reputation: 1
Post: #16
Run this command below to send a message to the main screen of KODI.

Code:
curl -X POST -H "Content-Type: application/json" -d '{"jsonrpc":"2.0","method":"GUI.ShowNotification","params":{"title":"MY COOL TITLE","message":"HELLO WORLD"},"id":1}' http://127.0.0.1:8080/jsonrpc
find quote
redkoatz Offline
Member
Posts: 91
Joined: Jan 2016
Reputation: 0
Post: #17
(2011-06-26 23:04)The-Boxhead Wrote:  In this section i will add usefull tips & tricks to make your xbmc life a little easier:

Tip1: (thanks to forum user MacUsers !)
Create a auto restart command for xbmc:

First of all make sure you have proper rights to perform the command:
Code:
sudo su
Then create a xbmc-restart command:
Code:
printf '#!/bin/bash\nkill -9 `pidof xbmc.bin`' > /usr/local/bin/xbmc-restart
Make it executable:
Code:
chmod +x /usr/local/bin/xbmc-restart

Sorry, I don't understand, doesn't systemctl restart kodi. Restart?
find quote
nickr Offline
Team-Kodi Member
Posts: 18,228
Joined: May 2009
Reputation: 363
Location: Christchurch NZ
Post: #18
systemctl does restart kodi on libreelec/openelec. On other linux systems I don't know.

If I have helped you or increased your knowledge, click the 'thank user' button to give thanks :) (People with less than 20 posts won't see the "Thank you" button.)
find quote
Post Reply