[SOLVED] Adobe Acrobat not running. ?locale problem
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
You need to reinstall the locale and configure it. On Debian it can be done using the following command, not sure what the equivalent command in Slack would be:
Code:
sudo dpkg-reconfigure locales
You can also try running the following commands:
Code:
echo "LC_ALL=en_US.UTF-8" | sudo tee -a /etc/environment
echo "en_US.UTF-8 UTF-8" | sudo tee -a /etc/locale.gen
echo "LANG=en_US.UTF-8" | sudo tee -a /etc/locale.conf
sudo locale-gen en_US.UTF-8
These will set your locale to en_US.UTF-8. You might need to log out and then back in for it to take effect.
Then run your application again. I'm guessing you have the wrong locale set in /etc/profile.d/lang.sh. For it to become a system wide configuration, you will need to log out and into all user accounts on the system.
suramya, thanks but your reply seems unsuitable for slackware. There is no locale.gen or locale.conf and generally sudo is not how we do things.
I am not convinced that my lang set up is the issue. My lang.sh is
Quote:
#!/bin/sh
# Set the system locale. (no, we don't have a menu for this ;-)
# For a list of locales which are supported by this machine, type:
# locale -a
# en_US.UTF-8 is the Slackware default locale. If you're looking for
# a different UTF-8 locale, be aware that some of them do not include
# UTF-8 or utf8 in the name. To test if a locale is UTF-8, use this
# command:
#
# LANG=<locale> locale -k charmap
#
# UTF-8 locales will include "UTF-8" in the output.
export LANG=en_GB.UTF-8
# 'C' is the old Slackware (and UNIX) default, which is 127-bit ASCII
# with a charmap setting of ANSI_X3.4-1968. These days, it's better to
# use en_US.UTF-8 or another modern $LANG setting (or at least en_US)
# to support extended character sets.
#export LANG=C
# Non-UTF-8 options for en_US:
#export LANG=en_US
#export LANG=en_US.ISO8859-1
# One side effect of the newer locales is that the sort order
# is no longer according to ASCII values, so the sort order will
# change in many places. Since this isn't usually expected and
# can break scripts, we'll stick with traditional ASCII sorting.
# If you'd prefer the sort algorithm that goes with your $LANG
# setting, comment this out.
export LC_COLLATE=C
# End of /etc/profile.d/lang.sh
lang.csh is
Quote:
#!/bin/csh
# Set the system locale. (no, we don't have a menu for this ;-)
# For a list of locales which are supported by this machine, type:
# locale -a
# en_US.UTF-8 is the Slackware default locale. If you're looking for
# a different UTF-8 locale, be aware that some of them do not include
# UTF-8 or utf8 in the name. To test if a locale is UTF-8, use this
# command:
#
# LANG=<locale> locale -k charmap
#
# UTF-8 locales will include "UTF-8" in the output.
setenv LANG en_GB.utf8
# 'C' is the old Slackware (and UNIX) default, which is 127-bit ASCII
# with a charmap setting of ANSI_X3.4-1968. These days, it's better to
# use en_US.UTF-8 or another modern $LANG setting (or at least en_US)
# to support extended character sets.
#setenv LANG C
# Non-UTF-8 options for en_US:
#setenv LANG en_US
#setenv LANG en_US.ISO8859-1
# One side effect of the newer locales is that the sort order
# is no longer according to ASCII values, so the sort order will
# change in many places. Since this isn't usually expected and
# can break scripts, we'll stick with traditional ASCII sorting.
# If you'd prefer the sort algorithm that goes with your $LANG
# setting, comment this out.
setenv LC_COLLATE C
# End of /etc/profile.d/lang.csh
Anyway even after setting LC_ALL=en_GB.utf8 Adobe reader isn't running. There is no error message at all.
I've installed the SBo SlackBuild on my Slackware64 + Multilib System
See the README File below my sig.
I wonder if you can find the British Version of the _enu Source ?
Or ...
What happens if you simply set ADOBE_LANG="xxx" where xxx is whatever adobe wants for your local LANG ?
-- kjh
Code:
$ cat /dld/15.0/slackbuilds/SBo/adobe-reader/adobe-reader/README
Adobe's Acrobat Reader application (official binary) repackaged
in "Slackware style" for easier system maintenance.
This only works on the x86 architecture (no x86_64, arm, ...), although
it may work on x86_64 systems with alienBOB's multilib installed.
Note: The package will have the 3-letter language code in
the version number. The default language is "enu" (for US
English). E.g. for VERSION=9.5.5, the package will be called
adobe-reader-9.5.5_enu-i486-1_SBo.tgz by default. To use a different
language, first download the .tgz file for that language from Adobe's
site, then set ADOBE_LANG="xxx" in the environment, where "xxx" is the
3-letter language code and run the SlackBuild.
Hi! Crash experience here too. With or without the forementioned options (LC_ALL and /etc/ls.so.conf) the program starts and a file could be opened and readed. It only compline about adwaita theme, so changed it.
The crash come when i open Preferences, after a couple of seconds, also with both options given and ommited. No output shown.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.