Issue with Terminator RC file

Asked by Beau Bechdol on 2008-09-25

I have been trying to get the terminator RC file to display what the terminal title bar is but I cant. it displays nothing I cant seem to make the config file work at all. Is there a special wait to save it? or name it? or put it? Any help would be awesome please. Thanks.

Question information

Language:
English Edit question
Status:
Solved
For:
Terminator Edit question
Assignee:
No assignee Edit question
Solved by:
Beau Bechdol
Solved:
2008-09-28
Last query:
2008-09-28
Last reply:
2008-09-27
chantra (chantra) said : #1

Hum, this sounds like LP#272740

chantra (chantra) said : #2

here for the link: https://bugs.edge.launchpad.net/bugs/272740 , can you confirm it?

Chris Jones (cmsj) said : #3

when you say "it displays nothing", what do you mean exactly?
Perhaps it would be helpful for you to paste in the contents of ~/.config/terminator/config

it should be something like this:

titlebars = True

Beau Bechdol (bbechdol) said : #4

Yes I have "titlebars = True" as well as a few others but the file does not seem to take over. I still have no title bars. And nothing else seems to take over. Also is ther a way to add color to it? For example change the color of "user@computer" IE the part that shows your what user you are and what computer you are on.

Chris Jones (cmsj) said : #5

Colour stuff is handled by bash - search for a HOWTO on setting a coloured bash prompt.

As for Terminator - could you open up a terminal of some kind and run "terminator -d", then paste all of the output into http://pastebin.com/ and let us know the resulting URL? This will hopefully reveal some useful information.

Which exact version of Terminator are you running?

chantra (chantra) said : #6

Hi Beau,

I wonder what your XDG_CONFIG_HOME look lik.
Looking at 0.9, if XDG_CONFIG_HOM is set, the file will be looked for in ${XDG_CONFIG_HOME}/config instead of
 ${XDG_CONFIG_HOME}/terminator/config

Can you try the following and send the output, in a terminal ( terminator :p) get an interative python shell :
$ python
and type the following:
import os
print os.environ['XDG_CONFIG_HOME']

what is the output?

cheers

chantra (chantra) said : #7

here is the possible bug regarding my previous comment:
https://bugs.edge.launchpad.net/terminator/+bug/247893

Beau Bechdol (bbechdol) said : #8

Hi there here is the ouput of the python stuff

Python 2.5.2 (r252:60911, Jul 31 2008, 17:28:52)
[GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import os
>>> print os.environ['XDG_CONFIG_HOME']
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.5/UserDict.py", line 22, in __getitem__
    raise KeyError(key)
KeyError: 'XDG_CONFIG_HOME'
>>>

chantra (chantra) said : #9

ok, so XDG_CONFIG_HOME is not set, thus you are not hitting LP#247893.
I guess the best is to pastebin it: http://pastebin.com/

Beau Bechdol (bbechdol) said : #10

Im sorry but I dont know whatyou mean by "pastbin it"

Beau Bechdol (bbechdol) said : #11

Ok looks like it is working now I dont know what changed it but not I have title and what not.

Beau Bechdol (bbechdol) said : #12

Thanks to everyone on your help :)