Page 3 of 11

Re: Porteus -v3.2 final

Posted: 13 Nov 2016, 14:11
by donald
drwxr-xr-x 2 root root 4.0K Nov 13 12:41 profile.d/

-rwxr-xr-x 1 root root 134 Nov 13 12:29 lang.sh*

Code: Select all

guest@porteus:/$ locale -av
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: C.utf8          directory: /usr/lib/locale/C.utf8
-------------------------------------------------------------------------------
    title | C locale
 language | C
 revision | 1.0
     date | 2015-08-10
  codeset | UTF-8

locale: en_US           directory: /usr/lib/locale/en_US
-------------------------------------------------------------------------------
    title | English locale for the USA
   source | Free Software Foundation, Inc.
  address | http://www.gnu.org/software/libc/
    email | bug-glibc-locales@gnu.org
 language | English
territory | USA
 revision | 1.0
     date | 2000-06-24
  codeset | ISO-8859-1

locale: en_US.utf8      directory: /usr/lib/locale/en_US.utf8
-------------------------------------------------------------------------------
    title | English locale for the USA
   source | Free Software Foundation, Inc.
  address | http://www.gnu.org/software/libc/
    email | bug-glibc-locales@gnu.org
 language | English
territory | USA
 revision | 1.0
     date | 2000-06-24
  codeset | UTF-8
guest@porteus:/$ 

Re: Porteus -v3.2 final

Posted: 13 Nov 2016, 14:32
by brokenman
Is that WITH the language modules loaded?

The permissions are good but I don't see the locales in the output. Please also give the content of /etc/profile.d/lang.sh
I just ran the gtk-language-selection tool from porteus-settings-centre and rebooted into xfce4 and german locales were working fine.

Re: Porteus -v3.2 final

Posted: 13 Nov 2016, 14:41
by donald
LOADED MODULES:

000-kernel.xzm
001-core.xzm
002-xorg.xzm
003-xfce4.xzm
de-core_locales.xzm
de-devel_locales.xzm
de-xfce4_locales.xzm
de_DE-locales-files.xzm
glibc-i18n-i586-1jay.xzm
nvidia-304.131_3.2_12.nov.xzm
palemoon-26.5.0-i686-1.xzm


#!/bin/bash
# File generated by Porteus Language-Selection tool

#export LC_ALL=de_DE.utf8
export LANG=de_DE.utf8
export LC_COLLATE=C

EDIT:
hmmm
/mnt/live/memory/images/de_DE-locales-files.xzm
/mnt/live/memory/images/de-core_locales.xzm/usr/lib64/locale/de_DE
/mnt/live/memory/images/de-core_locales.xzm/usr/lib64/locale/de_DE.utf8
/mnt/live/memory/images/de-core_locales.xzm/usr/lib64/locale/de_DE@euro
/mnt/live/memory/images/de-core_locales.xzm/usr/share/i18n/locales/de_DE
/mnt/live/memory/images/de-core_locales.xzm/usr/share/i18n/locales/de_DE@euro
/mnt/live/memory/images/de-core_locales.xzm/usr/share/locale/de_DE
/mnt/sda1/porteus/modules/de_DE-locales-files.xzm
/usr/share/i18n/locales/de_DE
/usr/share/i18n/locales/de_DE@euro
/usr/share/locale/de_DE
/usr/lib64/locale/de_DE
/usr/lib64/locale/de_DE.utf8
/usr/lib64/locale/de_DE@euro

on an 32 bit system??

Re: Porteus -v3.2 final

Posted: 13 Nov 2016, 15:08
by Payoon
@brokenman
my output is exactly the same as to what donald posted including that locale -av output. Should maybe mention I am always logged in as root.

Payoon

Re: Porteus -v3.2 final

Posted: 13 Nov 2016, 15:26
by brokenman
/usr/lib64/locale/de_DE.utf8
Aarrgh. Thanks Donald!

Re: Porteus -v3.2 final

Posted: 13 Nov 2016, 16:58
by Payoon
@Donald
danke auch von mir. Alles OK jetzt.

Payoon

Re: Porteus -v3.2 final

Posted: 13 Nov 2016, 18:46
by brokenman
Ok. Should be OK now. Thanks again Donald for the keen eye.

@Blaze
Sorry for giving you work. You can remove all your custom locales now. I checked in both architectures and ru_RU works now for all those applications.

All library locales go into /usr/lib and 64bit machines will have a symlink created for the chosen locale. Hopefully someone can test it and tell me everything is ok.
Remember to remove existing locales first and don't use a mirror server as my changes may not have been synced yet. There was an update to all localecore files and to the gtk-language-selection live script.

Re: Porteus -v3.2 final

Posted: 13 Nov 2016, 18:48
by fulalas
brokenman, it would be nice if you could include unrar on xorg or xfce module. Out of the box Engrampa can't unpack rar files.

Also, do you think p7zip is still necessary?

Re: Porteus -v3.2 final

Posted: 13 Nov 2016, 19:10
by brokenman
brokenman, it would be nice if you could include unrar on xorg or xfce module.
unrar is in 001
Can you please link to an archive that engrampa won't unpack?

p7zip is also in 001 so it is available for all desktops.

Re: Porteus -v3.2 final

Posted: 13 Nov 2016, 19:26
by Jack
brokenman wrote:
brokenman, it would be nice if you could include unrar on xorg or xfce module.
unrar is in 001
Can you please link to an archive that engrampa won't unpack?

p7zip is also in 001 so it is available for all desktops.
In Mate you can't open RAR type files here is a link to one
http://www.mediafire.com/file/253qz73n4 ... driver.rar

Re: Porteus -v3.2 final

Posted: 13 Nov 2016, 19:41
by fulalas
Here's a sample: http://www.mediafire.com/file/062efbtxe ... r-test.rar

I'm using XFCE. Installing unrar 5.3.11 solved the problem.

Re: Porteus -v3.2 final

Posted: 13 Nov 2016, 19:43
by brokenman
It worked by right clicking and extracting and by right clicking and opening in engrampa.
Image

Re: Porteus -v3.2 final

Posted: 13 Nov 2016, 19:45
by donald
@ brokenman

XFCE 32 Bit

confirmed
German localization now work - Thanks
BUT:
the download also fetched a "console-cyrillic-0.9.17-noarch-1.xzm"
Imho this is not necessary for de_DE, is it?
.....................................................................................
A strange (new?) behavior of network (manager)
Setting ipv6 to ignore seems to do nothing.
I still get an ipv6 address.

Code: Select all

ip addr show | grep inet6
will show you.

In older porteus versions i could use

Code: Select all

echo 1 > /proc/sys/net/ipv6/conf/all/disable_ipv6
before connecting to the router to prevent getting an ipv6 address.
This does not work anymore, (since when?), even if the value is set,
(check with)

Code: Select all

cat /proc/sys/net/ipv6/conf/all/disable_ipv6
i have to connect first, get the ipv6 address
and then use the command to get rid of ipv6.
.....................................................................................
@ Payoon.. :wink:

Re: Porteus -v3.2 final

Posted: 13 Nov 2016, 19:48
by Jack
When I right click here is the output.
Image

Re: Porteus -v3.2 final

Posted: 13 Nov 2016, 19:49
by Blaze
donald wrote:the download also fetched a "console-cyrillic-0.9.17-noarch-1.xzm"
Imho this is not necessary for de_DE, is it?
console-cyrillic-0.9.17-noarch-1.xzm - it's my request and yes, this is not necessary for de_DE