You are not logged in.

#1 2010-12-31 13:38:45

Pliskin
Member
Registered: 2010-12-31
Posts: 18

Back to English Lang at reboot, Fastest way to start WM, Yaourt error

Hi guys I need some help,

I installed arch yesterday. I set every thing to "Turkish" i had no problems till this morning. I started my computer and the language was back to english.

#
# /etc/rc.conf - Main Configuration for Arch Linux
#

# -----------------------------------------------------------------------
# LOCALIZATION
# -----------------------------------------------------------------------
#
# LOCALE: available languages can be listed with the 'locale -a' command
# HARDWARECLOCK: set to "UTC" or "localtime", any other value will result
#   in the hardware clock being left untouched (useful for virtualization)
# TIMEZONE: timezones are found in /usr/share/zoneinfo
# KEYMAP: keymaps are found in /usr/share/kbd/keymaps
# CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
# CONSOLEMAP: found in /usr/share/kbd/consoletrans
# USECOLOR: use ANSI color sequences in startup messages

#
LOCALE="tr_TR.UTF-8"
HARDWARECLOCK="UTC"
TIMEZONE="Europe/Istanbul"
KEYMAP="trq"
CONSOLEFONT=
CONSOLEMAP=
USECOLOR="yes"
[/quote]
[color=#FF0000]
In my locale.gen is only turkish uncommented.

What is the fastest way to get the WM loaded. I'm not using a login manager but i won't every time type "xinit /usr/bin/openbox-session". I will autologin and autoload the WM.

xinitrc will open a security hole because it won't lock the virtual terminal and I'm not sure if a bash script is the right way.  What would you suggest?

The last time I installed yaourt I had the problem that it couldn't find any packages from the AUR. Do I have to do someting to make it work after I installed it? I tried it out-of-box.

And if somebody is right now using ubuntu can he give me the screenshots for the font settings in firefox and gnome font settings (right click menu settings).

Thanks to everyone who wants to help or just look at this thread.

Last edited by Pliskin (2011-01-01 13:23:32)

Offline

#2 2010-12-31 14:09:11

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Back to English Lang at reboot, Fastest way to start WM, Yaourt error

Pliskin wrote:

The last time I installed yaourt I had the problem that it couldn't find any packages from the AUR.

What command did you used exactly? Maybe you forgot the '--aur'

yaourt -S --aur <foo>

As for the locale thing, post the output of

locale
locale -a

Last edited by karol (2010-12-31 14:11:36)

Offline

#3 2010-12-31 15:02:47

Pliskin
Member
Registered: 2010-12-31
Posts: 18

Re: Back to English Lang at reboot, Fastest way to start WM, Yaourt error

Yeah I just used "yaourt -S". Thanks thats solved then.

locale

locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: LC_ALL de?i?kenine ?ntan?ml? yerel atanamaz: B?yle bir dosya ya da dizin yok
LANG=tr_TR.UTF-8
LC_CTYPE=ja_JP.utf8
LC_NUMERIC="tr_TR.UTF-8"
LC_TIME="tr_TR.UTF-8"
LC_COLLATE="tr_TR.UTF-8"
LC_MONETARY="tr_TR.UTF-8"
LC_MESSAGES="tr_TR.UTF-8"
LC_PAPER="tr_TR.UTF-8"
LC_NAME="tr_TR.UTF-8"
LC_ADDRESS="tr_TR.UTF-8"
LC_TELEPHONE="tr_TR.UTF-8"
LC_MEASUREMENT="tr_TR.UTF-8"
LC_IDENTIFICATION="tr_TR.UTF-8"
LC_ALL=

locale -a

locale: Cannot set LC_CTYPE to default locale: No such file or directory
C
POSIX
tr_TR
tr_TR.iso88599
tr_TR.utf8
turkish

Offline

#4 2010-12-31 15:16:51

cedeel
Member
From: ~
Registered: 2009-08-25
Posts: 176
Website

Re: Back to English Lang at reboot, Fastest way to start WM, Yaourt error

So correct tr_TR.UTF-8 to tr_TR.utf8

Offline

#5 2010-12-31 15:42:46

Pliskin
Member
Registered: 2010-12-31
Posts: 18

Re: Back to English Lang at reboot, Fastest way to start WM, Yaourt error

cedeel wrote:

So correct tr_TR.UTF-8 to tr_TR.utf8

No it didn't work.

Offline

#6 2010-12-31 16:55:58

cedeel
Member
From: ~
Registered: 2009-08-25
Posts: 176
Website

Re: Back to English Lang at reboot, Fastest way to start WM, Yaourt error

Did you reboot?

Offline

#7 2010-12-31 18:55:55

Pliskin
Member
Registered: 2010-12-31
Posts: 18

Re: Back to English Lang at reboot, Fastest way to start WM, Yaourt error

cedeel wrote:

Did you reboot?

Yes I did.

Offline

#8 2011-01-01 13:28:39

Pliskin
Member
Registered: 2010-12-31
Posts: 18

Re: Back to English Lang at reboot, Fastest way to start WM, Yaourt error

Happy new year everybody wink

I just solved the locale problem. If someone (like me) will use the autostart.sh in the official openbox site will get this error. Look at this:

# Run the system-wide support stuff
. $GLOBALAUTOSTART

# Programs to launch at startup
hsetroot ~/wallpaper.png &
xcompmgr -c -t-5 -l-5 -r4.2 -o.55 &

# SCIM support (for typing non-english characters)
export LC_CTYPE=ja_JP.utf8
export XMODIFIERS=@im=SCIM
export GTK_IM_MODULE=scim
export QT_IM_MODULE=scim
scim -d &

# Programs that will run after Openbox has started
(sleep 2 && fbpanel) &

I removed the ja_JP.utf-8 and this problem was solved. Thanks for @Cedeel and @karol for their help.

Now I still don't know in which  way I should load my openbox. Details in the first post wink

Offline

Board footer

Powered by FluxBB