LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-23-2015, 04:18 AM   #1
rblampain
Senior Member
 
Registered: Aug 2004
Location: Western Australia
Distribution: Debian 11
Posts: 1,303

Rep: Reputation: 52
gedit --> tools --> set language question


Restoring files from backup gives an annoying result, those files all need to be edited with "gedit" and each has lost the setting "tools --> set language", is there a way I can tell "gedit" to use a particular language for all files rather than doing it manually for each file. It looks like the default is American English but the text is in British English (for Australia).

Thank you for your help.
 
Old 04-23-2015, 06:08 AM   #2
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 22 MATE, Peppermint OS-Devuan, EndeavourOS, antiX
Posts: 4,359
Blog Entries: 49

Rep: Reputation: 1598Reputation: 1598Reputation: 1598Reputation: 1598Reputation: 1598Reputation: 1598Reputation: 1598Reputation: 1598Reputation: 1598Reputation: 1598Reputation: 1598
rblampain,

Try this in Terminal:

Code:
sudo dpkg-reconfigure locales

sudo update-locale LANG=en_AU.UTF-8
If further modifications are needed, then have a look at post #3 here:

http://ubuntuforums.org/showthread.php?t=1669863

Last edited by beachboy2; 04-23-2015 at 06:18 AM.
 
Old 04-24-2015, 07:39 AM   #3
rblampain
Senior Member
 
Registered: Aug 2004
Location: Western Australia
Distribution: Debian 11
Posts: 1,303

Original Poster
Rep: Reputation: 52
This is all new territory for me and nothing worked, this is what I've done:
Code:
sudo dpkg-reconfigure locales
sudo update-locale LANG=en_AU.UTF-8
logged out and back in, en_US.UTF-8 was still the default, edited
Code:
/usr/share/applications/gedit.desktop
from root by removing
Code:
Exec=gedit %U
and replacing with
Code:
Exec=sh -c 'LANG=en_AU.UTF-8 gedit %U'
also tried
Code:
Exec=bash -c 'LANG=en_AU.UTF-8 gedit %U'
and entering in a terminal
Code:
LANG=en_AU.UTF-8
There was no directory
Code:
.local/share/applications/
so I created one and copied the edited file
Code:
/usr/share/applications/gedit.desktop
to
Code:
.local/share/applications/gedit.desktop
What did I do wrong?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Configuring Language Recognition in GEdit CVAlkan Linux - Software 2 01-03-2015 12:38 PM
Change gedit language from Turkish to English? walterbyrd Linux - Software 2 02-21-2010 03:30 AM
gedit plugin External Tools FrOzeN89 Programming 0 11-19-2007 09:35 AM
Gedit, right click to change language General Linux - Software 1 05-17-2006 11:23 PM
Gedit 2.2.0 tools menu gone! (Kde, Rh9) robertmarkbram Linux - Software 8 04-06-2004 05:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:09 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration