Hi, I know it is possibly to set the titles of X apps that honor the -name and -title parameters, however I would like to change the title of apps programmatically.
EDIT: Solved:
[root@kindle root]# xprop -name LBreakout2 -f WM_NAME 8s -set WM_NAME bob
:2thumbsup
is a handyish shell to adapt to do stuff
however it seems that setting the title after it has been stuck on the background is not enough. nor is toggling the WM_STATE 0 to 1 or vice versa.
Thoughts on that gratefully accepted. Lipc? Lua?
Perhaps reparenting is the way forward?
http://standards.freedesktop.org/xem...-spec-0.5.html
http://menehune.opt.wfu.edu/Kokua/Ir...html/ch16.html
EDIT: Solved:
[root@kindle root]# xprop -name LBreakout2 -f WM_NAME 8s -set WM_NAME bob
:2thumbsup
Quote:
#! /bin/sh exec xprop -notype \ -f WM_NAME 8s ':\n title =\? $0\n' \ -f WM_CLASS 8s ':\n appName =\? $0\n className =\? $1\n' \ -f WM_WINDOW_ROLE 8s ':\n stringProperty "WM_WINDOW_ROLE" =\? $0\n' \ WM_NAME WM_CLASS WM_WINDOW_ROLE \ ${1+"$@"} |
however it seems that setting the title after it has been stuck on the background is not enough. nor is toggling the WM_STATE 0 to 1 or vice versa.
Quote:
[root@kindle us]# xprop -name xeyes Quote:
|
Spoiler:
Perhaps reparenting is the way forward?
http://standards.freedesktop.org/xem...-spec-0.5.html
http://menehune.opt.wfu.edu/Kokua/Ir...html/ch16.html