Wmctrl
C'est un peu lié mais vous pouvez changer le texte dans la barre de titre de cette application mystère en utilisant la commande wmctrl.
Exemple
Disons que j'ai exécuté l'application gvim. Il apparaît comme suit lorsque j'énumère les fenêtres ouvertes.
$ wmctrl -l
0x04402eed -1 grinchy N/A
0x00c00003 -1 grinchy Bottom Expanded Edge Panel
0x00c00028 -1 grinchy Top Expanded Edge Panel
0x0120001e 0 grinchy x-nautilus-desktop
0x02a00004 0 grinchy saml@grinchy:~
0x06800003 0 grinchy [No Name] - GVIM
Donc, la gvimfenêtre a le titre "[No Name] - GVIM", nous pouvons changer son nom comme ça, encore une fois en utilisant wmctrl:
$ wmctrl -r "[No Name] - GVIM" -N "new name"
En -lexécutant à nouveau le commutateur, nous pouvons voir le nouveau nom:
$ wmctrl -l
0x04402eed -1 grinchy N/A
0x00c00003 -1 grinchy Bottom Expanded Edge Panel
0x00c00028 -1 grinchy Top Expanded Edge Panel
0x0120001e 0 grinchy x-nautilus-desktop
0x02a00004 0 grinchy saml@grinchy:~
0x06800003 0 grinchy new name
Toutes les décorations
Il y a cette méthode discutée dans cette Q&R AskUbuntu intitulée: Puis-je masquer la barre de titre de MPlayer dans gnome? .
Il y avait cet essentiel de Python - window-toggle-decorations.py qui semblait faire ce que vous vouliez. Il peut être modifiable selon vos besoins.
window-toggle-decorations.py
#! /usr/bin/python2
import gtk.gdk
w = gtk.gdk.window_foreign_new( gtk.gdk.get_default_root_window().property_get("_NET_ACTIVE_WINDOW")[2][0] )
w.set_decorations( (w.get_decorations()+1)%2 ) # toggle between 0 and 1
gtk.gdk.window_process_all_updates()
gtk.gdk.flush()
# now bind this to super-r or something
yourWindow.dTitleBar: 0.