[gentoo-user] e17 fails to build from svn
I had no problem building it on another gentoo box, but this one is giving me a headache. All packages build fine until the last package enlightenment and then it fails complaining about ... hal! # emerge -1aDv x11-wm/enlightenment These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] x11-wm/enlightenment- USE=acpi bluetooth e_modules_battery e_modules_clock e_modules_comp e_modules_conf-applications e_modules_conf-borders e_modules_conf-clientlist e_modules_conf-colors e_modules_conf-dialogs e_modules_conf-display e_modules_conf-edgebindings e_modules_conf-engine e_modules_conf-fonts e_modules_conf-icon-theme e_modules_conf-imc e_modules_conf-interaction e_modules_conf-intl e_modules_conf-keybindings e_modules_conf-menus e_modules_conf-mime e_modules_conf-mouse e_modules_conf-mouse-cursor e_modules_conf-mousebindings e_modules_conf-paths e_modules_conf-performance e_modules_conf-profiles e_modules_conf-scale e_modules_conf-shelves e_modules_conf-startup e_modules_conf-theme e_modules_conf-transitions e_modules_conf-wallpaper e_modules_conf-wallpaper2 e_modules_conf-window-display e_modules_conf-window-focus e_modules_conf-window-manipulation e_modules_conf-window-remembers e_modules_conf-winlist e_modules_connman e_modules_cpufreq e_modules_dropshadow e_modules_everything e_modules_everything-apps e_modules_everything-calc e_modules_everything-files e_modules_everything-settings e_modules_everything-windows e_modules_fileman e_modules_fileman_opinfo e_modules_gadman e_modules_ibar e_modules_ibox e_modules_illume2 e_modules_mixer e_modules_msgbus e_modules_pager e_modules_start e_modules_syscon e_modules_systray e_modules_temperature e_modules_winlist e_modules_wizard nls pam spell udev ukit* -doc -e_modules_illume -e_modules_ofono -exchange (-hal) -static-libs 0 kB [1] Total: 1 package (1 reinstall), Size of downloads: 0 kB Portage tree and overlays: [0] /usr/portage [1] /var/lib/layman/enlightenment Would you like to merge these packages? [Yes/No] yes Verifying ebuild manifests Emerging (1 of 1) x11-wm/enlightenment- from enlightenment * Package:x11-wm/enlightenment- * Repository: enlightenment * Maintainer: enlightenm...@gentoo.org [snip ...] checking for E_REMOTE... yes checking for E_IMC... yes checking for E_THUMB... yes checking for E_FM... yes checking for E_FM_OP... yes checking for E_FM_OPEN... yes checking for E_SYS... yes checking for E_INIT... yes checking for E... no configure: error: Package requirements ( evas = 1.0.999 ecore = 1.0.999 ecore-x = 1.0.999 ecore-evas = 1.0.999 ecore-input = 1.0.999 ecore-input-evas = 1.0.999 ecore-con = 1.0.999 ecore-ipc = 1.0.999 ecore-file = 1.0.999 eet = 1.4.0 edje = 1.0.999 efreet = 1.0.999 efreet-mime = 1.0.999 efreet-trash = 1.0.999 eina = 1.0.999 dbus-1 edbus = 1.0.999 eukit = 1.0.999 ehal ) were not met: No package 'ehal' found Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables E_CFLAGS and E_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. !!! Please attach the following file when seeking support: !!! /var/tmp/portage/x11-wm/enlightenment-/work/e/config.log * ERROR: x11-wm/enlightenment- failed (configure phase): * econf failed * * Call stack: * ebuild.sh, line 56: Called src_configure * environment, line 2920: Called enlightenment_src_configure * environment, line 1560: Called econf '--disable-install-sysactions' '--enable-conf-acpibindings' '--enable-bluez' '--disable-doc' '--disable-exchange' '--disable-device-hal' '--disable-mount-hal' '--enable-nls' '--enable-pam' '--enable-everything-aspell' '--enable-device-udev' '--enable-mount-udisks' '--enable-everything' '--enable-everything-apps' '--enable-everything-calc' '--enable-everything-files' '--enable-everything-settings' '--enable-everything-windows' '--enable-conf-applications' '--enable-conf-borders' '--enable-conf-clientlist' '--enable-conf-colors' '--enable-conf-dialogs' '--enable-conf-display' '--enable-conf-edgebindings' '--enable-conf-engine' '--enable-conf-fonts' '--enable-conf-icon-theme' '--enable-conf-imc' '--enable-conf-interaction' '--enable-conf-intl' '--enable-conf-keybindings' '--enable-conf-menus' '--enable-conf-mime' '--enable-conf-mouse' '--enable-conf-mousebindings' '--enable-conf-mouse-cursor' '--enable-conf-paths' '--enable-conf-performance' '--enable-conf-profiles' '--enable-conf-scale' '--enable-conf-shelves' '--enable-conf-startup' '--enable-conf-theme' '--enable-conf-transitions' '--enable-conf-wallpaper' '--enable-conf-wallpaper2' '--enable-conf-window-display' '--enable-conf-window-focus' '--enable-conf-window-manipulation' '--enable-conf-window-remembers' '--enable-conf-winlist' '--enable-battery'
Re: [gentoo-user] multiple /lib64/modules directories
On Monday 16 May 2011 20:55:39 Dale wrote: root@smoker / # du -shc /lib/modules/2.6.30-gentoo-r8/ 7.6M/lib/modules/2.6.30-gentoo-r8/ 7.6Mtotal root@smoker / # It's not much but it could help. Imagine a system that's been kept updated for over 10 years and a new kernel comes out every month (on average) You could end up with 120 of these, and then it would be 912MB... And if you're like me and stick a lot of stuff as modules, then it could be even more -- Joost
Re: [gentoo-user] e17 fails to build from svn
Apparently, though unproven, at 08:23 on Tuesday 17 May 2011, Mick did opine thusly: I had no problem building it on another gentoo box, but this one is giving me a headache. All packages build fine until the last package enlightenment and then it fails complaining about ... hal! [snip ...] checking for E_REMOTE... yes checking for E_IMC... yes checking for E_THUMB... yes checking for E_FM... yes checking for E_FM_OP... yes checking for E_FM_OPEN... yes checking for E_SYS... yes checking for E_INIT... yes checking for E... no configure: error: Package requirements ( evas = 1.0.999 ecore = 1.0.999 ecore-x = 1.0.999 ecore-evas = 1.0.999 ecore-input = 1.0.999 ecore-input-evas = 1.0.999 ecore-con = 1.0.999 ecore-ipc = 1.0.999 ecore-file = 1.0.999 eet = 1.4.0 edje = 1.0.999 efreet = 1.0.999 efreet-mime = 1.0.999 efreet-trash = 1.0.999 eina = 1.0.999 dbus-1 edbus = 1.0.999 eukit = 1.0.999 ehal ) were not met: No package 'ehal' found e17 from svn works fine here. What version are you trying to install? When emerge ran, did it check out the latest code for first first? The hal stuff in e17 has been iffy for a while. -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] chicken -- egg (NFS tty video) (Fixed!)
On Tue, 17 May 2011 01:49:29 +0200, Alan McKinnon wrote: should be referred to using the neuter form of pronouns, i.e. it, as befitting their overall contribution to humanity. You see what I did there? You see how I recovered with a witty reposte without even blinking an eye? It takes nerves of steel and much practise to pull that one off, I tell you! Let's see how long it takes Neil to find the grammar errors in that lot :-) Well, since you asked... All objects of technology (aka stuff what we work on), Stuff WHAT we work on? Users, n00bs, marketing persons, hairdressers, telephone handset sanitizers and other assorted riff-raff of the human species Douglas Adams was English, our second greatest writer, so that should be telephone sanitiser - but that's nit-picking, even form me :) Oh, and it should be grammatical errors :P -- Neil Bothwick I don't have any solution, but I certainly admire the problem. signature.asc Description: PGP signature
Re: [gentoo-user] is a nice place :-D
On Tue, 17 May 2011 01:33:39 +0200, Alan McKinnon wrote: grep GET /Tmp/Linux/G | /var/log/apache2/access_log | grep-v myip | \ awk '{print $1}' | sort | uniq | wc In true grand Unix tradition you cannot get quicker, dirtier or more effective than that awk does pattern matching, o you can ditch the grep stage and use awk '! /myip/ {print $1}' You could use awk to search for the GET patterns too, not only saving yet another process, but making sure that no one else, including you next month, can work out what the command is supposed to do. sort -u would save having a separate process for uniq, but I've no idea if it's faster. It's only worth using sort -u if you would use uniq with no arguments. -- Neil Bothwick - We are but packets in the internet of Life- signature.asc Description: PGP signature
Re: [gentoo-user] chicken -- egg (NFS tty video) (Fixed!)
Apparently, though unproven, at 09:16 on Tuesday 17 May 2011, Neil Bothwick did opine thusly: While we are nitpicking: Douglas Adams was English, our second greatest writer, That should be greatest writer, the other fellow was not the greatest - he merely wrote soap operas. -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] dd says no space left on device
On Tue, May 17, 2011 at 12:21 AM, Stroller strol...@stellar.eclipse.co.ukwrote: On 16/5/2011, at 12:56pm, Adam Carter wrote: ... Yes the new drive is bigger, going from 66G to 500G. Single partition only, ... So how do i proceed? Is it; 1. dd the mbr without partition table, to get the boot code (so bs=446 count=1) 2. use fdisk to set one big primary partition, mark it bootable and NTFS (type 7) 3. dd into what will be /dev/sdb1 Just `dd if=/dev/sda of=/dev/sdb` if you can. Done - and its worked. Here's what i did; 1. Take existing drive out of laptop and connect to Gentoo box using an esata box, then sphinx ~ # dd if=/dev/sdb bs=10M conv=notrunc,noerror | gzip windisk.gz 5723+1 records in 5723+1 records out 60011642880 bytes (60 GB) copied, 5667.78 s, 10.6 MB/s For interests sake, windows reports that 51gig is in use, which along with the free space has compressed down to sphinx ~ # ls -lh win* -rw-r--r-- 1 root root 37G May 17 12:29 windisk.gz 2. Swap existing disk to new drive, then sphinx ~ # gunzip -c windisk.gz | dd of=/dev/sdb bs=10M conv=notrunc 0+1819751 records in 0+1819751 records out 60011642880 bytes (60 GB) copied, 940.652 s, 63.8 MB/s 3. Boot into windows. After login it says You must restart your computer to apply these changes, so i restart. Then go into Disk managment and select Extend Volume, which immediately makes all the space was immediately available. Paranoia says run a disk check, which windows offers to schedule at next reboot. I accept and reboot, check runs and no errors are reported, so im :) Thanks again list!
Re: [gentoo-user] chicken -- egg (NFS tty video) (Fixed!)
On Tuesday 17 May 2011 08:16:20 Neil Bothwick wrote: Douglas Adams was English, our second greatest writer Who do you class as the greatest English writer then? , so that should be telephone sanitiser - but that's nit-picking, even form me :) [nipick] even form me? :P [/nitpick] -- Joost
Re: [gentoo-user] KDE4.6 runaway process after wake up
i generally kill knotify and kded when they misbehave and haven't encountered any noticeable problems after doing so. I hate it when i forget to check for these two before starting an overnight portage update. also heres a blog post related to the kded problem i seen on planet kde recently. http://kdepepo.wordpress.com/2011/05/11/troubleshooting-kded4-bugs/ -- - Yohan Pereira A man can do as he will, but not will as he will - Schopenhauer
Re: [gentoo-user] chicken -- egg (NFS tty video) (Fixed!)
Apparently, though unproven, at 10:22 on Tuesday 17 May 2011, Joost Roeleveld did opine thusly: On Tuesday 17 May 2011 08:16:20 Neil Bothwick wrote: Douglas Adams was English, our second greatest writer Who do you class as the greatest English writer then? Paula Nancy Millstone Jennings -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] grub menu and the new openrc
On Tue, 17 May 2011 06:58:20 +0100, Mick wrote: I'm beginning to think that openrc goes back to the old Linux way. In other words, it uses the init levels instead of softlevels. Yes, this seems to be the case, although not in a clear way (otherwise why is softlevel=nonetwork working?) man rc describes the built in runlevels and goes on to say You should not call any of these runlevels yourself. So maybe this is a design decision rather than a bug, it would explain why a custom runlevel works. -- Neil Bothwick Atheism is a non-prophet organization. signature.asc Description: PGP signature
Re: [gentoo-user] chicken -- egg (NFS tty video) (Fixed!)
On Tue, 17 May 2011 09:29:29 +0200, Alan McKinnon wrote: Douglas Adams was English, our second greatest writer, That should be greatest writer, the other fellow was not the greatest - he merely wrote soap operas. I don't know what you mean, unless you mistakenly assumed I was referring to Shakespeare... I wasn't. I was of course referring to the one who came before Adams, whose merest operational parameters he was not worthy to calculate - Nigel Kneale. -- Neil Bothwick C Error #029: Well! I'm impressed signature.asc Description: PGP signature
Re: [gentoo-user] chicken -- egg (NFS tty video) (Fixed!)
On Tue, 17 May 2011 10:22:35 +0200, Joost Roeleveld wrote: telephone sanitiser - but that's nit-picking, even form me :) [nipick] even form me? :P [/nitpick] I think we should both be more careful with our typing when nit-picking :( -- Neil Bothwick COMMAND: A suggestion made to a computer. signature.asc Description: PGP signature
Re: [gentoo-user] chicken -- egg (NFS tty video) (Fixed!)
On Tuesday 17 May 2011 10:35:48 Alan McKinnon wrote: Apparently, though unproven, at 10:22 on Tuesday 17 May 2011, Joost Roeleveld did opine thusly: On Tuesday 17 May 2011 08:16:20 Neil Bothwick wrote: Douglas Adams was English, our second greatest writer Who do you class as the greatest English writer then? Paula Nancy Millstone Jennings You like Vogon Poetry as well then? ;) -- Joost
Re: [gentoo-user] chicken -- egg (NFS tty video) (Fixed!)
On Tuesday 17 May 2011 10:19:30 Neil Bothwick wrote: On Tue, 17 May 2011 10:22:35 +0200, Joost Roeleveld wrote: telephone sanitiser - but that's nit-picking, even form me :) [nipick] even form me? :P [/nitpick] I think we should both be more careful with our typing when nit-picking :( Probably :)
Re: [gentoo-user] chicken -- egg (NFS tty video) (Fixed!)
Apparently, though unproven, at 11:21 on Tuesday 17 May 2011, Joost Roeleveld did opine thusly: On Tuesday 17 May 2011 10:35:48 Alan McKinnon wrote: Apparently, though unproven, at 10:22 on Tuesday 17 May 2011, Joost Roeleveld did opine thusly: On Tuesday 17 May 2011 08:16:20 Neil Bothwick wrote: Douglas Adams was English, our second greatest writer Who do you class as the greatest English writer then? Paula Nancy Millstone Jennings You like Vogon Poetry as well then? ;) I have no choice. Resistance is futile. -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] Gentoo and a Mobile Phone
On 05/17/2011 06:10 AM, Dave Kuhl wrote: I had mail forwarding turned on, so my replies to gentoo-user were getting kicked. Hopefully adding myself and then replying will keep this the same thread. From: Florian Philipp li...@binarywings.net To: gentoo-user@lists.gentoo.org Sent: Mon, May 16, 2011 1:12:07 PM Subject: Re: [gentoo-user] Gentoo and a Mobile Phone Am 16.05.2011 15:39, schrieb dhk...@optonline.net: I have an Optimus V 3G mobile phone. When I connect it to my Gentoo box with the usb cable, and turn on usb storage, I get the following message in a pop-up box. Unable to mount 2.0 GB Filesystem Not Authorized Should I make the device rwx for all, make a udev rule, or do something else? The problem is depending on what's plugged in, it may not always be /dev/sdb . Also, what applications are out there that can interact with the device? One of the first things I'd like to do is backup and edit my contacts on the Gentoo box and sync it to the phone. Thanks, dhk What permissions are currently set? Maybe you just need to add your user to another group (plugdev?). I guess normal USB sticks work? Otherwise, udev is the way to go. Hope this helps, Florian Philipp When I plug the phone in the follow shows up. brw-rw 1 root disk 8, 0 May 16 17:02 /dev/sdb brw-rw 1 root disk 8, 1 May 16 17:02 /dev/sdb1 I have to mount other usb sticks manually, although I wouldn't mind if it was automatic. Are there apps to interface with the phone? Right now I'd like to get pictures and contacts off it. Thanks, dhk
Re: [gentoo-user] chicken -- egg (NFS tty video) (Fixed!)
On Tue, May 17, 2011 at 09:40:01AM +0200, Alan McKinnon wrote: Apparently, though unproven, at 09:16 on Tuesday 17 May 2011, Neil Bothwick did opine thusly: While we are nitpicking: Douglas Adams was English, our second greatest writer, That should be greatest writer, the other fellow was not the greatest - he merely wrote soap operas. IMO it's co-greatest writer: tossup between Douglas Adams and Kurt Vonnegut, Jr. -- caveat utilitor ♫ ❤ ♫ ❤ ♫ ❤ ♫
Re: [gentoo-user] is a nice place :-D
On 2011-05-17, Neil Bothwick n...@digimed.co.uk wrote: On Tue, 17 May 2011 01:33:39 +0200, Alan McKinnon wrote: grep GET /Tmp/Linux/G | /var/log/apache2/access_log | grep-v myip | \ awk '{print $1}' | sort | uniq | wc In true grand Unix tradition you cannot get quicker, dirtier or more effective than that awk does pattern matching, o you can ditch the grep stage and use awk '! /myip/ {print $1}' You could use awk to search for the GET patterns too, not only saving yet another process, but making sure that no one else, including you next month, can work out what the command is supposed to do. Meh, me forgetting what an awk snippet do? Never! sed ... now that's a wholly different story :-P sort -u would save having a separate process for uniq, but I've no idea if it's faster. It's only worth using sort -u if you would use uniq with no arguments. And you can actually do the 'uniq' or '-u' function within awk. Quite easily, in fact. Here's a sample of awk doing uniq: awk '!x[$1]++ { print $1 }' Benefit? It doesn't care if the non-unique lines are one-after-another or spread all over the text. The above snippet prints only the first occurence. Combine that with a test for match: awk '!x[$1]++ $0 ~ /awesome_regex_pattern/ {print $1}' then with a test for negated match awk '!x[$1]++ $0 ~ /awesome_regex_pattern/ $0 !~ /more_awesome_regex/ {print $1}' Rgds, -- Pandu E Poluan - IT Optimizer My website: http://pandu.poluan.info/
Re: [gentoo-user] Re: How's the openrc update going for everyone?
- Original Message From: Neil Bothwick n...@digimed.co.uk Okay - that's not entirely KDE's problem; though it would have helped a long way with the KDE4 transition if they kept a few people working on those issues. How would you feel if you were a KDE dev told we're all going to play with the cool new toys now, but we want you to stay here and look after the boring musty old stuff.? It would be bad enough if you were being paid for it. Many software developers are exactly in that position. So what? it's what you do when you want to maintain something. That's the also very much the case with numerous kernel developers - they work to keep older versions going as Linus and team move to the next version. So yes, there are even volunteers that will do it. The big issue is that in moving to sole development of KDE4, distros started to drop KDE3 and replace it with KDE4. For example, Kubuntu 8.04 TLS dropped KDE3 and used KDE4 long before KDE4 was really user worthy - long before KDE was calling it user worthy. I think that says more about Ubuntu than KDE, after all ,they'd done a similar thing with GNOME/Unity now. There were other distros too. Gentoo dropped KDE3 around 4.3. But KDEs actions of moving sole development to KDE4 prompted most distributions to do likewise. Many distros, especially the enterprise focussed ones like SUSE, kept 3.5 around for quite a while. Had they kept a small team working on at least the build issues until KDE4 reached 4.3 then the transition would have likely gone a lot smoother. True, but no one expected it to take that long to get ready, and diverting resources to look after 3.5 would have meant it taking even longer. So install a distro that still supports KDE3 if that's what you want or need. KDE 3.5.10 is still there, it hasn't been withdrawn from the shelves. You're hardly likely to use Gentoo for such users, so lack of core support for 3.5 in Gentoo is not an issue either. While I am not personally interested in it, please name one. Gentoo doesn't support KDE3 any more. You have to go to Trinity to get the newer, forked KDE3 series. Last I heard they were equivalent to a 3.5.12 or so; but I haven't seen anything on the Desktop list for a while about Trinity. Needless to say, you may be very hard pressed to find a modern, up-to-date distribution that offers KDE3 support. If it defaulted to KDE 3.5, it would be neither modern nor up to date. But at the time of the transition, when KDE4 was still too flakey for many, there were several - openSUSE for one. Difference between modern, up-to-date and functional versus modern, up-to-date, and bleeding-edge. If you are aiming for bleeding-edge, then yes, moving to KDE4 at 4.0 would have been fine. But most don't use or want to use bleeding edge - they want functional. In both cases they still want modern and up-to-date. Ben
Re: [gentoo-user] multiple /lib64/modules directories
Joost Roeleveld wrote: On Monday 16 May 2011 20:55:39 Dale wrote: root@smoker / # du -shc /lib/modules/2.6.30-gentoo-r8/ 7.6M/lib/modules/2.6.30-gentoo-r8/ 7.6Mtotal root@smoker / # It's not much but it could help. Imagine a system that's been kept updated for over 10 years and a new kernel comes out every month (on average) You could end up with 120 of these, and then it would be 912MB... And if you're like me and stick a lot of stuff as modules, then it could be even more -- Joost That's why I wanted to clarify, not just for me but for others. I'm gong to look on my old machine when I boot it again. That install is many years old and I have NEVER deleted anything there. I bet it is pretty good size by now. Thing is, I only use nvidia as a module myself but some stuff is forced in as a module. Some SCSI driver. This is good to know. Dale :-) :-)
Re: [gentoo-user] is a nice place :-D
On Tue, May 17, 2011 at 5:43 AM, Pandu Poluan pa...@poluan.info wrote: On 2011-05-17, Neil Bothwick n...@digimed.co.uk wrote: On Tue, 17 May 2011 01:33:39 +0200, Alan McKinnon wrote: grep GET /Tmp/Linux/G | /var/log/apache2/access_log | grep-v myip | \ awk '{print $1}' | sort | uniq | wc In true grand Unix tradition you cannot get quicker, dirtier or more effective than that awk does pattern matching, o you can ditch the grep stage and use awk '! /myip/ {print $1}' You could use awk to search for the GET patterns too, not only saving yet another process, but making sure that no one else, including you next month, can work out what the command is supposed to do. Meh, me forgetting what an awk snippet do? Never! sed ... now that's a wholly different story :-P sort -u would save having a separate process for uniq, but I've no idea if it's faster. It's only worth using sort -u if you would use uniq with no arguments. And you can actually do the 'uniq' or '-u' function within awk. Quite easily, in fact. Here's a sample of awk doing uniq: awk '!x[$1]++ { print $1 }' Benefit? It doesn't care if the non-unique lines are one-after-another or spread all over the text. The above snippet prints only the first occurence. Combine that with a test for match: awk '!x[$1]++ $0 ~ /awesome_regex_pattern/ {print $1}' then with a test for negated match awk '!x[$1]++ $0 ~ /awesome_regex_pattern/ $0 !~ /more_awesome_regex/ {print $1}' Rgds, -- Pandu E Poluan - IT Optimizer My website: http://pandu.poluan.info/ I have always wondered if there is a way to do awk '{ print $1}' using only builtin bash functions when you only have a one line string
Re: [gentoo-user] is a nice place :-D
Juan Diego Tascón writes: I have always wondered if there is a way to do awk '{ print $1}' using only builtin bash functions when you only have a one line string str=one two five # remove all from the first blank on, but will not work with # other whitespace echo ${str%% *} or # set $1, $2, $3, ... to words of $str set $str echo $1 or # create array holding one word per element strarr=( $str ) echo $strarr (or echo ${strarr[0]}) Wonko
Re: [gentoo-user] What is the proper usage of module_rebuild?
fe...@crowfix.com writes: At any rate, it seems kind of odd. What is the proper way of using module_rebuild?It seems to me there are two cases, and maybe that is why this script has this odd code. If you have just built a brand new kernel, you might want to rebuild the module list from scratch. But once you have done that, future emerges only need to keep the module list up to date. Whatever. With a recent portage you just emerge @module-rebuild, that's what I use. There's also @x11-module-rebuild, for recompiling Xorg stuff when xorg-server is updated. Wonko
[gentoo-user] Compare two Gentoo machines - please help
Hi, I have two (nearly) identical machines, both running ~amd64 Gentoo up- to-date and with a (nearly) identical set of installed packages. Still, on one of these machines KDE crashes with that infamous polkit- kde-authentication-agent-1 segmentation fault. On the other machine there is no problem. How can one smartly compare two Gentoo installations. Currently I would have to produce an md5sum of all files in /etc /usr /var and / and compare these. But there are dozens of thousands of files in these directories. Many thanks for any ideas, Helmut.
Re: [gentoo-user] is a nice place :-D
On Tue, May 17, 2011 at 8:36 AM, Alex Schuster wo...@wonkology.org wrote: Juan Diego Tascón writes: I have always wondered if there is a way to do awk '{ print $1}' using only builtin bash functions when you only have a one line string str=one two five # remove all from the first blank on, but will not work with # other whitespace echo ${str%% *} or # set $1, $2, $3, ... to words of $str set $str echo $1 or # create array holding one word per element strarr=( $str ) echo $strarr (or echo ${strarr[0]}) Wonko thanks for the info
Re: [gentoo-user] grub menu and the new openrc
Neil Bothwick wrote: On Tue, 17 May 2011 06:58:20 +0100, Mick wrote: I'm beginning to think that openrc goes back to the old Linux way. In other words, it uses the init levels instead of softlevels. Yes, this seems to be the case, although not in a clear way (otherwise why is softlevel=nonetwork working?) man rc describes the built in runlevels and goes on to say You should not call any of these runlevels yourself. So maybe this is a design decision rather than a bug, it would explain why a custom runlevel works. So do I need to create a runlevel called dalesboot and then just put the same stuff in it as is in the normal boot level? I have to say, that is weird. A runlevel should be used by both the system and available to the user as well. Did I mention I can go to a console and use rc boot and it works? It's just when it comes from grub that it doesn't work. Dale :-) :-)
Re: [gentoo-user] is a nice place :-D
On 2011-05-17, Alex Schuster wo...@wonkology.org wrote: Juan Diego Tascón writes: I have always wondered if there is a way to do awk '{ print $1}' using only builtin bash functions when you only have a one line string str=one two five # remove all from the first blank on, but will not work with # other whitespace echo ${str%% *} or # set $1, $2, $3, ... to words of $str set $str echo $1 or # create array holding one word per element strarr=( $str ) echo $strarr (or echo ${strarr[0]}) Wonko How about this: str=one two three read word etc $str echo $word (not tested, though) -- Pandu E Poluan - IT Optimizer My website: http://pandu.poluan.info/
Re: [gentoo-user] multiple /lib64/modules directories
On Tue, May 17, 2011 at 1:51 AM, Joost Roeleveld jo...@antarean.org wrote: Imagine a system that's been kept updated for over 10 years and a new kernel comes out every month (on average) You could end up with 120 of these, and then it would be 912MB... Have you been looking at my computer?? ;)
Re: [gentoo-user] Compare two Gentoo machines - please help
On Tue, May 17, 2011 at 8:42 AM, Helmut Jarausch jarau...@igpm.rwth-aachen.de wrote: Hi, I have two (nearly) identical machines, both running ~amd64 Gentoo up- to-date and with a (nearly) identical set of installed packages. Still, on one of these machines KDE crashes with that infamous polkit- kde-authentication-agent-1 segmentation fault. On the other machine there is no problem. How can one smartly compare two Gentoo installations. Currently I would have to produce an md5sum of all files in /etc /usr /var and / and compare these. But there are dozens of thousands of files in these directories. You could use rsync with –dry-run to tell you what's different (without actually transferring any files), or you could perhaps use diff over ssh to compare a whole tree at once.
Re: [gentoo-user] is a nice place :-D
Hello, On Tue, 17 May 2011, Alan McKinnon wrote: grep GET /Tmp/Linux/G | /var/log/apache2/access_log | grep-v myip | \ awk '{print $1}' | sort | uniq | wc useless use of ... awk '/GET \/Tmp\/Linux\/G/{ips[$1]++;}END{print length(ips);}' \ /var/log/apache2/access_log I add each access to ips[IP] in case you'd want to print that to, e.g. by using END { for( i in ips ) { print i : ips[i] accesses; } print length(ips) unique IPs total; } as the END block. HTH, -dnh -- Any research done on how to efficiently use computers has been long lost in the mad rush to upgrade systems to do things that aren't needed by people who don't understand what they are really supposed to do with them. -- Graham Reed, in asr
Re: [gentoo-user] multiple /lib64/modules directories
On Tuesday 17 May 2011 09:49:52 Paul Hartman wrote: Have you been looking at my computer?? ;) As if I'd admit that over an open forum? ;) -- Joost
Re: [gentoo-user] Compare two Gentoo machines - please help
Good day, Helmut! On Tue, May 17, 2011 at 03:42:35PM +0200, Helmut Jarausch wrote: Hi, I have two (nearly) identical machines, both running ~amd64 Gentoo up- to-date and with a (nearly) identical set of installed packages. Nearly identical is a bit like slightly pregnant. How about making the two boxes' packages identical (with the same use flags) and seeing if the problem goes away. Still, on one of these machines KDE crashes with that infamous polkit- kde-authentication-agent-1 segmentation fault. On the other machine there is no problem. How can one smartly compare two Gentoo installations. Currently I would have to produce an md5sum of all files in /etc /usr /var and / and compare these. But there are dozens of thousands of files in these directories. Compare the /var/lib/portage/world's just to be sure. But you've done that already. How about a deep comparison of the etc's. Many thanks for any ideas, Helmut. -- Alan Mackenzie (Nuremberg, Germany).
Re: [gentoo-user] Compare two Gentoo machines - please help
On Tuesday 17 May 2011 15:42:35 Helmut Jarausch wrote: Hi, I have two (nearly) identical machines, both running ~amd64 Gentoo up- to-date and with a (nearly) identical set of installed packages. Still, on one of these machines KDE crashes with that infamous polkit- kde-authentication-agent-1 segmentation fault. On the other machine there is no problem. How can one smartly compare two Gentoo installations. Currently I would have to produce an md5sum of all files in /etc /usr /var and / and compare these. But there are dozens of thousands of files in these directories. won't work. Even if the binaries in /usr are compiled with the same settings, just the different times of creation will result in different md5sums. What you want to do is: find the bug.
Re: [gentoo-user] Compare two Gentoo machines - please help
On Tue, 17 May 2011 17:52:32 +0200, Volker Armin Hemmann wrote: On Tuesday 17 May 2011 15:42:35 Helmut Jarausch wrote: Hi, I have two (nearly) identical machines, both running ~amd64 Gentoo up- to-date and with a (nearly) identical set of installed packages. Still, on one of these machines KDE crashes with that infamous polkit- kde-authentication-agent-1 segmentation fault. On the other machine there is no problem. How can one smartly compare two Gentoo installations. Currently I would have to produce an md5sum of all files in /etc /usr /var and / and compare these. But there are dozens of thousands of files in these directories. won't work. Even if the binaries in /usr are compiled with the same settings, just the different times of creation will result in different md5sums. What you want to do is: find the bug. As far as i remember, i don't see why modification times will enter in the md5sum computation process, as they are not part of the file but of the filesystem's inode... it's definitely possible to compare two binaries on two different system if they are compiled with the same compiler version and libraries ! -- Blog: http://gentooist.com Twitter: http://twitter.com/blakawk
[gentoo-user] Re: Compare two Gentoo machines - please help
Helmut Jarausch jarausch at igpm.rwth-aachen.de writes: I have two (nearly) identical machines, both running ~amd64 Gentoo up- to-date and with a (nearly) identical set of installed packages. How can one smartly compare two Gentoo installations. Tricky problem. Maybe set up the good machine to build packages from and sync the second (troublesome) machine off of the good machine ? Just a thought. hth, James
Re: [gentoo-user] Compare two Gentoo machines - please help
Leonardo 2011/5/17 Paul Hartman paul.hartman+gen...@gmail.com On Tue, May 17, 2011 at 8:42 AM, Helmut Jarausch jarau...@igpm.rwth-aachen.de wrote: Hi, I have two (nearly) identical machines, both running ~amd64 Gentoo up- to-date and with a (nearly) identical set of installed packages. Still, on one of these machines KDE crashes with that infamous polkit- kde-authentication-agent-1 segmentation fault. On the other machine there is no problem. How can one smartly compare two Gentoo installations. Currently I would have to produce an md5sum of all files in /etc /usr /var and / and compare these. But there are dozens of thousands of files in these directories. You could use rsync with –dry-run to tell you what's different (without actually transferring any files), or you could perhaps use diff over ssh to compare a whole tree at once. I would go with Paul's rsync solution. Leonardo
[gentoo-user] Re: Can't get help in Gnome - Silly error message
On 05/16/2011 02:54 AM, Alan Mackenzie wrote: Hi, Gentoo. Would somebody please help me. In every program in Gnome, there is a help menu. When I click on any of them, I get the wierd error message: Couldn't display help The specified location is not supported Does this just mean couldn't find file or does it have some deeper meaning? More to the point, what do I have to do to fix this problem? What happens when you run yelp from a command prompt? I'm having gnome help problems too, but a different problem. Yelp just prints can't initialize gecko and quits. Seems to be a problem with xulrunner and I'm trying to track it down now.
Re: [gentoo-user] is a nice place :-D
On 17/5/2011, at 11:43am, Pandu Poluan wrote: On 2011-05-17, Neil Bothwick n...@digimed.co.uk wrote: On Tue, 17 May 2011 01:33:39 +0200, Alan McKinnon wrote: grep GET /Tmp/Linux/G | /var/log/apache2/access_log | grep-v myip | \ awk '{print $1}' | sort | uniq | wc ... awk does pattern matching, o you can ditch the grep stage and use awk '! /myip/ {print $1}' ... Meh, me forgetting what an awk snippet do? Never! sed ... now that's a wholly different story :-P Not addressed at you, specifically, but it rather seems like sed awk are much under-appreciated these days. I'd guess that this may be due to the changing nature of *nix users, but they seem to have gone out of fashion. Aside from sed's simple replace, I have certainly never learned to do anything useful with them. Stroller.
Re: [gentoo-user] Compare two Gentoo machines - please help
On 17/5/2011, at 4:52pm, Volker Armin Hemmann wrote: ... What you want to do is: find the bug. Or, y'know: just `emerge -e world` and see if it goes away. I know this is a bit of brute force ignorance, but: 1) if the bug goes away when you recompile everything then it was a difficult bug to reproduce, anyway (at least relatively speaking) and it's not clear how many other people you'll help by understanding and reporting such a transient issue. 2) if the bug persists after recompiling everything then you know that it's possible to reproduce it, there's a higher possibility that the bug will affect other people, and you can usefully report it upstream, once you pin it down. Stroller.
Re: [gentoo-user] grub menu and the new openrc
Hi Dale, On Tue, May 17, 2011 at 09:20:52AM -0500, Dale wrote: So do I need to create a runlevel called dalesboot and then just put the same stuff in it as is in the normal boot level? I have to say, that is weird. A runlevel should be used by both the system and available to the user as well. Actually the boot runlevel is not a runlevel in the way you are thinking. It is just a group of services that need to be run once when your system starts. It is run once when you boot right after the sysinit runlevel. It sounds like you might want to use the nonetwork runlevel for what you are trying to do since the only thing in there is the local service. William pgp70JwibvrR7.pgp Description: PGP signature
Re: [gentoo-user] e17 fails to build from svn
On 17 May 2011 08:01, Alan McKinnon alan.mckin...@gmail.com wrote: Apparently, though unproven, at 08:23 on Tuesday 17 May 2011, Mick did opine thusly: eukit = 1.0.999 ehal ) were not met: No package 'ehal' found e17 from svn works fine here. What version are you trying to install? These are the packages I tried to install/update: # emerge -1aDv dev-libs/eina dev-libs/embryo dev-libs/eet media-libs/evas dev-libs/ecore dev-libs/eeze media-libs/edje dev-libs/e_dbus dev-libs/efreet x11-wm/enlightenment These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] dev-libs/eina- USE=mempool-chained mempool-pass-through mmx nls sse threads (-altivec) -debug -default-mempool -doc -mempool-buddy -mempool-ememoa-fixed -mempool-ememoa-unknown -mempool-fixed-bitmap -sse2 -static-libs -test 0 kB [1] [ebuild R ] dev-libs/embryo- USE=nls -doc -static-libs 0 kB [1] [ebuild R ] dev-libs/eet- USE=gnutls nls ssl threads -debug -doc -examples -static-libs -test 0 kB [1] [ebuild R ] media-libs/evas- USE=X bmp cache eet fontconfig gif ico jpeg mmx nls opengl png ppm sdl sse svg threads tiff xcb (-altivec) -bidi -directfb -doc -fbcon -gles -static-libs -xpm 0 kB [1] [ebuild R ] dev-libs/ecore- USE=X curl evas gnutls inotify nls opengl sdl ssl threads xcb -ares -directfb -doc -fbcon -glib -static-libs -test -tslib -xinerama -xprint -xscreensaver 0 kB [1] [ebuild R ] dev-libs/eeze-1.0.0 USE=nls -doc -static-libs 0 kB [0] [ebuild R ] media-libs/edje- USE=nls -cache -debug -doc -static-libs -vim-syntax 0 kB [1] [ebuild R ] dev-libs/e_dbus- USE=bluetooth connman libnotify nls udev -doc (-hal) -ofono -static-libs -test-binaries 0 kB [1] [ebuild R ] dev-libs/efreet- USE=nls -doc -static-libs 0 kB [1] [ebuild R ] x11-wm/enlightenment- USE=acpi bluetooth e_modules_battery e_modules_clock e_modules_comp e_modules_conf-applications e_modules_conf-borders e_modules_conf-clientlist e_modules_conf-colors e_modules_conf-dialogs e_modules_conf-display e_modules_conf-edgebindings e_modules_conf-engine e_modules_conf-fonts e_modules_conf-icon-theme e_modules_conf-imc e_modules_conf-interaction e_modules_conf-intl e_modules_conf-keybindings e_modules_conf-menus e_modules_conf-mime e_modules_conf-mouse e_modules_conf-mouse-cursor e_modules_conf-mousebindings e_modules_conf-paths e_modules_conf-performance e_modules_conf-profiles e_modules_conf-scale e_modules_conf-shelves e_modules_conf-startup e_modules_conf-theme e_modules_conf-transitions e_modules_conf-wallpaper e_modules_conf-wallpaper2 e_modules_conf-window-display e_modules_conf-window-focus e_modules_conf-window-manipulation e_modules_conf-window-remembers e_modules_conf-winlist e_modules_connman e_modules_cpufreq e_modules_dropshadow e_modules_everything e_modules_everything-apps e_modules_everything-calc e_modules_everything-files e_modules_everything-settings e_modules_everything-windows e_modules_fileman e_modules_fileman_opinfo e_modules_gadman e_modules_ibar e_modules_ibox e_modules_illume2 e_modules_mixer e_modules_msgbus e_modules_pager e_modules_start e_modules_syscon e_modules_systray e_modules_temperature e_modules_winlist e_modules_wizard nls pam spell udev ukit* -doc -e_modules_illume -e_modules_ofono -exchange (-hal) -static-libs 0 kB [1] Total: 10 packages (10 reinstalls), Size of downloads: 0 kB Portage tree and overlays: [0] /usr/portage [1] /var/lib/layman/enlightenment enilightenment itself failed on this svn version: Unpacking source... * subversion switch start -- * old repository: http://svn.enlightenment.org/svn/e/trunk/e@59463 * new repository: http://svn.enlightenment.org/svn/e/trunk//e At revision 59463. *working copy: /usr/portage/distfiles/svn-src/enlightenment//e When emerge ran, did it check out the latest code for first first? You lost me here! O_O The hal stuff in e17 has been iffy for a while. Right, but I have excluded all hal USE flags as far as I can tell, that's why I cannot understand why x11-wm/enlightenment- failed with that error. Anyway, tonight it failed right on the first package: Emerging (1 of 10) dev-libs/eina- from enlightenment * Package:dev-libs/eina- * Repository: enlightenment * Maintainer: enlightenm...@gentoo.org * USE:elibc_glibc kernel_linux mempool-chained mempool-pass-through mmx nls sse threads userland_GNU x86 * FEATURES: ccache sandbox usersandbox Unpacking source... * subversion switch start -- * old repository: http://svn.enlightenment.org/svn/e/trunk/eina@59462 * new repository: http://svn.enlightenment.org/svn/e/trunk//eina Usrc/tests/eina_suite.c Usrc/tests/eina_suite.h Asrc/tests/eina_test_binbuf.c Usrc/tests/Makefile.am Asrc/include/eina_binbuf.h Usrc/include/Eina.h Usrc/include/Makefile.am Usrc/lib/eina_object.c U
[gentoo-user] Re: ldd -r /usr/lib64/libdbusmenu-qt.so.2 = undefined symbol:
On 05/16/2011 02:06 PM, Pau Peris wrote: Hi, does anyone knows how to solve it? Reemerging did nothing ldd -r /usr/lib64/libdbusmenu-qt.so.2 (snippage) undefined symbol: _ZN5QHashIi15QHashDummyValueE13detach_helperEv (/usr/lib64/libdbusmenu-qt.so.2) undefined symbol: _ZN5QListI7QStringE6appendERKS0_ (/usr/lib64/libdbusmenu-qt.so.2) undefined symbol: _ZN4QMapIP7QActioniE11node_createEP8QMapDataPPNS3_4NodeERKS1_RKi (/usr/lib64/libdbusmenu-qt.so.2) (more snippage) All of the missing symbols are c++ symbols, so I wonder if you compiled the qt packages with a different version of gcc. i.e. the new dbusmenu library may be linked with a different libstdc++ (which is supplied by the gcc package and so you may have more than one libstdc++ on your machine). Any time you switch compilers, you really should rebuild every package that requires libstdc++, and that's a lot of packages. A quick and dirty test would be to re-emerge all the qt packages (using the same gcc you're using now) and see if the problem goes away.
Re: [gentoo-user] Compare two Gentoo machines - please help
On Tuesday 17 May 2011 17:57:42 Blakawk wrote: As far as i remember, i don't see why modification times will enter in the md5sum computation process, as they are not part of the file but of the filesystem's inode... it's definitely possible to compare two binaries on two different system if they are compiled with the same compiler version and libraries in theory. In practice only a slight change here and there - might result in huge changes. 'Almost identical' but the things that are not identical will screw you up. Almost identical is like 'totally different' in this case. Instead wasting time comparing the machines, he should find the culprit for the segfault. KDE's backtracking tool (drkonqi) and strace help a lot with that. If he knows where it fails, he at least has a chance to find out why.
[gentoo-user] KDE4.6 with two monitors does not respect boundaries/edges between them
It seems that some setting changed from the 4.5 to 4.6 because now the boundaries between the two monitors are no longer respected. Let me try to explain: In KDE4.5 if I were to maximise a window of an application while it was positioned say in the left monitor, it would maximise to occupy all of the real estate in the left monitor only. If the application was in the right monitor, it would maximise to occupy only the right monitor. Also in KDE4.5 moving an application window near the ends of a monitor would snap to the edge even if this was the vertical edge between the two monitors. In KDE4.6 application windows maximise across both screens and there's no snapping into the edge at the middle. Finally, I can no longer set different wallpapers for the two monitors. Is there some setting I could use to fix this? -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Re: Can't get help in Gnome - Silly error message
Hi, Walt. On Tue, May 17, 2011 at 10:07:38AM -0700, walt wrote: On 05/16/2011 02:54 AM, Alan Mackenzie wrote: Hi, Gentoo. Would somebody please help me. In every program in Gnome, there is a help menu. When I click on any of them, I get the wierd error message: Couldn't display help The specified location is not supported Does this just mean couldn't find file or does it have some deeper meaning? More to the point, what do I have to do to fix this problem? What happens when you run yelp from a command prompt? Yelp appears to start OK. In the tty appear 8 error messages like: (yelp:2967): Gtk-CRITICAL **: IA__gtk_tool_button_new: assertion `icon_widget == NULL || GTK_IS_MISC (icon_widget)' failed After a bit more clicking, to try to get to an Info page, yelp crashes (and exits) with: Yelp:ERROR:yelp-document.c:275:yelp_document_cancel_page: assertion failed: (document != NULL YELP_IS_DOCUMENT (document)) I'm having gnome help problems too, but a different problem. Yelp just prints can't initialize gecko and quits. Seems to be a problem with xulrunner and I'm trying to track it down now. -- Alan Mackenzie (Nuremberg, Germany).
Re: [gentoo-user] e17 fails to build from svn
Apparently, though unproven, at 21:34 on Tuesday 17 May 2011, Mick did opine thusly: On 17 May 2011 08:01, Alan McKinnon alan.mckin...@gmail.com wrote: Apparently, though unproven, at 08:23 on Tuesday 17 May 2011, Mick did opine thusly: eukit = 1.0.999 ehal ) were not met: No package 'ehal' found e17 from svn works fine here. What version are you trying to install? These are the packages I tried to install/update: I can confirm that e17 builds just fine without hal, I remerged everything here today with a fresh svn update. I compared by USE to yours and they are much the same apart from ofono (not relevant) and I have ukit enabled. You are running x86 (32 bit) right? I see your USE has (-hal) whereas mine is -hal. man emerge implies that means the flag is forced off somehow, so I would be interested to see what e17 thinks it should do on your machine. Please emerge enlightenment (just that one package) and post the section just before this: checking for E_REMOTE... yes checking for E_IMC... yes checking for E_THUMB... yes It's the 5 lines or so immediately before the error in your first post and will mention hal_mount and eeze. [snip] When emerge ran, did it check out the latest code for first first? You lost me here! O_O Looks like a bad paste error. I meant if you use the regular overlay and check out a fresh svn update with each emerge (i.e. not using an old checkout with updates from the repo disabled). I see elsewhere you do use fresh checkouts. The hal stuff in e17 has been iffy for a while. Right, but I have excluded all hal USE flags as far as I can tell, that's why I cannot understand why x11-wm/enlightenment- failed with that error. Well, the gentoo part works. It's the e17 ./configure step that is iffy. raster HATES use flags with a passion; automagic deps is the only way to go in his worldview. Quite obviously this will lead to problems on gentoo with no real way to disable support for something you do have installed. (Just because you have libXYZ installed is not a good reason to force support on for it everywhere that might use it.) Anyway, tonight it failed right on the first package: Emerging (1 of 10) dev-libs/eina- from enlightenment [snip] Well, whaddaya know. For once it wasn't cedric who broke it. Looks like commit r59468 to eina at 17:45 by tasn did it. eina_binbuf_template_c.x:140: error: conflicting types for 'eina_binbuf_length_get' ../../src/include/eina_binbuf.h:209: note: previous declaration of 'eina_binbuf_length_get' was here eina_amalgamation.c:17936: error: redefinition of '__STRBUF_MAGIC_STR' eina_amalgamation.c:1222: note: previous definition of '__STRBUF_MAGIC_STR' was here make[3]: *** [libeina_la-eina_amalgamation.lo] Error 1 [snip] What's causing this one? I don't see an easy way to workaround this apart from reverting r59468. So, just skip past eina, you already have a copy from earlier that built correctly and portage won't catch version difference seeing as everything is - BTW, any idea when DR17 will make it into the portage tree? I suppose it would have to exist first :-) EFL-1.0.0 is released since three months ago so it could go into the tree. It probably isn't there yet because the most useful app using it - the window manager - is still unreleased. I reckon vapier or barbieri would be the right people to answer that question. -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] KDE4.6 runaway process after wake up
On Tuesday 17 May 2011 09:17:45 Yohan Pereira wrote: i generally kill knotify and kded when they misbehave and haven't encountered any noticeable problems after doing so. Yes, same here. Once I kill them, no problem thereafter. They don't seem to me to be related to some process running purposufely doing something useful (or even intentional). With both pegged at 100% CPU they seem more like they've gone into a loop/race condition. So I'm not sure that letting them run for any length of time will achieve anything - but will give them 5-10 minutes next time to see if they go away on their own. Another thing I noticed on a different box (x86) is that if more than say 20% or memory is being used and I select the machine to go to sleep (to RAM) it crashes. The disk spins down immediately, the monitor and input devices go to sleep, but the CPU and fans continue to run. The box will not respond to anything other than pulling the plug. I am not sure if there is something incompatible with the memory modules/controllers (I doubt it because this was a really rare event with KDE4.5) but now with KDE4.6 it happens every time. Any ideas what this might be attributed to? -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] KDE4.6 with two monitors does not respect boundaries/edges between them
On Tue, 17 May 2011 21:22:56 +0100, Mick wrote: In KDE4.5 if I were to maximise a window of an application while it was positioned say in the left monitor, it would maximise to occupy all of the real estate in the left monitor only. If the application was in the right monitor, it would maximise to occupy only the right monitor. In The monitors section of system settings, there should be a multiple monitors section. I think, I'm on my single-screen netbook now, that I have all the boxes ticked, and it works as you want. However, occasionally, after an upgrade, it reverts to how you describe. The solution is to unset and reset some of those options and restart KDE, then it remembers how it should behave again. -- Neil Bothwick Top Oxymorons Number 22: Childproof signature.asc Description: PGP signature
Re: [gentoo-user] leafnode and xinetd?
I == Indi thebeelzebubtrig...@gmail.com writes: Leafnode works fine here. I Output of xinetd -d Looks fine. In addition to the other reply's suggestions, does running /usr/sbin/leafnode from a root shell work? Have you run fetchnews at least once? -JimC -- James Cloos cl...@jhcloos.com OpenPGP: 1024D/ED7DAEA6
Re: [gentoo-user] KDE4.6 with two monitors does not respect boundaries/edges between them
Apparently, though unproven, at 22:22 on Tuesday 17 May 2011, Mick did opine thusly: It seems that some setting changed from the 4.5 to 4.6 because now the boundaries between the two monitors are no longer respected. Let me try to explain: In KDE4.5 if I were to maximise a window of an application while it was positioned say in the left monitor, it would maximise to occupy all of the real estate in the left monitor only. If the application was in the right monitor, it would maximise to occupy only the right monitor. Also in KDE4.5 moving an application window near the ends of a monitor would snap to the edge even if this was the vertical edge between the two monitors. In KDE4.6 application windows maximise across both screens and there's no snapping into the edge at the middle. Finally, I can no longer set different wallpapers for the two monitors. Is there some setting I could use to fix this? This might help narrow the source of the problem down. This doesn't affect my nVidia card [GeForce 8600M GT] on any version between 4.3 and latest 4.6 in the tree, so I suspect your drivers. Snap to the edge between two monitors works here. An unmaximized window always maximizes to fill the monitor it is on. An unmaximized window that is partly on one monitor and partly on the other does a neat trick when maximized - it fills the monitor that held the bigger fraction of the window. All this neat goodness works on both nVidia driver and nouveau, straight out the box, no fiddling required -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] e17 fails to build from svn
' '--enable-everything' '--enable-everything' '--enable-everyth ' '--enable-everything' '--enable-everything' '--disable-illume' '--disable-s ic' * ebuild.sh, line 557: Called die * The specific snippet of code: * die econf failed * * If you need support, post the output of 'emerge --info =x11-wm/enlightenme ', * the complete build log and the output of 'emerge -pqv =x11-wm/enlightenmen 999'. * This ebuild is from an overlay named 'enlightenment': '/var/lib/layman/enl tenment/' * The complete build log is located at '/var/log/portage/x11-wm:enlightenmen 999:20110517-220701.log'. * The ebuild environment file is located at '/var/tmp/portage/x11-wm/enlight ent-/temp/environment'. * S: '/var/tmp/portage/x11-wm/enlightenment-/work/e' === Well, the gentoo part works. It's the e17 ./configure step that is iffy. OK. raster HATES use flags with a passion; automagic deps is the only way to go in his worldview. I know, that's why I didn't want to risk posting in the e-users M/L about my - hal USE flag, in case that reminded him and he decides to completely break gentoo builds somehow! ha, ha! :)) I think he has mentioned somewhere that we should build enlightenment with hal, although this may be out date now. PS. I noticed that with udev/ukit and -hal, USB sticks show up on the desktop, but they do not disappear after they are unplugged. With hal the desktop would be refreshed and the usb stick icon gone within a second of it being unplugged. Is this how it works on yours too? -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] KDE4.6 with two monitors does not respect boundaries/edges between them
Am 17.05.2011 22:22, schrieb Mick: It seems that some setting changed from the 4.5 to 4.6 because now the boundaries between the two monitors are no longer respected. Let me try to explain: In KDE4.5 if I were to maximise a window of an application while it was positioned say in the left monitor, it would maximise to occupy all of the real estate in the left monitor only. If the application was in the right monitor, it would maximise to occupy only the right monitor. Also in KDE4.5 moving an application window near the ends of a monitor would snap to the edge even if this was the vertical edge between the two monitors. In KDE4.6 application windows maximise across both screens and there's no snapping into the edge at the middle. Finally, I can no longer set different wallpapers for the two monitors. Is there some setting I could use to fix this? I had the same problem. You have to enable the xinerama use flag, even if you do not intend to configure xinerama. euse -E xinerama emerge -av --reinstall changed-use world will do the job. Hope this helps, Florian Philipp signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] e17 fails to build from svn
Apparently, though unproven, at 00:22 on Wednesday 18 May 2011, Mick did opine thusly: On Tuesday 17 May 2011 21:32:06 Alan McKinnon wrote: Apparently, though unproven, at 21:34 on Tuesday 17 May 2011, Mick did opine thusly: On 17 May 2011 08:01, Alan McKinnon alan.mckin...@gmail.com wrote: I compared by USE to yours and they are much the same apart from ofono (not relevant) and I have ukit enabled. You are running x86 (32 bit) right? Yes, this is a x86 mostly stable box (except for e17 of course). Ha! I believe we found the little fucker causing you grief. Very last comment here: http://trac.enlightenment.org/e/ticket/759 (ignore raster's anti-gentoo packager rants) Per your initial post, you have: [ebuild R ] dev-libs/eeze-1.0.0 USE=nls -doc -static-libs 0 kB [0] I'm certain you forgot to unmask eeze when it first hit the overlay -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] KDE4.6 with two monitors does not respect boundaries/edges between them
On Tuesday 17 May 2011 22:09:41 Neil Bothwick wrote: On Tue, 17 May 2011 21:22:56 +0100, Mick wrote: In KDE4.5 if I were to maximise a window of an application while it was positioned say in the left monitor, it would maximise to occupy all of the real estate in the left monitor only. If the application was in the right monitor, it would maximise to occupy only the right monitor. In The monitors section of system settings, there should be a multiple monitors section. I think, I'm on my single-screen netbook now, that I have all the boxes ticked, and it works as you want. However, occasionally, after an upgrade, it reverts to how you describe. The solution is to unset and reset some of those options and restart KDE, then it remembers how it should behave again. Thanks Neil, there's the 'Display and Monitor' section in SystemSettings. I've changed things around, changed their position from 'absolute' to 'right of' and back again, changed the refresh rate to auto and finally changed the Primary Output to DVI. Logged out/in and it is still the same xinerama like behaviour. One big single virtual screen, rather than two screens in two monitors as it was until 4.6 came along. I knew from the start KDE4.6 was installed something was amiss because the toolbar at the bottom of the screen was extended across both monitors (it used to be on the RH side only) and on the left hand monitor it was not visible (it was below the bottom edge of the screen). This is really annoying and hinders productivity ... :-( -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] KDE4.6 with two monitors does not respect boundaries/edges between them
On Tuesday 17 May 2011 23:35:30 Florian Philipp wrote: Am 17.05.2011 22:22, schrieb Mick: It seems that some setting changed from the 4.5 to 4.6 because now the boundaries between the two monitors are no longer respected. Let me try to explain: In KDE4.5 if I were to maximise a window of an application while it was positioned say in the left monitor, it would maximise to occupy all of the real estate in the left monitor only. If the application was in the right monitor, it would maximise to occupy only the right monitor. Also in KDE4.5 moving an application window near the ends of a monitor would snap to the edge even if this was the vertical edge between the two monitors. In KDE4.6 application windows maximise across both screens and there's no snapping into the edge at the middle. Finally, I can no longer set different wallpapers for the two monitors. Is there some setting I could use to fix this? I had the same problem. You have to enable the xinerama use flag, even if you do not intend to configure xinerama. euse -E xinerama emerge -av --reinstall changed-use world will do the job. Have they changed the use of this flag in KDE4.6? I don't having it set before ... Thanks for the suggestion, I'll try it out tomorrow, because it's getting late now. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] grub menu and the new openrc
William Hubbs wrote: Hi Dale, On Tue, May 17, 2011 at 09:20:52AM -0500, Dale wrote: So do I need to create a runlevel called dalesboot and then just put the same stuff in it as is in the normal boot level? I have to say, that is weird. A runlevel should be used by both the system and available to the user as well. Actually the boot runlevel is not a runlevel in the way you are thinking. It is just a group of services that need to be run once when your system starts. It is run once when you boot right after the sysinit runlevel. It sounds like you might want to use the nonetwork runlevel for what you are trying to do since the only thing in there is the local service. William That may be true but until the openrc upgrade, it worked. I emailed the openrc folks and got a reply. He said it works for him which I assume means he can boot to the boot runlevel. If that is true, I have no reason to think it's not, then why does it not work for me? That was the reason I started this thread to begin with. I would like to know why it is not working anymore especially if it is working for the guy that sent me a email that works on openrc. I think his name was Mike. I'm awful with names. :/ So, back to my original question, why doesn't it work? I think someone else posted that it didn't work for them either. Since I wasn't getting anywhere, I did the catch all, I ran my favorite little script and am re-emerging everything, just to see if that helps. Don't anyone hold their breath now. lol Still open to ideas tho. Dale :-) :-)
Re: [gentoo-user] grub menu and the new openrc
William Hubbs wrote: Hi Dale, On Tue, May 17, 2011 at 09:20:52AM -0500, Dale wrote: So do I need to create a runlevel called dalesboot and then just put the same stuff in it as is in the normal boot level? I have to say, that is weird. A runlevel should be used by both the system and available to the user as well. Actually the boot runlevel is not a runlevel in the way you are thinking. It is just a group of services that need to be run once when your system starts. It is run once when you boot right after the sysinit runlevel. It sounds like you might want to use the nonetwork runlevel for what you are trying to do since the only thing in there is the local service. William The emerge -e world finished. It still doesn't work like it did a few weeks ago. So, I tried the nonetwork option. That starts about every service except the GUI, my UPS thingy and a couple others. Get this, it even starts the freaking network. Why is it called nonetwork if it starts the network too. Seeing the list of services it started, it didn't miss many. There is something not right here. It appears that openrc or whatever is not working the way it should. The funniest part about this, it worked fine the other day and it works just fine from a console. It just doesn't work right when passed from grub. Anyone have any ideas on how to fix this? Thanks. Dale :-) :-)
Re: [gentoo-user] KDE4.6 with two monitors does not respect boundaries/edges between them
2011/5/17 Florian Philipp li...@binarywings.net Am 17.05.2011 22:22, schrieb Mick: It seems that some setting changed from the 4.5 to 4.6 because now the boundaries between the two monitors are no longer respected. Let me try to explain: In KDE4.5 if I were to maximise a window of an application while it was positioned say in the left monitor, it would maximise to occupy all of the real estate in the left monitor only. If the application was in the right monitor, it would maximise to occupy only the right monitor. Also in KDE4.5 moving an application window near the ends of a monitor would snap to the edge even if this was the vertical edge between the two monitors. In KDE4.6 application windows maximise across both screens and there's no snapping into the edge at the middle. Finally, I can no longer set different wallpapers for the two monitors. Is there some setting I could use to fix this? I had the same problem. You have to enable the xinerama use flag, even if you do not intend to configure xinerama. euse -E xinerama emerge -av --reinstall changed-use world will do the job. Hope this helps, Florian Philipp I had the very same problem and I can confirm that using the xinerama flag fixes it. I'm using fglrx drivers, also I have defined two Screens in my xorg.conf.d, I don't know if it has something to do with it (tried multiple solutions and when things got working i just left it untouched). Leonardo
[gentoo-user] external monitor output during boot
Hello, What controls the screen output to an external monitor connected to a laptop during boot or when just using a plain console without an X server running? Before a recent update the output would just automatically go to an external monitor when one is connected. Now it does not; not sure it has anything to do with the openrc migration. I do get output onto the external monitor after startx runs; also the X server/clients work fine. Thanks for inputs. -- Valmor PS: fn+F8 for switching displays does not work either; but it never did before.
Re: [gentoo-user] external monitor output during boot
On Tue, May 17, 2011 at 9:48 PM, Valmor de Almeida val.gen...@gmail.comwrote: Hello, What controls the screen output to an external monitor connected to a laptop during boot or when just using a plain console without an X server running? Before a recent update the output would just automatically go to an external monitor when one is connected. Now it does not; not sure it has anything to do with the openrc migration. I do get output onto the external monitor after startx runs; also the X server/clients work fine. Thanks for inputs. -- Valmor PS: fn+F8 for switching displays does not work either; but it never did before. What's the make/model of your laptop? Does the F8 key you mention have a monitor/screen icon on it? The hardware key to switch monitors is independent of software on most (all?) laptops. Also, most laptops will output on both (clone) by default.
Re: [gentoo-user] external monitor output during boot
On 05/17/2011 11:20 PM, Mark Shields wrote: On Tue, May 17, 2011 at 9:48 PM, Valmor de Almeida val.gen...@gmail.com mailto:val.gen...@gmail.com wrote: Hello, What controls the screen output to an external monitor connected to a laptop during boot or when just using a plain console without an X server running? Before a recent update the output would just automatically go to an external monitor when one is connected. Now it does not; not sure it has anything to do with the openrc migration. I do get output onto the external monitor after startx runs; also the X server/clients work fine. Thanks for inputs. -- Valmor PS: fn+F8 for switching displays does not work either; but it never did before. What's the make/model of your laptop? Lenovo X201. Does the F8 key you mention have a monitor/screen icon on it? Sorry. It is the fn-F7 key that has the monitor/screen icon on it; it does not work either. The hardware key to switch monitors is independent of software on most (all?) laptops. Also, most laptops will output on both (clone) by default. This was the previous behavior; but not now. Thanks, -- Valmor
Re: [gentoo-user] KDE4.6 with two monitors does not respect boundaries/edges between them
I don't know if this is considered hijacking this thread or not but I have a similar issue getting my kde to remember its screen layout. Two screens with different resolutions and kde just will NOT remember what I tell it to do. Is there some secret X mojo I have to do to the X configuration files to augment what kde knows about the display geometry? What's more annoying is that I have other machines that have no problem. What's the general consensus for configuring multiple heads? Just go with xorg.conf? Add Monitor sections in xorg.conf.d? -- Bill Longman
Re: [gentoo-user] external monitor output during boot
On Tue, May 17, 2011 at 10:56 PM, Valmor de Almeida val.gen...@gmail.comwrote: On 05/17/2011 11:20 PM, Mark Shields wrote: On Tue, May 17, 2011 at 9:48 PM, Valmor de Almeida val.gen...@gmail.com mailto:val.gen...@gmail.com wrote: Hello, What controls the screen output to an external monitor connected to a laptop during boot or when just using a plain console without an X server running? Before a recent update the output would just automatically go to an external monitor when one is connected. Now it does not; not sure it has anything to do with the openrc migration. I do get output onto the external monitor after startx runs; also the X server/clients work fine. Thanks for inputs. -- Valmor PS: fn+F8 for switching displays does not work either; but it never did before. What's the make/model of your laptop? Lenovo X201. Does the F8 key you mention have a monitor/screen icon on it? Sorry. It is the fn-F7 key that has the monitor/screen icon on it; it does not work either. The hardware key to switch monitors is independent of software on most (all?) laptops. Also, most laptops will output on both (clone) by default. This was the previous behavior; but not now. Thanks, -- Valmor Does it clone during the BIOS screen?
Re: [gentoo-user] Double mount entry?
-- 8 -- lots of snippage -- 8 -- Thanks everyone for the answers! I had thought my system had gone mad. Apparently not. :-) Rgds, -- Pandu E Poluan ~ IT Optimizer ~
Re: [gentoo-user] external monitor output during boot
On 05/17/2011 11:51 PM, Mark Shields wrote: On Tue, May 17, 2011 at 10:56 PM, Valmor de Almeida val.gen...@gmail.com mailto:val.gen...@gmail.com wrote: [snip] Hello, What controls the screen output to an external monitor connected to a laptop during boot or when just using a plain console without an X server running? Before a recent update the output would just automatically go to an external monitor when one is connected. Now it does not; not sure it has anything to do with the openrc migration. [snip] Does it clone during the BIOS screen? I checked the BIOS and there are the following options for boot display device: ThinkPad LCD Analog (VGA) Digital on ThinkPad The first is selected and I have not touched it; ever. It appears that when the laptop boots with the external LCD connected, a signal is sent to the external monitor since I see a resolution note and a bit of a back light on the monitor. However none of the boot messages go to the external monitor. They stay on the laptop lcd. Thanks, -- Valmor
[gentoo-user] open-vm-tools FATAL: Module vmblock not found
I've emerged open-vm-tools, but why does startup now showing FATAL: Module vmblock not found. ? That said, system boots okay. It's a virtualized (cloud) server on top of VMware vSphere Cloud. When I created the VM, I specified using PV-SCSI instead of LSI Logic. Rgds, -- Pandu E Poluan ~ IT Optimizer ~ Visit my Blog: http://pepoluan.posterous.com Google Talk: pepoluan Y! messenger: pepoluan MSN / Live: pepol...@hotmail.com (do not send email here) Skype: pepoluan More on me: My LinkedIn Account My Facebook Account
Re: [gentoo-user] chicken -- egg (NFS tty video) (Fixed!)
On Tue, May 17, 2011 at 06:18, Alan McKinnon alan.mckin...@gmail.com wrote: Apparently, though unproven, at 01:01 on Tuesday 17 May 2011, Neil Bothwick did opine thusly: On Mon, 16 May 2011 23:40:32 +0200, Alan McKinnon wrote: I had many posts typed out, most of them rude, all of them classic Alan, but something held me back. Lucky it went that way, he later posted he read 1667MHZ as 167MHz. Amazing what a difference a 1 can make :-) Not nearly as much as a 6 :P I *really* need to get some sleep and go to bed _right_now_ sigh I 3 this list :-D -- Pandu E Poluan ~ IT Optimizer ~ Visit my Blog: http://pepoluan.posterous.com