Slackware :: Using The Esperanto Locale In Xmonad For Sometime?
Apr 29, 2011
I have been having some trouble using the Esperanto locale in Xmonad for sometime. I used this locale mainly in the terminal, because obviously Xmonad is a tiling WM and doesnt need a specific locale itself. I found that Esperanto locale prevents Xmonad from starting, but that if the LANG locale is exported after Xmonad is already started, it will turn my xterminal into an Esperanto terminal. Thus opening mutt mail will show Esperanto-Mutt, and for instance "command not found" becomes "komando ne trovita". I enjoy seeing this.
So the trick then is running "export LANG="eo.utf8"" just after xmonad loads before any other programs are run. I tried various things, and now wonder is it possible to just have the terminal itself running it its own locale? I could run this manually in every terminal, but wonder about automating it. I use the Xfce4-Terminal.
I tried .bash_profile, .xinitrc, .bashrc, and I tried adding the export to a bash script set to run by xmonad after it starts up. None of these cause the desired effect. I also notice it is temporary. If I open a terminal and do the export, that terminal is Esperantized. If I open a new terminal it is back to english.
Another thing I noticed is that after xmonad starts, if I manually add the export to .bashrc, all the terminals are in Esperanto. So I am thinking of making a script that does a find and replace of the .bashrc to add the export. Its tricky, some kind of sed-grep action. Another idea would be to put the .bashrc in a weird location so it isnt found on startup. Then make a command to symlink to it in the user folder after Xmonad starts. The main Slackware system would be English locale in order to prevent Xmonad from barfing on startup.
Maverick 10.10 is unable to create Japanese locales on my wife's laptop (Acer Aspire 3000). This machine previously had no such problem. The install is a fresh install, since the machine froze during the upgrade (no fault of Ubuntu's). A possible complication is that it froze several times more during the install, and I have gone through many recovery boots and iterations of dpkg configure. All relevant packages are installed, I believe. Everything else works. Through System, Administration, Language Support, I have installed all components of English and Japanese. Currently English is selected. Japanese should appear in the list but does not. Japanese text appears properly, and I can write in Japanese,But all the menus are in English. Fine by me, but my wife will want Japanese when she uses the computer again (not soon).This mostly likely is a glibc/libc6 problem, as far as I can tell. I can't find any other Ubuntu user with this problem recently.And now, some outputs:1. dpkg-reconfigure locales
Where is the system locale set?When /etc/profile is run it sources /etc/profile.d/lang.sh which sets envar $LANG but /etc/profile is only used by login shells so -- AFAIK -- modifying $LANG in /etc/profile.d/lang.sh will not change the system locale for processes started by the boot scripts.There are no *locale* files under /etc./etc/inittab has nothing about locale.man init has nothing about locale.man 7 locale describes locale.h and its usage.man 5 locale describes the format of locale files./sbin/init (as investigated using the strings command) may call nl_langinfo but man nl_langinfo only describes how to query the locale, not where it is set.
I recently installed language packs for Japanese and changed my system language to it, too. The problem is, now that I try to go back to English, the locale doesn't change back, only the menus are in english. "Apply system wide" in the Language Support didn't do anything; Firefox is in japanese too. Here is my locale output:
I'm trying to make Japanese input work with Scim, but when I modify Locale to make it work, all the menu(pulldown menu, title etc.)also becomes Japanese too. Is there anyway to keep English menus/titles while Japanese(or any other language) input method with SCIM is enabled ?
Xmonad noob here: I would like to set the mod key to win + alt instead of just alt or win. I've googled extensively, but can't find anything that's straight forward.
I'm trying to run xmonad, but the hot key alt+****+enter is not giving me the terminal.Is it because I haven't installed xterm?Right now I can't do anything on my machine because I cannot access terminal.I always boot to SLiM, and from there enter xmonad.By the way I'm running arch, I would post on the arch forums but I can't sign up since I need the terminal to run a verification code type thing
recently added xmonad and seems pretty fun! was wondering if anyone knows if it is possible to add keybindings that don't start with the modmask key..reason needed is that i want to have the win key to be the modmask and then need shift+alt to switch between two languages. So far I've "hacked" it by writing a script that switches between the two languages whenever it runs, and I've bound that to modmask + shift however this causes problems whenever I press modmask + shift for other shortcuts...
Also, how do you make keybindings work for different languages.. effectively what I need is identify each key as a key rather than as a character.
I'm running Xmonad and just recently it has stopped responding. None of my shortcuts are working at all. So I deleted my ~/.xmonad/xmoand.hs file, and still no luck. So I decided to log in as root and Xmonad works perfectly. Anyone know why Xmonad isn't working under my normal user? Is there a button i accidently pressed turning off the mod key?I was just browsing the web, then after I closed my browser nothing has been working, even after reboot.
I have a dual monitor setup with Kubuntu (lucid lynx). I followed xmonad guide for disabling greedy view behavior. Here is my xmonad.hs. Am I doing something wrong ?
Code: import XMonad import System.Exit import qualified XMonad.StackSet as W import qualified Data.Map as M import XMonad.Util.Run
I got myself into some trouble this afternoon when I thought I would give xmonad a try on my HP mini 210 that runs f14 lxde spin. so, after installing xmonad and dmenu and playig around a bit I found out that my wifi doesn't work. I tried ifup but I get the 'usage: .." response which I have read means that the programm can't find a configuration file for the device (and I am pretty sure that some programm was managing these files for me up until now).
I have tried to run system-config-network, which defaults to the tui version for some reason, I guess at this point that the normal gui is based on the gnome backend or something? Anyway, the terminal version just outputs a bunch of info about the devices that exist on the system (eth1 the broadcom wifi device is also listed) and then exits.
Anyway, in the normal lxde desktop you could use the gnome network manager, I guess this is not the case when running xmonad. So how do I do this? Links to documentation are welcomed. EDIT: some info about how I get to xmonad, the machine uses the standard LXDM login and from there I just select the xnomad window manger before logging in. I mean I am not trying to use it on top of anything else (eg. xmonad/gnome or xmonad/lxde etc.)
I have a dual-screen setup, with xmonad as my window manager. Using mod+tab lets me switch between windows on the same screen, but how do I move focus from one screen to the other without using the mouse?
I've been trying to get Xmonad installed and keep running into dependency installation issues. So far, I've used slackbuilds to get everything I need for Xmonad. (I'm pretty new to linux still, but as far as I know, having 64bit slack shouldn't be an issue in running 32bit applications?)
I have- ghc-6.12.1 haskell-mtl
The main issue I've had thus far is with the Haskell-X11 (1.5.0.0) dependency, I downloaded the slackbuild:
I have setup a VPS @ Strato with Linux Wheezy.Since I'am in the Netherlands I got a Dutch language package installed.I like to setup into englisch all the way.Via dpkg-reconfigure locales I have installed en_GB.UTF-8 UTF8 language packages and deïnstaled nl_NL.utf8
Generating locales (this might take a while)... en_GB.UTF-8... done Generation complete.
But a lot of the commands are still in Dutch like: h2458377:~# uitgelogd.And quite often I got: -su: warning: setlocale: LC_ALL: cannot change locale (nl_NL.utf8)
How do I get ripped off this error?Just working with/on the command line
Somehow my language/locale setting has gotten messed up, and I don't know how to fix it. Several applications complain with a message like: "No matching locale found for 'C'."
The contents of /etc/default/locale is code...
How can I fix this?
(I'm running 64-bit Ubuntu 10.10 with all updates applied.)
When I open gedit and also some other applications, I get this message:(gedit:29595): Gtk-WARNING **: Locale not supported by C library.Using the fallback 'C' locale.Why is this happening and should I worry about it? It does not seem to affect my subsequent work.
I run KDE 3.X and for the life of it, can't figure out how to assign the "ALT+SHIFT" to switch between keyboard layouts? The default AL+SHIFT+K switches from EN to second one and after that it (obviously) doesn't work. saw a few posts [URL]....alt-shift.html), but the flag is not changing in the tray.
I also tried to go thru "Keyboard shortcuts", but for whatever reason, it doesn't want to accept the combination of "alt+shift" and expects another key ( i guess).
I'm using Centos 5.2 and the the keyboard model is "MS natural keyboard pro" with US and two Cyrillic layouts - one of them is phonetic.
The date displayed in my panel is in the American format: Sat Jun 12, but my locale is set to Australian for everything. I have tried switching to different regions (System->Administration->Language Support), but this appears to have no effect on the date format.
I want to ask a question regarding on the "locale" problem. I've searched a lot on Google, but I think there is no detailed information and logic explained this topic well. Someone may suggest use Preference->Administration->Language Support to add or change whatever language I want. I can't use this way beacuse:
1. I need try to push locale configuration to a lot of linux clients. 2. I want to know the detailed information of how to configure.
I have tried to find the most helpful page on the Internet and read some "man locale":
On Slackware64 13.1 the as-installed en_GB locale gave Sunday as the first day of the week. This was not an issue until Xfce's Orage calendar was used when its display of Sunday as the first day of the week was offputting for someone used to Monday. A minor inconvenience but expected to be easy to fix.
At the command line: Code: c@CW8:~$ export LANG=en_GB <== same for en_GB.utf8
Under Debian "Expert Installation" once I have chosen installation/system language and location, I get an informative notice, that:
Code: There is no locale defined for the combination of language and country you have selected.
..and I need to choose one locale available for the selected language. As I understand, locale is just a set of environmental variables used by applications and printed out with locale command?
In addition, is it possible to generate own locale files after the installation, which will match my needs?
I recently moved from gnome to xfce in my arch linux box. After I added greek to keyboard layout some applications like skype, openoffice and vlc changed their menus in greek characters. English language but greek characters! Anyone got any idea what can I do with this one?
In accordance with directives - possibly misunderstood - I have reconfigured the Debian "locales" package; I changed the installed locale from en_US.ISO-8859-1 to en_US.UTF-8 and left the default locale for the system as "none". So far so good. In my ".bashrc" file, I have an entry for "LC_LANG".
If this entry is set to "en_US.ISO-8859-1" all my texts are readable on the console but I get warnings like: Gtk-WARNING **: Locale not supported by C library. Using the fallback 'C' locale If I change the LC_LANG entry to "en_US.UTF-8", I no longer get these warnings but the screen-display of Midnight Commander (mc) is a real mess. And even man-pages are no longer able to display hyphens (-) correctly.
So, I wanted to give myself a short cut to not just login to a remote server, but also change into a particular directory once I got there. This was harder than I expected, but this finally worked when I wrapped this up into a shortcut: ssh -t user@example.com 'cd /var/www/mydir; bash' And I just alter the directory path to make another shortcut to a different place on the same server. This does work, however, it seems when I log in this way, some of my environment is lost, and my locale is set back to the default "POSIX". That's not good. I'm running Gentoo Linux (amd64).
I am writing a bash script and I want it to use the locale translations for common items such as 'Home', Web Browser', 'Terminal', 'Run'...I know these are available in the system (with the correct locale packages installed) since it appears translated in the Gnome menu. How do I go about getting this information from the installed localization packages?