Linux Format forums Forum Index Linux Format forums
Help, discussion, magazine feedback and more
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Editing GPARTED

 
Post new topic   Reply to topic    Linux Format forums Forum Index -> Help!
View previous topic :: View next topic  
Author Message
chris



Joined: Thu Jul 11, 2013 5:14 pm
Posts: 16
Location: Kent

PostPosted: Thu Feb 27, 2014 10:27 am    Post subject: Editing GPARTED Reply with quote

Hi,

I use GPARTED for creating or changing partitions on my hard discs and find it easy to use and very useful. However there is one thing I would be grateful for some help with: What file should I edit in order to make the localle default to English instead of defaulting to American? I am assuming that this can be changed because if it 'defaults' to American one would expect to be able to make it 'default' to whatever one wants. Presumably it is possible to change all the default settings if one wants to and have it run automatically with the user's chosen settings?
Back to top
View user's profile Send private message
purplepenguin
LXF regular


Joined: Wed Oct 05, 2011 3:19 pm
Posts: 123
Location: Blissfully at the Command Line

PostPosted: Thu Feb 27, 2014 12:54 pm    Post subject: Reply with quote

Do you running it from an installed or live distro?

I would have expected it to pick up on the system settings.
_________________
So it looks like I'm back to LinuxMint again. Why you ask? Because my machine smell nicer.

I'm not too sure I'd want a Mint and Cinnamon muffin with my brew though. Guess I'm lucky they don't run my local bakery.
Back to top
View user's profile Send private message
chris



Joined: Thu Jul 11, 2013 5:14 pm
Posts: 16
Location: Kent

PostPosted: Thu Feb 27, 2014 2:38 pm    Post subject: Reply with quote

I unzipped the file that I downloaded straight on to a USB memory stick - I forgot to mention that that is how I use Gparted so it is presumably a live USB stick.

I found before that when it was on installed on my hard disc it took ages and ages to run, so it is better for several reasons to use it on a memory stick

I also can't get it to connect to my WiFi network
Back to top
View user's profile Send private message
johnhudson
LXF regular


Joined: Wed Aug 03, 2005 2:37 pm
Posts: 871

PostPosted: Thu Feb 27, 2014 10:21 pm    Post subject: Reply with quote

If you mean that you have downloaded the iso and put it on a USB stick, then you cannot change the default language because it is a system tool and they are all US English.

If you run it from within your distro, then your distro may provide a GUI which uses the locale language.
Back to top
View user's profile Send private message
purplepenguin
LXF regular


Joined: Wed Oct 05, 2011 3:19 pm
Posts: 123
Location: Blissfully at the Command Line

PostPosted: Thu Feb 27, 2014 10:42 pm    Post subject: Reply with quote

Does it run in an OS or is it just a portable application that runs off usb? I'm a little confused as I've never seen a live image that you just unzip and run. Normally live images need to be installed to usb by using something like Unetbootin or startup disk creator etc.

As far as I remember Gparted live uses Debian as it's distro. If you can get to a terminal you can check the system locale with

Code:
locale


Code:
locale -a

Will give a list of all available languages on the system.

As for networking (wired at least) needs to be activated befor it can be used. Click the networking icon on the desktop and you can set up static or DHCP. As for wireless you may need to install drivers for the card, to be honest I don't know as I generally use wired. Try setting up networking and run the command

Code:
ifconfig -a

to see if a there is a wireless interface.
_________________
So it looks like I'm back to LinuxMint again. Why you ask? Because my machine smell nicer.

I'm not too sure I'd want a Mint and Cinnamon muffin with my brew though. Guess I'm lucky they don't run my local bakery.
Back to top
View user's profile Send private message
chris



Joined: Thu Jul 11, 2013 5:14 pm
Posts: 16
Location: Kent

PostPosted: Fri Feb 28, 2014 9:55 am    Post subject: Reply with quote

Hi
It runs as a live program. I plug the memory stick into a USB port, switch on the computer, press F8 until I get boot menu and then select the USB memory stick to boot from and then it boots and produces the Gparted desktop as well as offering a terminal and a browser when I close the Gparted window.

When I selected the terminal and did 'locale -a'

I got:-
'c
c.utf8
en_GB.utf8
en_us.utf8
POSIX'

When I did 'ifconfig -a'

it appeared to be aware of my WiFi card because it produced:-

wlan0 Link encap:Ethernet HWaddr 00:if:44:44:71

It also mentioned eth0 and the HWaddr was different


I followed the instructions on the Gparted web site for putting Gparted onto a USB memory stick and chose method B (the manual method) and it seems to work fine.
Back to top
View user's profile Send private message
Rhakios
Moderator


Joined: Thu Apr 07, 2005 12:18 am
Posts: 7634
Location: Midlands, UK

PostPosted: Fri Feb 28, 2014 11:13 am    Post subject: Reply with quote

The boot medium is not an application, it's a Debian derived live distro. looking at one of the packages.txt files on Sourceforge, I see that it does have dpkg installed, so it would be possible to get more packages containing the right locales (in the release notes, I see it's sid). However you'd need to know what repos to use and remaster the thing to make changes permanent.
I'm sure there are tools for remastering Debian derived distros, perhaps someone else can tell you all about them.
_________________
Bye, Rhakios
Back to top
View user's profile Send private message
purplepenguin
LXF regular


Joined: Wed Oct 05, 2011 3:19 pm
Posts: 123
Location: Blissfully at the Command Line

PostPosted: Fri Feb 28, 2014 10:19 pm    Post subject: Reply with quote

Hi Chris

You cannot boot a program/application. You boot an operating system/distro to which the program has been installed.

This is starting to look like an awful lot of work for you. as Rhakios pointed out you will need to remaster the live distro/OS to your liking. It's not impossible but before you embark on such a project I'd ask is it really worth is? How often do you use it and for how long each time? How much effort do you want to put in?

If you answered yes or just want to give it ago for learning sake. Then there are a couple of options to look at.

1. boot the live image and fire up the terminal. (I doubt there's a gui package manager on it). Look for something called remastersys in the repos with
Code:
aptitude search remastersys

If it's in the repo read up on how to use it and away you go. Note that Remastersys is not currently under development but an older version may still be in the Sid repo. According to www.debgen.simplylinux.ch there is a repo. You could try adding
Code:
#Third Parties Repos
#Remastersys
http://www.remastersys.com/repository squeeze/
to the sources.list and searching again.

2. Download a Ubuntu iso. use something like startup disk creator or Unetbootin to create a bootable USB drive with a persistent storage area. Boot it, install Gparted and configure the locale as you wish.

3. SuSe Studio lets you create a live distro in the browser.

4. There are other options but I think that's enough for now.

Let us know what you decide to do and if you need any more help just ask.

PP
_________________
So it looks like I'm back to LinuxMint again. Why you ask? Because my machine smell nicer.

I'm not too sure I'd want a Mint and Cinnamon muffin with my brew though. Guess I'm lucky they don't run my local bakery.
Back to top
View user's profile Send private message
purplepenguin
LXF regular


Joined: Wed Oct 05, 2011 3:19 pm
Posts: 123
Location: Blissfully at the Command Line

PostPosted: Fri Feb 28, 2014 11:27 pm    Post subject: Reply with quote

[quote="chris"]
When I selected the terminal and did
Code:
locale -a

I got:-
Code:
'c
c.utf8
en_GB.utf8
en_us.utf8
POSIX'

/quote]

So isthe locale you want there?

Code:
export LANG=en_GB.UTF-8

_________________
So it looks like I'm back to LinuxMint again. Why you ask? Because my machine smell nicer.

I'm not too sure I'd want a Mint and Cinnamon muffin with my brew though. Guess I'm lucky they don't run my local bakery.
Back to top
View user's profile Send private message
View previous topic :: View next topic  
Display posts from previous:   
Post new topic   Reply to topic    Linux Format forums Forum Index -> Help! All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Linux Format forums topic RSS feed 


Powered by phpBB © 2001, 2005 phpBB Group


Copyright 2011 Future Publishing, all rights reserved.


Web hosting by UKFast