Re: [gentoo-user] Questions regarding the usage of multiple locales
On Tuesday 22 June 2010 17:14:13 Christopher Swift wrote: Ar Maw, 2010-06-22 am 14:38 +0100, ysgrifennodd Mick: I'm also interested in this - although my question is probably simpler: I would like to use en_GB but I do not undestand why running 'locale' as a plain user shows: $ locale LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 LC_NUMERIC=en_US.UTF-8 LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8 LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 LC_PAPER=en_US.UTF-8 LC_NAME=en_US.UTF-8 LC_ADDRESS=en_US.UTF-8 LC_TELEPHONE=en_US.UTF-8 LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=en_US.UTF-8 LC_ALL=en_US.UTF-8 why when running it as root: # locale LANG= LC_CTYPE=POSIX LC_NUMERIC=POSIX LC_TIME=POSIX LC_COLLATE=POSIX LC_MONETARY=POSIX LC_MESSAGES=POSIX LC_PAPER=POSIX LC_NAME=POSIX LC_ADDRESS=POSIX LC_TELEPHONE=POSIX LC_MEASUREMENT=POSIX LC_IDENTIFICATION=POSIX LC_ALL= I do not have set a /etc/env.d/02locale yet, so where is my plain user locale being read from? Your plain user locale is usually read from ~/.bashrc, this can be set to en_GB by having the following lines: export LANG=en_GB.UTF-8 export LC_COLLATE=C I have not exported any locale in my ~/.bashrc, so should a plain user locale reflect what's in /etc/env.d/02locale? I added /etc/env.d/02locale as you show above, but my plain user still shows all settings as en_US.UTF-8 ... where is this US setting read from? Thanks, -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Questions regarding the usage of multiple locales
On Saturday 26 June 2010 11:40:14 Mick wrote: On Tuesday 22 June 2010 17:14:13 Christopher Swift wrote: Ar Maw, 2010-06-22 am 14:38 +0100, ysgrifennodd Mick: I'm also interested in this - although my question is probably simpler: I would like to use en_GB but I do not undestand why running 'locale' as a plain user shows: $ locale LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 LC_NUMERIC=en_US.UTF-8 LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8 LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 LC_PAPER=en_US.UTF-8 LC_NAME=en_US.UTF-8 LC_ADDRESS=en_US.UTF-8 LC_TELEPHONE=en_US.UTF-8 LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=en_US.UTF-8 LC_ALL=en_US.UTF-8 why when running it as root: # locale LANG= LC_CTYPE=POSIX LC_NUMERIC=POSIX LC_TIME=POSIX LC_COLLATE=POSIX LC_MONETARY=POSIX LC_MESSAGES=POSIX LC_PAPER=POSIX LC_NAME=POSIX LC_ADDRESS=POSIX LC_TELEPHONE=POSIX LC_MEASUREMENT=POSIX LC_IDENTIFICATION=POSIX LC_ALL= I do not have set a /etc/env.d/02locale yet, so where is my plain user locale being read from? Your plain user locale is usually read from ~/.bashrc, this can be set to en_GB by having the following lines: export LANG=en_GB.UTF-8 export LC_COLLATE=C I have not exported any locale in my ~/.bashrc, so should a plain user locale reflect what's in /etc/env.d/02locale? I added /etc/env.d/02locale as you show above, but my plain user still shows all settings as en_US.UTF-8 ... where is this US setting read from? Oops! This is more complicated that I thought ... If, always as a plain user, I use aterm then /etc/env.d/02locale is read and LANG is en_GB.UTF-8. However, if I use xterm it is still LANG=en_US.UTF-8 -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Questions regarding the usage of multiple locales
Mick writes: On Saturday 26 June 2010 11:40:14 Mick wrote: I have not exported any locale in my ~/.bashrc, so should a plain user locale reflect what's in /etc/env.d/02locale? I added /etc/env.d/02locale as you show above, but my plain user still shows all settings as en_US.UTF-8 ... where is this US setting read from? Oops! This is more complicated that I thought ... If, always as a plain user, I use aterm then /etc/env.d/02locale is read and LANG is en_GB.UTF-8. However, if I use xterm it is still LANG=en_US.UTF-8 Your aterm is configured as a login shell, and as such reads /etc/profile, which reads /etc/profile.env (and ~/.[bash]profile). xterm is not a login shell, and reads /etc/bash/bashrc (and ~/.bashrc). You can call xterm with the -ls option to make it alogin shell. For konsole, I have set it to execute bash -l to make it a login shell. Another workaround might be to read /etc/profile.env in your .bashrc, or in /etc/bash/bashrc. Wonko
Re: [gentoo-user] Questions regarding the usage of multiple locales
On Saturday 26 June 2010 12:10:02 Alex Schuster wrote: Mick writes: Oops! This is more complicated that I thought ... If, always as a plain user, I use aterm then /etc/env.d/02locale is read and LANG is en_GB.UTF-8. However, if I use xterm it is still LANG=en_US.UTF-8 Your aterm is configured as a login shell, and as such reads /etc/profile, which reads /etc/profile.env (and ~/.[bash]profile). xterm is not a login shell, and reads /etc/bash/bashrc (and ~/.bashrc). You can call xterm with the -ls option to make it alogin shell. For konsole, I have set it to execute bash -l to make it a login shell. Another workaround might be to read /etc/profile.env in your .bashrc, or in /etc/bash/bashrc. Hmm... I've added all this in my /etc/env.d/02locale: LANG=en_GB.UTF-8 LC_CTYPE=en_GB.UTF-8 LC_NUMERIC=en_GB.UTF-8 LC_TIME=en_GB.UTF-8 LC_COLLATE=C LC_MONETARY=en_GB.UTF-8 LC_MESSAGES=en_GB.UTF-8 LC_PAPER=en_GB.UTF-8 LC_NAME=en_GB.UTF-8 LC_ADDRESS=en_GB.UTF-8 LC_TELEPHONE=en_GB.UTF-8 LC_MEASUREMENT=en_GB.UTF-8 LC_IDENTIFICATION=en_GB.UTF-8 and in my ~/.bashrc export LANG=en_GB.UTF-8 export LC_CTYPE=en_GB.UTF-8 export LC_NUMERIC=en_GB.UTF-8 export LC_TIME=en_GB.UTF-8 export LC_COLLATE=C export LC_MONETARY=en_GB.UTF-8 export LC_MESSAGES=en_GB.UTF-8 export LC_PAPER=en_GB.UTF-8 export LC_NAME=en_GB.UTF-8 export LC_ADDRESS=en_GB.UTF-8 export LC_TELEPHONE=en_GB.UTF-8 export LC_MEASUREMENT=en_GB.UTF-8 export LC_IDENTIFICATION=en_GB.UTF-8 but this is what aterm is showing: $ locale LANG=en_GB.UTF-8 LC_CTYPE=en_US.UTF-8 LC_NUMERIC=en_US.UTF-8 LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8 LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 LC_PAPER=en_US.UTF-8 LC_NAME=en_US.UTF-8 LC_ADDRESS=en_US.UTF-8 LC_TELEPHONE=en_US.UTF-8 LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=en_US.UTF-8 LC_ALL=en_US.UTF-8 There's no mention of LANG or LC_*US* in /etc/profile.env, /etc/bash/bashrc, or anywhere else that I can see. So, where is it being read from? PS. Not sure why LANG=en_GB.UTF-8 does not have marks like the LC_ parameters? -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Questions regarding the usage of multiple locales
On Sat, 2010-06-26 at 13:59 +0200, Alex Schuster wrote: Mick writes: On Saturday 26 June 2010 12:10:02 Alex Schuster wrote: Your aterm is configured as a login shell, and as such reads You might want to read this and set up your locales properly. http://www.gentoo.org/doc/en/guide-localization.xml BillK
Re: [gentoo-user] Atheros WLAN loosing link
On Friday 25 June 2010 18:52:18 Enrico Weigelt wrote: Hi folks, my Atheros wlan (builtin, internal intenna) is regularily loosing link. Reproducible in various different networks. At home, my wlan ap is about 2 meter away (within the room), so link quality (currently 53) shouldnt be the problem. Does anyone know what could cause the problem ? # cat /proc/version Linux version 2.6.31-gentoo-r10 (r...@excalibur.local) \ (gcc version 4.3.4 (Gentoo 4.3.4 p1.0, pie-10.1.5) ) \ #1 SMP Wed Jun 2 00:51:13 CEST 2010 # lspci -v ... 02:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01) Subsystem: Askey Computer Corp. Device 7167 Flags: bus master, fast devsel, latency 0, IRQ 16 Memory at f600 (64-bit, non-prefetchable) [size=64K] Capabilities: [40] Power Management version 3 Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit- Capabilities: [60] Express Legacy Endpoint, MSI 00 Capabilities: [100] Advanced Error Reporting Capabilities: [140] Virtual Channel ? Capabilities: [160] Device Serial Number 00-15-17-ff-ff-24-14-12 Capabilities: [170] Power Budgeting ? Kernel driver in use: ath9k Kernel modules: ath9k ... Jun 25 19:36:51 excalibur kernel: wlan0: no probe response from AP 00:23:08:86:d6:8f - disassociating Jun 25 19:36:51 excalibur dhcpcd[10182]: wlan0: carrier lost I have seen the same problem with my internal broadcom card and of course a different driver. If you check google there seem to be pages and pages of users reporting such a problem on different distros and with different makes of wireless cards. The jury's out as to what's causing this. Is it related to modern cards with low power management capabilities and how this may interact with the kernel, or is it something to do with the tolerance built into TTL packets between the card and the AP? With regards to my card I have noticed that at home I stay connected for hours on end, at work it's a miracle if I stay online for longer than 5 minutes (both on the same channel). This to me says that the problem is one of interaction with the router, which points to tolerance on the TTL packets. Of course YMMV ... -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Questions regarding the usage of multiple locales
On Saturday 26 June 2010 13:20:38 William Kenworthy wrote: On Sat, 2010-06-26 at 13:59 +0200, Alex Schuster wrote: Mick writes: On Saturday 26 June 2010 12:10:02 Alex Schuster wrote: Your aterm is configured as a login shell, and as such reads You might want to read this and set up your locales properly. http://www.gentoo.org/doc/en/guide-localization.xml Thanks Bill, that's where I started, but I am getting confused with the way my system and various terminals respond to the suggested files/settings. The only way to see the locales I entered in /etc/env.d/02locale is by launching a terminal (aterm, xterm, urxvt) and 'su -' to root. In all other cases US locales seem to take over (although the LANG setting appears to be working). -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Questions regarding the usage of multiple locales
On Sat, 2010-06-26 at 13:38 +0100, Mick wrote: On Saturday 26 June 2010 13:20:38 William Kenworthy wrote: On Sat, 2010-06-26 at 13:59 +0200, Alex Schuster wrote: Mick writes: On Saturday 26 June 2010 12:10:02 Alex Schuster wrote: Your aterm is configured as a login shell, and as such reads You might want to read this and set up your locales properly. http://www.gentoo.org/doc/en/guide-localization.xml Thanks Bill, that's where I started, but I am getting confused with the way my system and various terminals respond to the suggested files/settings. The only way to see the locales I entered in /etc/env.d/02locale is by launching a terminal (aterm, xterm, urxvt) and 'su -' to root. In all other cases US locales seem to take over (although the LANG setting appears to be working). Could it be your desktop overiding the basics? - gnome or kde perhaps? Also check the login manager (I use GDM and there is a language setting for the login there.) BillK
Re: [gentoo-user] Questions regarding the usage of multiple locales
Mick michaelkintz...@gmail.com wrote: Hmm... I've added all this in my /etc/env.d/02locale: LANG=en_GB.UTF-8 LC_CTYPE=en_GB.UTF-8 LC_NUMERIC=en_GB.UTF-8 LC_TIME=en_GB.UTF-8 LC_COLLATE=C LC_MONETARY=en_GB.UTF-8 LC_MESSAGES=en_GB.UTF-8 LC_PAPER=en_GB.UTF-8 LC_NAME=en_GB.UTF-8 LC_ADDRESS=en_GB.UTF-8 LC_TELEPHONE=en_GB.UTF-8 LC_MEASUREMENT=en_GB.UTF-8 LC_IDENTIFICATION=en_GB.UTF-8 Note that LANG is only for historic reasons, it was used by SunOS-4.x (23 years ago) when the LC_* Variables have not yet been defined. Jörg -- EMail:jo...@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin j...@cs.tu-berlin.de(uni) joerg.schill...@fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily
Re: [gentoo-user] Questions regarding the usage of multiple locales
On Sat, 2010-06-26 at 13:38 +0100, Mick wrote: On Saturday 26 June 2010 13:20:38 William Kenworthy wrote: On Sat, 2010-06-26 at 13:59 +0200, Alex Schuster wrote: Mick writes: On Saturday 26 June 2010 12:10:02 Alex Schuster wrote: Your aterm is configured as a login shell, and as such reads You might want to read this and set up your locales properly. http://www.gentoo.org/doc/en/guide-localization.xml Thanks Bill, that's where I started, but I am getting confused with the way my system and various terminals respond to the suggested files/settings. The only way to see the locales I entered in /etc/env.d/02locale is by launching a terminal (aterm, xterm, urxvt) and 'su -' to root. In all other cases US locales seem to take over (although the LANG setting appears to be working). In my /etc/env.d/02locale file, it reads as the following: LANG=en_GB.UTF-8 LC_COLLATE=C When running locale as either root or any other user I get: ch...@ianto-gentoo-amd ~ $ locale LANG=en_GB.UTF-8 LC_CTYPE=en_GB.UTF-8 LC_NUMERIC=en_GB.UTF-8 LC_TIME=en_GB.UTF-8 LC_COLLATE=C LC_MONETARY=en_GB.UTF-8 LC_MESSAGES=en_GB.UTF-8 LC_PAPER=en_GB.UTF-8 LC_NAME=en_GB.UTF-8 LC_ADDRESS=en_GB.UTF-8 LC_TELEPHONE=en_GB.UTF-8 LC_MEASUREMENT=en_GB.UTF-8 LC_IDENTIFICATION=en_GB.UTF-8 LC_ALL= If you want en_GB I recommend that you change it to what I've got in my 02locale file and then run the following command as root: $ env-update source /etc/profile This is what I've used to globally set en_GB as the default language. Hope this helps, Chris.
Re: [gentoo-user] Questions regarding the usage of multiple locales
On Saturday 26 June 2010 13:43:54 William Kenworthy wrote: Could it be your desktop overiding the basics? - gnome or kde perhaps? Also check the login manager (I use GDM and there is a language setting for the login there.) Aha! You got it! From a console both ~/.bashrc and /etc/env.d/02locale are being read as expected and the settings adopted. From within X the different terminals do their own thing. So it must be a dekstop script that sets them up differently. The question then becomes, which script ... I use Enlightenment as my desktop manager and kdm as the Display Manager, but wouldn't know where to look further than that. kdm is starting up Enlightenment by reading my ~/.xsession, which does not have any locale settings in it from what I can tell. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Questions regarding the usage of multiple locales
On Sat, 26 Jun 2010 13:40:01 +0200, Mick wrote about Re: [gentoo-user] Questions regarding the usage of multiple locales: [snip] Hmm... I've added all this in my /etc/env.d/02locale: LANG=en_GB.UTF-8 LC_CTYPE=en_GB.UTF-8 LC_NUMERIC=en_GB.UTF-8 LC_TIME=en_GB.UTF-8 LC_COLLATE=C LC_MONETARY=en_GB.UTF-8 LC_MESSAGES=en_GB.UTF-8 LC_PAPER=en_GB.UTF-8 LC_NAME=en_GB.UTF-8 LC_ADDRESS=en_GB.UTF-8 LC_TELEPHONE=en_GB.UTF-8 LC_MEASUREMENT=en_GB.UTF-8 LC_IDENTIFICATION=en_GB.UTF-8 Did you run env-update afterwards? I ditched all those /etc/env.d settings for locale, and put mine in /etc/profile.d/local.sh as follows: -- # Temporary files go to the RAMDisk. export TMPDIR='/tmp' # Define our local squid proxy. export http_proxy='http://localhost:8080' export ftp_proxy='http://localhost:8080' export RSYNC_PROXY='localhost:8080' # The OpenSSL random seed lives here: export RANDFILE='/.rnd' # Set the zsh FTP commands to use passive mode export ZFTP_PREFS='P' # If the user has a private bin directory, prepend it to the PATH. if [ -d $HOME/bin ]; then export PATH=$HOME/bin:$PATH fi # Set a sensible locale, if possible. if [ -d '/usr/share/locale/en_GB' ]; then export LC_ALL='en_GB.utf8' export LANG='en_GB.utf8' export LANGUAGE='en_GB.utf8' else export LC_ALL='C' unset LANG LANGUAGE fi -- This gives me a single point of maintenance for several system customizations. Also, it allows me to use conditional logic to set sensible values. -- Regards, Dave [RLU #314465] == dwn...@ntlworld.com (David W Noon) == signature.asc Description: PGP signature
Re: [gentoo-user] Questions regarding the usage of multiple locales
David W Noon wrote: On Sat, 26 Jun 2010 13:40:01 +0200, Mick wrote about Re: [gentoo-user] Questions regarding the usage of multiple locales: [snip] Hmm... I've added all this in my /etc/env.d/02locale: LANG=en_GB.UTF-8 LC_CTYPE=en_GB.UTF-8 LC_NUMERIC=en_GB.UTF-8 LC_TIME=en_GB.UTF-8 LC_COLLATE=C LC_MONETARY=en_GB.UTF-8 LC_MESSAGES=en_GB.UTF-8 LC_PAPER=en_GB.UTF-8 LC_NAME=en_GB.UTF-8 LC_ADDRESS=en_GB.UTF-8 LC_TELEPHONE=en_GB.UTF-8 LC_MEASUREMENT=en_GB.UTF-8 LC_IDENTIFICATION=en_GB.UTF-8 Did you run env-update afterwards? I ditched all those /etc/env.d settings for locale, and put mine in /etc/profile.d/local.sh as follows: SNIP Something I run into sometimes, if you are using KDE, log out then log back in. I run into this pretty regular and usually forget. I have been sort of half reading this thread and seem to recall reading you are using KDE. I know this applies to when you change the groups a user is in. Ran into that the other day. This may apply to other desktops as well. I only have KDE here. Just thought I would mention just in case. Dale :-) :-)
[gentoo-user] Firefox + gentoo scrolling like a snail
It's weird. Sometimes, but not always, when I click in the Firefox scrollbar, it starts heading in the right direction in fits and starts of 5 pixels or so until it (finallly) reaches the end. I've mostly observed this in the downward direction, but I mostly scroll in that direction anyway so it might not mean anything. What's wrong about this is that a single click should not do this, and does not do this, on any other scrollbar on my machine. A single click moves the thumb thingie a fixed amount which depends on where you click. The worst part is that the application won't do anything else until the scrolling is finished, and the scrolling for a very tall page can take a couple of minutes. I keep trying to remember that dragging the thumb still works as expected, but clicking is an old habit that's hard to drop. Am I the only one seeing this? -- Kevin O'Gorman, PhD
Re: [gentoo-user] Firefox + gentoo scrolling like a snail
Kevin O'Gorman wrote: It's weird. Sometimes, but not always, when I click in the Firefox scrollbar, it starts heading in the right direction in fits and starts of 5 pixels or so until it (finallly) reaches the end. I've mostly observed this in the downward direction, but I mostly scroll in that direction anyway so it might not mean anything. What's wrong about this is that a single click should not do this, and does not do this, on any other scrollbar on my machine. A single click moves the thumb thingie a fixed amount which depends on where you click. The worst part is that the application won't do anything else until the scrolling is finished, and the scrolling for a very tall page can take a couple of minutes. I keep trying to remember that dragging the thumb still works as expected, but clicking is an old habit that's hard to drop. Am I the only one seeing this? -- Kevin O'Gorman, PhD I have noticed this in Seamonkey too. Could this be something that both Seamonkey and Firefox builds on? I always thought that is was my tired finger. lol Dale :-) :-)
Re: [gentoo-user] Firefox + gentoo scrolling like a snail
On Saturday 26 June 2010 17:44:42 Kevin O'Gorman wrote: It's weird. Sometimes, but not always, when I click in the Firefox scrollbar, it starts heading in the right direction in fits and starts of 5 pixels or so until it (finallly) reaches the end. I've mostly observed this in the downward direction, but I mostly scroll in that direction anyway so it might not mean anything. What's wrong about this is that a single click should not do this, and does not do this, on any other scrollbar on my machine. A single click moves the thumb thingie a fixed amount which depends on where you click. The worst part is that the application won't do anything else until the scrolling is finished, and the scrolling for a very tall page can take a couple of minutes. I keep trying to remember that dragging the thumb still works as expected, but clicking is an old habit that's hard to drop. Am I the only one seeing this? I don't see that. What settings do you have for scrolling? Firefox config dialog - Advanced - General -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] Firefox + gentoo scrolling like a snail
Kevin O'Gorman writes: Sometimes, but not always, when I click in the Firefox scrollbar, it starts heading in the right direction in fits and starts of 5 pixels or so until it (finallly) reaches the end. I've mostly observed this in the downward direction, but I mostly scroll in that direction anyway so it might not mean anything. I see this in Konqueror sometimes, but only about once a week. Wonko
Re: [gentoo-user] Firefox + gentoo scrolling like a snail
On Sat, Jun 26, 2010 at 8:51 AM, Alan McKinnon alan.mckin...@gmail.comwrote: On Saturday 26 June 2010 17:44:42 Kevin O'Gorman wrote: It's weird. Sometimes, but not always, when I click in the Firefox scrollbar, it starts heading in the right direction in fits and starts of 5 pixels or so until it (finallly) reaches the end. I've mostly observed this in the downward direction, but I mostly scroll in that direction anyway so it might not mean anything. What's wrong about this is that a single click should not do this, and does not do this, on any other scrollbar on my machine. A single click moves the thumb thingie a fixed amount which depends on where you click. The worst part is that the application won't do anything else until the scrolling is finished, and the scrolling for a very tall page can take a couple of minutes. I keep trying to remember that dragging the thumb still works as expected, but clicking is an old habit that's hard to drop. Am I the only one seeing this? I don't see that. What settings do you have for scrolling? Firefox config dialog - Advanced - General Firefox-3.6.3 - Edit - Preferences - Advanced - General checked: - Always use the cursor keys to navigate within pages - Use autoscrolling - Always check to see if Firefox is the default browser on startup I guess both of the first two are suspects, but AFAICR I've never touched these. -- Kevin O'Gorman, PhD
Re: [gentoo-user] Questions regarding the usage of multiple locales
On Saturday 26 June 2010 16:40:53 Dale wrote: David W Noon wrote: On Sat, 26 Jun 2010 13:40:01 +0200, Mick wrote about Re: [gentoo-user] Questions regarding the usage of multiple locales: [snip] Hmm... I've added all this in my /etc/env.d/02locale: LANG=en_GB.UTF-8 LC_CTYPE=en_GB.UTF-8 LC_NUMERIC=en_GB.UTF-8 LC_TIME=en_GB.UTF-8 LC_COLLATE=C LC_MONETARY=en_GB.UTF-8 LC_MESSAGES=en_GB.UTF-8 LC_PAPER=en_GB.UTF-8 LC_NAME=en_GB.UTF-8 LC_ADDRESS=en_GB.UTF-8 LC_TELEPHONE=en_GB.UTF-8 LC_MEASUREMENT=en_GB.UTF-8 LC_IDENTIFICATION=en_GB.UTF-8 Did you run env-update afterwards? I ditched all those /etc/env.d settings for locale, and put mine in /etc/profile.d/local.sh as follows: SNIP Something I run into sometimes, if you are using KDE, log out then log back in. I run into this pretty regular and usually forget. I have been sort of half reading this thread and seem to recall reading you are using KDE. I know this applies to when you change the groups a user is in. Ran into that the other day. This may apply to other desktops as well. I only have KDE here. Just thought I would mention just in case. Thank you all for your suggestions. First of all I'd like to apologise to Christopher because I did not intend to hi-jack his thread (I was hoping I had something basic wrong and was looking for a quick fix). I have run 'env-update source /etc/profile' after making any change. I have also rebooted for good measure since this thread spanned more than a few days so far. I do not use the full KDE. Instead I use Enlightenment with some KDE applications. I do use kdm to login. The consoles work as expected, but terminals in X do not. They seem to be stuck to (or overwritten by) a US profile for some reason. Running env-update works as far as updating the /etc/profile.env file goes: # THIS FILE IS AUTOMATICALLY GENERATED BY env-update. # DO NOT EDIT THIS FILE. CHANGES TO STARTUP PROFILES # GO INTO /etc/profile NOT /etc/profile.env export CONFIG_PROTECT='/usr/share/X11/xkb /usr/share/config' export CONFIG_PROTECT_MASK='/etc/sandbox.d /etc/fonts/fonts.conf /etc/gconf /etc/terminfo /etc/ca-certificates.conf /etc/revdep-rebuild' export CVS_RSH='ssh' export GCC_SPECS='' export GDK_USE_XFT='1' export ICAROOT='/opt/ICAClient' export INFOPATH='/usr/share/info:/usr/share/binutils-data/x86_64-pc-linux- gnu/2.20.1/info:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.4.3/info' export LANG='en_GB.UTF-8' export LC_ADDRESS='en_GB.UTF-8' export LC_COLLATE='C' export LC_CTYPE='en_GB.UTF-8' export LC_IDENTIFICATION='en_GB.UTF-8' export LC_MEASUREMENT='en_GB.UTF-8' export LC_MESSAGES='en_GB.UTF-8' export LC_MONETARY='en_GB.UTF-8' export LC_NAME='en_GB.UTF-8' export LC_NUMERIC='en_GB.UTF-8' export LC_PAPER='en_GB.UTF-8' export LC_TELEPHONE='en_GB.UTF-8' export LC_TIME='en_GB.UTF-8' [snip ...] Out of all the above only LANG takes and is shown as LANG=en_GB.UTF-8, all the rest are shown as =en_US.UTF-8 in xterm, aterm, urxvt, konsole. Launching xterm from an aterm with -ls or with -lc does not change the output - i.e. xterm does not read .bashrc or /etc/env.d/02locale. So I conluded after Bill kindly hinted, that either kdm or E17 do something different than what I expect with locales, because terminals running in X do not recognise my settings. Looking into KDE systemsettings I see this under Country Selector: Not set (Generic English). Also, language is blank - despite the fact that I have set up LINGUAS=en_GB. Setting Country as UK and rebooting did not make any difference with regards to locales, or language (which is still shown blank with English US as the only drop down option). Then I looked into Enlightenment's 'Settings Panel'/Language and noticed that although it had picked up language as English/UK it had not picked up the UTF-8 character set. Selected that, logged out/in and now all my locale settings in terminals show en_GB.UTF-8 (even for LC_COLLATE and LC_ALL). Therefore, it was the desktop manager after all! Thank you very much for your help. PS. Going back to the original thread and the link that Enrico gave, are we meant to set up LANGUAGE separately to LANG? (I thought they were the same). -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Firefox + gentoo scrolling like a snail
On Saturday 26 June 2010 19:08:58 Kevin O'Gorman wrote: On Sat, Jun 26, 2010 at 8:51 AM, Alan McKinnon alan.mckin...@gmail.comwrote: On Saturday 26 June 2010 17:44:42 Kevin O'Gorman wrote: It's weird. Sometimes, but not always, when I click in the Firefox scrollbar, it starts heading in the right direction in fits and starts of 5 pixels or so until it (finallly) reaches the end. I've mostly observed this in the downward direction, but I mostly scroll in that direction anyway so it might not mean anything. What's wrong about this is that a single click should not do this, and does not do this, on any other scrollbar on my machine. A single click moves the thumb thingie a fixed amount which depends on where you click. The worst part is that the application won't do anything else until the scrolling is finished, and the scrolling for a very tall page can take a couple of minutes. I keep trying to remember that dragging the thumb still works as expected, but clicking is an old habit that's hard to drop. Am I the only one seeing this? I don't see that. What settings do you have for scrolling? Firefox config dialog - Advanced - General Firefox-3.6.3 - Edit - Preferences - Advanced - General checked: - Always use the cursor keys to navigate within pages - Use autoscrolling - Always check to see if Firefox is the default browser on startup I guess both of the first two are suspects, but AFAICR I've never touched these. My setup is similar, so I don't know where to go from here :-) And someone else reported that heir konqueror does it too. If these things are related that would cancel out Firefox itself and move over to the video system -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] Boot hangs after install, no error
On 6/23/2010 4:36 AM, Peter Humphrey wrote: On Wednesday 23 June 2010 03:29:16 Dale wrote: By all means, use genkernel. I will, RSN. This nearly new, shiny, quad-core box is as sluggish as hell, and I want to find out why. So I'll use genkernel to install everything under the sun and see if I can work it out. You could also check out Pappy's Kernel Seeds at http://www.kernel-seeds.org.org/
Re: [gentoo-user] Questions regarding the usage of multiple locales
On Sat, 26 Jun 2010 17:50:01 +0200, Dale wrote about Re: [gentoo-user] Questions regarding the usage of multiple locales: David W Noon wrote: [snip] I ditched all those /etc/env.d settings for locale, and put mine in /etc/profile.d/local.sh as follows: SNIP Something I run into sometimes, if you are using KDE, log out then log back in. I run into this pretty regular and usually forget. I have been sort of half reading this thread and seem to recall reading you are using KDE. I know this applies to when you change the groups a user is in. Ran into that the other day. This may apply to other desktops as well. I only have KDE here. Just thought I would mention just in case. It applies to all desktop environments. Whenever you change your central environment variables you must logout and login again, so that the revisions to /etc/profile and all its associated scripts are re-elaborated. In a console shell, you can usually do: . /etc/profile and the new environment values will be assigned. This is why we are told to do that when we use eselect to switch slots of some slotted package, such as GCC. -- Regards, Dave [RLU #314465] == dwn...@ntlworld.com (David W Noon) == signature.asc Description: PGP signature
Re: [gentoo-user] core i5
On Fri, Jun 25, 2010 at 11:39 AM, Paul Hartman paul.hartman+gen...@gmail.com wrote: On Fri, Jun 25, 2010 at 12:58 PM, Mark Knecht markkne...@gmail.com wrote: SNIP real 94m25.632s user 246m19.420s sys 36m19.092s c2stable ~ # Even though i have 12 processor threads you can see the effectivity is more like 3 or 4 1 overall. A lot of the kde compile only uses 1 or 2 cores per package and then there's a lot of time spent waiting for hard drives, etc. Try adding -j to emerge and watch it truly maximize your cores. When I emerged KDE it was compiling something like 90 packages simultaneously. Does seems to help although this is apples and oranges. My previous build was the newest kde-4.4.4 on the 980x without using -j on the emerge. Yesterday afternoon I tried emerge -j5 -DuN @world on an i5-661 machine I also built for my dad. That emerge also included the newest kde and total was close to 350 ebuild. It completed in maybe 2-2.5 hours which is good. IIRC when I first built KDE on that machine it took maybe 4 hours? Not sure. Anyway, the emerge -j helped, but on the downside emerge died twice in the process complaining about something. If I restarted emerge it didn't fail the second time and continued on until it died again, and I had to restart it again. I think I read here about others having that problem. Nothing was bad in the end, and everything got done, but it took a little more hand holding. Thanks for the pointer. Cheers, Mark
Re: [gentoo-user] Firefox + gentoo scrolling like a snail
Alan McKinnon wrote: On Saturday 26 June 2010 19:08:58 Kevin O'Gorman wrote: On Sat, Jun 26, 2010 at 8:51 AM, Alan McKinnon alan.mckin...@gmail.comwrote: On Saturday 26 June 2010 17:44:42 Kevin O'Gorman wrote: It's weird. Sometimes, but not always, when I click in the Firefox scrollbar, it starts heading in the right direction in fits and starts of 5 pixels or so until it (finallly) reaches the end. I've mostly observed this in the downward direction, but I mostly scroll in that direction anyway so it might not mean anything. What's wrong about this is that a single click should not do this, and does not do this, on any other scrollbar on my machine. A single click moves the thumb thingie a fixed amount which depends on where you click. The worst part is that the application won't do anything else until the scrolling is finished, and the scrolling for a very tall page can take a couple of minutes. I keep trying to remember that dragging the thumb still works as expected, but clicking is an old habit that's hard to drop. Am I the only one seeing this? I don't see that. What settings do you have for scrolling? Firefox config dialog - Advanced - General Firefox-3.6.3 - Edit - Preferences - Advanced - General checked: - Always use the cursor keys to navigate within pages - Use autoscrolling - Always check to see if Firefox is the default browser on startup I guess both of the first two are suspects, but AFAICR I've never touched these. My setup is similar, so I don't know where to go from here :-) And someone else reported that heir konqueror does it too. If these things are related that would cancel out Firefox itself and move over to the video system If that's the case, I have a Nvidia card and use the Nvidia drivers. Someone seeing this have something different? Dale :-) :-)
[gentoo-user] XServer hal useflag
Hi list! I'm a bit confused about the meaning of the hal useflag on the x11-base/xorg-server ebuilds nowadays. When I deactivate it, hot-plugin a mouse does not work and special keys on the keyboard are not detected. When I enable it, everything works but several driver packages (evdev and mouse, probably others) want me to deactivate it. Does this have anything to do with me still using /etc/X11/xorg.conf and not auto configuration? Or maybe the update to Gnome-2.28? Or the general deprecation of hal? In short: Did I miss any update advice or do I have to fiddle around with the settings and useflags until something usable is found, like usual? Thanks in advance! Florian Philipp signature.asc Description: OpenPGP digital signature
[gentoo-user] Re: XServer hal useflag
On 06/26/2010 09:24 PM, Florian Philipp wrote: Hi list! I'm a bit confused about the meaning of the hal useflag on the x11-base/xorg-server ebuilds nowadays. When I deactivate it, hot-plugin a mouse does not work and special keys on the keyboard are not detected. When I enable it, everything works but several driver packages (evdev and mouse, probably others) want me to deactivate it. Does this have anything to do with me still using /etc/X11/xorg.conf and not auto configuration? Or maybe the update to Gnome-2.28? Or the general deprecation of hal? In short: Did I miss any update advice or do I have to fiddle around with the settings and useflags until something usable is found, like usual? Delete everything related to input devices in xorg.conf and make sure the udev USE flag is enabled for xorg-server.
Re: [gentoo-user] XServer hal useflag
On Sat, 2010-06-26 at 20:24 +0200, Florian Philipp wrote: Hi list! I'm a bit confused about the meaning of the hal useflag on the x11-base/xorg-server ebuilds nowadays. When I deactivate it, hot-plugin a mouse does not work and special keys on the keyboard are not detected. When I enable it, everything works but several driver packages (evdev and mouse, probably others) want me to deactivate it. Does this have anything to do with me still using /etc/X11/xorg.conf and not auto configuration? Or maybe the update to Gnome-2.28? Or the general deprecation of hal? In short: Did I miss any update advice or do I have to fiddle around with the settings and useflags until something usable is found, like usual? Originally Xorg required you to pretty much specify all your devices and configuration in your xorg.conf file. Then the option came to use hal to help with identifying, hot-plugging, and auto-configuring devices. Well in general hal has fallen out of favor for reasons beyond the scope of this discussion. So many softwares that used hal before are or have migrated to something else, such as udev. Xorg has also chosen to do this, and so the newer Xorg servers can use udev instead of hal. There is a udev flag for xorg-server. You can/should use this instead of hal. Using neither hal nor udev gives you the legacy mode where everything is (must be) configured via configuration file. -a
Re: [gentoo-user] XServer hal useflag
Am 26.06.2010 20:32, schrieb Albert Hopkins: Originally Xorg required you to pretty much specify all your devices and configuration in your xorg.conf file. Then the option came to use hal to help with identifying, hot-plugging, and auto-configuring devices. Well in general hal has fallen out of favor for reasons beyond the scope of this discussion. So many softwares that used hal before are or have migrated to something else, such as udev. Xorg has also chosen to do this, and so the newer Xorg servers can use udev instead of hal. There is a udev flag for xorg-server. You can/should use this instead of hal. Using neither hal nor udev gives you the legacy mode where everything is (must be) configured via configuration file. Is it time already to set -hal in make.conf and get rid of hal? I run xorg-server without hal for quite a while now, but there are other packages as well using that flag. Hints? I could simply try, yes ;-) S
[gentoo-user] Re: XServer hal useflag
On 06/26/2010 09:54 PM, Stefan G. Weichinger wrote: Am 26.06.2010 20:32, schrieb Albert Hopkins: Originally Xorg required you to pretty much specify all your devices and configuration in your xorg.conf file. Then the option came to use hal to help with identifying, hot-plugging, and auto-configuring devices. Well in general hal has fallen out of favor for reasons beyond the scope of this discussion. So many softwares that used hal before are or have migrated to something else, such as udev. Xorg has also chosen to do this, and so the newer Xorg servers can use udev instead of hal. There is a udev flag for xorg-server. You can/should use this instead of hal. Using neither hal nor udev gives you the legacy mode where everything is (must be) configured via configuration file. Is it time already to set -hal in make.conf and get rid of hal? I run xorg-server without hal for quite a while now, but there are other packages as well using that flag. Hints? I could simply try, yes ;-) Depends on the individual packages. xorg-server can do without hal. For other packages you need to look at their docs and see why they need hal.
Re: [gentoo-user] [SOLVED] gcc build fails during emerge system on new 64-bit install
On Fri, Jun 25, 2010 at 12:44:47AM -0500, Dale wrote For future reference, after you switch gcc, you should run env-update and source /etc/profile. Then you don't have to log out and back in again. One could argue that one is easier than the other tho. ;-) I knew I had to do a couple of things if I wanted to avoid logout and login, but I couldn't remember off the top of my head. It was easier to just log out+in rather than look it up. -- Walter Dnes waltd...@waltdnes.org
Re: [gentoo-user] XServer hal useflag
On Sat, Jun 26, 2010 at 08:54:07PM +0200, Stefan G. Weichinger wrote Is it time already to set -hal in make.conf and get rid of hal? Even better, put it in /etc/portage/package.mask. Here's mine... sys-apps/dbus sys-apps/hal sys-libs/pam I could simply try, yes ;-) Try it, you'll like it. -- Walter Dnes waltd...@waltdnes.org
Re: [gentoo-user] Firefox + gentoo scrolling like a snail
On Sat, Jun 26, 2010 at 10:15 AM, Alan McKinnon alan.mckin...@gmail.comwrote: On Saturday 26 June 2010 19:08:58 Kevin O'Gorman wrote: On Sat, Jun 26, 2010 at 8:51 AM, Alan McKinnon alan.mckin...@gmail.comwrote: On Saturday 26 June 2010 17:44:42 Kevin O'Gorman wrote: It's weird. Sometimes, but not always, when I click in the Firefox scrollbar, it starts heading in the right direction in fits and starts of 5 pixels or so until it (finallly) reaches the end. I've mostly observed this in the downward direction, but I mostly scroll in that direction anyway so it might not mean anything. What's wrong about this is that a single click should not do this, and does not do this, on any other scrollbar on my machine. A single click moves the thumb thingie a fixed amount which depends on where you click. The worst part is that the application won't do anything else until the scrolling is finished, and the scrolling for a very tall page can take a couple of minutes. I keep trying to remember that dragging the thumb still works as expected, but clicking is an old habit that's hard to drop. Am I the only one seeing this? I don't see that. What settings do you have for scrolling? Firefox config dialog - Advanced - General Firefox-3.6.3 - Edit - Preferences - Advanced - General checked: - Always use the cursor keys to navigate within pages - Use autoscrolling - Always check to see if Firefox is the default browser on startup I guess both of the first two are suspects, but AFAICR I've never touched these. My setup is similar, so I don't know where to go from here :-) And someone else reported that heir konqueror does it too. If these things are related that would cancel out Firefox itself and move over to the video system Maybe. It's also possible I'm seeing it when working with email. I do that in several ways, though, and I'll have to figure out which combination(s) actually give me trouble. Then I guess it will be bug-writing time. -- Kevin O'Gorman, PhD
Re: [gentoo-user] XServer hal useflag
On Sat, 2010-06-26 at 20:54 +0200, Stefan G. Weichinger wrote: Is it time already to set -hal in make.conf and get rid of hal? I have some packages that still need hal.. or at least to use them the way I use them they still need hal. I don't have hal as a global use flag, but have it for individual packages in /etc/portage/package.use. This is entirely user preference (I can't tell you if you need hal or not). -a
Re: [gentoo-user] XServer hal useflag
Am 26.06.2010 22:38, schrieb waltd...@waltdnes.org: Even better, put it in /etc/portage/package.mask. Here's mine... sys-apps/dbus sys-apps/hal sys-libs/pam I could simply try, yes ;-) Try it, you'll like it. Why? ;-) I am not as bold to do what you suggested. Added -hal to my make.conf ... and recompiled stuff on two boxes. Looks OK so far ... this leads to removing hald, yes. Removing dbus looks a bit scarier to me, more packages USE it. I will see ... ;-) Thanks, Stefan
Re: [gentoo-user] XServer hal useflag
Am 26.06.2010 22:56, schrieb Albert Hopkins: On Sat, 2010-06-26 at 20:54 +0200, Stefan G. Weichinger wrote: Is it time already to set -hal in make.conf and get rid of hal? I have some packages that still need hal.. or at least to use them the way I use them they still need hal. I don't have hal as a global use flag, but have it for individual packages in /etc/portage/package.use. This is entirely user preference (I can't tell you if you need hal or not). Sure ... I have to add that I am using GNOME here which might lead to some thoughts about hotplugging stuff like usb-sticks etc. What else? # equery h hal * Searching for USE flag hal ... [IP-] [ ] app-emulation/wine-1.1.42:0 [IP-] [ ] gnome-base/gnome-applets-2.30.0:2 [IP-] [ ] gnome-base/gnome-vfs-2.24.3-r1:2 [IP-] [ ] gnome-base/gvfs-1.6.2:0 [IP-] [ ] media-sound/pulseaudio-0.9.21.2-r1:0 [IP-] [ ] media-sound/qmmp-0.4.1:0 [IP-] [ ] sys-fs/ntfs3g-2010.5.16:0 [IP-] [ ] x11-base/xorg-server-1.8.1.901:0 pulseaudio, works ok so far. qmmp, OK. xorg-server, yep, for quite a while. Can't really say much about the gnome-stuff and wine ... For now hald is OFF here and packages recompiled with -hal. Stefan
[gentoo-user] X Windows setup questions on my new machine
1) Text sucks on webpages, and other GUI apps. For a sample, see... http://clients.teksavvy.com/~walterdnes/misc/webtext.png where I snipped 2 sentences from the CNN webpage. How can I fix it? 2) Back in 2000, one of the things that drove me to linux was the availability of true console text mode, and also true console text mode apps. Up till now, I've used text mode when possible, because it's a lot easier on my eyes. I'm realistic about using X for web browsing and spreadsheets, and other GUI-oriented stuff. But email and text files should be textmode, dammit. However, my new machine's Intel integrated graphics chip doesn't agree. X will *NOT* work unless I enable i915 DRM driver in make menuconfig, like so... * Intel 830M, 845G, 852GM, 855GM, 865G (i915 driver) --- This results in framebuffer being *FORCED* on. * Direct Rendering Manager (XFree86 4.1.0 and higher DRI support -*- Lowlevel video output switch controls -*- Support for frame buffer devices --- Let's just say that framebuffer video on a 1920x1200 24 LCD sucketh to the max. I get 74 rows by some ridiculous number of columns of miniscule, virtually unreadable font. This is with the default VGA boot, not with VGA=6. Is there any way I can get rid of framebuffer mode, while retaining X functionality? Why the bleep does X Windows require framebuffer, anyways? The lspci -vv output for my video card is listed below... 00:02.0 VGA compatible controller: Intel Corporation Clarkdale Integrated Graphics Controller (rev 12) (prog-if 00 [VGA controller]) Subsystem: Micro-Star International Co., Ltd. Device 7636 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+ Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast TAbort- TAbort- MAbort- SERR- PERR- INTx- Latency: 0 Interrupt: pin A routed to IRQ 31 Region 0: Memory at fb80 (64-bit, non-prefetchable) [size=4M] Region 2: Memory at d000 (64-bit, prefetchable) [size=256M] Region 4: I/O ports at cc00 [size=8] Expansion ROM at unassigned [disabled] Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit- Address: fee0f00c Data: 4199 Capabilities: [d0] Power Management version 2 Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-) Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME- Capabilities: [a4] PCI Advanced Features AFCap: TP+ FLR+ AFCtrl: FLR- AFStatus: TP- Kernel driver in use: i915 -- Walter Dnes waltd...@waltdnes.org
Re: [gentoo-user] X Windows setup questions on my new machine
On 26 June 2010 22:36, waltd...@waltdnes.org wrote: 1) Text sucks on webpages, and other GUI apps. For a sample, see... http://clients.teksavvy.com/~walterdnes/misc/webtext.png where I snipped 2 sentences from the CNN webpage. How can I fix it? 2) Back in 2000, one of the things that drove me to linux was the availability of true console text mode, and also true console text mode apps. Up till now, I've used text mode when possible, because it's a lot easier on my eyes. I'm realistic about using X for web browsing and spreadsheets, and other GUI-oriented stuff. But email and text files should be textmode, dammit. However, my new machine's Intel integrated graphics chip doesn't agree. X will *NOT* work unless I enable i915 DRM driver in make menuconfig, like so... * Intel 830M, 845G, 852GM, 855GM, 865G (i915 driver) --- This results in framebuffer being *FORCED* on. * Direct Rendering Manager (XFree86 4.1.0 and higher DRI support -*- Lowlevel video output switch controls -*- Support for frame buffer devices --- Let's just say that framebuffer video on a 1920x1200 24 LCD sucketh to the max. I get 74 rows by some ridiculous number of columns of miniscule, virtually unreadable font. This is with the default VGA boot, not with VGA=6. Is there any way I can get rid of framebuffer mode, while retaining X functionality? Why the bleep does X Windows require framebuffer, anyways? The lspci -vv output for my video card is listed below... 00:02.0 VGA compatible controller: Intel Corporation Clarkdale Integrated Graphics Controller (rev 12) (prog-if 00 [VGA controller]) Subsystem: Micro-Star International Co., Ltd. Device 7636 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+ Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast TAbort- TAbort- MAbort- SERR- PERR- INTx- Latency: 0 Interrupt: pin A routed to IRQ 31 Region 0: Memory at fb80 (64-bit, non-prefetchable) [size=4M] Region 2: Memory at d000 (64-bit, prefetchable) [size=256M] Region 4: I/O ports at cc00 [size=8] Expansion ROM at unassigned [disabled] Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit- Address: fee0f00c Data: 4199 Capabilities: [d0] Power Management version 2 Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-) Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME- Capabilities: [a4] PCI Advanced Features AFCap: TP+ FLR+ AFCtrl: FLR- AFStatus: TP- Kernel driver in use: i915 -- Walter Dnes waltd...@waltdnes.org I had a similar problem with fonts in X and I used the following walkthrough guide to fix it: http://www.kev009.com/wp/2009/12/getting-beautiful-fonts-in-gentoo-linux/ Hope this helps, Chris.
[gentoo-user] Hibernate script trying to bring down non-existant sit0
Another little glitch on my new machine. I have hibernate enabled for my regular user account via /etc/sudoers. The command fails due to an error in NetworkStop. Switching to root, and running hibernate with the verbose -v3 option, I see the following... hibernate: [60] Executing NetworkStop ... Bringing down interface eth0 * Stopping eth0 * Bringing down eth0 * Shutting down eth0 ... [ ok ] Bringing down interface sit0 hibernate: Aborting suspend due to errors in NetworkStop (use --force to override). Hibernate dies trying to bring down sit0. Huh??? I've checked... - no /etc/init.d/net.sit0 - only eth0 is mentioned in /etc/conf.d/net - ifconfig only shows eth0 and lo - lspci only shows one ethernet controller For now, I've enabled hibernate with the --force option in sudoers, but I'm not comfortable with it. -- Walter Dnes waltd...@waltdnes.org
Re: [gentoo-user] X Windows setup questions on my new machine
On Saturday 26 June 2010 23:48:46 Christopher Swift wrote: On 26 June 2010 22:36, waltd...@waltdnes.org wrote: 1) Text sucks on webpages, and other GUI apps. For a sample, see... http://clients.teksavvy.com/~walterdnes/misc/webtext.png where I snipped 2 sentences from the CNN webpage. How can I fix it? 2) Back in 2000, one of the things that drove me to linux was the availability of true console text mode, and also true console text mode apps. Up till now, I've used text mode when possible, because it's a lot easier on my eyes. I'm realistic about using X for web browsing and spreadsheets, and other GUI-oriented stuff. But email and text files should be textmode, dammit. However, my new machine's Intel integrated graphics chip doesn't agree. X will *NOT* work unless I enable i915 DRM driver in make menuconfig, like so... * Intel 830M, 845G, 852GM, 855GM, 865G (i915 driver) --- This results in framebuffer being *FORCED* on. * Direct Rendering Manager (XFree86 4.1.0 and higher DRI support -*- Lowlevel video output switch controls -*- Support for frame buffer devices --- Let's just say that framebuffer video on a 1920x1200 24 LCD sucketh to the max. I get 74 rows by some ridiculous number of columns of miniscule, virtually unreadable font. This is with the default VGA boot, not with VGA=6. Is there any way I can get rid of framebuffer mode, while retaining X functionality? Why the bleep does X Windows require framebuffer, anyways? The lspci -vv output for my video card is listed below... 00:02.0 VGA compatible controller: Intel Corporation Clarkdale Integrated Graphics Controller (rev 12) (prog-if 00 [VGA controller]) Subsystem: Micro-Star International Co., Ltd. Device 7636 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+ Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast TAbort- TAbort- MAbort- SERR- PERR- INTx- Latency: 0 Interrupt: pin A routed to IRQ 31 Region 0: Memory at fb80 (64-bit, non-prefetchable) [size=4M] Region 2: Memory at d000 (64-bit, prefetchable) [size=256M] Region 4: I/O ports at cc00 [size=8] Expansion ROM at unassigned [disabled] Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit- Address: fee0f00c Data: 4199 Capabilities: [d0] Power Management version 2 Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-) Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME- Capabilities: [a4] PCI Advanced Features AFCap: TP+ FLR+ AFCtrl: FLR- AFStatus: TP- Kernel driver in use: i915 -- Walter Dnes waltd...@waltdnes.org I had a similar problem with fonts in X and I used the following walkthrough guide to fix it: http://www.kev009.com/wp/2009/12/getting-beautiful-fonts-in-gentoo-linux/ Walter, have you tried to find the vga modes that your card supports using vbetools (you'll need vbetest) or running 'hwinfo --vbe' ? Then you can experiment with the different settings until you get a font size that suits your needs. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Hibernate script trying to bring down non-existant sit0
On Sunday 27 June 2010 00:00:57 waltd...@waltdnes.org wrote: Another little glitch on my new machine. I have hibernate enabled for my regular user account via /etc/sudoers. The command fails due to an error in NetworkStop. Switching to root, and running hibernate with the verbose -v3 option, I see the following... hibernate: [60] Executing NetworkStop ... Bringing down interface eth0 * Stopping eth0 * Bringing down eth0 * Shutting down eth0 ... [ ok ] Bringing down interface sit0 hibernate: Aborting suspend due to errors in NetworkStop (use --force to override). Hibernate dies trying to bring down sit0. Huh??? I've checked... - no /etc/init.d/net.sit0 Check again using 'iconfig -a'. You should see a IPv6-in-IPv4 interface there. Normally, this would not be up unless you have set up some fancy tunnel with your ISP who would be terminating your IPv6 link. My ISP offers this but have not as yet found a use for it. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Firefox + gentoo scrolling like a snail
Dale writes: Alan McKinnon wrote: And someone else reported that heir konqueror does it too. If these things are related that would cancel out Firefox itself and move over to the video system Well, my KDE does so many weird things, this still might be unrelated. Similar problems are repeating keys, when suddenly the last key pressed is output over and over again. When I move the mouse and another window gets the focus, it gets the keypresses, too. I can deativate it by switching to a text console (it does nto happen here), and pressing all kinds of keys at once. And from time to time some modifier key like shift or ctrl gets stuck virtually. Again, pressing those modifier keys all at once like crazy ends this. And today all modifier keys suddenly stopped working at all. I had to log out and in again. If that's the case, I have a Nvidia card and use the Nvidia drivers. Someone seeing this have something different? I am using the ati-drivers / fglrx. Wonko