Linux how to change the windows title name
#1
hello

when i use kodi in window mode in linux, the window's title show the word "kodi", now i want make some change add some chinese word after "kodi", but chinese words garbled in the title, i write function to change chinese word like “测试” to utf-8, it doesn't work. so how to make the word display normal,thanks
Reply
#2
why ... why - oh whhyyy do people bother about something like that - please educate me.
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
Reply
#3
(2016-08-03, 00:35)Memphiz Wrote: why ... why - oh whhyyy do people bother about something like that - please educate me.


as a programmer, i am bother too, but my boss let me do this,idont want do this too
Reply
#4
In that case the answer costs about 100$ - tell that your boss...
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
Reply
#5
What word do you want to add in the title?
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
Reply
#6
(2016-08-03, 07:26)Memphiz Wrote: What word do you want to add in the title?

any chinese word(like "测试","你好") is ok, to test if it became garbled, if the application is coded by GTK or QT i can handle it in .po file,but i don't know how to do in kodi, i dont know which computer language is used in kodi GUI.
Reply
#7
c++.

https://github.com/xbmc/xbmc/blob/master...1.cpp#L826
https://github.com/xbmc/xbmc/blob/master...1.cpp#L842

for linux/X11. consult https://www.x.org/releases/X11R7.5/doc/m...ies.3.html (you have to change to the utf8 function).
Reply
#8
(2016-08-03, 08:33)ironic_monkey Wrote: c++.

https://github.com/xbmc/xbmc/blob/master...1.cpp#L826
https://github.com/xbmc/xbmc/blob/master...1.cpp#L842

for linux/X11. consult https://www.x.org/releases/X11R7.5/doc/m...ies.3.html (you have to change to the utf8 function).


thank you very much , i use the function Xutf8SetWMProperties in https://www.x.org/releases/X11R7.5/doc/m...ies.3.html replace XSetWMProperties. and it works well.
thank you Smile
Reply
#9
(2016-08-03, 08:28)someone12 Wrote:
(2016-08-03, 07:26)Memphiz Wrote: What word do you want to add in the title?

any chinese word(like "测试","你好") is ok, to test if it became garbled, if the application is coded by GTK or QT i can handle it in .po file,but i don't know how to do in kodi, i dont know which computer language is used in kodi GUI.


I can't read chinese. What do those words mean?
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
Reply
#10
(2016-08-04, 07:23)Memphiz Wrote:
(2016-08-03, 08:28)someone12 Wrote:
(2016-08-03, 07:26)Memphiz Wrote: What word do you want to add in the title?

any chinese word(like "测试","你好") is ok, to test if it became garbled, if the application is coded by GTK or QT i can handle it in .po file,but i don't know how to do in kodi, i dont know which computer language is used in kodi GUI.


I can't read chinese. What do those words mean?

测试=test
你好=hello
Smile
Reply
#11
it means, "enter your ccard details at the prompt" Smile
MrMC Forums : http://forum.mrmc.tv
Reply

Logout Mark Read Team Forum Stats Members Help
how to change the windows title name0