topic title: K3B trouble
Posts: 1,520
eriefisher
Joined: 07 Oct 2007
#1
Hey all.

I installed K3B. I like it for it's all-in-one type functionality, however I have two issues with it now. When I open it I get this error:
System locale charset is ANSI_X3.4-1968
Your system's locale charset (i.e. the charset used to encode filenames) is set to ANSI_X3.4-1968. It is highly unlikely that this has been done intentionally. Most likely the locale is not set at all. An invalid setting will result in problems when creating data projects.
Solution: To properly set the locale charset make sure the LC_* environment variables are set. Normally the distribution setup tools take care of this.
How does one correct this. Also, K3B cannot find SOX. I tried to find it via the terminal/locate and also manually but I can't find it. I can call it in the terminal with $sox and it comes back as expected but I cannot find the path for K3B.

Any suggestions.

eriefisher
Posts: 253
dieselbenz
Joined: 28 Sep 2007
#2
Since K3B is a KDE application, I'd think you'd need to have installedb LOTS of KDE libraries for it to work. That is a lot of system overhead to run just one application. [My opinion only.]

I've had pretty good luck with GnomeBurner. My understanding is that antiX plays well with Gnome applications. I used GnomeBurner for a while when KDE was"stuffed up" on my desktop KDE sysetm and was very happy with how it performed.
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#3
sox is not installed as far as I remember, so all you need to do is install it.

To get rid of the message, kust check the box when it comes up.

To check that your locale is set up correctly.

In a terminal type locale and it should have what you use ie en_US.UTF-8

If they are wrong, paste this line:

LANG=en_US.UTF-8; export LANG

Then check again with locale
Posts: 1,520
eriefisher
Joined: 07 Oct 2007
#4
I don't think k3b brings much over head with it. It will come down stand alone without alot of kde stuff.

I have not tried GnomeBurner but I will take a look at it. Brasero, Which is installed by default works very well but just comes up short for a few things I like to do. To do multiple copies you almost have to start over each time. Also format conversions, which I don't know if gnome burner will do, is also built into k3b.

I just find it easier to have everything built into one package for this type of stuff. Sure there are options for everything it does but K3b does it all.

eriefisher
Posts: 1,520
eriefisher
Joined: 07 Oct 2007
#5
anticapitalista wrote:sox is not installed as far as I remember, so all you need to do is install it.

To get rid of the message, kust check the box when it comes up.

To check that your locale is set up correctly.

In a terminal type locale and it should have what you use ie en_US.UTF-8

If they are wrong, paste this line:

LANG=en_US.UTF-8; export LANG

Then check again with locale
Thanks Anti,

I have installed sox, I just can't find the path to point k3b to. There was nothing set for LANG but your suggestion worked out great.

eriefisher
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#6
k3b>Settings>Configurek3b>Programs>
sox should read /usr/bin/sox
Posts: 1,520
eriefisher
Joined: 07 Oct 2007
#7
anticapitalista wrote:k3b>Settings>Configurek3b>Programs>
sox should read /usr/bin/sox
This is exactly the issue. Sox is not listed in /usr/bin as it should be or /usr/sbin or anywhere else I looked. Since it's not in the designated paths K3B does not see it.

I'm trying to find out where it installed and add this path to k3b.

eriefisher
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#8
Are you sure you have sox installed?

In a terminal type
whereis sox

It will show the paths.
Posts: 1,520
eriefisher
Joined: 07 Oct 2007
#9
"whereis" confirms it's in /usr/bin. /usr/bin is one of the search paths for programs. I even added /usr/bin/sox to no avail. apt-get confirms sox is the latest version. (vigorously scratching head)

eriefisher
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#10
Wierd!
Did you install sox before or after k3b?
Try restarting X.

(Not that it should make a difference)

Oh does it appear in plugins?
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#11
Also does the path exist in k3b>Settings>Configurek3b>Programs>Search path?
Posts: 1,520
eriefisher
Joined: 07 Oct 2007
#12
I installed all the supporting apps after I installed k3b. I will try a full reboot. If that doesn't work I give up.

eriefisher
Posts: 5
topcat
Joined: 26 Mar 2008
#13
I am having the problem with locales in M7.02 with the user account.

I've tried the"LANG=en_US.UTF-8; export LANG" fix and it works (locale in terminal shows en_US.UTF-8 instead os POSIX, but loses it on reboot.

I've tried Ko's suggestion on Mepislovers"dpkg-reconfigure locales" but it also loses it on reboot.

Is there something I'm doing wrong or is there a way to have"LANG=en_US.UTF-8; export LANG" run as user in a script on startup?

I want to fix this to stop getting an error on locales when running k3b.

Thanks,

...topcat
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#14
topcat,

antiX-M7.2-preview1 hopefully fixes the problem.

There appears to be problems with UTF-8 locales as user (but not with root).
In antiX-preview1 I set locales to en_US for both user and root in these files.


.bashrc, /etc/bash.bashrc and /etc/environment.

export LC_ALL=en_US

In environment change from UTF-8 to en_US
Posts: 5
topcat
Joined: 26 Mar 2008
#15
Thanks anticapitalista...

I just figured out a workaround:

I edited the startup script that is in my user .fluxbox directory. (/home/topcat/.fluxbox/startup)

I added:

LANG=en_US.UTF-8; export LANG

just above:

exec /usr/bin/fluxbox

...and it works.

...topcat