Re: [gentoo-user] KDE4+i945+kernel+external display = ?
http://en.gentoo-wiki.com/wiki/Intel_GMA Welcome to our world of pain :( I made some headway using -hal for xorg-server in USE, and IgnoreEDID and setting DDC to false in xorg.conf but the latest updates ignore those and the UXA settings in the link above (check the xorg log for other dirty secrets) I am using 2.6.31-r3 (with kernel mode setting by default for the i915 - doesnt work well without it) and xorg-server 1.6.5. Its a laptop and there is no easy solution as the external screens (various) that I use with it often have only 1024x768 in common with its own LCD and stupid xorg wont let me overide it without consequences elsewhere :( xorg sucks badly at the moment and there is no viable alternative to switch to - and the saddest thing is the chipset has worked fine in the past (sadly becoming distant past for me) ... BillK On Wed, 2009-10-28 at 23:31 -0600, Dmitry Makovey wrote: Hi everybody, I've got an interesting issue today which I half-resolved, but am still wondering whether I missed something important or did something that'll bite me in the end. So here's short story: I've been running older kernel (2.6.22-gentoo-r9) and KDE3 on my laptop(x86,i945) for quite some time. Now with recent unmasking of KDE4 I went with the flow and upgraded my KDE3 to KDE4 (yep, I know it's still there, slotted etc., but that's not the point). So, after upgrade I've noticed how painfully slow my KDE4 was. Now, I've been running KDE4 on my home machine (amd64,nVidia) for quite some time now (ever since 4.2.0) and never noticed such things (mind you - it's running another rather dated kernel: 2.6.25-gentoo-r6), so I started digging. Xorg gave me no real reason for worries other than some complaints about DRI and the fact that compatible DRI would be part of kernel-2.6.28+, but I have not enabled any of the effects yet! Well, so I upgraded kernel, and... my X wouldn't start at all. Actually it did start but my externally plugged LCD monitor won't show anything. Lid on my Dell x420 laptop stays closed since I had trouble getting my 1920x1200 resolution on external LCD to cooperate with 1280x800 on internal one. SysRq saved me trouble of hitting reset too many times. A bit of digging on google brought me to this xorg.conf (probably suboptimal as I was adding options and never retracting them looking for the right combination): Section Device Identifier Intel Corporation Mobile Integrated Graphics Controller Driver intel BusID PCI:0:2:0 Option AccelMethod xaa Option monitor-LVDS LVDS EndSection Section Device Identifier Intel Corporation Mobile Integrated Graphics Controller 2 Driver intel BusID PCI:0:2:1 Option AccelMethod xaa Option monitor-LVDS LVDS EndSection Section Extensions Option Composite Enable EndSection Section Monitor Identifier LVDS Option Ignore True EndSection Section Module Load dri EndSection Section ServerFlags Option AIGLX EndSection Section DRI Group video Mode 0660 EndSection Section Screen Identifier Default Option XaaNoOffscreenPixmaps true DefaultDepth 24 Subsection Display Depth 16 Modes 1920x1200 EndSubsection Subsection Display Depth 24 Modes 1920x1200 EndSubsection Subsection Display Depth 32 Modes 1920x1200 EndSubsection EndSection Some of it are hints from KDE folk, some came from other resources. Not only that but I had recompiled my kernel quite a few times with pretty much every possible options related to intel graphics on i945 chipsets until I hit the right one. So it's kind of working. BUT - now every time I end KDE session instead of going back to KDM I'm being dropped to VT7, closer examination shows that KDM is running, but I can't get to it on any of the VTs. So I kill it and start again. And KDE4 itself leaves quite a few artifacts on screen (not entirely sure if it's related to a few effects I have enabled for usability's sake). KDE4 on my home machine haven't had any of those issues for quite some time now (it's got different issues though ;) ). Another annoyance is that with older kernel vesa framebuffer worked perfectly fine (... video=vesafb:ywrap,mttr,1280x800...@72 ...) and I was able to have full-screen framebuffered text console with 1280x800 resolution on external LCD. Now I get some viewport-like console where content is stuck in the upper-left corner (I assume it's resolution is 1280x800) but it didn't scale to full screen. So my real question is: are there any specific guides I should've followed instead of playing hit-n-miss? Did I miss something along
Re: [gentoo-user] Kgpg (KDE4) and missing menu items
On Thursday 29 October 2009 05:58:25 Dmitry S. Makovey wrote: Hi all, is it me, or does Kgpg (KDE4) indeed miss menu items for Keys/export , Keys/reload and so forth? I haven't noticed anything like that with any other application so far so I'm curious if that's something in my settings, or shall I stroll over to bugs.kde.org and file it? Over here the keys export, keys sign and keys reload are present in the drop down menu under Keys as icons, but the textual description is missing. Same with the main menu buttons. keys export, keys sign are shown but there are no tooltips when you hover over them. Otherwise they seem to work fine. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
[gentoo-user] Xorg slow after upgrade
Hello I've recently upgraded my system and I found that Xorg redraws the screenvery slowly. "top" shows me that "X" process takes up around 95% of the CPUwhile I have Intel Core 2 Duo.What's wrong with my system ?I have the following installed:kernel 2.6.30.7 #3 SMP (without PAE)xorg-server-1.6.3.901-r2xorg-x11-7.4-r1xf86-video-intel-2.8.1I've also successfully migrated to X.org Server 1.6 and libxcb 1.4 as writtenin official gentoo documentation.great thanks for any indicationsTanie mieszkania w Warszawie! Sprawdź atrakcyjne lokalizacje poniżej 7000 zł za metr http://klik.wp.pl/?adr=http://corto.www.wp.pl/as/oglosz_war.html=894
Re: [gentoo-user] Xorg slow after upgrade
On Thu, 29 Oct 2009 10:28:28 +0100 Krzysztof Poc wrote: Hello I've recently upgraded my system and I found that Xorg redraws the screen very slowly. top shows me that X process takes up around 95% of the CPU while I have Intel Core 2 Duo. What's wrong with my system ? I have the following installed: kernel 2.6.30.7 #3 SMP (without PAE) xorg-server-1.6.3.901-r2 xorg-x11-7.4-r1 xf86-video-intel-2.8.1 I've also successfully migrated to X.org Server 1.6 and libxcb 1.4 as written in official gentoo documentation. Xorg.0.log shows something interesting? Cause I had similar issue and found strange messages there great thanks for any indications cheers, -- Arnau Bria http://blog.emergetux.net Bombing for peace is like fucking for virginity
Re: [gentoo-user] Xorg slow after upgrade
On Thursday 29 October 2009 11:28:28 Krzysztof Poc wrote: Hello I've recently upgraded my system and I found that Xorg redraws the screen very slowly. top shows me that X process takes up around 95% of the CPU while I have Intel Core 2 Duo. What's wrong with my system ? I have the following installed: kernel 2.6.30.7 #3 SMP (without PAE) xorg-server-1.6.3.901-r2 xorg-x11-7.4-r1 xf86-video-intel-2.8.1 I've also successfully migrated to X.org Server 1.6 and libxcb 1.4 as written in official gentoo documentation. great thanks for any indications did you also rebuild all the drivers, select the correct opengl implementation and restart X? -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] public mail server for ELOG?
On 28 Oct 2009, at 16:36, Grant wrote: ... I'm hesitant to leave my mail server's user:passwd in plain text in /etc/make.conf. The question that springs to mind is WHY are you hesitant? If you don't want your user:pass stored ANYWHERE on the system then this rules out SSMTP to your ISP, too. But I can really see why you might be so, especially in the case of a laptop. In that case, you might have it relay via a desktop or server at your home, and use the 192.168.x.y or whatever private address to specify this. I'm not sure how SSMTP copes with failure attempts and retries, but if you configured Postfix with relayhost = 192.168.x.y then it would just sit in the queue until you arrived home and it was able to send. Alternatively, just open another free Gmail or Yahoo account and use these credentials for the sending of these admin emails. Typically you need to log in periodically to keep these accounts active, but I have fetchmail on my IMAP server checking every 5 minutes - as a consequence I have a number of accounts which I haven't actively used in years, but which are still working. Stroller.
Re: [gentoo-user] Xorg slow after upgrade
On Thursday 29 October 2009 11:28:28 Krzysztof Poc wrote: Xorg redraws the screen very slowly. top shows me that X process takes up around 95 % CPU while I have Intel Core 2 Duo. I have the following installed: kernel 2.6.30.7 #3 SMP (without PAE) -- i have kernel 2.6.29 xorg-server-1.6.3.901-r2 -- yes xorg-x11-7.4-r1 -- yes xf86-video-intel-2.8.1 -- i have '...-nv-' '...-vesa-' libxcb 1.4 -- i have 1.4-r1 I have no problem: I'm using some of your items, but not others. Perhaps that will help you pin down the cause. -- ,, SUPPORT ___//___, Philip Webb ELECTRIC /] [] [] [] [] []| Cities Centre, University of Toronto TRANSIT`-O--O---' purslowatchassdotutorontodotca
[gentoo-user] Re (DONE): kde4 upgrading
Stroller stroller at stellar.eclipse.co.uk writes: I think that alternative methods of approaching system administration are sure to bring their own problems and require an investment of time to implement, but I don't see how upgrading machines one by one is sustainable. Honestly, it would be driving me crazy to be in your position, and I think some other alternative might well show time and hassle saved once it's up and running. OK guys. Thanks for the unecessary tongue lashing. The systems rarely are at my location. I just cannot upgrade them at my decision, as they belong to others. Some of the machines I do not physically get for 6 months at a time. Sure, I could hack something together, but, imho it would make much more sense for a common method, as I'm certain I not the only one with this issue. I install Gentoo on systems for lots of folks (cause the install process is a pain for those without thick skin...) I have been reluctant to try the 10 install disk, as I have too many bad memories of install disks.. I hack my installs now. Some take over admin, some ask for help, some work too much and hate parting with machines. Many are dual boot running windows software that cannot run under linux or wine or vmware (mostly embedded development proprietary development software). I'm not willing to invest the time to figure this out nor go it alone. Somebody puts it together, I'll test it and use it. So, KDE-meta is just fine, for now, cause the rest of Gentoo is just fine. It's X and KDE4 that are the time_sink for me. thx, James
[gentoo-user] removing kde4(sets)
Hello, I've decided to just completely remove kde4(sets) and install kde4-meta. Are there any tricks to remove all of kde4, or do I have to do it manually? I have some kde-3.5.10 and dependent packages, I'd like to retain, so keep that in mind with any suggestions. (kdelibs-3.5.10-r6 and 4.2.4-r4) tia, James
[gentoo-user] hal greps my USB printer - help !
Hi, on one of my identical (believed) machines, hal greps the USB printer and disables CUPS. I.e. on one machine hal-device | grep -i kyocera shows that hal has grepped it. On an identical machine (with a HP printer) hal_device shows nothing relevant to that printer and CUPS is working on that machine when printing to that printer. How can I stop hal grepping the printer or how can I make hal cooperative with cups (1.4.1) Many thanks, Helmut. -- Helmut Jarausch Lehrstuhl fuer Numerische Mathematik RWTH - Aachen University D 52056 Aachen, Germany
[gentoo-user] emerge @preserved-rebuild loop
Hi there! Any idea why this happens? It's no problem, I'm just curious. r...@tanja src -- emerge -a @preserved-rebuild These are the packages that would be merged, in order: Calculating dependencies ... done! [ebuild R ] app-emulation/emul-linux-x86-gtklibs-20071214 [ebuild R ] kde-base/kalgebra-4.3.2 Would you like to merge these packages? [Yes/No] y [...] !!! existing preserved libs: package: sys-libs/readline-6.0_p3 * - /lib64/libreadline.so * - /lib64/libreadline.so.5 * - /lib64/libreadline.so.5.2 * used by /usr/bin/calgebra (kde-base/kalgebra-4.3.2) package: app-emulation/emul-linux-x86-baselibs-20091004_rc1 * - /usr/lib32/libjpeg.so.62 * - /usr/lib32/libjpeg.so.62.0.0 * used by /usr/lib32/gtk-2.0/2.10.0/loaders/libpixbufloader-jpeg.so (app-emulation/emul-linux-x86-gtklibs-20071214) * used by /usr/lib32/libImlib.so.1.9.15 (app-emulation/emul-linux- x86-gtklibs-20071214) * used by /usr/lib32/libimlib-jpeg.so (app-emulation/emul-linux-x86- gtklibs-20071214) Use emerge @preserved-rebuild to rebuild packages using these libraries r...@tanja src -- emerge -a @preserved-rebuild These are the packages that would be merged, in order: Calculating dependencies ... done! [ebuild R ] app-emulation/emul-linux-x86-gtklibs-20071214 [ebuild R ] kde-base/kalgebra-4.3.2 Would you like to merge these packages? [Yes/No] Wonko
[gentoo-user] Re: public mail server for ELOG?
Grant emailgr...@gmail.com writes: [...] So I need a relay somewhere along with ssmtp to get a message to an email address? Yes, and I know of at least one that will work for you. If you have a newsguy mail account, newsguy's smtp servers will allow you to connect regardless of your laptops' outward IP. (unless it is a blackballed Domain or something) Don't now if its worth it to you to pay for a newsguy mail account but I think that would work. It has for me in the past. I recommend using sendmail not ssmtp. Sendmail is better documented than any of the others... well at least ones I have fiddled with. I suppose ssmtp is all you need but why not use the real McCoy? Its easy enough to setup. And in fact setting up sendmail to `masquerade' your IP as the domain of your mail account is easy enough, and that alone may get what you want to work. So you would setup sendmail to use your mail accounts smtp server as what is called the `SMART_HOST', and to masquerade your domain as well as the all important `Envelope' (The real sender of mail info) The gotcha here is that any of the methods offered will almost certainly require a username and passwd to connect to the smtp server. In the case of sendmail it would be in a root owned file in /etc/mail that I believe can be set chmod 600. I'll try it and let you know if you are interested.
Re: [gentoo-user] removing kde4(sets)
On Thu, 29 Oct 2009 15:04:47 + (UTC), James wrote: I've decided to just completely remove kde4(sets) and install kde4-meta. Are there any tricks to remove all of kde4, or do I have to do it manually? The set and the meta-package pull in basically the same packages. Unmerge the set, emerge kde-meta then do a depclean to catch any stragglers. -- Neil Bothwick Confucius say : He who play in root, eventually kill tree! signature.asc Description: PGP signature
Re: [gentoo-user] public mail server for ELOG?
On Wed, Oct 28, 2009 at 5:22 PM, Grant emailgr...@gmail.com wrote: That kind of delivery limits the access to this mails to the local maschine. If I want to read local I don't need mails, I could just read the logfiles from portage in /var/log/ But I am aware that solving this problem is nothing that portage has to do, as it is no problem with portage at all. My mail was just to show that not everyone has a local mailserver running on his maschine. Greetings Sebastian then let it store everything as elog and read that with elogv. mail is just an additional bonus feature. His initial mail said that he would like a copy of elogs to go to his inbox at his ISP. Later mails imply he might want to read them over IMAP so they are accessible at multiple locations. Sebastian, Have you looked at ssmtp? Very light, very small and you can protect your login password with Unix file permissions instead of leaving them open in make.conf Could I use ssmtp to send elog mail to my email address? I wouldn't even need a login password if this is all I use it for, right? Yes. ssmtp is an email sender, it knows how to talk smtp to receiving servers or to relays. It doesn't receive mails. If the relay you use requires a username/password or ssl, it supports that too. So I need a relay somewhere along with ssmtp to get a message to an email address? [The receiving smtp server likely does not require a username/password, but it is equally likely to not accept connection direct from you, hence you should use your ISPs mail relay] I likely can't use my ISP's mail relay when traveling, right? - Grant Ok, now I'm left with a bit of curiosity. You've implied here a couple machines, one that sits at home where you may or may not be, likely a desktop? And another that goes with you traveling, likely a laptop. Now, a desktop at home can use your ISP's mail relay at all times, so long as your internet connection through your ISP is online and working, making elog mails from it accessible in your mailbox. The laptop depends on how your ISP's mail relay is configured, but I'm curious if you meant to imply you needed to send the elog information from the system that was traveling with you or not. If you do, I recommend a Gmail account, as they provide an authenticated-with-TLS mail relay. That said... and those things asked... gmail and ssmtp play very well together in my experience (gotta love anecdotal evidence). http://www.gentoo-wiki.info/HOWTO_Gmail_and_sSMTP -- Poison [BLX] Joshua M. Murphy
Re: [gentoo-user] public mail server for ELOG?
On Thu, 2009-10-29 at 01:48 +0200, Alan McKinnon wrote: 2. (The usual case). Your ISP only accepts relay mail from their own IP address range. While travelling this is unlikely to work. To be honest, I pay for my email and almost forgot about ISP emails. Most people I know use Yahoo or Gmail or something-other-than-ISP for email and it escaped me that that would even be a problem.
Re: [gentoo-user] Ethernet card not working, tried tulip drivers... [resolved]
On 10/28/2009 8:09 PM, Dale wrote: Marcus Wanner wrote: On 10/28/2009 5:39 PM, Dale wrote: Marcus Wanner wrote: I booted up the livecd and ran lspci -v, it worked great. I got similar output to that above, and found out that I am using a 3Com Corporation 3c905C-TX/TX-M [Tornado] (rev 78) and that Kernel driver in use: 3c59x. Great! Only problem was that when I went to look for that driver in menuconfig, all I found were two other drivers for similar cards (one of which had [Typhoon] in the name). However, I enabled those drivers, recompiled, rebooted, and everything works great. Thanks for all your help. Marcus Now I'm confused. I did a search here as well and it returned nothing matching that driver. This is a first for me. Has anyone else ever searched for a driver when you have the exact name and not get a match when the driver is actually there? I did a manual search and the driver is there. Glad you got the network working tho. Dale :-) :-) Yeah, I guess it's because you have to download that particular driver separately? Marcus It's in the kernel tho. This appears to be the one: 3c590/3c900 series (592/595/597) Vortex/Boomerang support The help screen lists your card. Just weird to me. Dale :-) :-) Oh, now it makes sense that my card worked with that driver. Come to think of it, I didn't even know that each menuconfig option had its own help message...that could have come in handy. Marcus
Re: [gentoo-user] emerge @preserved-rebuild loop
On Thursday 29 October 2009, Alex Schuster wrote: Hi there! Any idea why this happens? It's no problem, I'm just curious. r...@tanja src -- emerge -a @preserved-rebuild These are the packages that would be merged, in order: Calculating dependencies ... done! [ebuild R ] app-emulation/emul-linux-x86-gtklibs-20071214 [ebuild R ] kde-base/kalgebra-4.3.2 Would you like to merge these packages? [Yes/No] y [...] !!! existing preserved libs: package: sys-libs/readline-6.0_p3 * - /lib64/libreadline.so * - /lib64/libreadline.so.5 * - /lib64/libreadline.so.5.2 * used by /usr/bin/calgebra (kde-base/kalgebra-4.3.2) package: app-emulation/emul-linux-x86-baselibs-20091004_rc1 * - /usr/lib32/libjpeg.so.62 * - /usr/lib32/libjpeg.so.62.0.0 * used by /usr/lib32/gtk-2.0/2.10.0/loaders/libpixbufloader-jpeg.so (app-emulation/emul-linux-x86-gtklibs-20071214) * used by /usr/lib32/libImlib.so.1.9.15 (app-emulation/emul-linux- x86-gtklibs-20071214) * used by /usr/lib32/libimlib-jpeg.so (app-emulation/emul-linux-x86- gtklibs-20071214) Use emerge @preserved-rebuild to rebuild packages using these libraries r...@tanja src -- emerge -a @preserved-rebuild These are the packages that would be merged, in order: Calculating dependencies ... done! [ebuild R ] app-emulation/emul-linux-x86-gtklibs-20071214 [ebuild R ] kde-base/kalgebra-4.3.2 Would you like to merge these packages? [Yes/No] This has been asked, which may indicate there is something strange about kalgebra or emerge sometimes confuses itself. My solution was eventually to delete /var/lib/portage/preserved_libs_registry and then revdep-rebuild to CYA. :) HTH -Robin -- -- Robin Atwood. Ship me somewheres east of Suez, where the best is like the worst, Where there ain't no Ten Commandments an' a man can raise a thirst from Mandalay by Rudyard Kipling --
[gentoo-user] Lenovo USB Keyboard
Got myself a Lenovo keyboard ... a ThinkPlus Enhanced Performance USB Keyboard wow, it looked much better online than it feels now ... *sigh* I want to use that keyboard with Gnome (2.26 right now). I googled how to use the multimedia-keys already, seems as if I have to face some serious key-logging and hacking around to get those working (no, nothing usable on that funny CD). Some of them work (volume, internet-keys to the left), only the 7 keys on top miss. I don't actually NEED them, but as I PAID them you know ... ;-) -- Just before I start hacking myself, I want to ask you if maybe someone has already gone through this and is willing to share ...? Sorry if I sound lazy, actually I am already getting a bit tired of hacking stuff like that everytime I get a new piece of hardware. -- for reference: # cat /proc/bus/input/devices [...] I: Bus=0003 Vendor=04b3 Product=301b Version=0110 N: Name=Lite-On Technology USB Productivity Option Keyboard( has the hub in # 1 ) P: Phys=usb-:00:1d.1-1.1/input0 S: Sysfs=/class/input/input1 U: Uniq= H: Handlers=kbd event1 B: EV=120013 B: KEY=10007 ff9f207ac14057ff febeffdfffef fffe B: MSC=10 B: LED=1f I: Bus=0003 Vendor=04b3 Product=301b Version=0110 N: Name=Lite-On Technology USB Productivity Option Keyboard( has the hub in # 1 ) P: Phys=usb-:00:1d.1-1.1/input1 S: Sysfs=/class/input/input2 U: Uniq= H: Handlers=kbd event2 B: EV=13 B: KEY=ff 200 3878d801 e 0 B: MSC=10 [...] The part in my xorg.conf (googled that one): Section ServerLayout Identifier Layout0 Screen 0 Screen0 0 0 InputDeviceKeyboard0 CoreKeyboard InputDeviceKeyboard1 SendCoreEvents InputDeviceMouse0 CorePointer EndSection Section InputDevice # generated from default Identifier Keyboard0 Driver evdev Option Device /dev/input/event1 EndSection Section InputDevice Identifier Keyboard1 Driver evdev Option Device /dev/input/event2 EndSection -- Thanks a lot for any help on this, Stefan
Re: [gentoo-user] removing kde4(sets)
On Thu, Oct 29, 2009 at 10:41 AM, Neil Bothwick n...@digimed.co.uk wrote: On Thu, 29 Oct 2009 15:04:47 + (UTC), James wrote: I've decided to just completely remove kde4(sets) and install kde4-meta. Are there any tricks to remove all of kde4, or do I have to do it manually? The set and the meta-package pull in basically the same packages. Unmerge the set, emerge kde-meta then do a depclean to catch any stragglers. I would just delete the set from the world_sets file, then emerge kde-meta, then depclean... much easier than unmerging everything and recompiling it.
Re: [gentoo-user] removing kde4(sets)
On Thu, 29 Oct 2009 11:45:54 -0500, Paul Hartman wrote: Are there any tricks to remove all of kde4, or do I have to do it manually? The set and the meta-package pull in basically the same packages. Unmerge the set, emerge kde-meta then do a depclean to catch any stragglers. I would just delete the set from the world_sets file, then emerge kde-meta, then depclean... much easier than unmerging everything and recompiling it. Sorry, that's what I meant. I was thinking that unmerging a set was like unmerging a meta-package, that only the set itself would go. -- Neil Bothwick If nothing sticks to Teflon, how do they stick teflon on the pan? signature.asc Description: PGP signature
Re: [gentoo-user] Lenovo USB Keyboard
On Thu, 2009-10-29 at 17:42 +0100, Stefan G. Weichinger wrote: Got myself a Lenovo keyboard ... a ThinkPlus Enhanced Performance USB Keyboard wow, it looked much better online than it feels now ... *sigh* I want to use that keyboard with Gnome (2.26 right now). I googled how to use the multimedia-keys already, seems as if I have to face some serious key-logging and hacking around to get those working (no, nothing usable on that funny CD). Most of the time with GNOME they work out of the box. I too use a keyboard that has all those glitzy keys on them. I rarely use them however. I usually map them to other CTRL-ALT-ALNUM-like shortcuts because then if I ever switch keyboards all my shortcuts will still work and the keys are (for the most part) always in the same location. But anyway, most of them just work except for the zoom in/out keys. I haven't seen any X events for them yet. GNOME has a settings for keyboard shortcuts. Usually you just have to assign an even to a key if it's not already assigned. I use the evdev managed keyboard. It seems to work much better than the pre-defined layouts. And also I can easily switch keyboards and have stuff just work. Some of them work (volume, internet-keys to the left), only the 7 keys on top miss. I don't actually NEED them, but as I PAID them you know ... ;-) -- Just before I start hacking myself, I want to ask you if maybe someone has already gone through this and is willing to share ...? Sorry if I sound lazy, actually I am already getting a bit tired of hacking stuff like that everytime I get a new piece of hardware. Have you tried using the evdev driver?
Re: [gentoo-user] Lenovo USB Keyboard
Albert Hopkins schrieb: GNOME has a settings for keyboard shortcuts. Usually you just have to assign an even to a key if it's not already assigned. Sure, I tried that but those keys don't generate an event there (within gnome-keybinding-properties). I use the evdev managed keyboard. It seems to work much better than the pre-defined layouts. And also I can easily switch keyboards and have stuff just work. That's what I assumed as well. Have you tried using the evdev driver? My xorg.conf looks like I do, correct? Xorg.0.log irritates me a bit --- (**) Option CoreKeyboard (**) Keyboard0: always reports core events (**) Keyboard0: Device: /dev/input/event1 (II) Keyboard0: Found keys (II) Keyboard0: Configuring as keyboard (II) XINPUT: Adding extended input device Keyboard0 (type: KEYBOARD) (**) Option xkb_rules evdev (**) Option xkb_model evdev (**) Option xkb_layout us (**) Option SendCoreEvents (**) Keyboard1: always reports core events (**) Keyboard1: Device: /dev/input/event2 (II) Keyboard1: Found 12 mouse buttons (II) Keyboard1: Found keys (II) Keyboard1: Configuring as keyboard (**) Keyboard1: YAxisMapping: buttons 4 and 5 (**) Keyboard1: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200 (II) XINPUT: Adding extended input device Keyboard1 (type: KEYBOARD) (**) Option xkb_rules evdev (**) Option xkb_model evdev (**) Option xkb_layout us (II) config/hal: Adding input device Lite-On Technology USB Productivity Option Keyboard( has the hub in # 1 ) (**) Lite-On Technology USB Productivity Option Keyboard( has the hub in # 1 ): always reports core events (**) Lite-On Technology USB Productivity Option Keyboard( has the hub in # 1 ): Device: /dev/input/event2 (WW) Lite-On Technology USB Productivity Option Keyboard( has the hub in # 1 ): device file already in use. Ignoring. (II) UnloadModule: evdev (EE) PreInit returned NULL for Lite-On Technology USB Productivity Option Keyboard( has the hub in # 1 ) (EE) config/hal: NewInputDeviceRequest failed (8) (II) config/hal: Adding input device Lite-On Technology USB Productivity Option Keyboard( has the hub in # 1 ) (**) Lite-On Technology USB Productivity Option Keyboard( has the hub in # 1 ): always reports core events (**) Lite-On Technology USB Productivity Option Keyboard( has the hub in # 1 ): Device: /dev/input/event1 (WW) Lite-On Technology USB Productivity Option Keyboard( has the hub in # 1 ): device file already in use. Ignoring. (II) UnloadModule: evdev (EE) PreInit returned NULL for Lite-On Technology USB Productivity Option Keyboard( has the hub in # 1 ) (EE) config/hal: NewInputDeviceRequest failed (8) *sigh* thanks, greets, Stefan
Re: [gentoo-user] Re (DONE): kde4 upgrading
On 29 Oct 2009, at 14:59, James wrote: Stroller stroller at stellar.eclipse.co.uk writes: I think that alternative methods of approaching system administration are sure to bring their own problems and require an investment of time to implement, but I don't see how upgrading machines one by one is sustainable. Honestly, it would be driving me crazy to be in your position, and I think some other alternative might well show time and hassle saved once it's up and running. ... Thanks for the unecessary tongue lashing. The systems rarely are at my location. I just cannot upgrade them at my decision, as they belong to others. Some of the machines I do not physically get for 6 months at a time. ... I didn't intend to give you a tongue-lashing, and I'm sorry if I offended you. I was just trying to help and suggest a better way. Obviously, I didn't know that the machines are in diverse locations, and obviously that makes a unified strategy impossible. I fear there's very little you can do, except log in remotely and regularly, allowing you to minimise update hassles and become familiar with issues as they are current. Stroller.
[gentoo-user] comparing two complex directories
All, I'm trying to find a good way to compare two complex directory structures to see what files differ. I've looked at a few different options: - rsync dry run (someone said this should work, but I'm having trouble getting good information out of this) - diff -rq (this works, but it's slooww) I've used cdircmp before but it tends to crash on complex directories (a directory with more than a few subdirs and with hidden dot files). Thoughts? Any specific / good utilities for doing this? -j
[gentoo-user] executing commands on lots of servers at once
I have a cluster of Gentoo boxes I'd like to update all at once, along with emerging specific packages to the servers simultaneously. Does anyone have any experience(s) with a good utility for doing this? I've seen a few scripts online for accomplishing this but I'm not sure how these scripts would handle the large amount of output that emerge generates from all the servers simultaneously. Thoughts / ideas appreciated. -j
Re: [gentoo-user] comparing two complex directories
On Thu, Oct 29, 2009 at 11:35 AM, James j...@nc.rr.com wrote: All, I'm trying to find a good way to compare two complex directory structures to see what files differ. I've looked at a few different options: - rsync dry run (someone said this should work, but I'm having trouble getting good information out of this) - diff -rq (this works, but it's slooww) I've used cdircmp before but it tends to crash on complex directories (a directory with more than a few subdirs and with hidden dot files). Thoughts? Any specific / good utilities for doing this? I've had good luck with dev-util/dirdiff before... -James -j
[gentoo-user] Portage strangeness with imagemagick
Today when I do an update world on one of my serves I get the following: 8-- # emerge --update --deep --verbose --reinstall changed-use --with-bdeps y world --pretend --tree These are the packages that would be merged, in reverse order: Calculating dependencies... done! emerge: there are no ebuilds built with USE flags to satisfy =x11- libs/cairo-1.6[X]. !!! One of the following packages is required to complete your request: - x11-libs/cairo-1.8.8 (Change USE: +X) (dependency required by x11-libs/gtk+-2.16.6 [ebuild]) (dependency required by media-gfx/ufraw-0.15-r1 [ebuild]) (dependency required by media-gfx/imagemagick-6.5.2.9 [ebuild]) (dependency required by www-apps/gallery-2.3 [ebuild]) (dependency required by world [argument]) 8-- As this is a server I really do not want/need X on this host. To see with which USE-flags my imagemagick is compiled I do: 8-- # eix media-gfx/imagemagick [I] media-gfx/imagemagick Available versions: 6.5.2.9!u ~6.5.4.10!u ~6.5.7.0!u {X autotrace bzip2 corefonts djvu doc fftw fontconfig fpx graphviz gs hdri jbig jpeg jpeg2k lcms lqr nocxx openexr openmp perl png q32 q8 raw svg tiff truetype wmf xml zlib} Installed versions: 6.5.2.9!u(11:02:58 10/04/09)(bzip2 corefonts jbig jpeg perl png tiff xml zlib -X -djvu -doc -fontconfig -fpx -graphviz -gs -hdri -jpeg2k -lcms -nocxx -openexr -openmp -q32 -q8 -raw -svg -truetype -wmf) Homepage:http://www.imagemagick.org/ Description: A collection of tools and libraries for many image formats 8-- From this I see that my Imagemagick is installed with the following USE-flags: bzip2 corefonts jbig jpeg perl png tiff xml zlib and now for the strange part (as far as I know): 8-- # emerge --verbose --pretend media-gfx/imagemagick These are the packages that would be merged, in order: Calculating dependencies... done! emerge: there are no ebuilds built with USE flags to satisfy =x11- libs/cairo-1.6[X]. !!! One of the following packages is required to complete your request: - x11-libs/cairo-1.8.8 (Change USE: +X) (dependency required by x11-libs/gtk+-2.16.6 [ebuild]) (dependency required by media-gfx/ufraw-0.15-r1 [ebuild]) (dependency required by media-gfx/imagemagick-6.5.2.9 [ebuild]) (dependency required by media-gfx/imagemagick [argument]) 8-- But: 8-- # USE=-* bzip2 corefonts jbig jpeg perl png tiff xml zlib emerge --verbose --pretend media-gfx/imagemagick These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] media-gfx/imagemagick-6.5.2.9 USE=bzip2 corefonts jbig jpeg perl png tiff xml zlib -X -djvu -doc -fontconfig -fpx -graphviz -gs -hdri - jpeg2k -lcms -nocxx -openexr -openmp -q32 -q8 -raw -svg -truetype -wmf 0 kB Total: 1 package (1 reinstall), Size of downloads: 0 kB 8-- I can not see why it works if I first deletes all USE flags (-*) and the just sets the USE flags I need again. -- Dan Johansson, http://www.dmj.nu *** This message is printed on 100% recycled electrons! ***
Re: [gentoo-user] Portage strangeness with imagemagick
Am Donnerstag 29 Oktober 2009 19:39:27 schrieb Dan Johansson: Today when I do an update world on one of my serves I get the following: 8- - # emerge --update --deep --verbose --reinstall changed-use --with-bdeps y world --pretend --tree These are the packages that would be merged, in reverse order: Calculating dependencies... done! emerge: there are no ebuilds built with USE flags to satisfy =x11- libs/cairo-1.6[X]. !!! One of the following packages is required to complete your request: - x11-libs/cairo-1.8.8 (Change USE: +X) (dependency required by x11-libs/gtk+-2.16.6 [ebuild]) (dependency required by media-gfx/ufraw-0.15-r1 [ebuild]) (dependency required by media-gfx/imagemagick-6.5.2.9 [ebuild]) (dependency required by www-apps/gallery-2.3 [ebuild]) (dependency required by world [argument]) 8- - As this is a server I really do not want/need X on this host. So why do have gtk+ in your USE, then? That's the one that makes ufraw pull in gtk+ which in turn wants cairo with the X flag. OTOH, this doesn't mean you'll get X installed on your machine. You'll only get a handful of X libs. I can not see why it works if I first deletes all USE flags (-*) and the just sets the USE flags I need again. Because it's not imagemagick that wants cairo with X (which the emerge output above clearly states). Bye... Dirk signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Lenovo USB Keyboard
I'm going to guess that the keyboard driver or something is interfering with the evdev driver? Or you don't have proper evdev support in the kernel? Or is your xorg.conf telling X to use a different driver? I don't have access to a Gentoo machine right now, but when I look at a similar machine (same exact keyboard though). I get this: $ egrep -i '(key|evdev)' /var/log/Xorg.0.log (II) Cannot locate a core keyboard device. (==) intel(0): video overlay key set to 0x101fe (II) Initializing built-in extension XKEYBOARD (II) LoadModule: evdev (II) Loading /usr/lib64/xorg/modules/input//evdev_drv.so (II) Module evdev: vendor=X.Org Foundation (II) ThinkPad Extra Buttons: Found keys (II) ThinkPad Extra Buttons: Configuring as keyboard (II) XINPUT: Adding extended input device ThinkPad Extra Buttons (type: KEYBOARD) (**) Option xkb_rules evdev (**) Option xkb_model evdev (II) Microsft Microsoft Wireless Desktop Receiver 3.1: Found keys (II) Microsft Microsoft Wireless Desktop Receiver 3.1: Configuring as keyboard (II) XINPUT: Adding extended input device Microsft Microsoft Wireless Desktop Receiver 3.1 (type: KEYBOARD) (**) Option xkb_rules evdev (II) config/hal: Adding input device AT Translated Set 2 keyboard (**) AT Translated Set 2 keyboard: always reports core events (**) AT Translated Set 2 keyboard: Device: /dev/input/event4 (II) AT Translated Set 2 keyboard: Found keys (II) AT Translated Set 2 keyboard: Configuring as keyboard (II) XINPUT: Adding extended input device AT Translated Set 2 keyboard (type: KEYBOARD) (**) Option xkb_rules evdev (II) Microsft Microsoft Wireless Desktop Receiver 3.1: Found keys (II) Microsft Microsoft Wireless Desktop Receiver 3.1: Configuring as keyboard (II) XINPUT: Adding extended input device Microsft Microsoft Wireless Desktop Receiver 3.1 (type: KEYBOARD) (**) Option xkb_rules evdev (II) Sleep Button: Found keys (II) Sleep Button: Configuring as keyboard (II) XINPUT: Adding extended input device Sleep Button (type: KEYBOARD) (**) Option xkb_rules evdev (**) Option xkb_model evdev (II) Video Bus: Found keys (II) Video Bus: Configuring as keyboard (II) XINPUT: Adding extended input device Video Bus (type: KEYBOARD) (**) Option xkb_rules evdev (**) Option xkb_model evdev (II) Power Button: Found keys (II) Power Button: Configuring as keyboard (II) XINPUT: Adding extended input device Power Button (type: KEYBOARD) (**) Option xkb_rules evdev (**) Option xkb_model evdev Not that it is XINPUT that is driving my keyboard, not Keyboard1. So I'm guessing it's the X config. Then again, it might be gpm. Are you using gpm? Maybe it's grabbing the keyboard and not letting X have it.
Re: [gentoo-user] executing commands on lots of servers at once
On Thursday 29 October 2009 20:36:27 James wrote: I have a cluster of Gentoo boxes I'd like to update all at once, along with emerging specific packages to the servers simultaneously. Does anyone have any experience(s) with a good utility for doing this? I've seen a few scripts online for accomplishing this but I'm not sure how these scripts would handle the large amount of output that emerge generates from all the servers simultaneously. Thoughts / ideas appreciated. I thought we answered this for you two days ago? Put the same world and config on every machine, and build everything on one host called the binhost. emerge -k on every machine will pull binary packages from the binhost. This is identical to working with say Ubuntu, except that it's not a maintainer building packages and putting them on a remote repo, it's you doing it and putting the packages on a machine on your local network. clusterssh will let you log into many machines at once and run emerge -avuND world everywhere -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] Portage strangeness with imagemagick
On Thursday 29 October 2009 19.52:52 Dirk Heinrichs wrote: Am Donnerstag 29 Oktober 2009 19:39:27 schrieb Dan Johansson: Today when I do an update world on one of my serves I get the following: 8--- -- - # emerge --update --deep --verbose --reinstall changed-use --with-bdeps y world --pretend --tree These are the packages that would be merged, in reverse order: Calculating dependencies... done! emerge: there are no ebuilds built with USE flags to satisfy =x11- libs/cairo-1.6[X]. !!! One of the following packages is required to complete your request: - x11-libs/cairo-1.8.8 (Change USE: +X) (dependency required by x11-libs/gtk+-2.16.6 [ebuild]) (dependency required by media-gfx/ufraw-0.15-r1 [ebuild]) (dependency required by media-gfx/imagemagick-6.5.2.9 [ebuild]) (dependency required by www-apps/gallery-2.3 [ebuild]) (dependency required by world [argument]) 8--- -- - As this is a server I really do not want/need X on this host. So why do have gtk+ in your USE, then? That's the one that makes ufraw pull in gtk+ which in turn wants cairo with the X flag. OTOH, this doesn't mean you'll get X installed on your machine. You'll only get a handful of X libs. I can not see why it works if I first deletes all USE flags (-*) and the just sets the USE flags I need again. Because it's not imagemagick that wants cairo with X (which the emerge output above clearly states). Bye... Dirk Yes, I can see that it's not imagemagick directly that pulls in cairo. And I do not have the gtk USE flag set: # euse -i gtk global use flags (searching: gtk) [-] gtk - Adds support for x11-libs/gtk+ (The GIMP Toolkit) ...snip... -- Dan Johansson, http://www.dmj.nu *** This message is printed on 100% recycled electrons! ***
Re: [gentoo-user] removing kde4(sets)
On Thursday 29 October 2009 17:04:47 James wrote: Hello, I've decided to just completely remove kde4(sets) and install kde4-meta. Are there any tricks to remove all of kde4, or do I have to do it manually? A set is nothing more than a list of packages. You can even think of it as putting the entire set in world, with the additional feature of portage knowing what is in a set (so you cna merge and unmerge it with one command. Remove the offending lines from /var/lib/portage/world_sets, then merge the -meta packages you want, finally --depclean to take away those you don't want. -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] removing kde4(sets)
On Thu, Oct 29, 2009 at 11:53 AM, Neil Bothwick n...@digimed.co.uk wrote: On Thu, 29 Oct 2009 11:45:54 -0500, Paul Hartman wrote: Are there any tricks to remove all of kde4, or do I have to do it manually? The set and the meta-package pull in basically the same packages. Unmerge the set, emerge kde-meta then do a depclean to catch any stragglers. I would just delete the set from the world_sets file, then emerge kde-meta, then depclean... much easier than unmerging everything and recompiling it. Sorry, that's what I meant. I was thinking that unmerging a set was like unmerging a meta-package, that only the set itself would go. Ah, okay, we meant the same thing then. :) AFAK emerge -C @set will remove everything in @set but there's no portage command to remove the set definition without unmerging what's in it. I could be wrong on that, though.
Re: [gentoo-user] Portage strangeness with imagemagick
On Thursday 29 October 2009 21:08:27 Dan Johansson wrote: On Thursday 29 October 2009 19.52:52 Dirk Heinrichs wrote: Am Donnerstag 29 Oktober 2009 19:39:27 schrieb Dan Johansson: Today when I do an update world on one of my serves I get the following: 8- -- -- - # emerge --update --deep --verbose --reinstall changed-use --with-bdeps y world --pretend --tree These are the packages that would be merged, in reverse order: Calculating dependencies... done! emerge: there are no ebuilds built with USE flags to satisfy =x11- libs/cairo-1.6[X]. !!! One of the following packages is required to complete your request: - x11-libs/cairo-1.8.8 (Change USE: +X) (dependency required by x11-libs/gtk+-2.16.6 [ebuild]) (dependency required by media-gfx/ufraw-0.15-r1 [ebuild]) (dependency required by media-gfx/imagemagick-6.5.2.9 [ebuild]) (dependency required by www-apps/gallery-2.3 [ebuild]) (dependency required by world [argument]) 8- -- -- - As this is a server I really do not want/need X on this host. So why do have gtk+ in your USE, then? That's the one that makes ufraw pull in gtk+ which in turn wants cairo with the X flag. OTOH, this doesn't mean you'll get X installed on your machine. You'll only get a handful of X libs. I can not see why it works if I first deletes all USE flags (-*) and the just sets the USE flags I need again. Because it's not imagemagick that wants cairo with X (which the emerge output above clearly states). Bye... Dirk Yes, I can see that it's not imagemagick directly that pulls in cairo. And I do not have the gtk USE flag set: # euse -i gtk global use flags (searching: gtk) [-] gtk - Adds support for x11-libs/gtk+ (The GIMP Toolkit) ...snip... ufraw's DEPEND: RDEPEND=media-libs/jpeg =media-libs/lcms-1.13 media-libs/tiff =x11-libs/gtk+-2.4.0 You don't have a choice. With ufraw you are going to get gtk+. imagemagick pulls in ufraw: RDEPEND=raw? ( media-gfx/ufraw ) But you have -raw in USE for imagemagick Hmm. What does emerge --info have to say about USE=raw? What does emerge -pvt imagemagick have to say? I'm thinking raw may be overridden in your profile. what profile are you using? -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] Re (DONE): kde4 upgrading
On Thursday 29 October 2009 16:59:24 James wrote: Stroller stroller at stellar.eclipse.co.uk writes: I think that alternative methods of approaching system administration are sure to bring their own problems and require an investment of time to implement, but I don't see how upgrading machines one by one is sustainable. Honestly, it would be driving me crazy to be in your position, and I think some other alternative might well show time and hassle saved once it's up and running. OK guys. Thanks for the unecessary tongue lashing. The systems rarely are at my location. I just cannot upgrade them at my decision, as they belong to others. Ah. That explains a lot. You can ignore my other mail of 10 minutes ago about updating multiple machines simultaneously. -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] removing kde4(sets)
On Thursday 29 October 2009 21:17:23 Paul Hartman wrote: On Thu, Oct 29, 2009 at 11:53 AM, Neil Bothwick n...@digimed.co.uk wrote: On Thu, 29 Oct 2009 11:45:54 -0500, Paul Hartman wrote: Are there any tricks to remove all of kde4, or do I have to do it manually? The set and the meta-package pull in basically the same packages. Unmerge the set, emerge kde-meta then do a depclean to catch any stragglers. I would just delete the set from the world_sets file, then emerge kde-meta, then depclean... much easier than unmerging everything and recompiling it. Sorry, that's what I meant. I was thinking that unmerging a set was like unmerging a meta-package, that only the set itself would go. Ah, okay, we meant the same thing then. :) AFAK emerge -C @set will remove everything in @set but there's no portage command to remove the set definition without unmerging what's in it. I could be wrong on that, though. You could be wrong, but you are not :-) Your understanding of emerge -C @set is correct. Portage treats the contents of a set as strictly depending on the set itself. So there is no way to remove a set definition and leave it's child packages intact - they would then be orphans. Unless of course the child packages are themselves in world or depend on something in world. But that's a side-effect of something else altogether and not relevant to set behaviour. -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] Portage strangeness with imagemagick
On Thu, Oct 29, 2009 at 2:08 PM, Dan Johansson dan.johans...@dmj.nu wrote: On Thursday 29 October 2009 19.52:52 Dirk Heinrichs wrote: Am Donnerstag 29 Oktober 2009 19:39:27 schrieb Dan Johansson: Today when I do an update world on one of my serves I get the following: 8--- -- - # emerge --update --deep --verbose --reinstall changed-use --with-bdeps y world --pretend --tree These are the packages that would be merged, in reverse order: Calculating dependencies... done! emerge: there are no ebuilds built with USE flags to satisfy =x11- libs/cairo-1.6[X]. !!! One of the following packages is required to complete your request: - x11-libs/cairo-1.8.8 (Change USE: +X) (dependency required by x11-libs/gtk+-2.16.6 [ebuild]) (dependency required by media-gfx/ufraw-0.15-r1 [ebuild]) (dependency required by media-gfx/imagemagick-6.5.2.9 [ebuild]) (dependency required by www-apps/gallery-2.3 [ebuild]) (dependency required by world [argument]) 8--- -- - As this is a server I really do not want/need X on this host. So why do have gtk+ in your USE, then? That's the one that makes ufraw pull in gtk+ which in turn wants cairo with the X flag. OTOH, this doesn't mean you'll get X installed on your machine. You'll only get a handful of X libs. I can not see why it works if I first deletes all USE flags (-*) and the just sets the USE flags I need again. Because it's not imagemagick that wants cairo with X (which the emerge output above clearly states). Bye... Dirk Yes, I can see that it's not imagemagick directly that pulls in cairo. And I do not have the gtk USE flag set: # euse -i gtk global use flags (searching: gtk) [-] gtk - Adds support for x11-libs/gtk+ (The GIMP Toolkit) ...snip... Do you have x11-libs/gtk+-2.16.6 installed? Or is one of the other new things trying to pull it in?
Re: [gentoo-user] Portage strangeness with imagemagick
On Thu, 29 Oct 2009 21:16:24 +0200 Alan McKinnon alan.mckin...@gmail.com wrote: RDEPEND=media-libs/jpeg =media-libs/lcms-1.13 media-libs/tiff =x11-libs/gtk+-2.4.0 You don't have a choice. With ufraw you are going to get gtk+. Unless he keywords ufraw-0.16: RDEPEND= media-libs/jpeg =media-libs/lcms-1.13 media-libs/tiff exif? ( =media-gfx/exiv2-0.11 ) gnome? ( gnome-base/gconf ) gtk? ( =x11-libs/gtk+-2.6.0 =media-gfx/gtkimageview-1.5.0 gimp? ( =media-gfx/gimp-2.0 ) ) lensfun? ( =media-libs/lensfun-0.2.3 )
[gentoo-user] Re: hal greps my USB printer - help !
On 10/29/2009 08:11 AM, Helmut Jarausch wrote: Hi, on one of my identical (believed) machines, hal greps the USB printer and disables CUPS... Could you be more specific about 'disables'? I use an HP USB printer on a machine running cupsd and hal, and it works perfectly: printer.originating_device = '/org/freedesktop/Hal/devices/usb_device_3f0_1617_00CNBM369103_if0' (string) printer.vendor = 'Hewlett-Packard' (string) printer.product = 'hp LaserJet 3015' (string) I think the problem must be something besides hal, but what? Is cups really running on the problem machine? Can you talk to cupsd using your web browser at http://localhost:631? If yes, does the printer show up in the list of known printers? If not, can you add it to the list of known printers?
Re: [gentoo-user] removing kde4(sets)
On Thu, 29 Oct 2009 14:17:23 -0500, Paul Hartman wrote: Sorry, that's what I meant. I was thinking that unmerging a set was like unmerging a meta-package, that only the set itself would go. Ah, okay, we meant the same thing then. :) AFAK emerge -C @set will remove everything in @set but there's no portage command to remove the set definition without unmerging what's in it. I could be wrong on that, though. You're wrong about that because you're right - I was wrong. -- Neil Bothwick This man is depriving a village somewhere of an idiot signature.asc Description: PGP signature
[gentoo-user] Linux Magazine tests Gentoo performance
I suppose this is interesting to most Gentoo users. Linux Magazine performed a detailed benchmark of Gentoo, comparing it to Ubuntu 9.04: http://www.linux-mag.com/id/7574/1 The conclusion (Gentoo clearly outperforms Ubuntu) is no surprise, but it's still an interesting read. Before you ask: the article *does* mention that Gentoo's point is not faster optimization (aka for ricers) but it's just a side effect of Gentoo's architecture.
[gentoo-user] Re: Linux Magazine tests Gentoo performance
On 10/29/2009 10:45 PM, Nikos Chantziaras wrote: I suppose this is interesting to most Gentoo users. Linux Magazine performed a detailed benchmark of Gentoo, comparing it to Ubuntu 9.04: http://www.linux-mag.com/id/7574/1 Btw, I think this is a very nice example of why per-package CFLAGS would have been very useful. Some application largely benefit from -Os, others from -O2.
Re: [gentoo-user] Portage strangeness with imagemagick
Am Donnerstag 29 Oktober 2009 20:08:27 schrieb Dan Johansson: On Thursday 29 October 2009 19.52:52 Dirk Heinrichs wrote: Am Donnerstag 29 Oktober 2009 19:39:27 schrieb Dan Johansson: Today when I do an update world on one of my serves I get the following: 8- -- -- - # emerge --update --deep --verbose --reinstall changed-use --with-bdeps y world --pretend --tree These are the packages that would be merged, in reverse order: Calculating dependencies... done! emerge: there are no ebuilds built with USE flags to satisfy =x11- libs/cairo-1.6[X]. !!! One of the following packages is required to complete your request: - x11-libs/cairo-1.8.8 (Change USE: +X) (dependency required by x11-libs/gtk+-2.16.6 [ebuild]) (dependency required by media-gfx/ufraw-0.15-r1 [ebuild]) (dependency required by media-gfx/imagemagick-6.5.2.9 [ebuild]) (dependency required by www-apps/gallery-2.3 [ebuild]) (dependency required by world [argument]) 8- -- -- - As this is a server I really do not want/need X on this host. So why do have gtk+ in your USE, then? That's the one that makes ufraw pull in gtk+ which in turn wants cairo with the X flag. OTOH, this doesn't mean you'll get X installed on your machine. You'll only get a handful of X libs. I can not see why it works if I first deletes all USE flags (-*) and the just sets the USE flags I need again. Because it's not imagemagick that wants cairo with X (which the emerge output above clearly states). Bye... Dirk Yes, I can see that it's not imagemagick directly that pulls in cairo. And I do not have the gtk USE flag set: Oh, I looked into the 0.16 ebuild of ufraw, which contains this: RDEPEND= media-libs/jpeg =media-libs/lcms-1.13 media-libs/tiff exif? ( =media-gfx/exiv2-0.11 ) gnome? ( gnome-base/gconf ) gtk? ( =x11-libs/gtk+-2.6.0 =media-gfx/gtkimageview-1.5.0 gimp? ( =media-gfx/gimp-2.0 ) ) lensfun? ( =media-libs/lensfun-0.2.3 ) So this one really has the gtk+ dep depending on the presence of the gtk use flag. Bye... Dirk signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] executing commands on lots of servers at once
Am Donnerstag 29 Oktober 2009 19:36:27 schrieb James: I have a cluster of Gentoo boxes I'd like to update all at once, along with emerging specific packages to the servers simultaneously. Does anyone have any experience(s) with a good utility for doing this? Try out the debian (cough) distributed shell (dsh). HTH... Dirk signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] executing commands on lots of servers at once
Thanks for the response, Alan. I haven't posted on this alias in many months, so it wasn't me who asked 2 days ago. ;) (nor do I see a similar thread from two days ago, but it may have been sent to the bit bucket, so I can't be certain) Thanks! -j On Thu, Oct 29, 2009 at 2:57 PM, Alan McKinnon alan.mckin...@gmail.com wrote: On Thursday 29 October 2009 20:36:27 James wrote: I have a cluster of Gentoo boxes I'd like to update all at once, along with emerging specific packages to the servers simultaneously. Does anyone have any experience(s) with a good utility for doing this? I've seen a few scripts online for accomplishing this but I'm not sure how these scripts would handle the large amount of output that emerge generates from all the servers simultaneously. Thoughts / ideas appreciated. I thought we answered this for you two days ago? Put the same world and config on every machine, and build everything on one host called the binhost. emerge -k on every machine will pull binary packages from the binhost. This is identical to working with say Ubuntu, except that it's not a maintainer building packages and putting them on a remote repo, it's you doing it and putting the packages on a machine on your local network. clusterssh will let you log into many machines at once and run emerge -avuND world everywhere -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] executing commands on lots of servers at once
I'll definitely take a look at this, Dirk. I just took a look at the dsh site and it looks pretty interesting. I'll have to try various different solutions (clusterssh, dsh, etc.) to get a good feel for the pros and cons of each. -j On Thu, Oct 29, 2009 at 5:36 PM, Dirk Heinrichs dirk.heinri...@online.de wrote: Am Donnerstag 29 Oktober 2009 19:36:27 schrieb James: I have a cluster of Gentoo boxes I'd like to update all at once, along with emerging specific packages to the servers simultaneously. Does anyone have any experience(s) with a good utility for doing this? Try out the debian (cough) distributed shell (dsh). HTH... Dirk
Re: [gentoo-user] Re: Linux Magazine tests Gentoo performance
On 10/29/2009 5:13 PM, Nikos Chantziaras wrote: On 10/29/2009 10:45 PM, Nikos Chantziaras wrote: I suppose this is interesting to most Gentoo users. Linux Magazine performed a detailed benchmark of Gentoo, comparing it to Ubuntu 9.04: http://www.linux-mag.com/id/7574/1 Btw, I think this is a very nice example of why per-package CFLAGS would have been very useful. Some application largely benefit from -Os, others from -O2. If you're willing to put in a bit of effort, I believe you can set up a per-package environment (including custom CFLAGS) in a number of ways. The one that seems to be most popular is described here: http://www.mail-archive.com/gentoo-portage-...@lists.gentoo.org/msg00585.html
[gentoo-user] memory(gray matter) needs jog
Hi group, A while back I needed help with an ext2 file system that required checking every boot before mounting. The drive suffered from errors involving 'non-contiguous files'.The solution was to run (this is where things get hazy) e2fsck option option on the offender. I keep thinking it's '-i -o', but there's no such options. Maybe it wasn't e2fsck at all. I can't remember. I don't think it was '-f''(force). Anybody know what I'm talking about? Maxim
Re: [gentoo-user] memory(gray matter) needs jog
On Thu, 2009-10-29 at 15:54 -0600, Maxim Wexler wrote: Hi group, A while back I needed help with an ext2 file system that required checking every boot before mounting. The drive suffered from errors involving 'non-contiguous files' I'm not sure what your problem was but this wasn't it. Non-contiguous files simply means there is some fragmentation in your filesystem, which is totally natural. It's not an error, or even a warning for that matter. It's informational. High fragmentation is an indication that your filesystem may not be performing optimally, but it's not an error. .The solution was to run (this is where things get hazy) e2fsck option option on the offender. I keep thinking it's '-i -o', but there's no such options. Maybe it wasn't e2fsck at all. I can't remember. I don't think it was '-f''(force). I'm not sure why your system needed to be checked for each boot. Perhaps you can post the exact error message? I'm pretty sure it wasn't fragmentation. What it *might* be saying (but again we can't verify without an error message) is that your filesystem contains errors that cannot be fixed in non-interactive mode (i.e. you need to run fsck manually). It's hard to tell you what option you need when we are unsure what problem you are trying to fix.
Re: [gentoo-user] executing commands on lots of servers at once
On Thu, 29 Oct 2009 17:44:57 -0400, James wrote: I'll definitely take a look at this, Dirk. I just took a look at the dsh site and it looks pretty interesting. I'll have to try various different solutions (clusterssh, dsh, etc.) to get a good feel for the pros and cons of each. There's also tentakel, just as you were ready to make a choice :) -- Neil Bothwick Standard: (n., adj.) a design target which manufacturers may embellish, improve upon, or ignore as they wish, so long as it can be used profitably in their advertising. signature.asc Description: PGP signature
[gentoo-user] Re: memory(gray matter) needs jog
On 10/29/2009 03:46 PM, Albert Hopkins wrote: On Thu, 2009-10-29 at 15:54 -0600, Maxim Wexler wrote: Hi group, A while back I needed help with an ext2 file system that required checking every boot before mounting... I'm not sure why your system needed to be checked for each boot... Boy, my 'little gray cells' need a tonic, too. I've been using ext3 (i.e.with journaling) for so long I can't even remember using ext2. Wasn't it normal in the old days to fsck an ext2 fs with every boot?
Re: [gentoo-user] Re: memory(gray matter) needs jog
On Thu, 2009-10-29 at 17:05 -0700, walt wrote: I'm not sure why your system needed to be checked for each boot... Boy, my 'little gray cells' need a tonic, too. I've been using ext3 (i.e.with journaling) for so long I can't even remember using ext2. Wasn't it normal in the old days to fsck an ext2 fs with every boot? You should put your drink down. And maybe go for a walk :) No, I'm not aware of it *ever* being standard to fsck on every boot. Perhaps you were using a bad distribution? True, Linux does run fsck on every boot, but fsck exits immediately if it determines your filesystem was unmounted cleanly on the last shutdown. It's only if you force a fsck (e.g. with -f or /forcefsck) that it will run fsck on a clean filesystem. And remember, ext2 has *no* journal, so fsck was always very very slow. To run it every time on a reboot would have been so painful that I believe ext3 would have been invented in the early '90s instead of 2001 :)
Re: [gentoo-user] Re: memory(gray matter) needs jog
On Thu, 2009-10-29 at 20:21 -0400, Albert Hopkins wrote: It's only if you force a fsck (e.g. with -f or /forcefsck) that it will run fsck on a clean filesystem. I stand corrected, it also forces a fsck after the user-tunable maximum time between fscks. -a
Re: [gentoo-user] KDE4+i945+kernel+external display = ?
William Kenworthy wrote: http://en.gentoo-wiki.com/wiki/Intel_GMA ah, the magic word: GMA :) Thanks for the reference I have started applying advises from there so we'll see what will I end up with. Welcome to our world of pain :( it is quite surprising considering that Intel has opensource drivers etc. So no weirdness should arise as developers have the specs etc. (at least that was my understanding so far). I made some headway using -hal for xorg-server in USE, and IgnoreEDID and setting DDC to false in xorg.conf but the latest updates ignore those and the UXA settings in the link above (check the xorg log for other dirty secrets) Xorg.0.log looks much cleaner now that I got drm issues out of the way... I am using 2.6.31-r3 (with kernel mode setting by default for the i915 - doesnt work well without it) and xorg-server 1.6.5. which intel driver do you use? Mine's 2.8.1 and I wonder if bumping to 2.9.1 that is in testing wouldn't yield better results. Its a laptop and there is no easy solution as the external screens (various) that I use with it often have only 1024x768 in common with its own LCD and stupid xorg wont let me overide it without consequences elsewhere :( xorg sucks badly at the moment and there is no viable alternative to switch to - and the saddest thing is the chipset has worked fine in the past (sadly becoming distant past for me) ... I too found degradation quite surprising since things were working pretty well up until now. I somewhat regret KDE4 switch because of all of this, however I definitely needed some of the features KDE4 apps had to offer. Traded off some of the features dear to my heart: multi-key combinations popping prompt menu, titlebar set correctly in Konsole without affecting tab name, and some others. Filed with bugs.kde.org... let's see what happens next. According to some KDE4 jsut highlighted problems in underlying Xorg, so hopefully now with all of that out in the open things will get fixed.
Re: [gentoo-user] Kgpg (KDE4) and missing menu items
Mick wrote: Over here the keys export, keys sign and keys reload are present in the drop down menu under Keys as icons, but the textual description is missing. Same with the main menu buttons. keys export, keys sign are shown but there are no tooltips when you hover over them. Otherwise they seem to work fine. yeah, that what I meant... shouldn't have written mails in the middle of the night. So I guess this is a known state of things? I never used Kgpg up until I've upgraded my work machine to KDE4 and now I find it quite surprising that something like that slipped by so many eyes...
Re: [gentoo-user] KDE4+i945+kernel+external display = ?
On Thu, 2009-10-29 at 19:50 -0600, Dmitry Makovey wrote: William Kenworthy wrote: http://en.gentoo-wiki.com/wiki/Intel_GMA ah, the magic word: GMA :) Thanks for the reference I have started ... which intel driver do you use? Mine's 2.8.1 and I wonder if bumping to 2.9.1 that is in testing wouldn't yield better results. bunyip ~ # esearch xf86-video-intel [ Results for search key : xf86-video-intel ] [ Applications found : 1 ] * x11-drivers/xf86-video-intel Latest version available: 2.9.0-r1 Latest version installed: 2.9.0-r1 Size of downloaded files: 773 kB Homepage:http://xorg.freedesktop.org/ Description: X.Org driver for Intel cards License: MIT bunyip ~ # ... I too found degradation quite surprising since things were working pretty well up until now. I somewhat regret KDE4 switch because of all of this, however I definitely needed some of the features KDE4 apps had to offer. Traded off some of the features dear to my heart: multi-key combinations popping prompt menu, titlebar set correctly in Konsole without affecting tab name, and some others. Filed with bugs.kde.org... let's see what happens next. According to some KDE4 jsut highlighted problems in underlying Xorg, so hopefully now with all of that out in the open things will get fixed. ... I am now 3 days into an emerge -e world (almost 2000 packages) as after the gnome 2.6 upgrade I had a lot of weird gnomey issues (actually had to use a lot of kde apps for awhile!) This morning I rebooted and most issues have gone away. At home, I have no ext monitor and the laptop is set to its native 1366x768. When I got to work I resumed (ToI) and plugged in the ext monitor (1280x768) and ran my script (desktop icon that calls a script that uses xrandr to set both VGA1 and LVDS1 to 1280x1024) - and it worked perfectly. Maybe there are other packages involved that are not obvious? To make it a bit more fuzzy, somewhere in the middle of this I made sure that the kernel framebuffer drivers were not being built (vga etc) and removed the grub argument to set the mode - maybe this interferred with it previously? - though those settings were there forever. Note that the GMA guide reccomends doing this. I find that every couple of years or so, an emerge -e world cleans up a lot of issues that just don't make sense otherwise - ~680 pkgs to go :) BillK
[gentoo-user] EeePC network problem
I'm stuck in trying to install Gentoo on my new EeePC 1005HA . There seems to be no easily accessible driver for the Ethernet controller, which is 'Atheros AR8132' (shown via 'lspci'). I'm using 'install-x86-minimal-20091020.iso' on a USB stick; it has 2 drivers atl1e/atl1e.ko atlx/atl1.ko in /lib/modules/2.6.30-gentoo-r7/kernel/drivers/net/ , but neither allows me to connect to my ISP, timing out every time. The problem is not the modem, as M$ XP can connect successfully. I've searched for drivers via Google the Gentoo forum, but I can't compile the one I found, as the Gentoo installer lacks 'make' the module has to be compiled for the specific kernel there. Also, the pkg -- AR81Family-linux-v1.0.0.10.tar.gz , which is almost the same as l1c-linux-v1.0.0.11-test.tar.gz -- dates from January 2009 , rather a long time ago in computing terms. I also have SystemRescue on a USB, but it doesn't do ADSL. I don't expect to be using the Internet with the netbook, so it's needed only for installing Gentoo. Has anyone managed to do a networkless install ? Advice welcome. -- ,, SUPPORT ___//___, Philip Webb ELECTRIC /] [] [] [] [] []| Cities Centre, University of Toronto TRANSIT`-O--O---' purslowatchassdotutorontodotca