linux - Writing variables into X window titlebars other than terminal/console windows -


long story short

i wish replicate function of microsoft windows (probably tm / (c) / r or something) application titlebarclock on x - fluxbox 1.3.5 on arch linux (3.17.4-1-arch on i686).

would able me that?

thanks.

long story long

to time @ moment command executed on terminal/console window titlebar

export ps1="[\e]2;\t : \u@\h \w\a\e[32;1m]>[\e[0m] "

to updating time moment command executed on terminal/console window titlebar

while : sleep 1 & echo -ne "\033]0; date +"%d-%b-%y %i:%m:%s %p"\007" wait $! done ) &

but if want information on top of active window, not permanently on specific terminal window (possibly on different desktop active one)?

i found out wmctrl yesterday, don't know i'm talking (no s**t, sherlock!) but, if it's @ possible replicate it, using wmtrl -r, -t , :active: and/or other method, couldn't say, because don't know enough x myself , haven't found closer answer after week of investigation jwpat7's reply here: changing eclipse window's name

which isn't answer i'm looking for, gives me reason hope: significant bit of his/her answer seems me be:

wmctrl -ir 0x06400080 -n 'oneforeach' changes long name (in window title bar) of window identified indicated hexadecimal number.

this seems imply value, rather string literal can written titlebar but, said, don't know enough myself , haven't been able find out myself.

can help, please?

thanks.

long story longer

if replicate of conky's functionality way (cpu load, ram/swap usage, hdd/ssd/usb activity, network activity) i'd happier. :)


Comments

Popular posts from this blog

python - mat is not a numerical tuple : openCV error -

c# - MSAA finds controls UI Automation doesn't -

wordpress - .htaccess: RewriteRule: bad flag delimiters -