Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When you create a new file in kate or gedit they name them like "Untitled1" or "Unsaved Document 1". How can you change this to some other string$n pattern of your choice?

share|improve this question
up vote 4 down vote accepted

I just checked the source codes of both the softwares and unfortunately we can't change those names, as those are hardcoded :(

For Kate :

For gedit :

share|improve this answer
Hmm. Interesting. So would changing that and re-compiling be a option? – Seth Apr 6 '13 at 20:08
Yup. Probably, making them to read from a config file would look great.... – thefourtheye Apr 6 '13 at 20:10
Both these strings are being looked up through a i18n/localisation utility. I'm not sure if either handles these strings at runtime, or if they're hard-coded at compile time - but if you could provide your own localisation strings, that might work without a full recompile. – Oli Apr 6 '13 at 20:56

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.