[gentoo-user] Salasaga
Hi, All Does anyone know if there is a portage package for Salasaga (http://www.salasaga.org/)? Or if one has had the experience of compiling it from source, any hints? Thanks Francisco -- If you have an apple and I have an apple and we exchange apples then you and I will still each have one apple. But if you have an idea and I have one idea and we exchange these ideas, then each of us will have two ideas. - George Bernard Shaw -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Re: Terminals that work with compose key?
That's a legacy behavior got from old typewriter machines in which the accents did not move the carriage as normal characters did, just printing the accent (that had to be high enough for upper case letters) and waiting for the accented letter to do the move. As far as I know, in KDE you may install an international layout toggle, so different behaviors - and even quite different lay-outs - may co-exist. Francisco On Tue, Feb 17, 2009 at 9:06 PM, Volker Armin Hemmann volkerar...@googlemail.com wrote: On Dienstag 17 Februar 2009, Grant Edwards wrote: On 2009-02-17, Paul Hartman paul.hartman+gen...@gmail.com wrote: There is a US-International layout that makes the right-alt behave like Alt Gr, and allowing easier entry for non-English (mostly Spanish) characters. I don't know if US-International keyboards actually exists or if it's just a virtual layout. However, even then, it does not behave like the Compose key as described by the Wikipedia article, which makes it sound like a dead key. A dead key and a compose key are related, but not quite the same thing. A dead key is one that when struck doesn't generate a letter but instead modifies the letter that's generated by the next keystroke. Unlike a modifier like shift/alt/control, a dead key or a compose key is struck and released and then the next key is struck. Some non-English keyboards have deadicated deadkeys for commonly used accents. Dead keys are more-or-less the equivalent of a typewriter key that imprints a glyph onto the paper but doesn't move the platen (or the type-ball, if you want to think like a selectric). What a compose key does is temporarily make the _next_ key struck act like a dead key. To enter ô, you strike compose, ^, o. Hitting compose makes the ^ key temporarily into a dead key. nope, just ^ and o no other key. at least in kde. -- If you have an apple and I have an apple and we exchange apples then you and I will still each have one apple. But if you have an idea and I have one idea and we exchange these ideas, then each of us will have two ideas. - George Bernard Shaw
Re: [gentoo-user] Making changes to a statically build driver
Never made such thing, so just a guess: maybe a log entry on some event, like link up - at that time, probably, the log engine is already up and running. Francisco On Thu, Mar 5, 2009 at 8:16 PM, Ezra Taylor ezra.tay...@gmail.com wrote: Hello all: I made some changes to the e1000 kernel driver. I then recompiled the kernel without any issue. How can I tell if the change actually went through? Again, this driver has been statically built into the kernel. Is there a way to test that a change went through without have to setup a test environment? -- Ezra Taylor -- If you have an apple and I have an apple and we exchange apples then you and I will still each have one apple. But if you have an idea and I have one idea and we exchange these ideas, then each of us will have two ideas. - George Bernard Shaw
Re: [gentoo-user] Telxon
try the gentoo-embedded list, better chances to get an answer there. Francisco On Thu, Mar 5, 2009 at 8:32 PM, dhk dhk...@optonline.net wrote: Is it possible to put Gentoo on a Telxon gun? If so, how would I go about doing it? Thanks, dave -- If you have an apple and I have an apple and we exchange apples then you and I will still each have one apple. But if you have an idea and I have one idea and we exchange these ideas, then each of us will have two ideas. - George Bernard Shaw
Re: [gentoo-user] Nokia/TrollTech's Qt Eclipse Plug-in
Not the way things are supposed to work in a Gentoo box, but, oh well... I'm using the binary version in a binary eclipse installation inside my own user folders, along with the binary Qt 4.5 libraries... At least it works. Francisco On Tue, Mar 10, 2009 at 12:02 AM, BRM bm_witn...@yahoo.com wrote: Does anyone have an e-build for the Nokia/TrollTech Qt Eclipse Plug-in? http://www.qtsoftware.com/developer/eclipse-integration TIA, Ben -- If you have an apple and I have an apple and we exchange apples then you and I will still each have one apple. But if you have an idea and I have one idea and we exchange these ideas, then each of us will have two ideas. - George Bernard Shaw
[gentoo-user] qt-4.4.3 won't install any files
I have qt-3.3.8b-r1 and qt-4.4.2 I tried qt-assistant-4.4.2-r1, and it showed me no docs. Then I tried to reinstall qt-4.4.2, looking for some use-flag I might have missed, like doc or something like that. The emerge process of qt-4.4.2 goes like that: # emerge -v =x11-libs/qt-4.4.2 These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] x11-libs/qt-4.4.2 USE=dbus opengl qt3support 0 kB Total: 1 package (1 reinstall), Size of downloads: 0 kB Verifying ebuild manifests Emerging (1 of 1) x11-libs/qt-4.4.2 * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ...[ ok ] * checking miscfile checksums ;-) ... [ ok ] Unpacking source... Source unpacked in /var/tmp/portage/x11-libs/qt-4.4.2/work Compiling source in /var/tmp/portage/x11-libs/qt-4.4.2/work ... Source compiled. Test phase [not enabled]: x11-libs/qt-4.4.2 Install qt-4.4.2 into /var/tmp/portage/x11-libs/qt-4.4.2/image/ category x11-libs Completed installing qt-4.4.2 into /var/tmp/portage/x11-libs/qt-4.4.2/image/ Installing x11-libs/qt-4.4.2 * checking 0 files for package collisions * Removing /usr/share/doc Safely unmerging already-installed instance... No package files given... Grabbing a set. Original instance of package unmerged safely. Auto-cleaning packages... No outdated packages were found on your system. * GNU info directory index is up-to-date. #_ Nothing showing the traditional compile and install procedure. Is this a bug? Thankyou Francisco -- If you have an apple and I have an apple and we exchange apples then you and I will still each have one apple. But if you have an idea and I have one idea and we exchange these ideas, then each of us will have two ideas. - George Bernard Shaw
Re: [gentoo-user] qt-4.4.3 won't install any files
Thankyou guys Francisco
[gentoo-user] kde 3.5 packages blocking each other
Hi As I'm still on KDE 3.X, I've got several package updates, but most of them are blocking each other: [blocks B ] kde-base/kcontrol:3.5 (kde-base/kcontrol:3.5 is blocking kde-base/kdebase-3.5.9-r4) [blocks B ] kde-base/kicker:3.5 (kde-base/kicker:3.5 is blocking kde-base/kdebase-3.5.9-r4) [blocks B ] kde-base/libkonq:3.5 (kde-base/libkonq:3.5 is blocking kde-base/kdebase-3.5.9-r4) [blocks B ] kde-base/kdeedu (kde-base/kdeedu is blocking kde-base/kdelibs-3.5.10-r6) [blocks B ] kde-base/konqueror:3.5 (kde-base/konqueror:3.5 is blocking kde-base/kdebase-3.5.9-r4) [blocks B ] kde-base/kdialog:3.5 (kde-base/kdialog:3.5 is blocking kde-base/kdebase-3.5.9-r4) [blocks B ] =kde-base/kdebase-3.5* (=kde-base/kdebase-3.5* is blocking kde-base/kmenuedit-3.5.10, kde-base/kdialog-3.5.10, kde-base/kdebase-kioslaves-3.5.10-r1, kde-base/kicker-3.5.10-r1, kde-base/kdebase-data-3.5.10, kde-base/kfind-3.5.10, kde-base/kcminit-3.5.10, kde-base/kdesu-3.5.10, kde-base/konqueror-3.5.10, kde-base/khotkeys-3.5.10, kde-base/khelpcenter-3.5.10, kde-base/libkonq-3.5.10, kde-base/kcontrol-3.5.10) [blocks B ] kde-base/kdeaddons (kde-base/kdeaddons is blocking kde-base/kdelibs-3.5.10-r6) [blocks B ] kde-base/kdeutils (kde-base/kdeutils is blocking kde-base/kdelibs-3.5.10-r6) [blocks B ] kde-base/kcminit:3.5 (kde-base/kcminit:3.5 is blocking kde-base/kdebase-3.5.9-r4) [blocks B ] kde-base/kde (kde-base/kde is blocking kde-base/kdelibs-3.5.10-r6) [blocks B ] kde-base/kdetoys (kde-base/kdetoys is blocking kde-base/kdelibs-3.5.10-r6) [blocks B ] kde-base/kdebase-kioslaves:3.5 (kde-base/kdebase-kioslaves:3.5 is blocking kde-base/kdebase-3.5.9-r4) [blocks B ] kde-base/kfind:3.5 (kde-base/kfind:3.5 is blocking kde-base/kdebase-3.5.9-r4) [blocks B ] kde-base/kdepim (kde-base/kdepim is blocking kde-base/kdelibs-3.5.10-r6) [blocks B ] kde-base/kdebase (kde-base/kdebase is blocking kde-base/kdelibs-3.5.10-r6) [blocks B ] kde-base/kmenuedit:3.5 (kde-base/kmenuedit:3.5 is blocking kde-base/kdebase-3.5.9-r4) [blocks B ] kde-base/kdegraphics (kde-base/kdegraphics is blocking kde-base/kdelibs-3.5.10-r6) [blocks B ] kde-base/kdewebdev (kde-base/kdewebdev is blocking kde-base/kdelibs-3.5.10-r6) [blocks B ] kde-base/kdegames (kde-base/kdegames is blocking kde-base/kdelibs-3.5.10-r6) [blocks B ] kde-base/khotkeys:3.5 (kde-base/khotkeys:3.5 is blocking kde-base/kdebase-3.5.9-r4) [blocks B ] kde-base/kdenetwork (kde-base/kdenetwork is blocking kde-base/kdelibs-3.5.10-r6) [blocks B ] kde-base/kdebase-data:3.5 (kde-base/kdebase-data:3.5 is blocking kde-base/kdebase-3.5.9-r4) [blocks B ] kde-base/kdemultimedia (kde-base/kdemultimedia is blocking kde-base/kdelibs-3.5.10-r6) [blocks B ] kde-base/kdeadmin (kde-base/kdeadmin is blocking kde-base/kdelibs-3.5.10-r6) [blocks B ] kde-base/kdesu:3.5 (kde-base/kdesu:3.5 is blocking kde-base/kdebase-3.5.9-r4) [blocks B ] kde-base/kdeartwork (kde-base/kdeartwork is blocking kde-base/kdelibs-3.5.10-r6) [blocks B ] kde-base/khelpcenter:3.5 (kde-base/khelpcenter:3.5 is blocking kde-base/kdebase-3.5.9-r4) It looks like there's some issue in some packages being 3.5.10 and all the rest being 3.5.9, but I have no keywords set in /etc/portage/packages.keywords - perhaps I should. Any hints? Thanks a lot Francisco -- If you have an apple and I have an apple and we exchange apples then you and I will still each have one apple. But if you have an idea and I have one idea and we exchange these ideas, then each of us will have two ideas. - George Bernard Shaw
Re: [gentoo-user] kde 3.5 packages blocking each other
Thanks a lot! Francisco On Fri, Jun 12, 2009 at 5:58 PM, Dirk Heinrichs dirk.heinri...@online.dewrote: Am Freitag 12 Juni 2009 22:45:49 schrieb Francisco Ares: And how do I tell if an ebuild is monolithic or not? The monolithic ones install larger parts of KDE, and usually have the same names as the original source packages offered at KDE.org. The split ebuilds, well, split those packages into their individual applications, so you have ebuilds for konqueror (which is also part of kdenetwork) or kmail (kdepim). In addition, there are the -meta ebuilds, which have the same name as the monolitic ones, but with -meta appended (kdepim-meta). Those usually install the same applications than monolithic ebuilds, but as split ebuilds. So, when you install kde, you get a complete KDE from monolithic ebuilds and when you install kde-meta, you get a complete KDE from split ebuilds. That's also the reason why they block each other. When you have kdepim installed, you already got kmail, so you shouldn't install kmail from the split ebuild again. HTH... Dirk -- If you have an apple and I have an apple and we exchange apples then you and I will still each have one apple. But if you have an idea and I have one idea and we exchange these ideas, then each of us will have two ideas. - George Bernard Shaw
[gentoo-user] way off-topic - is it possible to log webmail messages content in an enterprise network
Hi, guys. Sorry to post such off-topic message, but I didn't know where I could ask this question. I know that things such as address, trafic, bandwith are easy to be tracked and logged, but what about, say, my gmail messages - is it possible to log them also? Which package should I use or look for? Thanks Francisco -- If you have an apple and I have an apple and we exchange apples then you and I will still each have one apple. But if you have an idea and I have one idea and we exchange these ideas, then each of us will have two ideas. - George Bernard Shaw
Re: [gentoo-user] way off-topic - is it possible to log webmail messages content in an enterprise network
Thanks a lot, guys, I will be looking for all those programs and will also look for a lawyer ;-) Francisco -- If you have an apple and I have an apple and we exchange apples then you and I will still each have one apple. But if you have an idea and I have one idea and we exchange these ideas, then each of us will have two ideas. - George Bernard Shaw
Re: [gentoo-user] Shell problem
looks like an alias, maybe you have accidentaly edited .bashrc or .bash_profile hope this helps Francisco On Mon, Aug 11, 2008 at 9:57 AM, Ivan Alden [EMAIL PROTECTED] wrote: Hi all, I was working in a shell with tar and I changed something where now when I type * it interprets it as --exlucde i.e $ * bash: --exlucde: command not found or $ ls * ls: unrecognized option `--exlucde' Try `ls --help' for more information. how can I fix this? thanks, Ivan -- If you have an apple and I have an apple and we exchange apples then you and I will still each have one apple. But if you have an idea and I have one idea and we exchange these ideas, then each of us will have two ideas. - George Bernard Shaw
[gentoo-user] MIME-type application/octet-stream missing on KDE 3
Hi, guys Suddenly, after an update (sorry, no idea on which packages were updated / upgraded / re-emerged) several (if not all) KDE 3.5 programs show a message box saying that the MIME type application/octet-stream could not be found. Any ideas on what happened and, most important, what can I do to correct this? Thanks a lot!! Francisco -- If you have an apple and I have an apple and we exchange apples then you and I will still each have one apple. But if you have an idea and I have one idea and we exchange these ideas, then each of us will have two ideas. - George Bernard Shaw
Re: [gentoo-user] MIME-type application/octet-stream missing on KDE 3
On Tue, Nov 18, 2008 at 1:11 AM, Dale [EMAIL PROTECTED] wrote: Francisco Ares wrote: Hi, guys Suddenly, after an update (sorry, no idea on which packages were updated / upgraded / re-emerged) several (if not all) KDE 3.5 programs show a message box saying that the MIME type application/octet-stream could not be found. Any ideas on what happened and, most important, what can I do to correct this? Thanks a lot!! Francisco -- If you have an apple and I have an apple and we exchange apples then you and I will still each have one apple. But if you have an idea and I have one idea and we exchange these ideas, then each of us will have two ideas. - George Bernard Shaw Well, I found this somewhat old post: http://www.linuxquestions.org/questions/susenovell-60/error-could-not-find-mime-type-applicationoctet-stream-529525/ That said, I looked at the location described and I don't even have the file that they are saying to edit. Is it possible that you have this file and it is no longer needed after the update? Just a thought. Dale :-) :-) Thanks, a lot, Dale, that was it. That proves old ghosts use to get back to haunt us once in a while ;-) Francisco
Re: [gentoo-user] MIME-type application/octet-stream missing on KDE 3
On Tue, Nov 18, 2008 at 2:51 AM, Dale [EMAIL PROTECTED] wrote: Francisco Ares wrote: Thanks, a lot, Dale, that was it. That proves old ghosts use to get back to haunt us once in a while ;-) Francisco What made me think it may not be needed is that I don't have it and I have the latest KDE 3.5 installed. I know sometimes files move or something and emerge does not touch a users directory that I have ever seen. I'm not sure but I doubt emerge can. Looks like KDE should have fixed it but I'm sure they are busy on KDE 4. ;-) I don't like ghosts in my puter either. At least with mine, it is usually the idiot in the chair. Dale :-) :-) Looking at the file in ~/.kde3.5/share/mimelnk/application/octet-stream.desktop it contains MIME information for an extension that I've included months ago, so that Firefox (and probably all applications) would automagicaly open mplayer for YouTube-like media files (*.flv extension), but as far as I can remember, I've done that using KDE 3.5 tools. Well, I've removed it, didn't try any *.flv yet, but there's no more of those annoying warning messages. Thanks a lot Francisco -- If you have an apple and I have an apple and we exchange apples then you and I will still each have one apple. But if you have an idea and I have one idea and we exchange these ideas, then each of us will have two ideas. - George Bernard Shaw
[gentoo-user] random mouse movements + kdebase 3.5.9-r3 + qt-4.3.3 + gcc-4.3.2 problems
Hi, guys. Happy new year! I'm facing some problems. It all began with some weird random mouse movements and clicks once in a while, and also sometimes the graphical interface locks up so that I cannot start nor close any program, even kde itself. I have to turn off the computer and turn it on again (resembles another operating system, doesn't it? - but all the rest of the system still works ok including ACPI power button, so I can get a clean reboot) and then I had the idea of re-emerging several packages. And now I'm having trouble while re-building kde-base/kdebase-3.5.9-r3, kde-base/kdelibs-3.5.9-r4 and x11-libs/qt-4.3.3 - none of them compiles without errors. I'm using a ~x86 gcc ( sys-devel/gcc-4.3.2-r2 ) so that I may use the -march=core2 CFLAG and just emerged and installed a 2.6.27-r7 kernel. Also I've re-emerged several qt and kde dependencies, including Xorg - as long as several of its dependencies, too - and a long list of libraries, and all went ok. For Qt, the errors keep pointing test phases, which are not enabled here, messages like theese: MySQL (thread-unsafe) disabled. MySQL support cannot be enabled due to functionality tests! Turn on verbose messaging (-v) to ./configure to see the final report. If you believe this message is in error you may use the continue switch (-continue) to ./configure to continue. * * ERROR: x11-libs/qt-4.3.3 failed. Then I have masked MySQL, and then another USE flag points out the same kind of error. For kdebase, it points out a compilation error, as it seems, against a kernel header, like this: In file included from handler.h:13, from kdesud.cpp:74: secure.h: At global scope: secure.h:19: error: redefinition of 'struct ucred' /usr/include/bits/socket.h:321: error: previous definition of 'struct ucred' make[3]: ** [kdesud.o] Erro 1 In file included from secure.cpp:23: secure.h:19: error: redefinition of 'struct ucred' /usr/include/bits/socket.h:321: error: previous definition of 'struct ucred' But kdelibs re-emerged like a charm... Any ideas? Thanks in advance Francisco -- If you have an apple and I have an apple and we exchange apples then you and I will still each have one apple. But if you have an idea and I have one idea and we exchange these ideas, then each of us will have two ideas. - George Bernard Shaw
[gentoo-user] init script freezes when xdm (kdm) starts
Hi, guys I've been seeing this for several months now, and I couldn't fix it. It is easy to workaround, so I didn't want to bother the list before. But when it's enough, it's enough. While booting, I can see the init scripts progress up to the time xdm (kdm) starts. Then I lo gin and start to work. Suddenly I remember that I have to issue a Ctrl-Alt-F1 to return to the boot console and only then the scripts go on, looking like they froze when X started (or some other related app). That was for several months and has come back now. During a few months interval (I suppose that those time periods were coincident to kernel updates) I got the opposite: the scripts kept going, X appeared for very few seconds and then the boot console reappeared without intervention. I always had to hit Ctrl-Alt-F7 to return to kdm. Any suggestions? Thanks a lot Francisco -- If you have an apple and I have an apple and we exchange apples then you and I will still each have one apple. But if you have an idea and I have one idea and we exchange these ideas, then each of us will have two ideas. - George Bernard Shaw
Re: [gentoo-user] init script freezes when xdm (kdm) starts
On Mon, Jan 5, 2009 at 10:22 PM, Nick Cunningham n...@monkeydust.net wrote: 2009/1/6 Francisco Ares fra...@gmail.com Hi, guys I've been seeing this for several months now, and I couldn't fix it. It is easy to workaround, so I didn't want to bother the list before. But when it's enough, it's enough. While booting, I can see the init scripts progress up to the time xdm (kdm) starts. Then I lo gin and start to work. Suddenly I remember that I have to issue a Ctrl-Alt-F1 to return to the boot console and only then the scripts go on, looking like they froze when X started (or some other related app). That was for several months and has come back now. During a few months interval (I suppose that those time periods were coincident to kernel updates) I got the opposite: the scripts kept going, X appeared for very few seconds and then the boot console reappeared without intervention. I always had to hit Ctrl-Alt-F7 to return to kdm. Any suggestions? Thanks a lot Francisco Have checked to make sure your init scripts are in the right place, run rc-update and it will show all your init scripts and in what order group they are in (boot, default etc). It may be that one got added to the wrong group which causes X to start too soon. Also check your running the latest versions of baselayout (and openrc if you run ~arch). For reference xdm should be the 2nd to last (or thereabouts) script to run, normally just before local. (also, are you sure this is X starting and not just a framebuffer splash?) - Nick Sorry to answer a question with another one, but how do I know to which group the services should be added? That really might be the solution of my problem. And, yes, it is really X . This is the output from rc-uptate -s : acpid | default alsasound | default apcupsd | default bootmisc | boot bootsplash | default checkfs | boot checkroot | boot clock | boot consolefont | boot consolekit | default cupsd | default dbus | default ddclient | default fbcondecor | default gpm | default hald | default hdparm | default hostname | boot keymaps | boot kmyfirewall | default lm_sensors | default local | default nonetwork localmount | boot modules | boot net.eth2 | default net.lo | boot numlock | default rdate | default rmnologin | boot serial | boot smartd | default sysklogd | default urandom | boot vixie-cron | default xdm | default Thanks again Francisco
Re: [gentoo-user] init script freezes when xdm (kdm) starts
On Mon, Jan 5, 2009 at 11:21 PM, Nick Cunningham n...@monkeydust.netwrote: Sorry to answer a question with another one, but how do I know to which group the services should be added? That really might be the solution of my problem. And, yes, it is really X . This is the output from rc-uptate -s : acpid | default alsasound | default apcupsd | default bootmisc | boot bootsplash | default checkfs | boot checkroot | boot clock | boot consolefont | boot consolekit | default cupsd | default dbus | default ddclient | default fbcondecor | default gpm | default hald | default hdparm | default hostname | boot keymaps | boot kmyfirewall | default lm_sensors | default local | default nonetwork localmount | boot modules | boot net.eth2 | default net.lo | boot numlock | default rdate | default rmnologin | boot serial | boot smartd | default sysklogd | default urandom | boot vixie-cron | default xdm | default Thanks again Francisco Looking over those everything seems fine, i was hoping an obvious problem like xdm being in the boot group could have been a cause. Again, just to rule out the obvious, your sure your seeing xdm start up early and not the framebuffer splash? One other thing to check is whether you have parallel startup enabled, depending on whether your using openrc or not, this may be in /etc/rc.conf or /etc/conf.d/rc (or a similar location, i dont quite remember it exactly). Look for the following (or similar incase its changed): # Set to YES if you want the rc system to try and start services # in parallel for a slight speed improvement. When running in parallel we # prefix the service output with it's name as the output will get # jumbled up. # WARNING: whilst we have improved parallel, it can still potentially lock # the boot process. Don't file bugs about this unless you can supply # patches that fix it without breaking other things! rc_parallel=NO Ideally you want it set to NO to ensure everything starts when it is meant to. Hopefully one of these suggestions will help, if not the next idea is to move to openrc if your not already as that may help, although there is some risk involved in the upgrade. - Nick rc_parallel=NO (I have tried once, but gave up) and it is really X, I use verbose framebuffer images Gonna check that openrc, though. But, while re-emerging sysvinit: * WARNING: You have older net.* files in /etc/init.d/ * They need to be converted to symlinks to net.lo. If you haven't * made personal changes to those files, you can update with the * following command: ... Do the net.* also belong to the boot group of init scripts? This is a snippet of the end of the boot screen: * Setting framebuffer console images ... [ ok ] * Starting gpm ... [ ok ] * Setting up kdm ... [ ok ] * Loading ALSA modules ... * Loading: snd-seq-oss ... [ ok ] * Loading: snd-pcm-oss ... [ ok ] * Restoring Mixer Levels ... [ ok ] * Starting * no interface module has been loaded * Starting eth2 * Bringing up eth2 * adsl * Starting ADSL for eth2 [ ok ] * Starting APC UPS daemon ...[ ok ] * Starting cupsd ... [ ok ] * Starting ddclient ... [ ok ] Clearing iptables (created by KMyFirewall)... Done. Starting iptables (created by KMyFirewall)... Done. [ ok ] * Loading lm_sensors modules... * Loading coretemp ... [ ok ] * Initializing sensors ... [ ok ] * Enabling numlock on ttys ... [ ok ] * Setting clock via rdate ...[ ok ] * Starting S.M.A.R.T. monitoring daemon ... [ ok ] * Starting vixie-cron ...[ ok ] * Starting local ... [ ok ] This is ... Thanks a lot! Francisco
Re: [gentoo-user] init script freezes when xdm (kdm) starts
On Tue, Jan 6, 2009 at 12:02 AM, Francisco Ares fra...@gmail.com wrote: On Mon, Jan 5, 2009 at 11:21 PM, Nick Cunningham n...@monkeydust.netwrote: Sorry to answer a question with another one, but how do I know to which group the services should be added? That really might be the solution of my problem. And, yes, it is really X . This is the output from rc-uptate -s : acpid | default alsasound | default apcupsd | default bootmisc | boot bootsplash | default checkfs | boot checkroot | boot clock | boot consolefont | boot consolekit | default cupsd | default dbus | default ddclient | default fbcondecor | default gpm | default hald | default hdparm | default hostname | boot keymaps | boot kmyfirewall | default lm_sensors | default local | default nonetwork localmount | boot modules | boot net.eth2 | default net.lo | boot numlock | default rdate | default rmnologin | boot serial | boot smartd | default sysklogd | default urandom | boot vixie-cron | default xdm | default Thanks again Francisco Looking over those everything seems fine, i was hoping an obvious problem like xdm being in the boot group could have been a cause. Again, just to rule out the obvious, your sure your seeing xdm start up early and not the framebuffer splash? One other thing to check is whether you have parallel startup enabled, depending on whether your using openrc or not, this may be in /etc/rc.conf or /etc/conf.d/rc (or a similar location, i dont quite remember it exactly). Look for the following (or similar incase its changed): # Set to YES if you want the rc system to try and start services # in parallel for a slight speed improvement. When running in parallel we # prefix the service output with it's name as the output will get # jumbled up. # WARNING: whilst we have improved parallel, it can still potentially lock # the boot process. Don't file bugs about this unless you can supply # patches that fix it without breaking other things! rc_parallel=NO Ideally you want it set to NO to ensure everything starts when it is meant to. Hopefully one of these suggestions will help, if not the next idea is to move to openrc if your not already as that may help, although there is some risk involved in the upgrade. - Nick rc_parallel=NO (I have tried once, but gave up) and it is really X, I use verbose framebuffer images Gonna check that openrc, though. But, while re-emerging sysvinit: * WARNING: You have older net.* files in /etc/init.d/ * They need to be converted to symlinks to net.lo. If you haven't * made personal changes to those files, you can update with the * following command: ... Do the net.* also belong to the boot group of init scripts? This is a snippet of the end of the boot screen: * Setting framebuffer console images ... [ ok ] * Starting gpm ... [ ok ] * Setting up kdm ... [ ok ] * Loading ALSA modules ... * Loading: snd-seq-oss ... [ ok ] * Loading: snd-pcm-oss ... [ ok ] * Restoring Mixer Levels ... [ ok ] * Starting * no interface module has been loaded * Starting eth2 * Bringing up eth2 * adsl * Starting ADSL for eth2 [ ok ] * Starting APC UPS daemon ...[ ok ] * Starting cupsd ... [ ok ] * Starting ddclient ... [ ok ] Clearing iptables (created by KMyFirewall)... Done. Starting iptables (created by KMyFirewall)... Done. [ ok ] * Loading lm_sensors modules... * Loading coretemp ... [ ok ] * Initializing sensors ... [ ok ] * Enabling numlock on ttys ... [ ok ] * Setting clock via rdate ...[ ok ] * Starting S.M.A.R.T. monitoring daemon ... [ ok ] * Starting vixie-cron ...[ ok ] * Starting local ... [ ok ] This is ... Thanks a lot! Francisco Tried to use net.eth2 in boot group: it works, but I still have the init scripts
Re: [gentoo-user] kernel linux-2.6.27-gentoo-r7 won't load network!
On Tue, Jan 6, 2009 at 12:25 AM, Nicolas Sebrecht nicolas.s-...@laposte.net wrote: On Mon, Jan 05, 2009 at 08:56:28PM -0500, Denis wrote: Hello and Happy New Year! Happy new year to every members here. I was just updating from kernel linux-2.6.24-gentoo-r7 to linux-2.6.27-gentoo-r7 using the oldconfig method, and I cannot get the new kernel to load my network. The use of 'oldconfig' when upgrading from a previous .z kernel (as in 2.6.z) is a bad idea. There are too much changes between such upgrades. Please retry a compilation from scratch. I have Intel network hardware that runs on the E1000 driver, which I generally compile right into the kernel - never had any problem. For some reason, the linux-2.6.27-gentoo-r7 kernel leaves me netless. I try to start the net.eth0, and it says 'please verify your hardware driver' or something to that extent. Has anyone else encountered this problem? If compiled as a module, check if it is loaded. Then, check if the driver is working using the 'ifconfig -a' command (upgrade sys-apps/net-tools if avaible). If the module can't load or if it isn't working when loaded, post your 'dmesg' and 'emerge --info' outputs. I just compiled linux-2.6.25-gentoo-r9, and everything runs fine - no network problems at all! Ok. What about the 2.6.28 series ? -- Nicolas Sebrecht I always do a genkernel --menuconfig (or --xconfig) --splash --install all and then wander here and there in the menu tree. lspci -k and lsmod are good companions. Have an excellent new year! Francisco -- If you have an apple and I have an apple and we exchange apples then you and I will still each have one apple. But if you have an idea and I have one idea and we exchange these ideas, then each of us will have two ideas. - George Bernard Shaw
Re: [gentoo-user] init script freezes when xdm (kdm) starts
On Tue, Jan 6, 2009 at 12:55 AM, Nick Cunningham n...@monkeydust.netwrote: ... Ok, that net.* error may mean you have some config in the wrong place (or a really old config file). Network configs for all interfaces should go in /etc/conf.d/net and then to ensure they get started you create a symlink from /etc/init.d/net.lo to /etc/init.d/net.eth2 (in your case). Unless your creating init files for whatever reason, you should never need to edit anything in /etc/init.d/. Im interested to see what Setting up kdm ... is, do you use KDE or GNOME? If thats xdm then ive no idea why its starting so early, and if it is xdm then thats your problem im guessing. BTW, if your thinking of moving to openrc, make sure you read the migration guide and follow it to the letter otherwise you risk being left with an unbootable system: http://www.gentoo.org/doc/en/openrc-migration.xml - Nick Thanks a lot, Nick, I'll re-emerge xdm just to make sure. But I'm also having problems compiling kdebase, where kdm sits :-( The net.eth2 (don't remember why) was made an exact copy of net.lo, so a symlink just did the same job. Config files are ok (I guess) and the init scripts are untouched. Tomorrow I'm going to check the config files, though. Thanks again Francisco
Re: [gentoo-user] kernel linux-2.6.27-gentoo-r7 won't load network!
On Tue, Jan 6, 2009 at 1:44 AM, Nicolas Sebrecht nicolas.s-...@laposte.net wrote: On Tue, Jan 06, 2009 at 12:59:13AM -0200, Francisco Ares wrote: snip Avoid the HTML format in your mail, please. Also, learn to quote. sorry about that -- Nicolas Sebrecht Francisco
Re: [gentoo-user] Permissions of files in /sys/
? On Tue, Jan 13, 2009 at 4:19 AM, Andrea Momesso momesso.and...@gmail.com wrote: -BEGIN PGP MESSAGE- Version: GnuPG v2.0.9 (GNU/Linux) Comment: http://getfiregpg.org owFFU81r1EAUT1stGhFa8CQUHj34gWmy2a3IRim2guxWWynspSedJG83Y+cjZCYb c/MieFDwKD0oeLXgzaN4F09F8OpN8eR/4EtsLSQE5v3e74vJq/Nzzuzi9u+lcz++ f1ye+fIrdoaiO+O6DxSMSvRgkykIex50O50+MAthN7q+CutbHmwjF7ChbVbxZA+g KrTFyF0D2tzSyiNku9wuhv0o7EW9LlzrhJ2ORwCJxmhYV2mB7P+uu7YGAyml7/sw YFOuJqC0hQITPsUUmKrpNRUWBiSfZBYkkoLNyJeswZQmx8QaYAU2TEULYSolBBYI 3BAbVKwGqyEhXYs0hTLFKRSlQBjrouVJdI5+4+ZkZk4WUlBMEpg3p1xBQBgfRhnW UBpSUUQjmeVawbjQEgJTG6KKSwupVpctpeVE1HryXXeUkS968AlLrKihatIMQSGm FJmc7ildEa4tZ0hrXO3Rt+JCQMam2IbJmJo0lJoM5FhIbgzpU0tMlUwQK3HGmqq0 XGKbbFeXNK0hpkgxZaeikozj9LPf8JCfitsMGAzW70OuBU/qtgevzcFIUVcqSDKp UyJrWkCbBIlWYz8NhE6YaDJRQ4ZMGiNam1zmAiUq25S7i8Y7zjHRR5qspqTuygq4 xzfkykjnlGhw9eiuuJm1eRQEtj3O/Fjoicm19RMt3U0Wx1hE8G/4MGOFwPr24/bU 18XEHd7ZiaDbXQ1v9Hv9EEjr+d1TzuKsM396trn3jnt24fhneOE4by69vPXzwtvl D48Gh38u8tdf77lPbzr7c4cbBwfvtr7xMwvB/vtPO0vzz3p/AQ== =PgWp -END PGP MESSAGE-
[gentoo-user] portage package urgently needed
Hi Something weird happened here, and emerge doesn't work anymore. Could someone send me a portage quickpkg ? I suppose that I can just untar the quickpkg generated file. I just hope my data is all right ;-) francisco -- +-+--+ | .^. | Francisco J. A. Ares | | /V\ | e-mail: [EMAIL PROTECTED] | | /(.)\ | Linux Registered: User #174415 Machine #166861 | | ^-^ | Powered by Gentoo-Linux kernel 2.6.10-gentoo-r6 | +-+--+ -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] 100% disk full again
I use a shared NFS /usr/portage/ among 4 computers (a server, 2 desktops and a test machine) and it works fine, just the server needs to sync in the middle of the night, and as I have mostly Pentium3 (server + 2 workstations), the server and my own workstation are setup to build binary packages - the server builds first, but as it doesn't use X, there are some packages that my ws builds (after merging the already built packages) and then the second and slower ws merges only binary packages. All of them, including the test machine, uses distcc, so everything is faster. I guess that sharing /var/cache/edb is not a good idea, as far as I know portage. I am thinking on sharing /var/portage thow And that's a good point: /var/portage gets pretty full of hundreds of megs once in a while, and so does /usr/portage/distfiles and (in my case) /usr/portage/packages - so how could portage clean up by default the binary packages and the source code tarballs (and also any eventual mess left in /var/portage)? Some more command line options? Some more environment varialbles? Some more words in $FEATURES (I like this one)? -- Francisco Eric S. Johansson wrote: this is all portage's fault.. ;-) my 300+ package upgrade is almost done. but OO died because of no disk space on the laptop (yes, I will go with a binary for this one after I clean up the mess) what is the best way to keep the portage files down to a reasonable set? I clean but that never seems to remove anything from the portage env. This seems like a common problem (esp for laptops) so what is a good solution? single dsktops; laptops o per machine portage cleaner small (3-4) networks o http-replicator cache o rsync cache o per machine portage cleaner larger networks o http-replicator cache o rsync cache o shared /usr/portage;/var/cache/edb/??? o cach machine portage cleaner right? wrong? what does a portage cleaner look like? --- eric -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] setserial : needed or not ?
Philip Webb wrote: There have been some changes to what's included in 'system' recently. After checking /usr/portage/profiles/base/packages various 'virtuals' it seemed that pkg 'setserial' had been dropped from 'system', so after trying 'qpkg -I -q setserial' without anything listed, I unmerged it (after having a quick look at its man file); I also deleted 'serial' from /etc/init.d , which seemed unnecessary now. The system rebooted, but there was a series of warning messages, which disappeared after I remerged 'setserial' rebooted again. What is 'setserial' needed for ? If its omission causes warnings, why has it been dropped from 'system' ? Anyone have useful info ? As far as I can remember, setserial is used for some internal modems (real modems, not win-modems), because the system didn't find its virtual (as you cannot attach any other device to it) serial communication port, that would be normally ttyS2 or ttyS3, if you don't disable your embedded physical serial ports in the BIOS. If you use dial-out ppp or any other communication with a modem, you will probably need setserial. Francisco -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] X11, always have to press space-bar when want some special chars (' ...)
Mitko Moshev wrote: Christian Parpart wrote: Hi all, I recently had to fully recreate my /home dir that I lost, though, I experienced, that after having get an initial working X11 (/KDE) session, I had to prace the space-bar each time I press some special buttons to get the ' displayed e.g. (or the ). Why is this? I remember, I once that this *problem* but I can't remember how I got rid of it, tho, how do I get the usual behavior back? Thanks in advance, Christian Parpart. Looks like you have selected some exotic keyboard layout. Try setting it to something else. Or an exotic language, that's the behavior for Latin languages when you set up any of them and a US keyboard layout. Francisco -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] [O.T] photomosaic
A friend of mine built this Python script, I'm sure he doesn't mind ;) #!/usr/bin/env python # by Andre Bocchini import sys import os import string import getopt import Image import ImageFilter import ImageStat def usage(): Displays information on how to use the program. print print Usage : mosaic.py [options] print Required: print -i input-img Source image for the mosaic print -s img-dir Directory where other images are located print -o output-img Final mosaic image print -b blocks Number of blocks per row in the mosaic print -w width Final mosaic width print -h height Final mosaic height print -t threshold Sensitivity of the image analyzer print Optional: print --help Displays this help information print def calculate_block_means(filename, blocks_in_row): Breaks an image into a matrix that has blocks_in_row x blocks_in_row number of blocks, takes a mean of the RGB values of each block, and stores this mean into a list that is returned to the caller. block_mean_list = [] image = Image.open(filename) size = image.size block_width = size[0] / blocks_in_row block_height = size[1] / blocks_in_row curr_block = 0 slice = Image.new(RGB, (block_width, block_height)) for i in range(0, blocks_in_row): for j in range(0, blocks_in_row): for y_offset in range(0, block_height): for x_offset in range(0, block_width): startx = j * block_width starty = i * block_height slice.putpixel((x_offset, y_offset),\ image.getpixel((startx + x_offset, starty + y_offset))) slice_stat = ImageStat.Stat(slice) slice_mean = slice_stat.mean slice_r_mean = slice_mean[0] slice_g_mean = slice_mean[1] slice_b_mean = slice_mean[2] final_slice_mean = (slice_r_mean + slice_g_mean + slice_b_mean) / 3 block_mean_list.append(final_slice_mean) curr_block = curr_block + 1 #print Block mean for block %d: %d % (i+j, final_slice_mean) return block_mean_list def build_mean_list(image_directory): Scans a directory for image files, takes the mean of the RGB values in each image file, and stores these mean values into a list. Each element in this list contains a pair of image file name and mean RGB value. The list is returned to the caller. image_mean_list = [] # In order to avoid some repetition in the images used for flat dark areas, # we keep a least recently used flag for every image. lru_list = [] images = os.listdir(image_directory) for filename in images: try: # This is the next image in the list image = Image.open(image_directory + / + filename) # Getting mean values for the current image img_stat = ImageStat.Stat(image) img_mean = img_stat.mean img_r_mean = img_mean[0] img_g_mean = img_mean[1] img_b_mean = img_mean[2] final_img_mean = (img_r_mean + img_g_mean + img_b_mean) / 3 image_mean_list.append((image_directory + / + filename,\ final_img_mean)) lru_list.append(0) except IOError: pass except: print +++ Unknown error encountered while building mean list return image_mean_list, lru_list if __name__ == __main__: # Parse command line try: opts, args = getopt.getopt(sys.argv[1:], i:s:o:b:w:t:h:, [help]) except getopt.GetoptError: usage() sys.exit(-1) in_image_name = None src_image_dir = None out_image_name = None out_image_width = -1 out_image_height = -1 blocks_in_row = -1 threshold = 10 for option, value in opts: if option == --help: usage() sys.exit(0) if option == -i: in_image_name = value if option == -o: out_image_name = value if option == -s: src_image_dir = value if option == -t: threshold = string.atoi(value) if option == -w: out_image_width = string.atoi(value) if option == -h: out_image_height = string.atoi(value) if option == -b: blocks_in_row = string.atoi(value) # Checking for invalid input error = False if in_image_name == None: print You must specify an input image error = True if out_image_name == None: print You must specify an output image error = True if src_image_dir == None: print You must specify an image src directory error = True if blocks_in_row 0: print You must specify a valid number of blocks in a row error = True if error == True: usage() sys.exit(-1) # Display useful information print
[gentoo-user] getting several couldn't find directory entry in `../../../..' with matching i-node errors
Hi, All I'm building a chroot environment where I'm installing a brand new copy of my gentoo system, using gcc 4.1, modular X and all those new good things. I've installed a stage3 and now I'm rebuilding everything with emerge -e system emerge -e world But there are several ebuilds that complain about not finding an inode: couldn't find directory entry in `../../../..' with matching i-node For now, these are: sys-fs/udev-087-r1 app-admin/eselect-1.0.2 sys-libs/glibc-2.4-r3 sys-libs/pam-0.78-r3 dev-lang/perl-5.8.8-r2 dev-perl/Locale-gettext-1.05 Anyone have some idea on what I may be missing? Thanks Francisco -- If you have an apple and I have an apple and we exchange apples then you and I will still each have one apple. But if you have an idea and I have one idea and we exchange these ideas, then each of us will have two ideas. - George Bernard Shaw -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] kde 3.5 packages blocking each other
I've found out that there are some packages out of kde-basse that are pulling 3.5.10 packages while they're still masked ~x86 One is Amarok. Another, probably, is Ktorrent. Anyone has seen it or am I the only one not using KDE 4 ;-) ? Best regards to all Francisco On Sat, Jun 13, 2009 at 5:58 AM, Alan McKinnon alan.mckin...@gmail.comwrote: On Saturday 13 June 2009 01:54:45 Francisco Ares wrote: Thanks a lot! It's not completely obvious from Dirk's post (what he said is completely accurate though), but kde-3.5.10 will not receive monolithic ebuilds (dev decision). If you want kde-3.5.10, there is only one way to do it - Unmerge your existing kde monolithic packages Rememerge the new kde split packages There's a good migration guide at gentoo.org, called Migrating to KDE split ebuilds or some such. A quick search will find it for you. Francisco On Fri, Jun 12, 2009 at 5:58 PM, Dirk Heinrichs dirk.heinri...@online.dewrote: Am Freitag 12 Juni 2009 22:45:49 schrieb Francisco Ares: And how do I tell if an ebuild is monolithic or not? The monolithic ones install larger parts of KDE, and usually have the same names as the original source packages offered at KDE.org. The split ebuilds, well, split those packages into their individual applications, so you have ebuilds for konqueror (which is also part of kdenetwork) or kmail (kdepim). In addition, there are the -meta ebuilds, which have the same name as the monolitic ones, but with -meta appended (kdepim-meta). Those usually install the same applications than monolithic ebuilds, but as split ebuilds. So, when you install kde, you get a complete KDE from monolithic ebuilds and when you install kde-meta, you get a complete KDE from split ebuilds. That's also the reason why they block each other. When you have kdepim installed, you already got kmail, so you shouldn't install kmail from the split ebuild again. HTH... Dirk -- alan dot mckinnon at gmail dot com -- If you have an apple and I have an apple and we exchange apples then you and I will still each have one apple. But if you have an idea and I have one idea and we exchange these ideas, then each of us will have two ideas. - George Bernard Shaw
Re: [gentoo-user] kde 3.5 packages blocking each other
Thanks again - going into kde-meta, it seems that everything will be ok Francisco On Mon, Jun 15, 2009 at 3:57 AM, Alan McKinnonalan.mckin...@gmail.com wrote: On Monday 15 June 2009 03:32:57 Francisco Ares wrote: I've found out that there are some packages out of kde-basse that are pulling 3.5.10 packages while they're still masked ~x86 One is Amarok. Another, probably, is Ktorrent. Amarok-1.4 will pull in kdelibs-3.5.10 Amarok-2.1 will pull in kdelibe-4 ktorrent also has a 3.5 and a 4 port. k3b is still kde-3 only -- alan dot mckinnon at gmail dot com -- If you have an apple and I have an apple and we exchange apples then you and I will still each have one apple. But if you have an idea and I have one idea and we exchange these ideas, then each of us will have two ideas. - George Bernard Shaw
[gentoo-user] udev problem during boot
Hi After a lot of updates without rebooting (I`ve been keeping my computer on during several weeks), now it can`t boot anymore. Thanks to the LiveDVD I`m able to try somethings, including a emerge --sync and a emerge -vuDN world, followed up by a etc-update and a revdep-rebuild - nothing strange and no results. The error message is like this (I had to copy it by hand, sorry for any typo): *Press I to enter interactive mod * Mounting proc at /proc ... [ok] *** Skipping mount of /sys as /sys/kernel exists ** *** Mounting /dev ... [ok] ** * Starting udevd ... [ok] ** ** * Populating /dev with existing devices through uevents ... [ok] ** ** * Assuming udev failed somewhere, as /dev/zero does not exist ** ** * Mounting devpts at /dev/pts ...[ok] ** ** * Caching service dependencies ... ** [ok]** Can't open /dev/fb0 or /dev/fb/0 failed to configure resolution and icon positioning Failed to load theme 'livecd-2007.0' ** * Checking root filesystem ... Failed to open the device '/dev/sda9': No such file or directory ** * Filesystem couldn't be fixed :( Give root password for maintenance (or type Control-D to continue): ** ** ** *Giving root password and listing the contents of the '/dev' directory, there are very few entries, none for my disk partitions, for example. I`ve already re-emerged udev, baselayout, and even built a new kernel - currently using 2.6.27-r7 and tried 2.6.30-r8 (I guess there`s nothing to do with the kernel, but I've built it just in case) Most probably I missed some messages during the ebuilds of the updates I've been applying. Any ideas on where to look for? Thanks a lot! Francisco -- If you have an apple and I have an apple and we exchange apples then you and I will still each have one apple. But if you have an idea and I have one idea and we exchange these ideas, then each of us will have two ideas. - George Bernard Shaw
Re: [gentoo-user] udev problem during boot SOLVED
Thanks a lot, that was it. There's an issue with genkernel too, as it didn't disabled CONFIG_SYSFS_DEPRECATED as stated during an still failing boot. Compiled again with that key disabled, and now I'm on my favorite environment without rescue CDs. Have some polishing to do, though ;-) Thanks again Francisco On Fri, Nov 13, 2009 at 8:28 PM, Daniel Pielmeier bil...@gentoo.org wrote: Francisco Ares schrieb am 13.11.2009 23:19: Hi After a lot of updates without rebooting (I`ve been keeping my computer on during several weeks), now it can`t boot anymore. Thanks to the LiveDVD I`m able to try somethings, including a emerge --sync and a emerge -vuDN world, followed up by a etc-update and a revdep-rebuild - nothing strange and no results. The error message is like this (I had to copy it by hand, sorry for any typo): *Press I to enter interactive mod * Mounting proc at /proc ... [ok] *** Skipping mount of /sys as /sys/kernel exists ** *** Mounting /dev ... [ok] ** * Starting udevd ... [ok] ** ** * Populating /dev with existing devices through uevents ... [ok] ** ** * Assuming udev failed somewhere, as /dev/zero does not exist ** ** * Mounting devpts at /dev/pts ... [ok] ** ** * Caching service dependencies ... ** [ok]** Can't open /dev/fb0 or /dev/fb/0 failed to configure resolution and icon positioning Failed to load theme 'livecd-2007.0' ** * Checking root filesystem ... Failed to open the device '/dev/sda9': No such file or directory ** * Filesystem couldn't be fixed :( Give root password for maintenance (or type Control-D to continue): ** ** ** *Giving root password and listing the contents of the '/dev' directory, there are very few entries, none for my disk partitions, for example. I`ve already re-emerged udev, baselayout, and even built a new kernel - currently using 2.6.27-r7 and tried 2.6.30-r8 (I guess there`s nothing to do with the kernel, but I've built it just in case) Most probably I missed some messages during the ebuilds of the updates I've been applying. Any ideas on where to look for? Thanks a lot! Francisco I guess this is baselayout-1. Please take a look at bug #291916 [1] [1] http://bugs.gentoo.org/291916 -- Daniel Pielmeier -- If you have an apple and I have an apple and we exchange apples then you and I will still each have one apple. But if you have an idea and I have one idea and we exchange these ideas, then each of us will have two ideas. - George Bernard Shaw
[gentoo-user] kdm or kde won't login specific user, but startx works
Hi, All After several upgrades, now kdm (apparently) doesn't login my wife's user - or perhaps kde doesn't keep an open session for her: a few seconds after password, the login windows reappears. But the strange thing is that logging in a text console and issuing that old and good startx command, the kde session starts as expected. Anyone have any idea where should I start checking? Thanks Francisco -- If you have an apple and I have an apple and we exchange apples then you and I will still each have one apple. But if you have an idea and I have one idea and we exchange these ideas, then each of us will have two ideas. - George Bernard Shaw
Re: [gentoo-user] kdm or kde won't login specific user, but startx works
On Wed, Nov 18, 2009 at 2:29 AM, Gmail hungp...@gmail.com wrote: Have you added consolekit to the boot level? If you did then please post your xdm and kdm log file. Hung Francisco Ares wrote: Hi, All After several upgrades, now kdm (apparently) doesn't login my wife's user - or perhaps kde doesn't keep an open session for her: a few seconds after password, the login windows reappears. But the strange thing is that logging in a text console and issuing that old and good startx command, the kde session starts as expected. Anyone have any idea where should I start checking? Thanks Francisco -- Hy, Hung, thanks for your answer. I don't have consolekit at boot runlevel. Don't even have it emerged yet. Didn't know I was supposed to. Doing so right now. Meanwhile, I have no xdm log, but in kdm.log there is a difference during my login and my wife's login, it is this only two entries in /var/log/kdm.log after my wife's user login: (EE) XKB: No components provided for device Virtual core keyboard (EE) XKB: No components provided for device Virtual core keyboard I've done a search for Virtual core and didn't find a thing up to now. Any hint? Thanks again Francisco -- If you have an apple and I have an apple and we exchange apples then you and I will still each have one apple. But if you have an idea and I have one idea and we exchange these ideas, then each of us will have two ideas. - George Bernard Shaw
Re: [gentoo-user] kdm or kde won't login specific user, but startx works
On Wed, Nov 18, 2009 at 3:11 AM, Francisco Ares fra...@gmail.com wrote: On Wed, Nov 18, 2009 at 2:29 AM, Gmail hungp...@gmail.com wrote: Have you added consolekit to the boot level? If you did then please post your xdm and kdm log file. Hung Francisco Ares wrote: Hi, All After several upgrades, now kdm (apparently) doesn't login my wife's user - or perhaps kde doesn't keep an open session for her: a few seconds after password, the login windows reappears. But the strange thing is that logging in a text console and issuing that old and good startx command, the kde session starts as expected. Anyone have any idea where should I start checking? Thanks Francisco -- Hy, Hung, thanks for your answer. I don't have consolekit at boot runlevel. Don't even have it emerged yet. Didn't know I was supposed to. Doing so right now. Meanwhile, I have no xdm log, but in kdm.log there is a difference during my login and my wife's login, it is this only two entries in /var/log/kdm.log after my wife's user login: (EE) XKB: No components provided for device Virtual core keyboard (EE) XKB: No components provided for device Virtual core keyboard I've done a search for Virtual core and didn't find a thing up to now. Any hint? Thanks again Francisco Well, I had consolekit up an running and didn't know that, sorry. There is no xdm log, and the only two entries already mentioned. I'll try to remove the user and add it again, perhaps a permissions issue. Thanks again Francisco -- If you have an apple and I have an apple and we exchange apples then you and I will still each have one apple. But if you have an idea and I have one idea and we exchange these ideas, then each of us will have two ideas. - George Bernard Shaw
Re: [gentoo-user] kdm or kde won't login specific user, but startx works
Thanks a lot, guys. I don't like it, but I have removed and created again the user, and now everything works as expected. I said I don't like it because we didn't exactly know where the problem was. I've checked permissions and groups before that, and had the home directory backed up before removing the user and completely restored after the user creation, so all files and directories kept the same permissions and mode bits and the user has the same uid and belongs to the same groups as before. I'm surely capable to live without that knowledge, but I can't help thinking I would live better if knowing ;-) Thanks again Francisco On Thu, Nov 19, 2009 at 5:22 PM, James Ausmus james.aus...@gmail.comwrote: On Wed, Nov 18, 2009 at 5:44 PM, Francisco Ares fra...@gmail.com wrote: On Wed, Nov 18, 2009 at 3:11 AM, Francisco Ares fra...@gmail.com wrote: On Wed, Nov 18, 2009 at 2:29 AM, Gmail hungp...@gmail.com wrote: Have you added consolekit to the boot level? If you did then please post your xdm and kdm log file. Hung Francisco Ares wrote: Hi, All After several upgrades, now kdm (apparently) doesn't login my wife's user - or perhaps kde doesn't keep an open session for her: a few seconds after password, the login windows reappears. But the strange thing is that logging in a text console and issuing that old and good startx command, the kde session starts as expected. Anyone have any idea where should I start checking? Thanks Francisco -- Hy, Hung, thanks for your answer. I don't have consolekit at boot runlevel. Don't even have it emerged yet. Didn't know I was supposed to. Doing so right now. Meanwhile, I have no xdm log, but in kdm.log there is a difference during my login and my wife's login, it is this only two entries in /var/log/kdm.log after my wife's user login: (EE) XKB: No components provided for device Virtual core keyboard (EE) XKB: No components provided for device Virtual core keyboard I've done a search for Virtual core and didn't find a thing up to now. Any hint? Thanks again Francisco Well, I had consolekit up an running and didn't know that, sorry. There is no xdm log, and the only two entries already mentioned. I'll try to remove the user and add it again, perhaps a permissions issue. Have you checked to see what ~/.xsession-errors contains? It might give you some hints as to what is happening. Also, does top show anything consuming a lot of CPU or a lot of memory? (M to sort by memory usage, P to sort by CPU usage) -James -- If you have an apple and I have an apple and we exchange apples then you and I will still each have one apple. But if you have an idea and I have one idea and we exchange these ideas, then each of us will have two ideas. - George Bernard Shaw
Re: [gentoo-user] Moving root filesystem to a new partition
On Mon, Nov 23, 2009 at 8:51 PM, Dale rdalek1...@gmail.com wrote: Alan E. Davis wrote: Can someone tell me what steps are necessary to move the / filesystem to a new partition? I recall someone helping me with this before, but cannot find the email. The oldest of three drives on my system had my / partition, /dev/sdc1. One day recently, that partition became inaccessable. After quickly installing Ubuntu on a different drive, that root partition eventually showed up again. So I've been able to boot Gentoo again off the separate /boot partition on /dev/sda1. I need to move that / partition. I have several other partitions mounted off this one, mainly as /usr and maybe /usr/local/, and some storage partitions mounted to my home directory. I copied the root (/) partition with the new partition at /dev/sdb5 mounted as /newroot, using # cp -ax / /newroot I checked that /proc, /dev, and /sys are there, and empty. I recall there are some other steps necessary. I changed /etc/fstab, and the grub2 grub.cfg from ubuntu, the entry for this kernel. The boot stalls at a certain point. May I ask what steps are necessary to do this? Thank you, Alan Davis I have done this in the past. I usually boot the CD, make mount points for old and new, then mount the old and new that I want to copy. Then I do a cp -av /path/to/old /path/to/new/ and let it copy. This can take quite a bit of time tho. It seems those little bitty files take the longest. Maybe omitting the -v option would help on that? Once you get it copied over, edit your fstab file as needed on the new side and install the bootloader as well. After that, it usually just works. Dale :-) :-) P. S. Sorry for not including some fancy tarball stuff. ;-) Well, as far as I know one would like to edit the bootloader configuration as well, so as to reflect the new root directory. Or has anyone written this before and I didn't notice? ;-) Francisco -- If you have an apple and I have an apple and we exchange apples then you and I will still each have one apple. But if you have an idea and I have one idea and we exchange these ideas, then each of us will have two ideas. - George Bernard Shaw
Re: [gentoo-user] [OT] Need advice from people who use non-ascii all day long
On Thu, Dec 3, 2009 at 6:29 PM, Renat Golubchyk ragerm...@gmx.net wrote: On Thu, 3 Dec 2009 12:07:26 -0800 fe...@crowfix.com wrote: So do people type in Busingen different ways depending on how they feel, do some people always leave off the umlaut, do some always use it? If you want to leave of the umlaut you have to be absolutely sure that there exists no other place with the spelling without umlaut. Otherwise you may have collisions sometimes. What about a set of dictionaries? And also a library for mistyped word search? Francisco
Re: [gentoo-user] Writing a bash script or thinking about it anyway.
I probably didn't get the point, but what about a simple tar? #! /bin/bash tar -cjvpf /tmp/home.tbz /home mv /tmp/home.tbz /some/where/else unless you're thinking on incremental back up, and more sophisticated things. Francisco On Tue, Dec 22, 2009 at 1:22 AM, Dale rdalek1...@gmail.com wrote: Hi folks, Me again. I'm thinking about writing a bash script that backs up my /home directory. I found a guide but before I read all that stuff and muddy up the waters, is this thing current and will it work fine with the bash Gentoo uses? Links to a even better guide would be good too. The guide I found is here: http://tldp.org/LDP/abs/html/ I'm going to try to do this myself but as most of you know, it takes me a bit to grasp things. I may be back for advice on this as well. Who knows, maybe one day I can be a dev. LOL Well, most likely not really but anyway. Thanks. Dale :-) :-) -- If you have an apple and I have an apple and we exchange apples then you and I will still each have one apple. But if you have an idea and I have one idea and we exchange these ideas, then each of us will have two ideas. - George Bernard Shaw
Re: [gentoo-user] Writing a bash script or thinking about it anyway.
On Tue, Dec 22, 2009 at 2:16 AM, Dale rdalek1...@gmail.com wrote: Francisco Ares wrote: I probably didn't get the point, but what about a simple tar? #! /bin/bash tar -cjvpf /tmp/home.tbz /home mv /tmp/home.tbz /some/where/else unless you're thinking on incremental back up, and more sophisticated things. Francisco Well, I want to start off making a small script. Maybe get a little more complicated later on. I do want to do incremental backups, at least at first. I may later on use tar and something to keep say two copies and then delete the older ones. Just trying to get my feet wet here. Trying to be simple at first and go from there. If I try to cram to much in my head at one time, I get brain lock. Thanks. Dale :-) :-) Well, there are a couple of tools to make your script quite simple: http://www.linuxhowtos.org/Tips%20and%20Tricks/unison.htm http://www.linuxjournal.com/article/7712 http://www.novell.com/coolsolutions/trench/16061.html http://webtools.live2support.com/linux/rsync.php http://www.linuxquestions.org/questions/linux-general-1/sync-a-usb-flash-drive-with-hd-folders-possible-522875/ http://www.linux.com/news/enterprise/storage/8200-back-up-like-an-expert-with-rsync http://www.unixtutorial.org/2008/09/how-to-synchronize-directories-with-rsync/ Hope this helps Francisco -- If you have an apple and I have an apple and we exchange apples then you and I will still each have one apple. But if you have an idea and I have one idea and we exchange these ideas, then each of us will have two ideas. - George Bernard Shaw
Re: [gentoo-user] Writing a bash script or thinking about it anyway.
On Tue, Dec 22, 2009 at 3:09 AM, Dale rdalek1...@gmail.com wrote: Neil Walker wrote: Dale wrote: Me again. I'm thinking about writing a bash script that backs up my /home directory. I use a simple rsync cron job to backup entire servers every hour. Does the job for me. ;) Be lucky, Neil http://www.the-workathome.com But I wouldn't learn how to write a script that way. I got to start somewhere. This is a good place. Dale :-) :-) Now I got your point. I would think on something like this (untested): The command line would be BackupScriptName FromDirectory ToDirectory #! /bin/bash FROM=$1 TO=$2 cd $FROM for i in * .??* do if [[ -d $i ]] # is it a directory? then # yes, it is a directory if [[ -e $TO/$i ]] [[ -d $TO/$i ]] then # on the TO side, the name exists # and it is a directory cd $i # just to show something pwd # calls recursively this same script $0 $FROM/$i $TO/$i cd .. else # didn't existed yet on the TO side, # so copy everything cp -a $FROM/$i $TO/$i fi else # it is a file, not a directory if [[ -e $TO/$i ]] then # the file already exists # do something to compare the files, like: # gets size from ls result SIZE1=`ls -l $i | cut -d -f5` SIZE2=`ls -l TO/$i | cut -d -f5 if (( $SIZE1!=$SIZE2 )) then # size is different, so copy the file cp -a $FROM/$i $TO/$i else # more tests for differences other # than size, like date/time # or even MD5SUM fi else # file doesn't exist at the TO side cp -a $FROM/$i $TO/$i fi fi done Hope this helps Francisco -- If you have an apple and I have an apple and we exchange apples then you and I will still each have one apple. But if you have an idea and I have one idea and we exchange these ideas, then each of us will have two ideas. - George Bernard Shaw
Re: [gentoo-user] Install Gentoo 64bit from 32bit running enviroment
On Fri, Dec 25, 2009 at 8:41 AM, Alan McKinnon alan.mckin...@gmail.comwrote: On Thursday 24 December 2009 16:33:26 Carlos Moyano Cubillos wrote: Dear friends, I have a gentoo system running 32bit .. and I have a 30GB partition available on which I would like to install a 64bit Gentoo to test for 64bit extensions processor supports . someone could help me and tell me how to proceed with this installation from my running system without having to reboot with a livecd. You have to reboot with a LiveCD. Your running 32 bit kernel does not support 64 bit instructions and there is no magic voodoo to make it possible. The CPU might understand 64 bit instructions but the running kernel that drives it definitely does not. -- alan dot mckinnon at gmail dot com I don't know for sure, but I would guess that if you don't try to use any file from the new 64 bit partition, that would be fine. AFAIK you can install a 64 bit system using the 32 bit livecd. Just a guess, though Francisco -- If you have an apple and I have an apple and we exchange apples then you and I will still each have one apple. But if you have an idea and I have one idea and we exchange these ideas, then each of us will have two ideas. - George Bernard Shaw
Re: [gentoo-user] Mail from rkhunter
On Fri, Dec 25, 2009 at 9:07 AM, Florian Philipp li...@f_philipp.fastmail.net wrote: Mark Knecht schrieb: Hi, What's the minimum configuration required on a remote system to get rkhunter to email my GMail account if the rkhunter cron job finds something suspicious? Do I have to emerge and configure an email server of some type or can rkhunter just send email on its own? Thanks, Mark ssmtp or any other sendmail replacement will be sufficient. Just look at their respective config files for filling in your account data. http://www.yak.net/fqa/84.html hope this helps Francisco
[gentoo-user] no mouse nor keyboard on X
Hi, guys, After quite a long update list of packages (100+) and a reboot, I could not work in any window or desktop manager I have installed. I rebooted (the ACPI power switch worked fine) and managed to get interactive action during the init scripts and did not allowed xdm to start. Then I was able to use normaly the keyboard and mouse (gpm). Forced reinstall of xorg-server, xorg-drivers, xorg-cf-files, xdm, kdm (also, in my case, nvidia-drivers) and tryed to use Window Maker - no mouse movements, although the pointer was there, and no visible keyboard effect. Any hints on how to get things back? Thanks Francisco -- If you have an apple and I have an apple and we exchange apples then you and I will still each have one apple. But if you have an idea and I have one idea and we exchange these ideas, then each of us will have two ideas. - George Bernard Shaw
Re: [gentoo-user] no mouse nor keyboard on X
On 5/8/10, Alan McKinnon alan.mckin...@gmail.com wrote: On Saturday 08 May 2010 14:48:13 Francisco Ares wrote: Hi, guys, After quite a long update list of packages (100+) and a reboot, I could not work in any window or desktop manager I have installed. I rebooted (the ACPI power switch worked fine) and managed to get interactive action during the init scripts and did not allowed xdm to start. Then I was able to use normaly the keyboard and mouse (gpm). Forced reinstall of xorg-server, xorg-drivers, xorg-cf-files, xdm, kdm (also, in my case, nvidia-drivers) and tryed to use Window Maker - no mouse movements, although the pointer was there, and no visible keyboard effect. Any hints on how to get things back? What version of xorg-server? It gives an elog, did you read it? What input driver? If you upgraded to xorg-server-1.8, did you disable hal and enable udev? Are you using the evdev driver? -- alan dot mckinnon at gmail dot com Yep, using evdev, and that seems to be the issue: there are log file lines complaining about different versions: (II) Module evdev: vendor=X.Org Foundation compiled for 1.6.5, module version = 2.3.2 Module class: X.Org XInput Driver ABI class: X.Org XInput driver, version 4.0 (EE) module ABI major version (4) doesn't match server's version (7) installed: - xorg-drivers-1.7 - xorg-server-1.7.6 - xorg-x11-7.4-r1 - xorg-cf-files-1.0.3 I have just re-emerged them all, with no results. Thanks -- If you have an apple and I have an apple and we exchange apples then you and I will still each have one apple. But if you have an idea and I have one idea and we exchange these ideas, then each of us will have two ideas. - George Bernard Shaw
Re: [gentoo-user] no mouse nor keyboard on X
On Sat, May 8, 2010 at 10:51 AM, Dale rdalek1...@gmail.com wrote: Francisco Ares wrote: Hi, guys, After quite a long update list of packages (100+) and a reboot, I could not work in any window or desktop manager I have installed. I rebooted (the ACPI power switch worked fine) and managed to get interactive action during the init scripts and did not allowed xdm to start. Then I was able to use normaly the keyboard and mouse (gpm). Forced reinstall of xorg-server, xorg-drivers, xorg-cf-files, xdm, kdm (also, in my case, nvidia-drivers) and tryed to use Window Maker - no mouse movements, although the pointer was there, and no visible keyboard effect. Any hints on how to get things back? Thanks Francisco -- If you have an apple and I have an apple and we exchange apples then you and I will still each have one apple. But if you have an idea and I have one idea and we exchange these ideas, then each of us will have two ideas. - George Bernard Shaw I just went through the same thing. I don't think xorg got updated but my X wouldn't start at all. This may help you as it did me: emerge -1a $(qlist -I -C x11-drivers/) Hope this helps. Dale :-) :-) Thanks, Alan and Dale, now I am writing this in Firefox using a webmail account. That's why I love Linux: great tools and lots of helpful people around. Thanks again Francisco -- If you have an apple and I have an apple and we exchange apples then you and I will still each have one apple. But if you have an idea and I have one idea and we exchange these ideas, then each of us will have two ideas. - George Bernard Shaw
[gentoo-user] init scripts failing after server update
Hi Around 8 to 10 months I've left a server without updates, and now, after also building a new kernel, emerging new gcc, glibc, re-emerging baselayout, sysvinit and all packages that contains something in /etc/init.d/ , the boot process hangs after a few of the scripts (normally at keymaps or consolefont) returns their ok message. If I use the option to key in an i for interactive boot and skip all remaining services, I get a login prompt on TTY1 through TTY6 as expected, and if I issue every script on the boot and default rc-levels, everything works fine (well, one or two of them complain about something specific, but the important thing is that it doesn't hang at all). Any ideas? The server is up and running (apache, ssh, samba, svn, mysql, ftp, nfs, distcc, etc.) so I'm not in a hurry. I'm thinking on unmerging sysvinit and baselayout just to make sure there is no garbage left, then re-emerging them. Thanks Francisco -- If you have an apple and I have an apple and we exchange apples then you and I will still each have one apple. But if you have an idea and I have one idea and we exchange these ideas, then each of us will have two ideas. - George Bernard Shaw
[gentoo-user] MP3 device not automatically detected by KDE
Hi This device is a 2GB USB MP3 player, and is detected by the kernel as having no partition; it is VFAT formated, it is not automatically detected by KDE, but mounting it (in root account) is straightforward; I've copied a bunch of mp3 files to it and the device plays them normally. Where would it be problem? KDE detects all other devices, with or without partitioning, in different file formats (VFAT, NTFS, EXT3, ...). Another MP3 player, for example, but it is only 1GByte. Could the capacity of the device be the key? Thanks Francisco If you have an apple and I have an apple and we exchange apples then you and I will still each have one apple. But if you have an idea and I have one idea and we exchange these ideas, then each of us will have two ideas. - George Bernard Shaw
[gentoo-user] smplayer and kmplayer only works (almost) OK as root
Hi, All, I am trying to use smplayer or kmplayer as a regular user. They both don't work: kmplayer keeps saying that it is waiting mplayer buffering and smplayer reports Mplayer has finished unexpectedly. Exit code:1. Running both as root from a terminal, the following message appeared: KGlobal::locale::Warning your global KLocale is being recreated with a valid main component instead of a fake component, this usually means you tried to call i18n related functions before your main component was created. You should not do that since it most likely will not work kmplayer(8687): Session bus not found To circumvent this problem try the following command (with Linux and bash) export $(dbus-launch) I did that export while still as root, and then both started to work, so there is no problem with them, but some setting is missing. Additionally, even that export did not work for smplayer/kmplayer as regular user. What should I do next? Where to look at? Thanks a lot Francisco If you have an apple and I have an apple and we exchange apples then you and I will still each have one apple. But if you have an idea and I have one idea and we exchange these ideas, then each of us will have two ideas. - George Bernard Shaw
Re: [gentoo-user] smplayer and kmplayer only works (almost) OK as root
On Sun, Jul 3, 2011 at 5:27 AM, Mick michaelkintz...@gmail.com wrote: On Sunday 03 Jul 2011 03:24:27 Francisco Ares wrote: Hi, All, I am trying to use smplayer or kmplayer as a regular user. They both don't work: kmplayer keeps saying that it is waiting mplayer buffering and smplayer reports Mplayer has finished unexpectedly. Exit code:1. Running both as root from a terminal, the following message appeared: KGlobal::locale::Warning your global KLocale is being recreated with a valid main component instead of a fake component, this usually means you tried to call i18n related functions before your main component was created. You should not do that since it most likely will not work kmplayer(8687): Session bus not found To circumvent this problem try the following command (with Linux and bash) export $(dbus-launch) I did that export while still as root, and then both started to work, so there is no problem with them, but some setting is missing. Additionally, even that export did not work for smplayer/kmplayer as regular user. What should I do next? Where to look at? Thanks a lot Francisco If you have an apple and I have an apple and we exchange apples then you and I will still each have one apple. But if you have an idea and I have one idea and we exchange these ideas, then each of us will have two ideas. - George Bernard Shaw Is dbus running? What do you get from: # /etc/init.d/dbus status and $ echo $(dbus-launch) Finally, launch mplayer -msglevel all=6 some_video_file to see what you get on the command line. You can increase -msglevel 6 up to 9 to get more verbose debugging output. Press q to stop the debugging session - you only need the first couple of screenfulls, until it starts the PARSE messages. -- Regards, Mick Thanks for your reply, Mick I think I forgot to say: mplayer always works, kmplayer and smplayer don't. Following your steps (a few words are in my current locale): # /etc/init.d/dbus status * status: started # echo $(dbus-launch) DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-mU2yodqLmm,guid=cf51aed93a7b9b4a16af650c0198 DBUS_SESSION_BUS_PID=17859 # mplayer -msglevel all=6 video.avi MPlayer SVN-r32624-4.5.2 (C) 2000-2010 MPlayer Team CPU vendor name: GenuineIntel max cpuid level: 10 CPU: Intel(R) Core(TM)2 Quad CPU Q9300 @ 2.50GHz (Family: 6, Model: 23, Stepping: 7) extended cpuid-level: 8 extended cache-info: 201351232 Detected cache-line size is 64 bytes Testing OS support for SSE... yes. Tests of OS support for SSE passed. CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNowExt: 0 SSE: 1 SSE2: 1 SSSE3: 1 Compilado para CPU x86 com extenções: MMX MMX2 SSE SSE2 SSSE3 CMOV get_path('codecs.conf') - '/home/user/.mplayer/codecs.conf' Reading /home/user/.mplayer/codecs.conf: Can't open '/home/user/.mplayer/codecs.conf': No such file or directory Reading /etc/mplayer/codecs.conf: Can't open '/etc/mplayer/codecs.conf': No such file or directory Usando codecs.conf interno padrão init_freetype Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay get_path('fonts') - '/home/user/.mplayer/fonts' Configuration: --cc=i686-pc-linux-gnu-gcc --host-cc=i686-pc-linux-gnu-gcc --prefix=/usr --confdir=/etc/mplayer --datadir=/usr/share/mplayer --libdir=/usr/lib --disable-svga --disable-svgalib_helper --disable-ass-internal --disable-arts --disable-kai --enable-networking --enable-joystick --disable-nemesi --disable-bl --disable-bluray --disable-ftp --disable-fribidi --disable-libnut --disable-smb --disable-lirc --disable-lircc --disable-apple-ir --disable-cdparanoia --disable-dvdread-internal --disable-libdvdcss-internal --charset=UTF-8 --disable-tv-bsdbt848 --disable-ivtv --disable-pvr --disable-tv-v4l1 --disable-tv-v4l2 --disable-radio-v4l2 --disable-radio-bsdbt848 --disable-musepack --disable-faad-internal --disable-libmpeg2-internal --disable-libbs2b --disable-libgsm --disable-liblzo --disable-librtmp --disable-libopencore_amrnb --disable-libopencore_amrwb --disable-libmpeg2 --disable-mpg123 --disable-pnm --disable-xanim --disable-libvpx-lavc --codecsdir=/opt/RealPlayer/codecs --disable-md5sum --disable-aa --disable-fbdev --disable-zr --disable-mga --disable-xmga --disable-3dfx --disable-tdfxvid --disable-tdfxfb --disable-xvr100 --disable-ladspa --disable-nas --disable-openal --disable-ossaudio --disable-gui --disable-dxr3 --disable-ggi --disable-dga1 --disable-dga2 --enable-menu --disable-vdpau --disable-vidix --disable-vidix-pcidb --enable-xvmc --with-xvmclib=XvMCW CommandLine: '-msglevel' 'all=6' 'video.avi' Using nanosleep() timing get_path('input.conf') - '/home/user/.mplayer/input.conf' Can't open input config file /home/user/.mplayer/input.conf: No such file or directory Parsing input config file /etc/mplayer/input.conf Input config file /etc/mplayer/input.conf parsed: 91 binds Opening joystick device /dev/input/js0 Can't open joystick device /dev/input/js0: No such file or directory Can't init input
Re: [gentoo-user] smplayer and kmplayer only works (almost) OK as root
On Sun, Jul 3, 2011 at 6:41 PM, Mick michaelkintz...@gmail.com wrote: On Sunday 03 Jul 2011 16:12:46 Francisco Ares wrote: I think I forgot to say: mplayer always works, kmplayer and smplayer don't. smplayer and kmplayer are front ends for mplayer. If they do not work there's probably something amiss with Qt4 and KDE. Following your steps (a few words are in my current locale): # /etc/init.d/dbus status * status: started OK this is good. # echo $(dbus-launch) DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-mU2yodqLmm,guid=cf51aed93a 7b9b4a16af650c0198 DBUS_SESSION_BUS_PID=17859 I've asked for this: $ echo $(dbus-launch) ^ as a plain user. Yes, it is from a plain user login # mplayer -msglevel all=6 video.avi MPlayer SVN-r32624-4.5.2 (C) 2000-2010 MPlayer Team CPU vendor name: GenuineIntel max cpuid level: 10 CPU: Intel(R) Core(TM)2 Quad CPU Q9300 @ 2.50GHz (Family: 6, [snip ...] This looks OK, but can you please run it as a plain user? That was from a plain user... I think. Just in case, there goes another one: # mplayer -msglevel all=6 sleeping\ suricates.wmv MPlayer SVN-r32624-4.5.2 (C) 2000-2010 MPlayer Team CPU vendor name: GenuineIntel max cpuid level: 10 CPU: Intel(R) Core(TM)2 Quad CPU Q9300 @ 2.50GHz (Family: 6, Model: 23, Stepping: 7) extended cpuid-level: 8 extended cache-info: 201351232 Detected cache-line size is 64 bytes Testing OS support for SSE... yes. Tests of OS support for SSE passed. CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNowExt: 0 SSE: 1 SSE2: 1 SSSE3: 1 Compilado para CPU x86 com extenções: MMX MMX2 SSE SSE2 SSSE3 CMOV get_path('codecs.conf') - '/home/user/.mplayer/codecs.conf' Reading /home/user/.mplayer/codecs.conf: Can't open '/home/user/.mplayer/codecs.conf': No such file or directory Reading /etc/mplayer/codecs.conf: Can't open '/etc/mplayer/codecs.conf': No such file or directory Usando codecs.conf interno padrão init_freetype Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay get_path('fonts') - '/home/user/.mplayer/fonts' Configuration: --cc=i686-pc-linux-gnu-gcc --host-cc=i686-pc-linux-gnu-gcc --prefix=/usr --confdir=/etc/mplayer --datadir=/usr/share/mplayer --libdir=/usr/lib --disable-svga --disable-svgalib_helper --disable-ass-internal --disable-arts --disable-kai --enable-networking --enable-joystick --disable-nemesi --disable-bl --disable-bluray --disable-ftp --disable-fribidi --disable-libnut --disable-smb --disable-lirc --disable-lircc --disable-apple-ir --disable-cdparanoia --disable-dvdread-internal --disable-libdvdcss-internal --charset=UTF-8 --disable-tv-bsdbt848 --disable-ivtv --disable-pvr --disable-tv-v4l1 --disable-tv-v4l2 --disable-radio-v4l2 --disable-radio-bsdbt848 --disable-musepack --disable-faad-internal --disable-libmpeg2-internal --disable-libbs2b --disable-libgsm --disable-liblzo --disable-librtmp --disable-libopencore_amrnb --disable-libopencore_amrwb --disable-libmpeg2 --disable-mpg123 --disable-pnm --disable-xanim --disable-libvpx-lavc --codecsdir=/opt/RealPlayer/codecs --disable-md5sum --disable-aa --disable-fbdev --disable-zr --disable-mga --disable-xmga --disable-3dfx --disable-tdfxvid --disable-tdfxfb --disable-xvr100 --disable-ladspa --disable-nas --disable-openal --disable-ossaudio --disable-gui --disable-dxr3 --disable-ggi --disable-dga1 --disable-dga2 --enable-menu --disable-vdpau --disable-vidix --disable-vidix-pcidb --enable-xvmc --with-xvmclib=XvMCW CommandLine: '-msglevel' 'all=6' 'sleeping suricates.wmv' Using nanosleep() timing get_path('input.conf') - '/home/user/.mplayer/input.conf' Can't open input config file /home/user/.mplayer/input.conf: No such file or directory Parsing input config file /etc/mplayer/input.conf Input config file /etc/mplayer/input.conf parsed: 91 binds Opening joystick device /dev/input/js0 Can't open joystick device /dev/input/js0: No such file or directory Can't init input joystick get_path('sleeping suricates.wmv.conf') - '/home/user/.mplayer/sleeping suricates.wmv.conf' Reproduzindo sleeping suricates.wmv get_path('sub/') - '/home/user/.mplayer/sub/' [file] File size is 3245657 bytes STREAM: [file] sleeping suricates.wmv STREAM: Description: File STREAM: Author: Albeu STREAM: Comment: based on the code from ??? (probably Arpi) LAVF_check: ASF format Checking for YUV4MPEG2 Detectado formato de arquivo ASF! stream type: guid_video_stream stream concealment: unknown guid 0057fb20-555b-cf11-a8fd00805f5c442b type: 51 bytes, stream: 0 bytes ID: 1 unk1: 0 unk2: 0 FILEPOS=0x162 == Trilha de video encontrada: 1 [asfheader] Video stream found, -vid 1 === VIDEO Format == biSize 40 biWidth 320 biHeight 240 biPlanes 1 biBitCount 24 biCompression 827739479='WMV1' biSizeImage 230400 === stream type: guid_audio_stream stream concealment: guid_audio_conceal_interleave type: 22 bytes, stream: 8 bytes ID: 2 unk1: 0 unk2: 0 FILEPOS=0x1E3 == Trilha de audio encontrada: 2 [asfheader] Audio stream found, -aid 2
[gentoo-user] evdev broken?
Hi, All Recently, after blindingly emerging world, X11/Xorg stopped to accept mouse and keyboard events. After some ways to figure out what was going on, I found that it seems related to evdev. Anybody noticed something like that? The xorg-server package (or xorg-drivers, can't remember nor check now, because I had to use Windows :-( ) is being built with evdev flag, but there is an error in the log file about evdev could not be found, as long as dri and dri2. I am using nvidia proprietary video driver. Thanks a lot Francisco If you have an apple and I have an apple and we exchange apples then you and I will still each have one apple. But if you have an idea and I have one idea and we exchange these ideas, then each of us will have two ideas. - George Bernard Shaw
Re: [gentoo-user] Re: evdev broken?
On Wed, Jul 20, 2011 at 12:05 AM, Grant Edwards grant.b.edwa...@gmail.comwrote: On 2011-07-20, Francisco Ares fra...@gmail.com wrote: Hi, All Recently, after blindingly emerging world, X11/Xorg stopped to accept mouse and keyboard events. After some ways to figure out what was going on, I found that it seems related to evdev. Anybody noticed something like that? The xorg-server package (or xorg-drivers, can't remember nor check now, because I had to use Windows :-( ) is being built with evdev flag, but there is an error in the log file about evdev could not be found, as long as dri and dri2. I am using nvidia proprietary video driver. You probably just need to re-emerge the xf86-input packages that you have installed. That happens after every update to the Xorg server, and there are probably messages in the portage log to that effect. -- Grant Thank you, gonna try it -- Francisco
Re: [gentoo-user] Re: evdev broken?
On Wed, Jul 20, 2011 at 12:10 AM, Francisco Ares fra...@gmail.com wrote: On Wed, Jul 20, 2011 at 12:05 AM, Grant Edwards grant.b.edwa...@gmail.com wrote: On 2011-07-20, Francisco Ares fra...@gmail.com wrote: Hi, All Recently, after blindingly emerging world, X11/Xorg stopped to accept mouse and keyboard events. After some ways to figure out what was going on, I found that it seems related to evdev. Anybody noticed something like that? The xorg-server package (or xorg-drivers, can't remember nor check now, because I had to use Windows :-( ) is being built with evdev flag, but there is an error in the log file about evdev could not be found, as long as dri and dri2. I am using nvidia proprietary video driver. You probably just need to re-emerge the xf86-input packages that you have installed. That happens after every update to the Xorg server, and there are probably messages in the portage log to that effect. -- Grant Thank you, gonna try it -- Francisco It worked. Thanks a lot!! Back to Gentoo / X11 again ;-) Francisco
Re: [gentoo-user] Re: evdev broken?
On Wed, Jul 20, 2011 at 3:05 AM, Mick michaelkintz...@gmail.com wrote: On Wednesday 20 Jul 2011 04:38:37 Francisco Ares wrote: On Wed, Jul 20, 2011 at 12:10 AM, Francisco Ares fra...@gmail.com wrote: On Wed, Jul 20, 2011 at 12:05 AM, Grant Edwards grant.b.edwa...@gmail.com wrote: On 2011-07-20, Francisco Ares fra...@gmail.com wrote: Hi, All Recently, after blindingly emerging world, X11/Xorg stopped to accept mouse and keyboard events. After some ways to figure out what was going on, I found that it seems related to evdev. Anybody noticed something like that? The xorg-server package (or xorg-drivers, can't remember nor check now, because I had to use Windows :-( ) is being built with evdev flag, but there is an error in the :log : file about evdev could not be found, as long as dri and dri2. I am using nvidia proprietary video driver. You probably just need to re-emerge the xf86-input packages that you have installed. That happens after every update to the Xorg server, and there are probably messages in the portage log to that effect. -- Grant Thank you, gonna try it -- Francisco It worked. Thanks a lot!! Back to Gentoo / X11 again ;-) Every time after you emerge xorg you're meant to remerge its drivers (evdev being one of them). Usually there is some elog message telling you to run qfile to find what is need to be reinstalled: qlist -I -C x11-drivers/ -- Regards, Mick qlist works, too, thanks, that will be very useful in the future. Best regards Francisco
Re: [gentoo-user] Re: evdev broken?
On Wed, Jul 20, 2011 at 3:20 AM, Dale rdalek1...@gmail.com wrote: Mick wrote: Every time after you emerge xorg you're meant to remerge its drivers (evdev being one of them). Usually there is some elog message telling you to run qfile to find what is need to be reinstalled: qlist -I -C x11-drivers/ I think this works too: emerge -1av @x11-module-rebuild Correct me if I am wrong here. Dale :-) :-) Thanks for replying, but emerge tells me there are no sets to satisfy 'x11-module-rebuild' . Where would it come from? As far as I could tell, those sets are manually set, isn't it? And by the way, what is the use of 'xorg-drivers' package ? Best regards Francisco
[gentoo-user] /var/db gone: possible opportunity to switch profile
Hi All, I have managed to delete /var/db. I know this was a very stupid thing to be done, but now it is done and /var/db is gone for good. Well, that is a good opportunity to have everything built again, time to try new CFLAGS, and so on. But there is a circular dependency that I do not know how to get rid of: glibc and gcc depend on each other. They are both here, but portage does not know that. How am I supposed to go on? By the way, I have a Pentium Core 2 Quad and I am using a x86 profile. How would I switch to a amd64 ? As far as I know, my processor is capable of this. Thanks Francisco If you have an apple and I have an apple and we exchange apples then you and I will still each have one apple. But if you have an idea and I have one idea and we exchange these ideas, then each of us will have two ideas. - George Bernard Shaw
Re: [gentoo-user] /var/db gone: possible opportunity to switch profile
On Sat, Sep 10, 2011 at 4:56 PM, Michael Schreckenbauer grim...@gmx.dewrote: Hi, On Saturday, 10. September 2011 16:41:39 Francisco Ares wrote: Hi All, I have managed to delete /var/db. I know this was a very stupid thing to be done, but now it is done and /var/db is gone for good. *bummer* tell me... Well, that is a good opportunity to have everything built again, time to try new CFLAGS, and so on. But there is a circular dependency that I do not know how to get rid of: glibc and gcc depend on each other. They are both here, but portage does not know that. How am I supposed to go on? emerging the one or the other with --nodeps could solve this. By the way, I have a Pentium Core 2 Quad and I am using a x86 profile. How would I switch to a amd64 ? As far as I know, my processor is capable of this. Afaik it's not possible to upgrade a running 32bit system to a 64bit one. I was already considering a fresh install. Now it seems more tempting. Thanks Francisco Hth, Michael Thanks!!
Re: [gentoo-user] /var/db gone: possible opportunity to switch profile
On Sat, Sep 10, 2011 at 5:09 PM, Francisco Ares fra...@gmail.com wrote: On Sat, Sep 10, 2011 at 4:56 PM, Michael Schreckenbauer grim...@gmx.dewrote: Hi, On Saturday, 10. September 2011 16:41:39 Francisco Ares wrote: Hi All, I have managed to delete /var/db. I know this was a very stupid thing to be done, but now it is done and /var/db is gone for good. *bummer* tell me... Well, that is a good opportunity to have everything built again, time to try new CFLAGS, and so on. But there is a circular dependency that I do not know how to get rid of: glibc and gcc depend on each other. They are both here, but portage does not know that. How am I supposed to go on? emerging the one or the other with --nodeps could solve this. By the way, I have a Pentium Core 2 Quad and I am using a x86 profile. How would I switch to a amd64 ? As far as I know, my processor is capable of this. Afaik it's not possible to upgrade a running 32bit system to a 64bit one. I was already considering a fresh install. Now it seems more tempting. Thanks Francisco Hth, Michael Thanks!! Well, --nodeps did no work, as portage claims that it is incompatible with --emptytree , that it is forcing as there is no more /var/db I have also tried to include my gcc in /etc/package-provided , but still it did not work Thanks Francisco
Re: [gentoo-user] /var/db gone: possible opportunity to switch profile
On Sat, Sep 10, 2011 at 5:09 PM, Alan McKinnon alan.mckin...@gmail.comwrote: On Sat, 10 Sep 2011 16:41:39 -0300 Francisco Ares fra...@gmail.com wrote: Hi All, I have managed to delete /var/db. I know this was a very stupid thing to be done, but now it is done and /var/db is gone for good. Well, that is a good opportunity to have everything built again, time to try new CFLAGS, and so on. But there is a circular dependency that I do not know how to get rid of: glibc and gcc depend on each other. They are both here, but portage does not know that. How am I supposed to go on? By the way, I have a Pentium Core 2 Quad and I am using a x86 profile. How would I switch to a amd64 ? As far as I know, my processor is capable of this. As Michael replied elsewhere, this is hard. It may even be almost impossible and it's definitely not trivial. You intend to rebuild everything anyway, I would recommend you install over the old system and retain /etc/portage and the world file. Then emerge -e world. This will take you about 30 minutes longer than rebuilding world if you hadn't taken out /var/db - one of the few cases where a re-install really is the correct thing to do. Good luck. -- Alan McKinnnon alan.mckin...@gmail.com Yes, that's it, now going from ground up. Pity, this system is being upgraded, both hardware and software, since 15+ years. Never had to re-install before. I guess that shows how portage, all dev-guys, and all helpful people who write in this list are really good. Gentoo rocks! Thank you all! Francisco
Re: [gentoo-user] /var/db gone: possible opportunity to switch profile
On Sat, Sep 10, 2011 at 7:37 PM, Alex Schuster wo...@wonkology.org wrote: Francisco Ares writes: On Sat, Sep 10, 2011 at 5:09 PM, Alan McKinnon alan.mckin...@gmail.comwrote: On Sat, 10 Sep 2011 16:41:39 -0300 Francisco Ares fra...@gmail.com wrote: I have managed to delete /var/db. I know this was a very stupid thing to be done, but now it is done and /var/db is gone for good. For every partition I have on my system there is a slightly bigger partition on my backup drive, and I regularly make snapshots with rdiff-backup. I wrote a script to automatize this, because it has to be easy to start the backup, or else I won't do it often enough. Well, that is a good opportunity to have everything built again, time to try new CFLAGS, and so on. And to go amd64 :) See it as an opportunity to do this. For me, the biggest advantage compared to x86 was that I could use more memory. Apart from that, there were not so many differences. Yes, that's it, now going from ground up. Pity, this system is being upgraded, both hardware and software, since 15+ years. Never had to re-install before. Um, Gentoo started to exist around 2002 according to http://de.wikipedia.org/wiki/Gentoo_Linux . Thanks for the correction. I really thought that it was that long. Now, pushing harder from memory, I have being using Linux since the kernel was on versions 2.2 in '99. I started with Conectiva (release 4.0), that went to Mandriva when it was acquired by Mandrake, in 2004 or 2005, I guess, but way before that I had Gentoo already installed. So that makes just, say, 10 years. I had a few re-installs at the beginning, in the first two to three weeks, until I get the idea right. When smartd starts to advise me about a failing hard drive, I simply copy everything from this unit to a new one, and things just keep going. When the hardware is considered old and there is enough money, I look for possibilities till I get to a specific (and affordable) new set of motherboard, processor and memory, but before moving things, I build a kernel with drives for both CPU's; just then I really buy the new hardware, and normally everything works fine. And there is always a LiveCD around to help put things back to work. I guess that shows how portage, all dev-guys, and all helpful people who write in this list are really good. Gentoo rocks! Indeed. I started to use it around early in 2003, when my girlfriend installed it onto my server. And I continued using it until one year ago, when the server became obsolete (and finally died only three months later). I had uptimes of more than a year, and also never had to re-install. Before, I had tried various Linux distros, but I always was disappointed with many things. I hated to upgrade, as this sometimes just did not work, and often broke things, sometimes more than were fixed. I remember the dependency hell of RPM, spending much time on rpmfind.net looking for packages that were compatible... and then came Gentoo, and these problems were gone. The rolling upgrades were just great. Over all, things worked much better. And in case of problems, I often was able to solve them myself. And I learnt to do things by hand - like configuring ISDN. When I tried that before on redHat, I ran into a bug of that fancy GUI utility, that did not make use of my changes until I quit and restarted it. If you do this yourself by directly configuring stuff in /etc/ppp, you not only learn more about the whole thing, you also avoid the bugs that all those GUI utilities seem to have. Simpler seems to be better here. No additional layers calling for trouble. Wonko Yes, quite like you. I hated the way Conectiva changed the case of some letters on the names of some of the libraries, so it was hell to have something installed from source, and their package list was too short. I though that would be the same with other distros. I was considering Linux from Scratch, but when I came to know that in a Gentoo instalation everything is built from source code, I stopped to look at other distros. And I really enjoy messing around in /etc . Thanks
[gentoo-user] [off-topic] - can /var be placed in a separate partition?
Hi, All Is it possible to have /var in a separate partition, mounted during boot? Or do the boot process need it to read/write to it? I have found that mounting local file systems is one of the very first tasks on rc boot. Thanks Francisco
Re: [gentoo-user] [off-topic] - can /var be placed in a separate partition?
On Sun, Sep 11, 2011 at 11:48 PM, Michael Mol mike...@gmail.com wrote: Yes. Man fstab. On Sep 11, 2011 7:19 PM, Francisco Ares fra...@gmail.com wrote: Hi, All Is it possible to have /var in a separate partition, mounted during boot? Or do the boot process need it to read/write to it? I have found that mounting local file systems is one of the very first tasks on rc boot. Thanks Francisco Thank you!
Re: [gentoo-user] [off-topic] - can /var be placed in a separate partition?
Thank you! And I have found it as a partitioning example on the docs, with /var on its own partition ( http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml?full=1#book_part1_chap4 ) Francisco On Sun, Sep 11, 2011 at 11:54 PM, Dale rdalek1...@gmail.com wrote: Francisco Ares wrote: Hi, All Is it possible to have /var in a separate partition, mounted during boot? Or do the boot process need it to read/write to it? I have found that mounting local file systems is one of the very first tasks on rc boot. Thanks Francisco I think I saw it mentioned on -dev that some time shortly /usr and /var will be needed on / or you will need the init* thingy to boot. That's was my understanding of this mess. So, if you are about to do a install that needs /var on its own partition, I would ask a dev to see how you should plan. I could have misunderstood but I'm pretty sure it's coming. It may also depend on what you are going to be running too. I mention because no need doing it one way now and having to fix it later. That sucks! That said, I have /var on its own partition and mine boots fine, although I haven't rebooted in a week or so. I don't think the change has happened yet but is coming. I may have a different answer in a month or so. ;-) Dale :-) :-) -- If you have an apple and I have an apple and we exchange apples then you and I will still each have one apple. But if you have an idea and I have one idea and we exchange these ideas, then each of us will have two ideas. - George Bernard Shaw
[gentoo-user] [OT] how to read movie clip duration in console?
Hi, All Sorry for the OT, but Gentoo'ers are way above medium linux users. I have a bunch of movie clips and I wanted to build a table of contents including clip duration. Instead of opening one at a time, is there any application that I could user for a script? I though on mplayer, but I could not find a way for it to tell me the duration of a clip. Thanks Francisco -- If you have an apple and I have an apple and we exchange apples then you and I will still each have one apple. But if you have an idea and I have one idea and we exchange these ideas, then each of us will have two ideas. - George Bernard Shaw
Re: [gentoo-user] [OT] how to read movie clip duration in console?
Thanks a lot to all, It is very interesting, 3 excellent options already. Francisco On Fri, Nov 4, 2011 at 8:25 PM, Paul Hartman paul.hartman+gen...@gmail.comwrote: On Fri, Nov 4, 2011 at 4:05 PM, Francisco Ares fra...@gmail.com wrote: Hi, All Sorry for the OT, but Gentoo'ers are way above medium linux users. I have a bunch of movie clips and I wanted to build a table of contents including clip duration. Instead of opening one at a time, is there any application that I could user for a script? I though on mplayer, but I could not find a way for it to tell me the duration of a clip. The media-video/mediainfo package provides this info and more. It can also output the info in XML which might be useful to you if you're building a database of your movie info. -- If you have an apple and I have an apple and we exchange apples then you and I will still each have one apple. But if you have an idea and I have one idea and we exchange these ideas, then each of us will have two ideas. - George Bernard Shaw
Re: [gentoo-user] Changing names of LOTS of files, adding to them actually.
I use the following script to remove parts of downloaded videos, I guess it wont't be hard to figure out how to change it to your needs. It also creates a text file with the name of the file and, expecting it to be a video file, it uses midentify, part of the mplayer package, to read the duration of the video in a form that LibreOffice is able to import directly. #! /bin/bash for i in *unwantedString.??? # it can be a MP4 or a FLV do if [ $i != *unwantedString.??? ] # this checks if the list is empty then j=`echo $i | sed s/\ \-\ unwantedString//` # echo $j mv $i $j fi done for i in *.mp4 *.flv # this removes duplicated file extension do if [ $i != *.mp4 ] [ $i != *.flv ] then j=`echo $i | sed -e s/\.mp4\.mp4/\.mp4/ -e s/\.flv\.flv/\.flv/` # echo $j if [ $i != $j ] then mv $i $j fi fi done if [ -e contents.txt ] then rm contents.txt fi for i in *.mp4 *.flv do if [ $i != *.mp4 ] [ $i != *.flv ] then j=`midentify $i | grep ID_LENGTH | cut -d\= -f 2` k=`echo $i | sed -e s/\.mp4//g -e s/\.flv//g` echo -e $k \\t 00:00:`echo $j | cut -d\. -f1`,`echo $j | cut -d \. -f2` contents.txt fi done Hope it helps Francisco On Wed, Nov 30, 2011 at 11:49 PM, Dale rdalek1...@gmail.com wrote: Greets, I ran into a problem. I been downloading a lot of TV shows. I forgot to put a sort of important part in the names. This is what I have with the full path: /data/Movies/TV_Series/Person of Interest/Season 1, Episode 1 - Pilot.mp4 This is what I need it to be: /data/Movies/TV_Series/Person of Interest/Person of Interest - Season 1, Episode 1 - Pilot.mp4 Basically, I need to add the name of the show to the name of the file. They will all be added to the front of the names. They also almost all contain spaces, which means some fancy footwork with the \. Is there a way to do this? I have room to copy them to another directory if needed. I would sort of actually prefer it that way since if it messes up, I got the originals at least. Sorry I'm not real good at gawk, sed and all those things. I suspect those will be used tho. I am familiar with | and grep tho. ;-) Thoughts? Dale :-) :-) -- I am only responsible for what I said ... Not for what you understood or how you interpreted my words! -- If you have an apple and I have an apple and we exchange apples then you and I will still each have one apple. But if you have an idea and I have one idea and we exchange these ideas, then each of us will have two ideas. - George Bernard Shaw
Re: [gentoo-user] Changing names of LOTS of files, adding to them actually.
Sorry, did not read your message to the end. So the sixth line on that script, on your case, instead of: j=`echo $i | sed s/\ \-\ unwantedString//` should be: j=Person of Interest - $i I guess that's it. You will have to open a console at the directory where your movies are in. Francisco On Thu, Dec 1, 2011 at 12:19 AM, Francisco Ares fra...@gmail.com wrote: I use the following script to remove parts of downloaded videos, I guess it wont't be hard to figure out how to change it to your needs. It also creates a text file with the name of the file and, expecting it to be a video file, it uses midentify, part of the mplayer package, to read the duration of the video in a form that LibreOffice is able to import directly. #! /bin/bash for i in *unwantedString.??? # it can be a MP4 or a FLV do if [ $i != *unwantedString.??? ] # this checks if the list is empty then j=`echo $i | sed s/\ \-\ unwantedString//` # echo $j mv $i $j fi done for i in *.mp4 *.flv # this removes duplicated file extension do if [ $i != *.mp4 ] [ $i != *.flv ] then j=`echo $i | sed -e s/\.mp4\.mp4/\.mp4/ -e s/\.flv\.flv/\.flv/` # echo $j if [ $i != $j ] then mv $i $j fi fi done if [ -e contents.txt ] then rm contents.txt fi for i in *.mp4 *.flv do if [ $i != *.mp4 ] [ $i != *.flv ] then j=`midentify $i | grep ID_LENGTH | cut -d\= -f 2` k=`echo $i | sed -e s/\.mp4//g -e s/\.flv//g` echo -e $k \\t 00:00:`echo $j | cut -d\. -f1`,`echo $j | cut -d \. -f2` contents.txt fi done Hope it helps Francisco On Wed, Nov 30, 2011 at 11:49 PM, Dale rdalek1...@gmail.com wrote: Greets, I ran into a problem. I been downloading a lot of TV shows. I forgot to put a sort of important part in the names. This is what I have with the full path: /data/Movies/TV_Series/Person of Interest/Season 1, Episode 1 - Pilot.mp4 This is what I need it to be: /data/Movies/TV_Series/Person of Interest/Person of Interest - Season 1, Episode 1 - Pilot.mp4 Basically, I need to add the name of the show to the name of the file. They will all be added to the front of the names. They also almost all contain spaces, which means some fancy footwork with the \. Is there a way to do this? I have room to copy them to another directory if needed. I would sort of actually prefer it that way since if it messes up, I got the originals at least. Sorry I'm not real good at gawk, sed and all those things. I suspect those will be used tho. I am familiar with | and grep tho. ;-) Thoughts? Dale :-) :-) -- I am only responsible for what I said ... Not for what you understood or how you interpreted my words! -- If you have an apple and I have an apple and we exchange apples then you and I will still each have one apple. But if you have an idea and I have one idea and we exchange these ideas, then each of us will have two ideas. - George Bernard Shaw -- If you have an apple and I have an apple and we exchange apples then you and I will still each have one apple. But if you have an idea and I have one idea and we exchange these ideas, then each of us will have two ideas. - George Bernard Shaw
[gentoo-user] no sound on upgraded Firefox from 7 to 8 - using pulse audio
Hi, I have just upgraded Firefox from 7 to 8 and after that I was unable to hear the sound of videoclips from YouTube, for instance. I remember there was a little trick to make past versions of FF to work with pulse audio (that I use so VirtualBox machines can also play sounds), but can't find what it was. Any hints, please? Thanks Francisco -- If you have an apple and I have an apple and we exchange apples then you and I will still each have one apple. But if you have an idea and I have one idea and we exchange these ideas, then each of us will have two ideas. - George Bernard Shaw
Re: [gentoo-user] Re: no sound on upgraded Firefox from 7 to 8 - using pulse audio
On Tue, Dec 6, 2011 at 9:00 PM, walt w41...@gmail.com wrote: On 12/04/2011 01:41 PM, Francisco Ares wrote: Hi, I have just upgraded Firefox from 7 to 8 and after that I was unable to hear the sound of videoclips from YouTube, for instance. I remember there was a little trick to make past versions of FF to work with pulse audio (that I use so VirtualBox machines can also play sounds), but can't find what it was. Hi Francisco. I can't answer your Firefox question, sorry, but may I ask you a question about pulseaudio instead? There are several of us old atavistic grumps (you know who you are, Alan) who can't see any use for pulseaudio and therefore disable it with useflags and any other way we can. For example, I use vbox all the time and have no problem getting sound from my vbox guests, or from firefox or any other application. Sound just works without pulseaudio -- so why do I need it? Sadly, gnome3 has made pulseaudio mandatory if I want to use the volume control applet on gnome-panel (and I do) so I now have the pulseaudio daemon running in the background, but all of my apps are built without the pulseaudio useflag and all produce good sound even when I kill the pulseaudio daemon manually. I still don't get the whole idea behind pulseaudio. Hi, How do you manage to get VirtualBox sounds without pulseaudio? That's the only point that keeps me from removing it. Oops! When did VBox start to use ALSA? Let me try... Thank you all! Francisco
Re: [gentoo-user] Re: no sound on upgraded Firefox from 7 to 8 - using pulse audio
On Wed, Dec 7, 2011 at 8:37 PM, Mick michaelkintz...@gmail.com wrote: On Wednesday 07 Dec 2011 00:16:31 Claudio Roberto França Pereira wrote: The idea behind pulseaudio is live switching of streams. ALSA is great if you have only one audio card, but as soon as you introduce a bluetooth headset, a headphone, a HDMI display with sound output, ALSA can't handle real time stream redirection. Sure, you can use scripts to toggle .asoundrc profiles, but even then you'll need to restart the softwares that produce audio. Here I have a HDMI display (an hdtv) and a headphone. I mostly send my audio to my tv, but if I'm using the computer late at night, or if I'm to listen to high volume music, I'd switch the affecting streams to my headphone, without the need to mess with sound configuration files and to restart my sound engine. PulseAudio is to audio what X.org is to video: stream mixing software. I see ... so for many use cases that do not require to selectively modify the volume of different outputs, pulseaudio is really not necessary at all (I can always plug/unplug an earphone jack or what not). That would not make pulseaudio the default selection IMHO, but anyway - isn't that what jack is used for? Is pulseaudio another jack application? -- Regards, Mick Now I've got another problem: how to revert back to simple alsa... Thanks! Francisco -- If you have an apple and I have an apple and we exchange apples then you and I will still each have one apple. But if you have an idea and I have one idea and we exchange these ideas, then each of us will have two ideas. - George Bernard Shaw
[gentoo-user] recovering plain alsa [WAS:]: no sound on upgraded Firefox from 7 to 8 - using pulse audio
Thank you all who replied my last messages. Now I am back to plain alsa, but no two programs can use it at the same time. Alsa drivers are built on the kernel, and I have the following packages installed: media-libs/alsa-lib-1.0.24.1:0 media-plugins/gst-plugins-alsa-0.10.35:0.10 media-sound/alsa-utils-1.0.24.2-r1:0.9 The two first ones were puled by emerging alsa-utils. I have lost /etc/asound.conf, and I guess this is the key. Looking to which package it belongs to, equery found none. I have put a quite simple version (as explained here: http://en.gentoo-wiki.com/wiki/ALSA#Default_Sound_Device):: pcm.!default { type hw card Intel } ctl.!default { type hw card Intel } Any hints on how can I get all programs to mix up as before? Thanks again Francisco -- If you have an apple and I have an apple and we exchange apples then you and I will still each have one apple. But if you have an idea and I have one idea and we exchange these ideas, then each of us will have two ideas. - George Bernard Shaw
Re: [gentoo-user] recovering plain alsa [WAS:]: no sound on upgraded Firefox from 7 to 8 - using
On Sat, Dec 10, 2011 at 12:20 AM, Dale rdalek1...@gmail.com wrote: fra...@gmail.com wrote: On , Dale rdalek1...@gmail.com wrote: Francisco Ares wrote: Thank you all who replied my last messages. Now I am back to plain alsa, but no two programs can use it at the same time. Alsa drivers are built on the kernel, and I have the following packages installed: media-libs/alsa-lib-1.0.24.1:0 media-plugins/gst-plugins-**alsa-0.10.35:0.10 media-sound/alsa-utils-1.0.24.**2-r1:0.9 The two first ones were puled by emerging alsa-utils. I have lost /etc/asound.conf, and I guess this is the key. Looking to which package it belongs to, equery found none. I have put a quite simple version (as explained here: http://en.gentoo-wiki.com/** wiki/ALSA#Default_Sound_Devicehttp://en.gentoo-wiki.com/wiki/ALSA#Default_Sound_Device **) http://en.gentoo-wiki.com/**wiki/ALSA#Default_Sound_**Device%29http://en.gentoo-wiki.com/wiki/ALSA#Default_Sound_Device%29 :: pcm.!default { type hw card Intel } ctl.!default { type hw card Intel } Any hints on how can I get all programs to mix up as before? Thanks again Francisco -- If you have an apple and I have an apple and we exchange apples then you and I will still each have one apple. But if you have an idea and I have one idea and we exchange these ideas, then each of us will have two ideas. - George Bernard Shaw I build my audio drivers into my kernel. I also have these alsa related packages installed: root@fireball / # equery list *alsa* * Searching for *alsa* ... [IP-] [ ] media-libs/alsa-lib-1.0.24.1:0 [IP-] [ ] media-plugins/gst-plugins-**alsa-0.10.35:0.10 [IP-] [ ] media-sound/alsa-headers-1.0.**24:0 [IP-] [ ] media-sound/alsa-utils-1.0.24.**2-r1:0.9 [IP-] [ ] media-sound/alsamixergui-0.9.**0.1.2-r4:0 root@fireball / # See if yours looks something like this. I can watch videos and other programs play sound at the same time. Dale :-) :-) -- I am only responsible for what I said ... Not for what you understood or how you interpreted my words! Miss the compile output? Hint: EMERGE_DEFAULT_OPTS=--quiet-**build=n In another machine I have at the office, sound works great without ever having pulse installed. And there is no /etc/asoud.whatever I will recompile the kernel to remove a loop device that is going default every time. Will post the results. Thanks Francisco I noticed this in my updates tonight. This may be what you need to install or check into. [I] media-libs/sdl-mixer Available versions: 1.2.11-r1{tbz2} {flac mad +midi mikmod mp3 playtools static-libs timidity vorbis +wav} Installed versions: 1.2.11-r1{tbz2}(07:58:24 PM 12/09/2011)(flac mad midi mp3 vorbis wav -mikmod -playtools -static-libs -timidity) Homepage: http://www.libsdl.org/**projects/SDL_mixer/http://www.libsdl.org/projects/SDL_mixer/ Description: Simple Direct Media Layer Mixer Library From what it says, it is what mixes sounds. That's my thinking anyway. Dale :-) :-) -- I am only responsible for what I said ... Not for what you understood or how you interpreted my words! Miss the compile output? Hint: EMERGE_DEFAULT_OPTS=--quiet-**build=n Thanks, Dale, but now everything is working fine again. I left genkernel working overnight on my custom .config, and now that I removed /etc/asound.conf and /etc/asound.status and rebooted, everything is working fine with just plain ALSA. As far as I know, sdl is somewhat like pulse, isn't it? Some higher level of interfacing, I think. Let's do some more research... By the way, looking on your previous post, why do you have alsa-libs emerged and alsa built in the kernel at the same time? Thanks again Francisco -- If you have an apple and I have an apple and we exchange apples then you and I will still each have one apple. But if you have an idea and I have one idea and we exchange these ideas, then each of us will have two ideas. - George Bernard Shaw
Re: [gentoo-user] Imagemagick and Graphicsmagick blocking each other
Hi Not sure how, but I have both installed. I recall having some dificulties... Let me look for them Francisco On Sat, Dec 10, 2011 at 9:31 PM, Frank Steinmetzger war...@gmx.de wrote: Hello, a number of packages depend on imagemagick, such as Inkscape, Frescobaldi and some LaTeX related stuff. I wanted to take a look at Octave, but this positively wants graphicsmagick, which is a fork of imagemagick as far as I can tell and which conflicts with imagemagick. Now some of the named packages can use graphicsmagick, it just comes last in the ebuild’s order of dependencies, but some others can’t. D’ya think this is worthy of a bug report, since graphicsmagick even has an imagemagick useflag? Perhaps this could be converted into a virtual to make this easier on a global scale. Or would it be too much dependent upon the individual package? I don’t know anything about graphicsmagick really, or its kind of compatibility implementation. Cheers -- Gruß | Greetings | Qapla' I forbid any use of my email addresses with Facebook services. “We all know Linux is great … it does infinite loops in 5 seconds.” – Linus Torvalds
Re: [gentoo-user] Imagemagick and Graphicsmagick blocking each other
Hi again Theese are my USE flags for both, probably the key is one of them, like, perhaps, having graphicsmagick independent of imagemagick: # emerge -pvD graphicsmagick imagemagick These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R] media-gfx/graphicsmagick-1.3.12-r1 USE=X bzip2 cxx jbig jpeg jpeg2k lcms modules openmp png svg threads tiff truetype wmf zlib -debug -doc -fpx -imagemagick -perl -q16 -q32 0 kB [ebuild R] media-gfx/imagemagick-6.7.1.0 USE=X bzip2 corefonts cxx djvu fftw fontconfig fpx graphviz gs hdri jbig jpeg jpeg2k lcms lzma opencl openmp png svg tiff truetype wmf xml zlib -autotrace -lqr -openexr -perl -q32 -q64 -q8 -raw -static-libs -webp 0 kB Total: 2 packages (2 reinstalls), Size of downloads: 0 kB Hope it helps Francisco On Sat, Dec 10, 2011 at 9:51 PM, Francisco Ares fra...@gmail.com wrote: Hi Not sure how, but I have both installed. I recall having some dificulties... Let me look for them Francisco On Sat, Dec 10, 2011 at 9:31 PM, Frank Steinmetzger war...@gmx.de wrote: Hello, a number of packages depend on imagemagick, such as Inkscape, Frescobaldi and some LaTeX related stuff. I wanted to take a look at Octave, but this positively wants graphicsmagick, which is a fork of imagemagick as far as I can tell and which conflicts with imagemagick. Now some of the named packages can use graphicsmagick, it just comes last in the ebuild’s order of dependencies, but some others can’t. D’ya think this is worthy of a bug report, since graphicsmagick even has an imagemagick useflag? Perhaps this could be converted into a virtual to make this easier on a global scale. Or would it be too much dependent upon the individual package? I don’t know anything about graphicsmagick really, or its kind of compatibility implementation. Cheers -- Gruß | Greetings | Qapla' I forbid any use of my email addresses with Facebook services. “We all know Linux is great … it does infinite loops in 5 seconds.” – Linus Torvalds
Re: [gentoo-user] Pulseaudio shuts off
Hi I could not check the pulseaudio dependency for gws, as libsndfile does not have it. I have had pulseaudio for a year or so, and it was fine. I used it mainly because VirtualBox depended on it to emulate a sound car on its virtual machines. Then something broke, and I could not get any sound out of the speakers, just the first app get the device, and no other after that. Then, after Dale asked me why did I need pulseaudio, I saw that VirtualBox now is able to handle plain and simple ALSA, then I removed all pulseaudio related things that I could find, rebuilt the kernel with alsa built-in and everything I need is back making noises ;-) Francisco On Sat, Dec 10, 2011 at 2:25 PM, meino.cra...@gmx.de wrote: Hi, sorry for the nebelous subject... The following happened to me. I have installed/configured pulseaudio according to this for a one-person desktop gentoo-system: http://en.gentoo-wiki.com/wiki/PulseAudio When starting gwc (which is not in portage) and playing sounds, it works...once... After a while I here the same clicking sound, which happens while booting the system and alsa takes over...and thats it. I have to kill gwc. On the console gwc prints: Current stack limit: 8388608 bytes libsndfile Version: libsndfile-1.0.25 1 0 25 socket(): Address family not supported by protocol Closing the Pulse audio device The last line appears when I press stop audio playback, the clicking happes a few seconds later. After that...no go. I have appended /etc/pulse/default.pa at the end of this posting. Interestingly it is possible to successfully restart gwc. What can I do to fix this? Best regards, mcc #!/usr/bin/pulseaudio -nF # # This file is part of PulseAudio. # # PulseAudio is free software; you can redistribute it and/or modify it # under the terms of the GNU Lesser General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # PulseAudio is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU Lesser General Public License # along with PulseAudio; if not, write to the Free Software Foundation, # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. # This startup script is used only if PulseAudio is started per-user # (i.e. not in system mode) .nofail ### Load something into the sample cache #load-sample-lazy x11-bell /usr/share/sounds/gtk-events/activate.wav #load-sample-lazy pulse-hotplug /usr/share/sounds/startup3.wav #load-sample-lazy pulse-coldplug /usr/share/sounds/startup3.wav #load-sample-lazy pulse-access /usr/share/sounds/generic.wav .fail ### Automatically restore the volume of streams and devices load-module module-device-restore load-module module-stream-restore load-module module-card-restore ### Automatically augment property information from .desktop files ### stored in /usr/share/application load-module module-augment-properties ### Load audio drivers statically (it's probably better to not load ### these drivers manually, but instead use module-hal-detect -- ### see below -- for doing this automatically) load-module module-alsa-sink #load-module module-alsa-source device=hw:1,0 #load-module module-oss device=/dev/dsp sink_name=output source_name=input #load-module module-oss-mmap device=/dev/dsp sink_name=output source_name=input #load-module module-null-sink #load-module module-pipe-sink ### Automatically load driver modules depending on the hardware available .ifexists module-udev-detect.so load-module module-udev-detect .else ### Alternatively use the static hardware detection module (for systems that ### lack udev support) load-module module-detect .endif ### Automatically load driver modules for Bluetooth hardware .ifexists module-bluetooth-discover.so load-module module-bluetooth-discover .endif ### Load several protocols .ifexists module-esound-protocol-unix.so load-module module-esound-protocol-unix .endif load-module module-native-protocol-unix ### Network access (may be configured with paprefs, so leave this commented ### here if you plan to use paprefs) #load-module module-esound-protocol-tcp #load-module module-native-protocol-tcp #load-module module-zeroconf-publish ### Load the RTP reciever module (also configured via paprefs, see above) #load-module module-rtp-recv ### Load the RTP sender module (also configured via paprefs, see above) #load-module module-null-sink sink_name=rtp format=s16be channels=2 rate=44100 description=RTP Multicast Sink #load-module module-rtp-send source=rtp.monitor ### Load additional modules from GConf settings. This can be configured with the paprefs tool. ### Please keep in mind that the
Re: [gentoo-user] Pulseaudio shuts off
Hi, mcc Well, it was my hope to inspire you to also get rid of pulseaudio. Do you really need it? Is it a forced dependency to gwc ? Good luck Francisco -- If you have an apple and I have an apple and we exchange apples then you and I will still each have one apple. But if you have an idea and I have one idea and we exchange these ideas, then each of us will have two ideas. - George Bernard Shaw
Re: [gentoo-user] CLI Torrent client(s)?
I use mldonkey for p2p AND torrents. Regards Francisco
Re: [gentoo-user] Before I lock out myself from my box...
Not an answer, but my little knowledge on GPU processing: AFAIK, CUDA or OpenCL uses idle resources of the GPU, so I guess that you are safe even if you don't know (or have ways of) forcing one of them to X11. Good luck and happy new year Francisco On Mon, Jan 2, 2012 at 8:12 AM, meino.cra...@gmx.de wrote: Hi, Happy new year! :) ...before I make my GENTOO box unaccessible to me ... ;) For rendering with blenders new Cycles GPU based renderer I want to setup my box as follows: Rendering should be done with the GTX 560 Ti nvidia card and the normal desktop (aka X11) should be handled via the GT 430 nvidia card. Both cards are already inserted into the box and seem to be recognized since lspci reports: 02:00.0 VGA compatible controller: nVidia Corporation GF108 [GeForce GT 430] (rev a1) 09:00.0 VGA compatible controller: nVidia Corporation GF110 [GeForce GTX 560 Ti] (rev a1) Nvidia-setting also reports both cards the 560 Ti one is recognized as GPU0 the other one as GPU1. Currently X11 uses the GTX560Ti and the GT430 is idle (has neither a display- nor rendering-job). How can I move the display-job to the GT430 ? How can I urge X11 to exclusively use the GT430 for its purposes? Thank you very much in advance for any help! Best regards, mcc -- If you have an apple and I have an apple and we exchange apples then you and I will still each have one apple. But if you have an idea and I have one idea and we exchange these ideas, then each of us will have two ideas. - George Bernard Shaw
Re: [gentoo-user] Re: Safe way to test a new kernel?
On Sat, Feb 25, 2012 at 12:26 AM, Dale rdalek1...@gmail.com wrote: Grant wrote: I need to test a kernel config change on a remote system. Is there a safe way to do this? The fallback thing in grub has never worked for me. When does that ever work? You can press ESC in the Grub screen and it will take you to text-only mode. There, you select an entry, press e and edit it. Press ENTER when you're finished, and then press b to boot your modified entry. That way, you can boot whatever kernel you want if the current one doesn't work. I can't do that remotely though. I'm probably asking for something that doesn't exist. - Grant There is a couple people on here that handle remote machines. I'd be shocked if there isn't a way to do this. Just give them a bit to see the thread. I vaguely recall someone mentioning this but since my remote machine is about 20 feet away, I didn't make notes. Dale :-) :-) -- I am only responsible for what I said ... Not for what you understood or how you interpreted my words! Miss the compile output? Hint: EMERGE_DEFAULT_OPTS=--quiet-build=n That's right, there are many embedded machines out there with upgrades once in a while. Perhaps you would get better results asking at gentoo-embedded list. Francisco
Re: [gentoo-user] [OT] (sort of) strange things after upgrading the kernel
2012/10/12 Dale rdalek1...@gmail.com Francisco Ares wrote: Hi, All I have upgraded the kernel to gentoo-sources 3.4.9 and, for instance, k3b to 2.0.2, and it says there is no optical devices. But cdrecord --scanbus shows them all (a IDE dvd reader and a SATA dvd writer). Most probably I have missed something, because I like to do some customizations to the kernel configuration, but all SATA hard disks are working, flash drives, and all the rest of the hardware goes ok. I did not try to burn any DVD, but the players do OK with any of the devices, so it is not a permission problem (I still have to correct this, to make it persistent, but the k3b problem remains). It might be related to some other thing, the desktop widget that used to show all the disks' partitions, does not show anything any more, although df shows everything just as expected. Funny, isn't it? Any ideas, please? Thanks Francisco P.S.: attached follows the .config for this kernel -- If you have an apple and I have an apple and we exchange apples then you and I will still each have one apple. But if you have an idea and I have one idea and we exchange these ideas, then each of us will have two ideas. - George Bernard Shaw Have you went back to the old kernel to test it again? If it does the same with the old kernel, it's likely not the kernel. If it works like it used to then it is the kernel. That said, it is weird and I have ran into this sort of thing in the past. Something works fine then breaks or acts weird with a newer kernel. Usually I just stick with the old kernel until a couple releases goes by and then try again. They fix stuff pretty fast. Dale :-) :-) -- I am only responsible for what I said ... Not for what you understood or how you interpreted my words! Thanks for your reply, Dale. Yes, everything works as expected when using the old kernel. I decided to re-emerge some base libraries, and nothing worked, until I remembered to re-emerge udev. After the build, it announced two wrong lines in the new kernel config file: CONFIG_SYSFS_DEPRECATED=y CONFIG_SYSFS_DEPRECATED_V2=y After correcting them and building the kernel again, now everything is back to normal. Thanks again Francisco -- If you have an apple and I have an apple and we exchange apples then you and I will still each have one apple. But if you have an idea and I have one idea and we exchange these ideas, then each of us will have two ideas. - George Bernard Shaw
Re: [gentoo-user] [OT] (sort of) strange things after upgrading the kernel
2012/10/12 Dale rdalek1...@gmail.com Francisco Ares wrote: Thanks for your reply, Dale. Yes, everything works as expected when using the old kernel. I decided to re-emerge some base libraries, and nothing worked, until I remembered to re-emerge udev. After the build, it announced two wrong lines in the new kernel config file: CONFIG_SYSFS_DEPRECATED=y CONFIG_SYSFS_DEPRECATED_V2=y After correcting them and building the kernel again, now everything is back to normal. Thanks again Francisco -- If you have an apple and I have an apple and we exchange apples then you and I will still each have one apple. But if you have an idea and I have one idea and we exchange these ideas, then each of us will have two ideas. - George Bernard Shaw Do you use oldconfig or build each one from scratch? I use oldconfig so that I at least have what I know works. It's just a matter of if I need anything new enabled. Some claim oldconfig shouldn't be used but I have only had it to fail once in the last 10 years or so. Most everyone I know of uses oldconfig. Glad you got it going tho. Dale :-) :-) -- I am only responsible for what I said ... Not for what you understood or how you interpreted my words! I normally also use oldconfig. I think there might be a reason for it to be around. But this time I didn't, because the old kernel was version 2.6.39 and I thought oldconfig would mess things up more than help on the new 3.4.9. Don't know how right or wrong is this assumption, though. I just was lazy to upgrade the kernel, as it takes an hour or so to check most of menucofig. Francisco
Re: [gentoo-user] [OT] (sort of) strange things after upgrading the kernel
2012/10/13 Dale rdalek1...@gmail.com Francisco Ares wrote: 2012/10/12 Dale rdalek1...@gmail.com Francisco Ares wrote: Thanks for your reply, Dale. Yes, everything works as expected when using the old kernel. I decided to re-emerge some base libraries, and nothing worked, until I remembered to re-emerge udev. After the build, it announced two wrong lines in the new kernel config file: CONFIG_SYSFS_DEPRECATED=y CONFIG_SYSFS_DEPRECATED_V2=y After correcting them and building the kernel again, now everything is back to normal. Thanks again Francisco -- If you have an apple and I have an apple and we exchange apples then you and I will still each have one apple. But if you have an idea and I have one idea and we exchange these ideas, then each of us will have two ideas. - George Bernard Shaw Do you use oldconfig or build each one from scratch? I use oldconfig so that I at least have what I know works. It's just a matter of if I need anything new enabled. Some claim oldconfig shouldn't be used but I have only had it to fail once in the last 10 years or so. Most everyone I know of uses oldconfig. Glad you got it going tho. Dale :-) :-) -- I am only responsible for what I said ... Not for what you understood or how you interpreted my words! I normally also use oldconfig. I think there might be a reason for it to be around. But this time I didn't, because the old kernel was version 2.6.39 and I thought oldconfig would mess things up more than help on the new 3.4.9. Don't know how right or wrong is this assumption, though. I just was lazy to upgrade the kernel, as it takes an hour or so to check most of menucofig. Francisco I would have tried it but that is a LOT of updates. It may be faster to start from scratch in that case. I know a few years ago there was some changes that kept oldconfig from working as it should. That was the only time it failed me but I do upgrade more often to avoid this sort of thing. I try to upgrade every couple months. Now if I have long uptimes, I may not actually ever use that kernel but I have a config file to copy over that is a bit more up to date. I would suggest printing or something the output of the following: lspci -k That tells you what you need for your hardware, that is of course from a kernel where all your hardware works. There may be some specific things for certain software that is needed but at least you can boot up and have a system to work with. I usually leave the rest to defaults unless I am sure there is something I don't need. Glad you got it sorted out and working tho. Dale :-) :-) -- I am only responsible for what I said ... Not for what you understood or how you interpreted my words! Hi, Dale As my old kernel is from the 2.6 series and the new is from the 3.4, I decided to do a menuconfig from scratch. I do use lspci and also I always build the kernel allowing /proc/config.gz, so it is easy to get exactly what is working, although I keep my own bacup copies of .config, for future references. When I am building a kernel, I use to open the latest .config in a separate console, for reference. That has kept me of forgetting plenty of details. Thanks Francisco -- If you have an apple and I have an apple and we exchange apples then you and I will still each have one apple. But if you have an idea and I have one idea and we exchange these ideas, then each of us will have two ideas. - George Bernard Shaw
Re: [gentoo-user] emerge --update : how to keep it going?
2012/11/30 Helmut Jarausch jarau...@igpm.rwth-aachen.de Hi, this is nuissance all the time. Updating a machine which hasn't been updated for a long(er) time I try emerge -vup --changed-use --deep --tree --with-bdeps y @system @world /root/UPD But many times this stops prematurely with messages like emerge: there are no ebuilds to satisfy =app-text/poppler-bindings-** 0.5.0 How can I keep emerge going and tell me these message all at once in the end? Many thanks for hint, Helmut. Check the option --keep-going , but you will not have all messages at the end, as far as I remember. If so, you can redirect the output to a file. Francisco -- If you have an apple and I have an apple and we exchange apples then you and I will still each have one apple. But if you have an idea and I have one idea and we exchange these ideas, then each of us will have two ideas. - George Bernard Shaw
Re: [gentoo-user] Re: [OT] codec for video embedded in presentation
2012/12/30 Nuno J. Silva nunojsi...@ist.utl.pt On 2012-12-30, Francisco Ares wrote: Hello All, ... Keep in mind that the support for videos in powerpoint presentations will vary greatly across different powerpoint versions, windows versions and even across different installs of the same versions. Even if you manage to get a version of powerpoint to like the container and codecs, it may not work on all computers. The AVI container has been used by windows for a long time, so I'd say chances are that it will work on more systems, but I can't say for sure. -- Nuno Silva (aka njsg) http://njsg.sdf-eu.org/ Thanks for the advice. I know that, have already been caught in that pitfall. That is why I always carry a free viewer of the same version as the one I build the presentation (sigh!!), a bunch of video codecs (K-Lite) and, in case everything fails, a portable VLC. If my colleagues would at least be kind enough to have OpenOffice installed on their machines also... Thanks again Francisco
Re: [gentoo-user] Re: [OT] codec for video embedded in presentation
2012/12/30 Nuno J. Silva nunojsi...@ist.utl.pt On 2012-12-30, Francisco Ares wrote: Hello All, ... Keep in mind that the support for videos in powerpoint presentations will vary greatly across different powerpoint versions, windows versions and even across different installs of the same versions. Even if you manage to get a version of powerpoint to like the container and codecs, it may not work on all computers. The AVI container has been used by windows for a long time, so I'd say chances are that it will work on more systems, but I can't say for sure. -- Nuno Silva (aka njsg) http://njsg.sdf-eu.org/ Thanks, Nuno, gonna try it. -- Francisco If you have an apple and I have an apple and we exchange apples then you and I will still each have one apple. But if you have an idea and I have one idea and we exchange these ideas, then each of us will have two ideas. - George Bernard Shaw
Re: [gentoo-user] Re: [OT] codec for video embedded in presentation
2012/12/31 Kevin Chadwick ma1l1i...@yahoo.co.uk On Sun, 30 Dec 2012 21:35:52 -0200 Francisco Ares fra...@gmail.com wrote: If my colleagues would at least be kind enough to have OpenOffice installed on their machines also... Will they let you boot a usb? I don't think so. Most of them are very basic level users, and they just have to have the same software, and it's gotta be from M$ - nothing out of main stream. But what is your point?
Re: [gentoo-user] [OT] codec for video embedded in presentation
2012/12/31 Stroller strol...@stellar.eclipse.co.uk On 30 December 2012, at 11:39, Nuno J. Silva wrote: ... The AVI container has been used by windows for a long time, so I'd say chances are that it will work on more systems, but I can't say for sure. But h264 in an AVI is invalid. AVI is dated and just plain nasty. You should use something else (like h264 in an MP4) if you possibly can. Stroller. I've heard (or read) that before, to me it seems quite strange that one of the main products from MS to be so outdated in this area. I tried an MP4 renamed as AVI, and it worked. I don't know yet if it will work on my mates' computers, because I have installed K-Lite codecs, and they didn't (yet, at least). Thanks Francisco -- If you have an apple and I have an apple and we exchange apples then you and I will still each have one apple. But if you have an idea and I have one idea and we exchange these ideas, then each of us will have two ideas. - George Bernard Shaw
Re: [gentoo-user] Re: [OT] codec for video embedded in presentation
2013/1/1 Michael Mol mike...@gmail.com On Tue, Jan 1, 2013 at 5:19 PM, Nuno J. Silva nunojsi...@ist.utl.pt wrote: On 2013-01-01, Stroller wrote: On 30 December 2012, at 11:39, Nuno J. Silva wrote: ... The AVI container has been used by windows for a long time, so I'd say chances are that it will work on more systems, but I can't say for sure. But h264 in an AVI is invalid. AVI is dated and just plain nasty. You should use something else (like h264 in an MP4) if you possibly can. AVI is old, AVI has issues. AVI is not compatible with some codecs. *But* AVI has been around for long enough to be supported by many versions of Windows and Office, and what we're looking for here is whatever offers the broadest support. I don't even think Windows (at least up to 7) has a builtin h264 decoder. At least I remember having to install codecs in Vista and 7 machines in order to view h264 Youtube videos. Did a bit of googling. Windows 7 includes h264 support. In any case, there's something *critically* important missing in most of this discussion about AVI vs something else. Just because Windows supports AVI doesn't mean that Windows includes all possible codecs you might stuff in an AVI. There's h264, there's MPEG, MPEG2, Theora, RLE Windows Media and hundreds of codecs I've forgotten. And that's just video. For audio, there's more variation than there is for WAV[1]. In addition to anything WAVE files might contain, you might find just about anything. There's FLAC, AAC, Speex, MP2a, MP3, Vorbis and thousands more. AVI is just a container. Nothing more. Containers are like ZIP files or tar files, but instead of containing a filesystem, they contain a variable number of audio and video streams in such a way that the audio and video data for a moment in time are close together and easily accessible. The meat is in the audio and video streams, the format of which we call codecs. The big question is what *codecs* are available on the target systems. If you're looking for the absolute widest degree of support, you're looking at DIB encoding for video with uLaw PCM for audio. But that's going to be a *huge* file, because there's no compression at all! The best compression that's going to be available on the widest variety of systems is probably going to be MPEG2 video with MPEG2 layer 3 audio. The best compression that might be available, period, would be h.264, combined with MP4 audio, in an MP4 container. Almost as good results can be had with h.264 video, MP4 audio in an AVI container.[2] So, Francisco, what version of Windows will your slideshow be played on? [1] Yeah, WAVE files aren't exactly simple, either. They can contain different PCM encodings. There's aLaw, uLaw, float... [2] For full effectiveness, h.264 requires features that the AVI container doesn't have. -- :wq Wow, what a class! Thank you a lot, that explained much of my doubts. I had no problems with audio, I use several programs and several codecs for messing around with different audio file formats. But video was still a mystery to me. As a matter of fact, I am not sure on what windows version this presentation will be played, it is a training presentation, so I suppose we can only expect at least XP. I will bring a free MS office player, so that part should not be a problem. And also a K-Lite or any other codecs package installer. Thanks -- Francisco If you have an apple and I have an apple and we exchange apples then you and I will still each have one apple. But if you have an idea and I have one idea and we exchange these ideas, then each of us will have two ideas. - George Bernard Shaw
Re: [gentoo-user] KDE 4.9.5 VERY slow to respond
2013/1/31 Dale rdalek1...@gmail.com Howdy, I upgraded to the latest KDE a bit ago. I update about twice a week, depending on what is going on and what is released. Anyway, KDE has become just dead dog slow. Just to login takes a couple minutes. If I click to open a KDE app, it takes a long time. If I click on the kicker/panel thingy at the bottom, it takes forever, even clicking on the K menu takes a minute or more for the menu to pop up. Also, when it freezes, the clock stops as well. It seems something is hung up or something. I also noticed that klipper is missing as is kmix for the volume control in the kicker/panel thingy at the bottom. If I try to manually start them, I get nothing even if I wait for a good long while. Also, while in a Konsole, within KDE so note the K there, if I try to copy/paste something, it locks up Konsole tight as a drum. It has yet to ever come back. I can't even switch tabs. Also, while I generally click on the panel at the bottom to switch desktops, this doesn't work when it is froze or stuck. I can however use the function keys to switch. When I login, the hard drive activity light on the case is very quiet. It is normally on solidly when I login since it is reading data but now it is pretty much dark all the time. What I have done so far. Renamed .kde4 and tried a new .kde4 directory. No change. I did a emerge -e world with, no change. I have also checked the CPU and memory with htop and it shows nothing outside the norm that I can see. I have also went to the boot runlevel. killed anything that shouldn't be there and then went back to default runlevel. This started yesterday. I did my usual update and logged out and back in since checkrestart showed several programs using old configs/programs etc. After that, it got real slow. The biggest update was qt and all its friends. Sort of hard to tell right now since I can't get Konsole to work right and I can't copy and paste either. lol I was going to try to downgrade KDE to the previous version, it appears to be gone now. I guess my only other option is to upgrade again with a version from a overlay. This is not something I want to do tho. Has anyone else ran into this? Anyone got any ideas on how to track it down? It's going to be a week before another upgrade and this is getting on my nerves. ;-) Thanks. Dale :-) :-) -- I am only responsible for what I said ... Not for what you understood or how you interpreted my words! Hello, When i saw your message, it was something of a relief, I was even thinking about a hardware problem, sometimes it freezes for so long and so much it even doesn't allow me to switch to one of the consoles. Sometimes I could not wait, and just reset the computer. Now I know it might be something else besides hardware (I have run Memtest+ for more than 24h and nothing showed up). Francisco -- If you have an apple and I have an apple and we exchange apples then you and I will still each have one apple. But if you have an idea and I have one idea and we exchange these ideas, then each of us will have two ideas. - George Bernard Shaw
Re: [gentoo-user] KDE 4.9.5 VERY slow to respond
Hi, Dale. There is something else. I have upgraded gcc, done an emerge -evuDN world, even recompiled the kernel, and the graphic system has stuck again a while ago. I will try to post later something more specific, but as far as could see, it is not just KDE. But the text terminals still work, just can't kill anything. Good to know someone is happy again ;-) Francisco 2013/1/31 Dale rdalek1...@gmail.com Dale wrote: Francisco Ares wrote: Hello, When i saw your message, it was something of a relief, I was even thinking about a hardware problem, sometimes it freezes for so long and so much it even doesn't allow me to switch to one of the consoles. Sometimes I could not wait, and just reset the computer. Now I know it might be something else besides hardware (I have run Memtest+ for more than 24h and nothing showed up). Francisco -- If you have an apple and I have an apple and we exchange apples then you and I will still each have one apple. But if you have an idea and I have one idea and we exchange these ideas, then each of us will have two ideas. - George Bernard Shaw Well, it is not just you. I'm trying some things so if I find a fix, I'll certainly post it. I may resync and see if there is any updates too. By the way, when was your last sync? Mine was about midnight CST on the 29th. Dale :-) :-) OK. This seems to be working. Yeppie !!! Try this package: sys-apps/dbus-1.6.8-r1 I had to add that to my keyword file to get it tho. Yeppie !!! Even my little temperature thingy is working now. K menu, check. Copy and paste in Konsole, check. Oh yea. lol I could get used to this. Dale :-) :-) -- I am only responsible for what I said ... Not for what you understood or how you interpreted my words! -- If you have an apple and I have an apple and we exchange apples then you and I will still each have one apple. But if you have an idea and I have one idea and we exchange these ideas, then each of us will have two ideas. - George Bernard Shaw
[gentoo-user] netmount and nfs mounts
Hello, After a recent update (a few months) the init script netmount does not work as expected and as it once did. There are some nfs mounts available in a remote server, they are correctly set up in /etc/fstab (I know that because later after boot, I am able to mount those nfs mounts just by typing as root mount [nfsmount]). I have already added rpc.statd to the default runlevel. Any hints? Thanks Francisco -- If you have an apple and I have an apple and we exchange apples then you and I will still each have one apple. But if you have an idea and I have one idea and we exchange these ideas, then each of us will have two ideas. - George Bernard Shaw
Re: [gentoo-user] netmount and nfs mounts
2013/2/27 Neil Bothwick n...@digimed.co.uk On Wed, 27 Feb 2013 08:23:15 -0300, Francisco Ares wrote: After a recent update (a few months) the init script netmount does not work as expected and as it once did. There are some nfs mounts available in a remote server, they are correctly set up in /etc/fstab (I know that because later after boot, I am able to mount those nfs mounts just by typing as root mount [nfsmount]). % /etc/init.d/netmount describe * Mounts network shares, other than NFS, according to /etc/fstab. The service you want is nfsmount. -- Neil Bothwick Experience is what you get when you didn't get what you wanted. Thanks a lot!! Francisco -- If you have an apple and I have an apple and we exchange apples then you and I will still each have one apple. But if you have an idea and I have one idea and we exchange these ideas, then each of us will have two ideas. - George Bernard Shaw
Re: [gentoo-user] Restart frozen X
2013/2/27 Daniel Frey djqf...@gmail.com On 02/26/2013 07:18 PM, Joseph wrote: I'm running Nvidia driver: 310.32 with my GeForce GTS 450 kernle-3.1.6 but I've noticed it freezes my screen once a day or ever second day. Mouse is moving but no icon is responding, nor can I use the keyboard (all frozen). I can login to the system over ssh. I've tried to restart/zap xdm it doesn't help. What else can I do to restart X? If downgrading nvidia-drivers doesn't help check your power supply. My computer exhibited this issue a while back because the voltages went all wonky and the hardware really didn't like it - I could still ssh in from my tablet but the entire computer appeared frozen. If I just ran at the console (ie not starting X) the computer would work fine all day. I don't know what nvidia card you have but mine requires two extra power connectors but the PSU just couldn't supply enough power to keep the GPU stable. Dan Hi, I have had that same behaviour for some months now, but wasn't able to find the cause. I am now suspicious of one of the browsers (I use Firefox and Chrome, and always kept them opened), because all I could get was a kernel log message referring to browser traffic (?) prior to one of those freezes. For a few days now, I always close the browsers, and have had no freeze. Good luck, and please keep us updated. Francisco -- If you have an apple and I have an apple and we exchange apples then you and I will still each have one apple. But if you have an idea and I have one idea and we exchange these ideas, then each of us will have two ideas. - George Bernard Shaw
Re: [gentoo-user] Programm for Floor Plans
2013/3/4 Andrew Lowe 2505...@curtin.edu.au On 5/03/2013 8:52 AM, Andrey Moshbear wrote: On Mon, Mar 4, 2013 at 6:56 PM, Silvio Siefke siefke_lis...@web.de wrote: Hello, know someone a program for draw floor plans? I has use normal Visio for it, but unter Linux? Have you tried app-office/dia ? My two cents on dia: ugly, klunky, non intuitive, simple tasks are nearly, if not totally impossible to perform. I teach 1st year Engineering students and I recommend they look at Draftsight. It's not in portage, but is an easy install. It's also multiplatform, Linux, Win Mac. Regards, Andrew I have tried to use Google Sketchup in the past, with little success, but I didn't persist as I should, I guess. Don't know if it is in portage, though. If 2D drawing is enough, OpenOffice / LibreOffice have a vector drawing program, and Inkscape is just about it. For a big shot, Blender is a 3D suite, but complex enough to scare a bit. Good luck Francisco -- If you have an apple and I have an apple and we exchange apples then you and I will still each have one apple. But if you have an idea and I have one idea and we exchange these ideas, then each of us will have two ideas. - George Bernard Shaw
Re: [gentoo-user] Gentoo speed comparison to other distros
Hi Just my $0.02: Of course there are distro-related issues on performance, but once the system is up and running, wouldn't it be a matter of compiler/linker optimization differences? Francisco 2013/3/14 Michael Hampicke mgehampi...@gmail.com 2013/3/14 Dale rdalek1...@gmail.com Howdy, Also, I read that Nasdaq runs a modified version of Gentoo. Do any other large corps run it that we know of? I googled a bit but couldn't find anything. Maybe my search terms wasn't good enough. Yeehaw, domainfactory (http://df.eu) uses a modified version of gentoo on their servers. df is one of the largest domain/hosting/mail providers in german-speaking countries. -- If you have an apple and I have an apple and we exchange apples then you and I will still each have one apple. But if you have an idea and I have one idea and we exchange these ideas, then each of us will have two ideas. - George Bernard Shaw
[gentoo-user] ntfs-3g problem (I suppose) - locking system
Hello. During some months now, this machine was (and still is, sometimes) suffering from a strange progressive lock down. It always has begun with the web browser, passing to the whole X environment, and finally I could not even use a console. After several trial and error actions, as no log entry could give any hint on what is going on, it seems that I found something consistent. This machine is a dual-boot Linux/Windows, as my wife once in a while needs to work on a Windows O.S. . The lock down starts when she saves a file received by e-mail in a ntfs-3g mounted partition, so that file would also be accessible whenever she uses Windows. The reason why I suspect of ntfs-3g is that when the lock down starts, that is, if only the web browser locks, just unmounting (and mounting back later) that partition, recovers the web browser functionality. Sometimes, when the lock down has already affected the whole graphic environment, but I still may use a console, again unmounting that same partition also unlocks everithing. I have already tried to emerge ntfs-3g with different use flags, but the problem persists. Even built a new kernel and re-emerged ntfs-3g after that. Now ntfs-3g package is using its own fuse. I would really appreciate any hints on what to do or where to look for any more information on this subject. Perhaps I am still looking at an effect, and not the cause. Thanks Francisco -- If you have an apple and I have an apple and we exchange apples then you and I will still each have one apple. But if you have an idea and I have one idea and we exchange these ideas, then each of us will have two ideas. - George Bernard Shaw
Re: [gentoo-user] ntfs-3g problem (I suppose) - locking system
2013/3/15 Randolph Maaßen r.maasse...@gmail.com 2013/3/15 Francisco Ares fra...@gmail.com Hello. During some months now, this machine was (and still is, sometimes) suffering from a strange progressive lock down. It always has begun with the web browser, passing to the whole X environment, and finally I could not even use a console. After several trial and error actions, as no log entry could give any hint on what is going on, it seems that I found something consistent. This machine is a dual-boot Linux/Windows, as my wife once in a while needs to work on a Windows O.S. . The lock down starts when she saves a file received by e-mail in a ntfs-3g mounted partition, so that file would also be accessible whenever she uses Windows. The reason why I suspect of ntfs-3g is that when the lock down starts, that is, if only the web browser locks, just unmounting (and mounting back later) that partition, recovers the web browser functionality. Sometimes, when the lock down has already affected the whole graphic environment, but I still may use a console, again unmounting that same partition also unlocks everithing. I have already tried to emerge ntfs-3g with different use flags, but the problem persists. Even built a new kernel and re-emerged ntfs-3g after that. Now ntfs-3g package is using its own fuse. I would really appreciate any hints on what to do or where to look for any more information on this subject. Perhaps I am still looking at an effect, and not the cause. Thanks Francisco -- If you have an apple and I have an apple and we exchange apples then you and I will still each have one apple. But if you have an idea and I have one idea and we exchange these ideas, then each of us will have two ideas. - George Bernard Shaw Have you had a look at dmesg after lock / unlock? driver oriented problems should show up here -- Mit freundlichen Grüßen / Best regards Randolph Maaßen Yes, I did, and nothing shows up. Looks like dmesg has also been affected. Thanks Francisco