[gentoo-user] Re: ffmpeg command not found
On 2015-04-12, Alan Grimes alonz...@verizon.net wrote: gevisz wrote: I used to convert dav to avi files with the following command yet a year ago: $ ffmpeg -i input.dav -vcodec libx264 -crf 24 output.avi but now, while trying to use it, I get bash: ffmpeg: command not found What happened? I still have virtual/ffmpeg package installed. In my case it points to libav. libav (not ffmpeg) at least used to provide an ffmpeg binary. But libav has considered this binary to be deprecated. Did they (libav) drop it? -- Nuno Silva Helsinki, Finland
[gentoo-user] Re: pdf viewer
On 2015-01-03, the the.gu...@mail.ru wrote: On 03/01/15 08:15, lee wrote: Hi, what do you as PDF viewer? Most of the time, I use zathura with libmupdf; sometimes I will use evince when I need to view documents with libpoppler, but evince is not my main document viewer ever since GNOME started playing games with UI design. Both zathura and evince allow me to see a wider range of documents (including DeJaVU and Adobe PostScript), and also have a reverse video feature. I was using evince, now moved to zathura. Both are as slow as hell though, so I'm open for faster alternatives. Are you using zathura with libmupdf or with libpoppler? You can always try one, then the other, and see which one do you prefer. -- Nuno Silva (aka njsg) Helsinki, Finland
[gentoo-user] Re: Making DVD high resolution
On 2014-12-18, Joseph syscon...@gmail.com wrote: On 12/18/14 19:10, J. Roeleveld wrote: On 18 December 2014 18:50:09 CET, Joseph syscon...@gmail.com wrote: I've used Imagination to make VOB and set in preferences resolution 1920 x 1080 HD made VOB. How do I check the VOB frame size settings? When I tried to made HD video using DVD Styler the max frame rate I can set to make DVD ISO is 720x480. How to make DVD with higher resolution? You can't. The DVD spec doesn't support HD video. So what format do I have to burn the disk in, in order to have lets say 1920 x 1080 HD Anything that is not DVD-Video. The DVD-Video standard is very strict about which frame sizes and frame rates are allowed, as well as which codecs can be used and their parameters. You can try to save the 1920x1080 video in a normal file using some container and generate an ISO9660 filesystem containing that file (mkisofs can do that), and then you can burn it (cdrecord from cdrtools). Some table DVD-Video players may or may not be able to play a video file in a DVD prepared in this way. But if you want to stick to the DVD-Video standard, you must use the frame sizes and frame rates specified in the standard. -- Nuno Silva Helsinki, Finland
[gentoo-user] Re: resolving blocked packages [media-video/ffmpeg-1.2:0]
On 2013-11-05, Bruce Hill da...@happypenguincomputers.com wrote: On Mon, Nov 04, 2013 at 10:43:07PM +, Mick wrote: On Monday 04 Nov 2013 19:51:32 Alexander Kapshuk wrote: On 11/03/2013 02:27 AM, Daniel Campbell wrote: For starters, you should probably merge package.keywords into package.accept_keywords; the latter is the new standard name, though Portage will likely support the old names for a while. Just a heads-up on that. Thanks for a heads-up. I did as you suggested. Is there going to be a portage news article on this, or did I miss it? It wasn't two or three years ago... mingdao@server ~ $ eselect news read 5 2012-09-09-make.conf-and-make.profile-move Title make.conf and make.profile move AuthorJorge Manuel B. S. Vicetto jmbsvice...@gentoo.org Posted2012-09-09 Revision 1 Starting next week, new stages will have make.conf and make.profile moved from /etc to /etc/portage. This is a change in the installation defaults, that will only affect new installs so it doesn't affect current systems. Current users don't need to do anything. But if you want to follow the preferred location, you may want to take the chance to move the files in your system(s) to the new location. But that's about make.conf, not about package.keywords. -- Nuno Silva (aka njsg)
[gentoo-user] Re: OT: Flash+nspluginwrapper versus Gnash comparisons?
On 2013-11-02, Daniel Campbell li...@sporkbox.us wrote: On 10/31/2013 10:15 PM, Walter Dnes wrote: I'm getting rather annoyed with Firefox. I don't want to get into that flamewar right now. I'm trying to migrate to UZBL. The latest git version is a lot better than the stale stable version. The uzbl- ebuild is broken (yes, I've filed a bug), so I pull directly from git and build and install to ~/.local. It's a steep learning curve, and I've gradually resolved almost every issue. The last reason to have Firefox or Opera hanging around is Flash. I subscribe to NHL GameCenter Live and Live365.com, so Flash functionality is mandatory for me. The git version of UZBL requires a recent version of webkit, which requires gtk3. Flash is a gtk2 program, so it doesn't work. I've heard that the 2 options are... 1) Running Flash in nspluginwrapper 2) Using Gnash to replace Flash How are people's experiences with the 2 options above? Have you checked to see if the sites you use have an interface for mplayer or another media player? (Assuming they are streaming services similar to Youtube) If not, it may be simpler to use nspluginwrapper. Gnash compatibility can be spotty, but is improving. If you suspect that the services that you use don't use advanced/recent Flash features, give gnash a whirl. The last time I used gnash, it was completely fine for basic streaming stuff, but marketing sites and tech demos and (some) Newgrounds material was borked. But that was over 3 years ago; times have certainly changed, and I'd wager for the better. :) Good luck. Use Gnash with Lightspark. That's actually a supported combination. Last time I used them, they supported different versions of Flash (AVM1 and AVM2). If what annoys you in Firefox is the interface, you can also try some addon that offers an alternative interface (uzbl screenshots look a lot like firefox with pentadactyl) [not trying to get into a flame war, really just suggesting something -- at least here (normal amd64) I can use flash in firefox] -- Nuno Silva (aka njsg)
[gentoo-user] Cinepaint
I have been looking for different image manipulation tools for linux, and I wanted to try cinepaint, but as there is no version in the tree, I wonder if anyone has had success with either the - ebuild in bugzilla or the -1.0 from sabayon. The latter seems to depend on an old version of oyranos, which is possibly incompatible with the one currently available in the tree. -- Nuno Silva (aka njsg)
Re: [gentoo-user] Re: bus error during compilation of gcc
On 2013-04-22, David Relson rel...@osagesoftware.com wrote: On Sun, 21 Apr 2013 00:44:46 +0400 the guard wrote: Суббота, 20 апреля 2013, 19:56 UTC от Grant Edwards grant.b.edwa...@gmail.com: On 2013-04-20, the guard the.gu...@mail.ru wrote: The package i decided to install required a gcc rebuild so I started rebuilding it and got a bus error. I've googled and found suggestions to lower makeopts, but it didn't help. Every time I've gotten bus errors when building things it turned out to be a hardware problem. Bad RAM, failing CPU, failing motherboard power supply capacitors, bad disk controller card (obviously, that was a _long_ time ago). If I were you, I'd start by running memtest86+ overnight. memtest revealed nothing We had an old QNX machine start giving bus errors during compilation of a large application. Running memtest (for approx 40 hrs) showed nothing, but a close visual examination of the motherboard showed bulging capacitors, i.e. failing capacitors. Bad caps? Those can really give all the kinds of problems, and look really random. I've also seen occasions where a certain northbridge was less tolerant regarding voltages and would render the whole system unstable with a specific brand of memories (the memories were OK, but the system would still become unstable). There was also a more serious case where I started getting random segfaults with a computer, as I started leaving it on for longer and compiling larger programs. Apparently, the memory modules were seated in a less than optimal configuration, leading the motherboard to believe there was *another* memory module. Thing is, for several months the system was OK, because apparently it never needed more than the first half of the memory, or if it did, it did not try to use the result of addressing the second half. That was a lot of luck, I guess. (The less lucky part are the emerge -e systems anf emerge -e worlds which followed.) -- Nuno Silva (aka njsg) http://njsg.sdf-eu.org/
Re: [gentoo-user] Re: bus error during compilation of gcc
On 2013-04-20, the guard the.gu...@mail.ru wrote: Суббота, 20 апреля 2013, 19:56 UTC от Grant Edwards grant.b.edwa...@gmail.com: On 2013-04-20, the guard the.gu...@mail.ru wrote: The package i decided to install required a gcc rebuild so I started rebuilding it and got a bus error. I've googled and found suggestions to lower makeopts, but it didn't help. Every time I've gotten bus errors when building things it turned out to be a hardware problem. Bad RAM, failing CPU, failing motherboard power supply capacitors, bad disk controller card (obviously, that was a _long_ time ago). If I were you, I'd start by running memtest86+ overnight. memtest revealed nothing Which does not mean there's nothing there ;-) -- Nuno Silva (aka njsg) http://njsg.sdf-eu.org/
[gentoo-user] Re: [Bulk] Re: Removing pulseaudio
On 2013-04-18, Kevin Chadwick ma1l1i...@yahoo.co.uk wrote: ... (i) It's a sound server, a description I don't understand. What does it _do_? Why do I want it? It seems to be an unnecessary layer of fat between sound applications and the kernel. If you don't understand the term sound server you probably shouldn't be using Gentoo. When I'm watching a YouTube video I still want to hear my email client go bing or my chat program alert me of my buddy coming online. That's not possible if my web-browser has a hard-wired path into my soundcard and ain't letting go. Just throwing out there that users can or atleast could use alsa plugs to have multiple applications. I did that before pulseaudio came along to play nfs carbon under cedega and listen to music. It should be noted that ALSA users can have multiple applications by doing absolutely nothing other than using ALSA and using the applications they want to use. Also I have never got around to looking into Jackd but isn't it meant to be by far the best. I know pro audio users use it and I have heard it is not the easiest to set up but is there any reason why it isn't the default setup. http://en.gentoo-wiki.com/wiki/JACK From a quick look at this jack can hook up multiple applications that seem to need to be set up individually. What's the scope for Jack a./ replacing pulseaudio b./ having a compat interface layer to make pulseaudio compatible apps talk to jack -- Nuno Silva (aka njsg) http://njsg.sdf-eu.org/
[gentoo-user] Re: evince - Error printing to PDF
On 2013-04-17, Joseph syscon...@gmail.com wrote: On 04/17/13 17:00, Alan Mackenzie wrote: Hi, Joseph. On Wed, Apr 17, 2013 at 10:32:23AM -0600, Joseph wrote: On 04/17/13 17:05, tastytea wrote: Am Wed, 17 Apr 2013 07:57:02 -0600 schrieb Joseph syscon...@gmail.com: When I try to print from evince to pdf file I get an error: Error printing - Operation not supported You can use File - Sove a Copy... This doesn't help me, as there are times where I want to print one or two pages from pdf document to another pdf file, so Save a Copy will not do it. For what it's worth, my evince (2.32.0-r4) prints without problems. Could it be you're missing some critical use flag? Try dumping these out with # emerge -pv evince I have the same verion, app-text/evince-2.32.0-r4 USE=dbus introspection postscript tiff -debug -djvu -dvi -gnome -gnome-keyring -nautilus -t1lib 0 kB I can print to printer but not to pdf or ps files. I'd compare the gtk+ (and maybe pango?) USE flags. If I'm not mistaken, this is a feature of the gtk+ printing dialog, and at least in evince I think printing relies on pango. -- Nuno Silva (aka njsg) http://njsg.sdf-eu.org/
[gentoo-user] Re: [Bulk] Re: Removing pulseaudio
On 2013-04-21, Kevin Chadwick ma1l1i...@yahoo.co.uk wrote: Just throwing out there that users can or atleast could use alsa plugs to have multiple applications. I did that before pulseaudio came along to play nfs carbon under cedega and listen to music. It should be noted that ALSA users can have multiple applications by doing absolutely nothing other than using ALSA and using the applications they want to use. So are you saying plugs are no longer required or that they are only needed for certain apps that take over the audio device. I don't even know exactly what ALSA plugs are, and ALSA has worked perfectly for all these years, so yeah, whatever an ALSA plug is, either it is not required anymore, or it is handled automagically by ALSA. -- Nuno Silva (aka njsg) http://njsg.sdf-eu.org/
[gentoo-user] Re: Udev update and persistent net rules changes
On 2013-04-01, Michael Mol mike...@gmail.com wrote: On 04/01/2013 03:26 PM, William Hubbs wrote: You know that both udev and eudev have exactly the same issue with separate /usr right? The problem there isn't in the udev code, but it has to do with what is happening in rules that other packages install. As I recall, the problem is where the ebuild choses to install the code. Putting the udev code under /usr forces the issue on systems where it would otherwise not be an issue. Putting the udev code under / avoids that issue, but opens up the system to the silently fail thing upstream liked to use as the basis of separate /usr is broken So, there are three conceivable configurations (initramfs notwithstanding): 1. With systems which don't require /usr binaries before /usr would be mounted, separate /usr is not a problem. 2. With systems which require /usr binaries for some features before /usr would be mounted, those features will silently fail. 3. With systems which require /usr binaries to mount /usr, all hell breaks loose. Putting the udev code under /usr moves all udev systems from group 2 into group 3. In a sense, this fixes those systems because the admin is forced to address the silent failures he was previously unaware of. It also means pissing off a bunch of people who had features silently failing...but they probably didn't know or care about those features in the first place. It also moves all systems from group 1 into group 3...which is simply wro= ng. So long as eudev keeps its install path at / instead of /usr, admins in group 1 will probably be perfectly happy. I'd guess nothing prevents the udev ebuild from doing so, too. -- Nuno Silva (aka njsg) http://njsg.sdf-eu.org/
[gentoo-user] Re: Udev update and persistent net rules changes
On 2013-04-02, Alan McKinnon alan.mckin...@gmail.com wrote: On 02/04/2013 21:13, Paul Hartman wrote: On Mon, Apr 1, 2013 at 7:00 PM, Peter Humphrey pe...@humphrey.ukfsn.org wrote: The most important para to me in the news item was: The feature can also be completely disabled using net.ifnames=0 on the kernel command line. I just added that to my grub.conf entries and I sail blissfully on with eth0. I updated remote virtual server (xen guest) and added this same option, crossed my fingers and rebooted, eth0 was still there and I was happy. I did this to get exactly the same result: $ ls -al /etc/udev/rules.d/ total 8 drwxr-xr-x 2 root root 4096 Apr 1 15:10 . drwxr-xr-x 4 root root 4096 Mar 30 20:34 .. lrwxrwxrwx 1 root root9 Apr 1 15:10 80-net-name-slot.rules - /dev/null Like you, I happen to *like* eth0 and wlan0 on a laptop workstation :-) Sort of the same here, except that I use lan0 instead of eth0, because once in a while I use broadcom's wireless drivers instead of the kernel drivers, and the former assign an ethX name. Sadly, I still get some problems after resuming from hibernation: *sometimes*, the ethernet NIC won't be renamed lan0 (and remains eth0), and I have to rmmod and modprobe. Also sadly, the fact that several people go oh noes you can't use wlan0 when I try to get comments on how to fix the issue does not help a lot... -- Nuno Silva (aka njsg) http://njsg.sdf-eu.org/
[gentoo-user] Re: Udev update and persistent net rules changes
On 2013-03-31, Nikos Chantziaras rea...@gmail.com wrote: On 30/03/13 17:15, Tanstaafl wrote: Ok, just read the new news item and the linked udev-guide wiki page You should probably also read: http://blog.flameeyes.eu/2013/03/predictably-non-persistent-names and: http://blog.flameeyes.eu/2013/03/predictable-persistently-non-mnemonic-names The feeling that I got while reading the first was exactly what the second talks about. We - from what I understand - had scripts automatically generating the name rules from MAC addresses, it's just that they generated stuff like ethX. Can't we just keep these scripts around (even if this was something provided by upstream and we would have to forge a new incarnation)? I mean, IMHO, net0, wl0, ... are much easier to deal with and understand than something physically-based. They also avoid problems caused by moving these cards around, or changes in the kernel drivers or BIOS, or BIOS settings that eventually end up exposing cards in a different way. The problem with the old approach was *just* the name clash that rendered the hacky approach unreliable. Maybe we could just fix the issue by using non-clashing namespaces, instead of pushing a completely different (and possibly less reliable) naming scheme by default. -- Nuno Silva (aka njsg) http://njsg.sdf-eu.org/
[gentoo-user] Re: Udev update and persistent net rules changes
On 2013-03-31, Nuno J. Silva (aka njsg) nunojsi...@ist.utl.pt wrote: On 2013-03-31, Nikos Chantziaras rea...@gmail.com wrote: On 30/03/13 17:15, Tanstaafl wrote: Ok, just read the new news item and the linked udev-guide wiki page You should probably also read: http://blog.flameeyes.eu/2013/03/predictably-non-persistent-names and: http://blog.flameeyes.eu/2013/03/predictable-persistently-non-mnemonic-names The feeling that I got while reading the first was exactly what the second talks about. We - from what I understand - had scripts automatically generating the name rules from MAC addresses, it's just that they generated stuff like ethX. Can't we just keep these scripts around (even if this was something provided by upstream and we would have to forge a new incarnation)? I mean, IMHO, net0, wl0, ... are much easier to deal with and understand than something physically-based. They also avoid problems caused by moving these cards around, or changes in the kernel drivers or BIOS, or BIOS settings that eventually end up exposing cards in a different way. The problem with the old approach was *just* the name clash that rendered the hacky approach unreliable. Maybe we could just fix the issue by using non-clashing namespaces, instead of pushing a completely different (and possibly less reliable) naming scheme by default. Ok, after some chat on IRC, it seems that upstream made it rather non-trivial to have something like the old rule-generator, and that's why we can't simply move that from, e.g., ethX to, say, netX. -- Nuno Silva (aka njsg) http://njsg.sdf-eu.org/
[gentoo-user] Re: Udev update and persistent net rules changes
On 2013-03-31, Dale rdalek1...@gmail.com wrote: Pandu Poluan wrote: Since it's obvious that upsteam has this my way or the highway mentality, I'm curious about whether eudev (and mdev) exhibits the same behavior... I synced yesterday and I didn't see the news alert. Last eudev update was in Feb. so I *guess* not. It seems to be a udev thing. That is why I mentioned eudev to someone else that was having this issue with a server setup. I'd guess eudev will eventually do the same, although I hope that, it being a separate codebase, makes it easier to adopt some solution like the old rule generator, instead of using udev's approach. The udev upstream may have its issues, but there's actually a point in removing this, the approach there was so far was just a dirty hack. -- Nuno Silva (aka njsg) http://njsg.sdf-eu.org/
[gentoo-user] Re: Udev update and persistent net rules changes
On 2013-03-31, Dale rdalek1...@gmail.com wrote: Nuno J. Silva (aka njsg) wrote: On 2013-03-31, Dale rdalek1...@gmail.com wrote: Pandu Poluan wrote: Since it's obvious that upsteam has this my way or the highway mentality, I'm curious about whether eudev (and mdev) exhibits the same behavior... I synced yesterday and I didn't see the news alert. Last eudev update was in Feb. so I *guess* not. It seems to be a udev thing. That is why I mentioned eudev to someone else that was having this issue with a server setup. I'd guess eudev will eventually do the same, although I hope that, it being a separate codebase, makes it easier to adopt some solution like the old rule generator, instead of using udev's approach. The udev upstream may have its issues, but there's actually a point in removing this, the approach there was so far was just a dirty hack. Thing is, it works for me. The old udev worked, eudev works but I'm not sure what hoops I would have to go through to get the new udev working, most likely the same ones others here are going through now. For once, I'm not having to deal with some broken issue. knock on wood My current uptime is about 190 days. May hit it still but I'm certainly hoping I don't. And, at least now, I have got enough knowledge to know whether it affects me or not. But the sad thing is that I got most of that knowledge *after* the first of these versions without the old script was stabilized. -- Nuno Silva (aka njsg) http://njsg.sdf-eu.org/
[gentoo-user] Re: Udev update and persistent net rules changes
On 2013-03-31, Neil Bothwick n...@digimed.co.uk wrote: On Sun, 31 Mar 2013 13:44:18 -0500, Dale wrote: I'm just hoping people will be able to find a solution to this that works well for them. I especially wish that for those managing a remote system with little or no physical access.=20 Well I just updated a headless box, followed the instructions in the news article and it just worked. I now have net0 instead of eth0. What the article didn't mention was that if you change your interface names, you have to create a new symlink in /etc/init.d and add it to the default runlevel. I'm glad I spotted that one before rebooting :) This one was mentioned and discussed in gentoo-dev. It's sad if this information didn't make it to the news item, but perhaps it was mentioned a bit too late. -- Nuno Silva (aka njsg) http://njsg.sdf-eu.org/
[gentoo-user] Re: Udev update and persistent net rules changes
On 2013-03-30, Tanstaafl tansta...@libertytrek.org wrote: Ok, just read the new news item and the linked udev-guide wiki page, and the only thing left that I'm unsure/concerned about now is the persistent net rules changes... The very last line on the wiki page says: 4. Known problems Stale 70-persistent-net.rules (or other network rules) in /etc/udev/rules.d can prevent the predictable network naming from being enabled. Both 70-persistent-net.rules and 70-persistent-cd.rules are from the now deleted rule_generator These 'stale' 70- rules are all I have right now (again I'm still on udev-171-r10), and while the wiki page doesn't say what to do with/about them, it seems to hint that I could leave these in place and... they would still work as they did previously (prevent the predictable network naming from being enabled)? My system (8+ years old) has a Tyan motherboard (S2895) with dual Gb ethernet ports, with only one port currently used (but both are enabled in the BIOS so both are listed in my current rules file). (And, more importantly, they're seen and handled by the running kernel.) [...] Contents of 70-persistent-net.rules: # PCI device 0x10de:0x0057 (forcedeth) SUBSYSTEM==net, DRIVERS==?*, ATTR{address}==00:e0:81:54:9c:8b, KERNEL==eth*, NAME=eth1 # PCI device 0x10de:0x0057 (forcedeth) SUBSYSTEM==net, DRIVERS==?*, ATTR{address}==00:e0:81:54:9c:8a, KERNEL==eth*, NAME=eth0 So... after reading the new news item, am I right that all I need to do to make sure that my network comes up properly is... edit the 80-* rule(s) that are created after udev is updated to make sure the same adapters that were named eth0/1 are now named net0/1, and the kernel will now take care of naming net0/1 eth0/1? You can either remove it and get what udev gives you (a bit more cryptic, but it is supposed to be somewhat persistent unless the cards are moved around, or there are major kernel changes), or you can give them the names you want, as far as it's not ethX. But you will always have to update other config files (firewall, init scripts, etc.) to have the new names. Also, is it critical to remove (or at least rename) the old 70- rules *before* the update, or just be sure to do so before I reboot after the update? No idea, I'd expect it to be only needed for the reboot, but I don't know udev *that* well. Thanks - I'm sure I'm just being paranoid, but it has helped me to avoid lots of pain in the past with other major updates on this system over these last 8+ years. (I'm not concerned about the cd rule because obviously that won't affect the system booting, so I can come back and fix this one later if needed) -- Nuno Silva (aka njsg) http://njsg.sdf-eu.org/
[gentoo-user] Re: java vs icedtea6
On 2013-01-16, Volker Armin Hemmann wrote: Afair icedtea, openjdk, jdk share a Lot of Code. Isn't IcedTea OpenJDK, or at least the name of the bundle OpenJDK + build system? Am 16.01.2013 15:18 schrieb Michael Mol mike...@gmail.com: On Wed, Jan 16, 2013 at 2:43 AM, Daniel Campbell dlcampb...@gmx.com wrote: On 01/15/2013 11:32 PM, Nilesh Govindrajan wrote: On Wednesday 16 January 2013 10:32:11 AM IST, Kevin Brandstatter wrote: I'm curious as well about the potential exploitability of icedtea. I would think that since the icedtea vm is not the same as the sun/oracle one and so I don't think the code base is the same, which would mean an exploit in the sun/oracle jvm would not necessarily affect icedtea. However, I know very little on this matter and seeing as i think both are open sourced i have no idea how much or if there is any code overlap. Oracle Java is open source? I was thinking the same thing. Last I knew, the VM is closed while the language is pretty much open. IIRC, the VM spec is open, the implementation isn't. Further, the supporting libraries are open (as in you can see them). The biggest 'closed' aspect is the pricey (and terms-restricting) certification process to get a different implementation certified. But I might be woefully out of date. -- Nuno Silva (aka njsg) http://njsg.sdf-eu.org/
[gentoo-user] Re: pgo not selected for firefox 18
On 2013-01-12, Alecks Gates wrote: On Fri, Jan 11, 2013 at 8:24 AM, Florian Philipp li...@binarywings.net wrote: Am 11.01.2013 13:00, schrieb Adam Carter: I had noticed it a while ago, it appears to be hardmasked: # Jory A. Pratt anar...@gentoo.org mailto:anar...@gentoo.org (15 Dec 2012) # PGO is known to be busted with most configurations www-client/firefox pgo I never had a single problem with it, so I'm going to unmask it and see if anything breaks. I just commented that out in /usr/portage/profiles/base/package.use.mask and it compiled fine with pgo and lto using 4.7.2. Ricey... I guess you didn't have problems because you haven't used stable GCC. pgo was broken in gcc-4.5 since firefox-16 See https://bugs.gentoo.org/show_bug.cgi?id=439244 Regards, Florian Philipp For what it's with, it's working here with gcc-4.6 and firefox-18: [ebuild R] sys-devel/gcc-4.6.3:4.6 USE=cxx fortran graphite gtk mudflap (multilib) nls nptl openmp (-altivec) -bootstrap -build -doc (-fixed-point) -gcj -go (-hardened) (-libssp) -multislot -nopie -nossp -objc -objc++ -objc-gc {-test} -vanilla 20 kB What is the output of gcc-config -l ? That's what matters when checking the version of gcc in use. [ebuild R] www-client/firefox-18.0::mozilla USE=alsa custom-cflags custom-optimization dbus gstreamer jit libnotify pgo startup-notification system-sqlite -bindist -debug -minimal (-selinux) -wifi LINGUAS=-af -ak -ar -as -ast -be -bg -bn_BD -bn_IN -br -bs -ca -cs -csb -cy -da -de -el -en_GB -en_ZA -eo -es_AR -es_CL -es_ES -es_MX -et -eu -fa -ff -fi -fr -fy_NL -ga_IE -gd -gl -gu_IN -he -hi_IN -hr -hu -hy_AM -id -is -it -ja -kk -km -kn -ko -ku -lg -lij -lt -lv -mai -mk -ml -mr -nb_NO -nl -nn_NO -nso -or -pa_IN -pl -pt_BR -pt_PT -rm -ro -ru -si -sk -sl -son -sq -sr -sv_SE -ta -ta_LK -te -th -tr -uk -vi -zh_CN -zh_TW -zu 0 kB -- Nuno Silva (aka njsg) http://njsg.sdf-eu.org/
[gentoo-user] Re: Testing new kernels - saving dumps / strip down kernel options
On 2013-01-08, Stefan G. Weichinger wrote: [...] * I remember a thread here where this was discussed already: How do you guys get to your .config for a recent kernel? make oldconfig doesn't always work out best, I recall? My kernel config is maintained along for years now and has survived several hardware changes. I don't have any obvious problems but I wonder if I have something in there that is deprecated and might be better thrown out. I don't use anything other than stable code releases from portage, but even then I usually do make oldconfig, followed by a by-hand inspection of the options with make menuconfig, to catch stuff that got through me in make oldconfig, and to see if there's any change in other options that I want to tune. Does it make sense to take the .config from the gentoo install dvd for example and remove all the stuff I don't have? Maybe still too much enabled options in the end. Even then, if you do that and tune the config several times, you'll likely end up with a lighter kernel. Just drop anything you don't need from the device drivers. make allnoconfig as a start? That is probably much better than the config from the install dvd, yes, in fact most of the work coming from an Add-It-All config is that you have to disable many, many entries. allmodconfig ? I'd go with allnoconfig, although if you compile lots of stuff as modules, you can then check lsmod to see what does, in fact, get loaded. I'd be happy to hear your opinions. -- Nuno Silva (aka njsg) http://njsg.sdf-eu.org/
[gentoo-user] Re: gentoo netheck
On 2013-01-02, Philip Webb wrote: 130102 Nuno J. Silva wrote: On 2013-01-01, Bryan Gardiner wrote: Today I wanted to install nethack and found it is masked: If you're the only user of your computer, you could also just unmask the version in Portage. The bug is that any user in the games group can edit all save files, so if you want to hack your own saves, go ahead. The main problem is not the cheating, but that nethack does not employ any kind of checks on the scores file when reading it, this effectively enables an attack vector where anyone with access to the scores file can exploit vulnerabilities in nethack simply by writing a specially-crafted score file. Nethack just relies on being setgid to a group and installing the scores file as writeable by that group. Unfortunately, that happens to be the very same games group Gentoo uses to group users who are allowed to play games, therefore rendering nethack's protection useless. Does the insecurity extend beyond Nethack itself ? -- if not, hard-masking it seems a bit draconian: it sb quite safe on a single-user system. It's an attack vector. If it is exploited, it extends to your whole account, plus any system/service whose passwords/credentials are stored in your files. Now if it's a single-user system, the attacker would need to already have access to a user in the games group in your system, and the only account in that group is likely yours, so I doubt there would be a big issue. -- Nuno Silva (aka njsg) http://njsg.sdf-eu.org/
[gentoo-user] Re: Some fonts missing?
On 2013-01-02, Nilesh Govindrajan wrote: Hi, I am not able to see the characters in certain emoji like flip table, etc. It used to be visible earlier before I did a completely fresh install. Does anyone know which font to install? These are the fonts presently installed on my machine - media-fonts/corefonts media-fonts/freefont-ttf media-fonts/liberation-fonts media-fonts/lohit-fonts media-fonts/ttf-bitstream-vera media-fonts/ubuntu-font-family *Where* are you trying to view these characters? I think the dejavu fonts have wider UCS coverage than Bitstream Vera, so you may want to try that. I doubt corefonts offer that much UCS coverage. -- Nuno Silva (aka njsg) http://njsg.sdf-eu.org/
[gentoo-user] Re: [OT] codec for video embedded in presentation
On 2013-01-02, Stroller wrote: On 1 January 2013, at 15:22, Francisco Ares wrote: ... 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. AVI has been around a long time. It is inevitably prone to bitrot, then. AIUI the AVI specification states a number of valid codecs that can be used; AIUI h264 (for example) is not amongst them. It will work on some systems (particularly open source) to put h264 / AAC into an AVI - that's not supported on others. So if you need to play the video on a Mac, a games console or a set-top box then you may be in trouble. As a rule of thumb, most new video-playing devices have hardware h264 support; use .mp4 or .mkv for h264. IIRC, h264 is actually one of the codecs that has issues with AVI. See http://en.wikipedia.org/wiki/Comparison_of_container_formats. I tried an MP4 renamed as AVI, and it worked. If you merely renamed the file then you didn't change the container. http://html5.xoofoo.org/video.html A Linux video player will probably ignore the file extension - it'll figure out what kind of container you used based on the file's header bytes and on the file structure. The default video player installed on Windows or Mac may not be so clever. This is probably more about Microsoft Powerpoint being actually able to deal with other containers (it probably merely passes the video file (container and everything) to the Video for Windows or DirectShow subsystem, which may or may not have handlers for other containers). I guess that, although Powerpoint does not need to care about the container, it does enforce some extension. -- Nuno Silva (aka njsg) http://njsg.sdf-eu.org/
[gentoo-user] Re: [OT] codec for video embedded in presentation
On 2012-12-31, Francisco Ares wrote: 2012/12/30 Nuno J. Silva nunojsi...@ist.utl.pt On 2012-12-30, Francisco Ares wrote: [...] 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. 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... Perhaps a portable version of OpenOffice/LibreOffice? There used to be one from PortableApps.com(?), it will be big, heavy, but should at least work. But I don't know whether it offers universal support for some specific codec. If it relies on Video For Windows, then it will be as good as PowerPoint. -- Nuno Silva (aka njsg) http://njsg.sdf-eu.org/
[gentoo-user] Re: [OT] codec for video embedded in presentation
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. -- Nuno Silva (aka njsg) http://njsg.sdf-eu.org/
[gentoo-user] Re: gentoo netheck
On 2013-01-01, Bryan Gardiner wrote: On Wed, 2 Jan 2013 02:01:52 +0800 Analuin Abyssbeholder cntq...@gmail.com wrote: Today I wanted to install nethack and found it is masked: The following mask changes are necessary to proceed: #required by nethack (argument) # /usr/portage/profiles/package.mask: # Tavis Ormandy tav...@gentoo.org tav...@gentoo.org (21 Mar 2006) # masked pending unresolved security issues #125902 =games-roguelike/nethack-3.4.3-r1 Then I googled and view https://bugs.gentoo.org/show_bug.cgi?id=125902#c82. Well, you could have just gone to bugs.gentoo.org and searched for 125902 :-) It turned out the bug has been existed for more than six years and is related to gentoo's group game policy. So can I just manually install nethack as a common user ? If you're the only user of your computer, you could also just unmask the version in Portage. The bug is that any user in the games group can edit all save files, so if you want to hack your own saves, go ahead :). Or if you trust all games users. The main problem is not the cheating, but that nethack does not employ any kind of checks on the scores file when reading it, this effectively enables an attack vector where anyone with access to the scores file can exploit vulnerabilities in nethack simply by writing a specially-crafted score file. Nethack just relies on being setgid to a group and installing the scores file as writeable by that group. Unfortunately, that happens to be the very same games group Gentoo uses to group users who are allowed to play games, therefore rendering nethack's protection useless. Doesn't look like there's any newer version of NetHack out, either. Cheers, Bryan -- Nuno Silva (aka njsg) http://njsg.sdf-eu.org/
[gentoo-user] Re: [OT] codec for video embedded in presentation
On 2012-12-30, Francisco Ares wrote: Hello All, I know this is WAY off- topic, but I have seen topics in many different areas, probably some gentooers will be glad to share experiences. I am trying to create some videos for a M$ Office presentation. Some are from recordmydesktop, which produces an OGG video, that I have to convert, so Powerpoint will open it without complaining. (I know the trick about renaming the video file to AVI extension, but this does not work always) So I would like to know witch is the best/correct codec to encode/convert a video file for proper use with M$ Powerpoint. I have being using this script for testing: #! /bin/bash mencoder $1 -oac pcm -ovc lavc -lavcopts vcodec=ffv1:vbitrate=1200:vme=4:mbd=2:v4mv:dia=-1 -ofps 25 -o test.avi Any ideas/suggestions? 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/
Re: [gentoo-user] Re: Anyone switched to eudev yet?
On 2012-12-27, Volker Armin Hemmann wrote: Am Sonntag, 23. Dezember 2012, 19:44:43 schrieb Nuno J. Silva: On 2012-12-23, Alan Mackenzie wrote: On Sun, Dec 23, 2012 at 07:03:25PM +0200, Nuno J. Silva wrote: On 2012-12-23, Alan McKinnon wrote: On Sun, 23 Dec 2012 12:22:24 +0200 nunojsi...@ist.utl.pt (Nuno J. Silva) wrote: On 2012-12-18, Alan McKinnon wrote: On Tue, 18 Dec 2012 09:08:53 -0500 Michael Mol mike...@gmail.com wrote: This sentence summarizes my understanding of your post nicely: Now, why is /usr special? It's because it contains executable code the system might require while launching. Now there are only two approaches that could solve that problem: 1. Avoid it entirely 2. Deal with it using any of a variety of bootstrap techniques #1 is handled by policy, whereby any code the system might require while launching is not in /usr. #2 already has a solution, it's called an init*. Other solutions exist but none are as elegant as a throwaway temporary filesystem in RAM. What about just mounting /usr as soon as the system boots? Please read the thread next time. The topic under discussion is solutions to the problem of not being able to do exactly that. Then I suppose you can surely explain in a nutshell why can't init scripts simply do that? Because certain people with influence have rearranged the filesystem so that programs within /usr are absolutely necessary for booting; they are needed _before_ init has a chance to mount /usr. So either /usr has to be in the root partition, or crazy kludges need to be used to mount /usr before the kernel runs init. I surely don't know the udev architecture well enough, but if this is all done by the udev daemon, can't we just mount /usr before the daemon is started? The only needed things should be mount (which is under /bin here) and /etc/fstab. and a device node in /dev - like /dev/sda2. And how do you get that one without udev? oops? Please try booting your system and getting to a shell before udevd gets started. Then, please do ls /dev. -- Nuno Silva (aka njsg) http://njsg.sdf-eu.org/
[gentoo-user] Re: Anyone switched to eudev yet?
On 2012-12-24, Bruce Hill wrote: On Mon, Dec 24, 2012 at 05:06:41PM +0200, Nuno J. Silva wrote: Now, also, from my understanding, this was already the case for some time (maybe even years?). And that's why I've asked for more details. So, if the udev you use is OK with no initrd, what is in the new udev that actually requires the initrd? eselect news read is yore frnd ;) 2012-03-16-udev-181-unmasking Title udev-181 unmasking AuthorWilliam Hubbs willi...@gentoo.org Posted2012-03-16 Revision 1 udev-181 is being unmasked on 2012-03-19. This news item is to inform you that once you upgrade to a version of udev =181, if you have /usr on a separate partition, you must boot your system with an initramfs which pre-mounts /usr. An initramfs which does this is created by =sys-kernel/genkernel-3.4.25.1 or =sys-kernel/dracut-017-r1. If you do not want to use these tools, be sure any initramfs you create pre-mounts /usr. Also, if you are using OpenRC, you must upgrade to = openrc-0.9.9. For more information on why this has been done, see the following URL: http://freedesktop.org/wiki/Software/systemd/separate-usr-is-broken You can read that systemd is *THE* problem, not udev, and that until the primma donnas fubared udev by jamming systemd into it, There Was No Such Problem (TM). And that explains where the train jumped the track... No, actually it doesn't. It just has the same kind of very generic claim that has been repeated several times in this thread (which is why? because it won't work) and links to an article that explains why some udev rules would silently fail for all this time (for *years* now, I'd guess). The article does not describe a change introduced with 181, it describes what already happened with previous versions. I am not using = 181 and I do see the issues the article mentions (it does not break here because I do not have a separate /usr, but I can see some rules that use stuff from /usr). -- Nuno Silva (aka njsg) http://njsg.sdf-eu.org/
[gentoo-user] Re: Anyone switched to eudev yet?
On 2012-12-25, Bruce Hill wrote: On Tue, Dec 25, 2012 at 02:10:28PM +0200, Nuno J. Silva wrote: No, actually it doesn't. It just has the same kind of very generic claim that has been repeated several times in this thread (which is why? because it won't work) and links to an article that explains why some udev rules would silently fail for all this time (for *years* now, I'd guess). The article does not describe a change introduced with 181, it describes what already happened with previous versions. I am not using = 181 and I do see the issues the article mentions (it does not break here because I do not have a separate /usr, but I can see some rules that use stuff from /usr). You have such an obvious lack of understanding, and problem comprehending English, we just don't need to post to you anymore. ;) Please be my guest and explain me in which part of that article is it said that some behavior *introduced in udev-181* will break systems with a separate /usr. -- Nuno Silva (aka njsg) http://njsg.sdf-eu.org/
[gentoo-user] Re: Anyone switched to eudev yet? - what was wron with SysVInit?
On 2012-12-25, Michael Mol wrote: Now, question: could I not create a /usr service and make things dependent on /usr come after it's been mounted? That seems the single, core missing piece. This suffices for /usr on regular partitions. The problem is with more complex stuff which, I assume (assume, because nobody who actually has that setup has actually explained what happens), requires device files which are not present under /dev by default, and, even if /dev is already mounted once init is started, it only has a handful of default files. The additional, non-default files for most of the stuff are nowadays created through udev, and so you need to have udevd running and processing events to populate /dev. Thus: - The already existing rules will silently fail problem will not be solved, as some events will get processed before you have a chance to mount /usr - The udev won't work because it is under /usr issue, which seems to be the case of udev since it got merged with systemd (once again I'm assuming here, from a bug report)), well, this one is not easy to solve unless you copy the udev tools to / or to some initr*, or you install udev to /. But, of course, for /usr on regular partitions, just issuing mount /usr before starting udevd works. -- Nuno Silva (aka njsg) http://njsg.sdf-eu.org/
[gentoo-user] Re: Anyone switched to eudev yet?
On 2012-12-25, Dale wrote: Nuno J. Silva wrote: On 2012-12-25, Bruce Hill wrote: On Tue, Dec 25, 2012 at 02:10:28PM +0200, Nuno J. Silva wrote: No, actually it doesn't. It just has the same kind of very generic claim that has been repeated several times in this thread (which is why? because it won't work) and links to an article that explains why some udev rules would silently fail for all this time (for *years* now, I'd guess). The article does not describe a change introduced with 181, it describes what already happened with previous versions. I am not using = 181 and I do see the issues the article mentions (it does not break here because I do not have a separate /usr, but I can see some rules that use stuff from /usr). You have such an obvious lack of understanding, and problem comprehending English, we just don't need to post to you anymore. ;) Please be my guest and explain me in which part of that article is it said that some behavior *introduced in udev-181* will break systems with a separate /usr. Quoting from Gentoo news item: Which was exactly the thing I was commenting on above, ok. [...] Now are you saying the Gentoo devs are lying to us? Careful now. Could end up on a slippery slope and bump your head. That says anything BEFORE 181 boots fine with a separate /usr, 181 or anything after does not. Simple enough for you yet? It does indeed say that, but fails to provide any explanation on *why*. And, the exact point I made above is that the URL they give points to an explanation on something completely unrelated to the issue the news item is about. Further, that news item *claims* that booting with a separate /usr will break with =udev-181. So far, *nobody* was able to explain why that would happen, not even that news item. The only thing people have been able to do on this mailing list regarding this news item is here it is, that's why it will break. Allow me to exemplify the exchange you and others are making here 10: A: =udev-181 will break boots with separate /usr 20: B: Why? 30: A: Because =udev-181 will break boots with separate /usr 40: B: But why? 50: A: Because we say so 60: GOTO 20 I don't have any reason to believe anyone is lying, and that's why, instead of accusing people of lying, I decided to simply ask people here for some explanations. Now if the answers I've got here make me believe this whole udev mess is more about someone saying it will break and everybody blindly believing it does break. Regardless of whether it actually breaks or not. I might add, I have ALWAYS had a separate /usr. Darn near a decade now. It has never failed to boot because /usr was on a separate partition. NOT ONCE. Now I am told it is going to fail. Go figure. Go try to tell me that it was broken all these years. Yea, right. Would it be too much trouble to ask you to share the output of egrep 'usb-db|pci-db|FROM_DATABASE|/usr' /*/udev/rules.d/* and the version of udev you're running? I'm curious to see. Of course that, if you don't have some packages installing their udev rules, you may not have the issue at all. But maybe you have, so why don't we give it a try? Also, if you actually read the linked URL, it does explain it won't fail to boot. You do realize these are two different issues here, right? One is people saying that udev-181 will fail to boot, other is the issue described on the URL linked on the news item, which is about stuff in /usr breaking udev rules, which has been around for a long time and will *silently* fail. I remind you that silently fail implies that your system will still boot, even if it is affected by the issue. That's like telling me the Sun comes up in the west when I can see it doesn't with my own two eyes. Good luck with that. Reminds me of thattell it to the hand thing. ROFL -- Nuno Silva (aka njsg) http://njsg.sdf-eu.org/
[gentoo-user] Re: Anyone switched to eudev yet?
On 2012-12-25, Dale wrote: Nuno J. Silva wrote: On 2012-12-25, Dale wrote: [...] I might add, I have ALWAYS had a separate /usr. Darn near a decade now. It has never failed to boot because /usr was on a separate partition. NOT ONCE. Now I am told it is going to fail. Go figure. Go try to tell me that it was broken all these years. Yea, right. Would it be too much trouble to ask you to share the output of egrep 'usb-db|pci-db|FROM_DATABASE|/usr' /*/udev/rules.d/* and the version of udev you're running? I'm curious to see. Of course that, if you don't have some packages installing their udev rules, you may not have the issue at all. But maybe you have, so why don't we give it a try? Also, if you actually read the linked URL, it does explain it won't fail to boot. You do realize these are two different issues here, right? One is people saying that udev-181 will fail to boot, other is the issue described on the URL linked on the news item, which is about stuff in /usr breaking udev rules, which has been around for a long time and will *silently* fail. I remind you that silently fail implies that your system will still boot, even if it is affected by the issue. root@fireball / # egrep 'usb-db|pci-db|FROM_DATABASE|/usr' /*/udev/rules.d/* [...] $$D; printf %%03i:%%03i $$B $$D', RUN+=/bin/sh -c '/usr/bin/python /usr/bin/hp-check-plugin -m %c ' /lib/udev/rules.d/86-hpmud_plugin.rules:SUBSYSTEM==usb, ENV{DEVTYPE}==usb_device, ATTRS{idVendor}==03f0, ATTRS{idProduct}==??2a, PROGRAM=/bin/sh -c 'X=%k; X=$${X#usbdev}; B=$${X.*}; D=$${X#*.}; logger -p user.info loading HP Device $$B $$D; printf %%03i:%%03i $$B $$D', RUN+=/bin/sh -c '/usr/bin/python /usr/bin/hp-check-plugin -m %c ' /lib/udev/rules.d/90-alsa-restore.rules:RUN+=/usr/sbin/alsactl restore $attr{number} root@fireball / # Yikes, almost enough for a attachment. root@fireball / # equery list udev * Searching for udev ... [IP-] [ ] sys-fs/udev-171-r9:0 root@fireball / # Thanks. So you don't have udev-181, but you already need stuff under /udev for these rules to work. Which is what that URL is about. I will not allow my system to upgrade to anything listed in the new item. I'm not going to chance it. As to a silent fail. I watch my system really close when booting. If I see any error message, I hit Scroll lock and make a note of it. I have one now about rc.conf. I have the file in the new place but have not rebooted yet to test. So far, I have not seen any error except for sound card stuff when booting. Since a sound card is not needed when booting, I'm not worried about it. You happen to understand that the silent part in silent fail implies that you won't see any error message? If it wasn't silent, it would not be called silent fail. In fact, I'd say that the article the URL points to was written exactly because this has been this way for some time, but as the fail is silent, many people simply don't notice that it fails, and assume that, as far as the system reachs the login prompt with no visible errors, then everything is OK. Again, this comes to this that has been around for decades. Anything needed for booting, should be on the / file system, /bin, /sbin, /lib or /etc. Nothing needed for booting should be placed in /usr or /var since a lot of people put those on separate file systems, including me. What I don't get is this, that has been working for decades so why change it? Then perhaps you should do, for example, equery belongs '/usr/bin/hp-check-plugin' equery belongs '/usr/bin/python' equery belongs '/usr/bin/hp-mkuri' equery belongs '/usr/sbin/alsactl' [and so on, for executables and scripts used in the udev rules the command found on your system] And file bugs on these packages (ALSA, python and perhaps some CUPS drivers?), as these commands are needed for booting (they're called by udev as soon as there is a device matching the rule) and, so, they should live under /, not under /usr. -- Nuno Silva (aka njsg) http://njsg.sdf-eu.org/
[gentoo-user] Re: Questions about optimal mplayer settings
On 2012-12-19, Dale wrote: Bruce Hill wrote: On Tue, Dec 18, 2012 at 07:05:14PM -0600, Dale wrote: [...] Here is two links if you want to try my weird way of doing this: http://www.youtube.com/watch?v=XITHbsUUlYI http://www.youtube.com/watch?v=e2Innx3puNI I use downloadhelper to grab those then play them locally. Both of those are available in 1080p tho. Should warm up something. ;-) Dale Rather than downloadhelper and a web browser, try: mingdao@workstation ~/test $ youtube-dl http://www.youtube.com/watch?v=XITHbsUUlYI [youtube] Setting language [youtube] XITHbsUUlYI: Downloading video webpage [youtube] XITHbsUUlYI: Downloading video info webpage [youtube] XITHbsUUlYI: Extracting video information [download] Destination: XITHbsUUlYI.mp4 [download] 30.5% of 107.04M at1.43M/s ETA 00:52 Some videos are available in different resolutions. Some have as many as 6 or 8 different ones. With downloadhelper, you can pick which one you want. I'm not sure if youtube-dl does or not. Also, I download videos from lots of sites. I don't actually use youtube a lot. youtube-dl supports all the available formats, it just defaults to the best quality one of the available for the chosen video. The -f parameter takes as an argument the format number, see the list from Wikipedia, http://enwp.org/YouTube#Quality_and_codecs youtube-dl is also not youtube-specific. -- Nuno Silva (aka njsg) http://njsg.sdf-eu.org/
[gentoo-user] Re: Questions about optimal mplayer settings
On 2012-12-19, Florian Philipp wrote: Am 19.12.2012 00:20, schrieb Walter Dnes: 1) In the past couple of days I finally figured out what I was doing wrong with hardware acceleration (causing lack thereof) with an onboard Intel GPU in my HTPC machine. I've applied the same fix to my desktop. mplayer now has 5 video output modes that actually show a picture... xv X11/Xv This doesn't use any GPU features. Good compatibility but otherwise not recommended. I thought the X Video extensions were where the hardware acceleration for video acceleration was actually supposed to be implemented (not that, in some drivers, said acceleration is actually implemented...). My bets would be xv and gl, with gl being possibly better for some drivers, but hey, I may be wrong about xv. It also seems that I don't have vdpau enabled right now (I wonder if that enables generic acceleration frameworks for cards other than nVidia). (AMD GPU with open drivers here.) -- Nuno Silva (aka njsg) http://njsg.sdf-eu.org/
[gentoo-user] Re: Anyone switched to eudev yet?
On 2012-12-24, Dale wrote: Alan McKinnon wrote: On Sun, 23 Dec 2012 19:03:25 +0200 nunojsi...@ist.utl.pt (Nuno J. Silva) wrote: On 2012-12-23, Alan McKinnon wrote: On Sun, 23 Dec 2012 12:22:24 +0200 nunojsi...@ist.utl.pt (Nuno J. Silva) wrote: [...] What about just mounting /usr as soon as the system boots? Please read the thread next time. The topic under discussion is solutions to the problem of not being able to do exactly that. Then I suppose you can surely explain in a nutshell why can't init scripts simply do that? It is trivially easy to create a circular loop whereby code required to mount /usr now resides on /usr. Which is the entire thrust of this whole thread. When I reboot, I get a lot of errors about /var being empty, since it is not mounted yet. It appears it wants /var as well as /usr early on in the boot process. It boots regardless of the errors tho. For the record Nuno, I have / and /boot on regular partitions. I have everything else, /home, /usr, /var and /usr/portage on LVM partitions. Until recently, I NEVER needed a init thingy and had zero errors while booting. Once this 'needing /usr on /' started a few months ago, I was told I would need one to boot. The claim being it was broken all the time but odd that it worked for the last 9 years with no problem, might add, I only been using Linux for the last 9 years but it also would have worked before that. In your case, does it actually fail without an initrd now? It's just that I see lots of people saying it doesn't work or it will silently fail, that's why I asked the question, I was looking for actual examples of how can this go wrong (other than just because the init scripts don't try to mount /usr before starting udev). Also, how does an initrd help solving the chicken-and-the-egg problem for a missing /usr? I suppose the LVM drivers create additional device files that are only created once udevd is up and running in order to process these events? (With the case of a regular partition being no problem just because linux apparently offers hardcoded files for some partitions in the first ATA controllers.) So, Nuno, everything was fine until they started moving things to a place where it shouldn't be. Now, we have people working on eudev which will replace udev and allow us to boot with a separate /usr and no init thingy either. Basically, putting it back like it was, for many years I might add. -- Nuno Silva (aka njsg) http://njsg.sdf-eu.org/
[gentoo-user] Re: ALSA mixer as a capture device with Intel HDA cards
On 2012-12-23, »Q« wrote: On Sun, 23 Dec 2012 01:59:50 +0200 nunojsi...@ist.utl.pt (Nuno J. Silva) wrote: Hello, Today, I got a bit curious, and wanted to get some sound from a computer which does not have any speakers at the moment. Mostly for fun, I thought about using arecord and then listening to the file. I decided to have a look around the mixer, with no luck. I remember alsamixer showing an option to use the PCM mixer as a capture device, but this was with other, older cards (possibly an ESS Maestro or a Creative Enqsonic). Now, for this Intel HDA card, I don't see an option to select the card's own output as the input stream. From what I see, I'd simply assume this means the new card does not have support for this in the hardware mixer, but I wonder whether I'm missing something obvious. The card is listed, in lspci, as Audio device: NVIDIA Corporation MCP72XE/MCP72P/MCP78U/MCP78S High Definition Audio (rev a1) And alsamixer lists it as Card: HDA NVidia Chip: Realtek ALC887 Any hints? I have exactly same question/problem, but with Realtek ALC275, not on an nVidia card. As far as I can tell, I only have one capture option in alsamixer, and toggling it on only captures sound picked up by the microphone. Here's my output of amixer: http://remarqs.net/misc/amixer.txt And a screenshot of alsamixer's capture settings: http://remarqs.net/misc/alsamixer-capture.png Very similar to my desktop -- I have *two* capture settings, but I suppose that's because the card has two microphone inputs (front and rear) along with line in, and they probably wanted to allow capture from more than one source at the same time. So, other than another capture option and an option to pick the source, it seems to be the same. I'll see if I can get an older PCI card to try this with, and see if it gives me the capture option I want. -- Nuno Silva (aka njsg) http://njsg.sdf-eu.org/
[gentoo-user] Re: Anyone switched to eudev yet?
On 2012-12-24, Dale wrote: Nuno J. Silva wrote: On 2012-12-24, Dale wrote: Alan McKinnon wrote: On Sun, 23 Dec 2012 19:03:25 +0200 nunojsi...@ist.utl.pt (Nuno J. Silva) wrote: On 2012-12-23, Alan McKinnon wrote: On Sun, 23 Dec 2012 12:22:24 +0200 nunojsi...@ist.utl.pt (Nuno J. Silva) wrote: [...] What about just mounting /usr as soon as the system boots? Please read the thread next time. The topic under discussion is solutions to the problem of not being able to do exactly that. Then I suppose you can surely explain in a nutshell why can't init scripts simply do that? It is trivially easy to create a circular loop whereby code required to mount /usr now resides on /usr. Which is the entire thrust of this whole thread. When I reboot, I get a lot of errors about /var being empty, since it is not mounted yet. It appears it wants /var as well as /usr early on in the boot process. It boots regardless of the errors tho. For the record Nuno, I have / and /boot on regular partitions. I have everything else, /home, /usr, /var and /usr/portage on LVM partitions. Until recently, I NEVER needed a init thingy and had zero errors while booting. Once this 'needing /usr on /' started a few months ago, I was told I would need one to boot. The claim being it was broken all the time but odd that it worked for the last 9 years with no problem, might add, I only been using Linux for the last 9 years but it also would have worked before that. In your case, does it actually fail without an initrd now? It's just that I see lots of people saying it doesn't work or it will silently fail, that's why I asked the question, I was looking for actual examples of how can this go wrong (other than just because the init scripts don't try to mount /usr before starting udev). Also, how does an initrd help solving the chicken-and-the-egg problem for a missing /usr? I suppose the LVM drivers create additional device files that are only created once udevd is up and running in order to process these events? (With the case of a regular partition being no problem just because linux apparently offers hardcoded files for some partitions in the first ATA controllers.) Well, so far I have stuck with the udev that works without a init thingy. I do have a init thingy for when the udev that requires it is marked stable. The devs are keeping the udev that requires /usr on / masked and/or keyworded until everyone is ready. That was until eudev was announced. Now they are also waiting on eudev to get stable so people can switch to it. I plan to switch too. The problem is this from my understanding. For decades, any commands or config files needed to boot Linux had to be in /bin, /sbin, /etc, and/or /lib. Those directories were what was needed to boot and anything needed to boot a system should be installed into one or more of those directories. Then someone came up with the idea of putting things into /usr instead. When they did that, it broke things. To me, this change makes as much sense as putting the mount command is /usr/bin but that is where some want Linux to go. I have read where some want to basically move about everything to /usr but not sure how much traction that is getting. From my understanding, the problem with udev was that the rules used to process events may require stuff from /usr. Which is OK, as I think the rules may even end up executing random executables. And the sole problem with this is that udev will not wait, it will simply fail in a silent way when applying rules that require stuff from /usr. Now, also, from my understanding, this was already the case for some time (maybe even years?). And that's why I've asked for more details. So, if the udev you use is OK with no initrd, what is in the new udev that actually requires the initrd? Meanwhile, I found https://bugs.gentoo.org/show_bug.cgi?id=446372, which would explain why, all of a sudden, there is a bigger problem. Now, I wonder how is this solved with an initrd, by copying udevd there? If so, why don't we simply install udevd under (or copy its stuff to) / instead of using /usr as $PREFIX? Basically, something that has worked for decades is declared to be broken all that time and if it wasn't broken, we are going to break it. ... yeah... the thing here is that I'm just trying to separate the upstream comments on separate /usr is broken from the actual thing that breaks the boot process. So far, even the stuff from freedesktop I've read stating that separate /usr is broken do not seem to mention that udevd is moving to /usr. From my understanding, if I upgrade my system to the later version of udev and bypass the init system, my system will not boot. I have not tested the theory but that is what people have been saying. Not only is my /usr separate but it is on LVM partitons too. Your problem would be LVM (if that's an issue at all, as I said I don't know LVM), you'd
[gentoo-user] Re: Ram Problem!
On 2012-12-24, Teodor Spæren wrote: Hello! I am trying to install gentoo on an old armada m700. The specs that I think is relevant for this problem is the clocking speed of the cpu and the ram. It got 223mhz of clocking speed and 116mb ram. I have added 512mb of swap since I knew the ram was going to be a problem. The command I issue is: emerge gentoo-sources and the output of the command is this: http://bpaste.net/raw/66293/ The only thing I can really read from the error message is that it runs out of ram. This surprises me because all it is really doing is moving the kernel sources into place? I asked around in #gentoo on irc.freenode.net and someone adviced me to turn of MAKEOPTS=-j2 and -pipe, but this doesn't fix it. No surprise here, from what I can see, what's happening is that *emerge* is running out of memory, it's not a compilation, so -pipe or MAKEOPTS won't make any difference here. Are you, by any chance, running anything else on the machine, or maybe you forgot to enable the swap? Even then, unless emerge has changed a lot in the last few years, I doubt you need that much memory to have emerge copy files to /. But check the output of free -m or something like that to check whether 1) there's something else using a lot of memory and 2) the swap is effectiely enabled. The possible work around I have thought of is just getting the vanilla kernel from kernel.org, but the gentoo wiki advise against it, since gentoo-sources is a patched kernel. You can install the vanilla kernel, I think you can even use emerge for that, but I also think your problem here is with emerge running out of memory, not gentoo-sources being incompatible. I'd try to fix whatever the emerge issue is as it will probably prevent you from installing other packages, and that is effectively a major issue when you want to use the system. This is my first post to a mailing list, so I hope it is not to bad! :D With best regards, - TheRedMood -- Nuno Silva (aka njsg) http://njsg.sdf-eu.org/
[gentoo-user] Re: Anyone switched to eudev yet?
On 2012-12-24, Michael Mol wrote: On Mon, Dec 24, 2012 at 10:06 AM, Nuno J. Silva nunojsi...@ist.utl.pt wrote: On 2012-12-24, Dale wrote: [...] From my understanding, if I upgrade my system to the later version of udev and bypass the init system, my system will not boot. I have not tested the theory but that is what people have been saying. Not only is my /usr separate but it is on LVM partitons too. Your problem would be LVM (if that's an issue at all, as I said I don't know LVM), you'd not need udevd to mount /usr if it were a regular partition. you wouldn't have this problem if you did *something else* is a terrible response. There are very good reasons to use LVM. There are good (IMO, at least) reasons to avoid using an initr* on Gentoo. (Those reasons are sprinkled through the thread, some spoken by me, some spoken by others.) A shame that was not what I meant at all, the only thing I said was yes, the problem is probably caused by it being on LVM, not because of /usr being separate. Just pointing the specific part of Dale's config that would be the problem. You'll find most of the people in the discussion so far aren't against initr* in all cases. It's the increase in number of cases where it becomes technically required that's a problem. -- Nuno Silva (aka njsg) http://njsg.sdf-eu.org/
[gentoo-user] Re: Anyone switched to eudev yet?
On 2012-12-18, Alan McKinnon wrote: On Tue, 18 Dec 2012 09:08:53 -0500 Michael Mol mike...@gmail.com wrote: This sentence summarizes my understanding of your post nicely: Now, why is /usr special? It's because it contains executable code the system might require while launching. Now there are only two approaches that could solve that problem: 1. Avoid it entirely 2. Deal with it using any of a variety of bootstrap techniques #1 is handled by policy, whereby any code the system might require while launching is not in /usr. #2 already has a solution, it's called an init*. Other solutions exist but none are as elegant as a throwaway temporary filesystem in RAM. What about just mounting /usr as soon as the system boots? snip/ -- Nuno Silva (aka njsg) http://njsg.sdf-eu.org/
[gentoo-user] Re: Anyone switched to eudev yet?
On 2012-12-20, Volker Armin Hemmann wrote: Am Donnerstag, 20. Dezember 2012, 11:45:34 schrieb Mark David Dumlao: 3) Most software packagers write their binaries to a PREFIX defaulting to /usr/local, or /usr, as opposed to /. Determining which ones belong in / or /usr can sometimes be dependent on the distro and/or sysad. But since more of them default to /usr, if everything were in /usr it'd be a saner default. so what? PREFIX can be changed. Set it to /local if you want. Or /var/local. Or /my/happy/place/local. Ironically, I think /usr may make for a good /usr/local, as usr could easily stand for user-installed software. If that wasn't already the purpose in some earlier unices... -- Nuno Silva (aka njsg) http://njsg.sdf-eu.org/
[gentoo-user] Re: slideshow on USB stick
On 2012-12-19, Joseph wrote: Is it possible to create slide show (pictures) on USB stick and play on a TV? In the past I've used dvd-slideshow but that is a bit of work. I had to re-size the pictures add background music etc. DVD only holds 4GB USB sticks have larger capacity. It depends a lot on the TVs you want to play the slideshow in. If it's a specific TV, you can just check what does it support. I've seen some LG TVs which were able to browse photos on USB mass storage devices, and they probably had a slideshow feature, although I've never tried that. If you're aiming at broader support, your best chance is really some widely supported set of settings like DVD-Video, because some table DVD players (and TVs too, I guess) will be picky regarding framerate, frame size, codec and other settings. For example, technically you could grab some file container and codec, set the framerate to the time you want between photos and just use the photos as the video frames (I think ffmpeg allows you to do this, but some containers have problems with exotic framerates). But I guess many TV and table DVD players out there would just refuse to play that. One thing, though, is that what only holds ~4GB is *a specific* format of DVD media, there are DVDs with larger capacities, and I'd not be surprised if the size was not restricted at all by the DVD-Video standard (the file format, filesystem structure and codec specifications, not the physical medium specifications). -- Nuno Silva (aka njsg) http://njsg.sdf-eu.org/
[gentoo-user] Re: Anyone switched to eudev yet?
On 2012-12-23, Alan McKinnon wrote: On Sun, 23 Dec 2012 12:22:24 +0200 nunojsi...@ist.utl.pt (Nuno J. Silva) wrote: On 2012-12-18, Alan McKinnon wrote: On Tue, 18 Dec 2012 09:08:53 -0500 Michael Mol mike...@gmail.com wrote: This sentence summarizes my understanding of your post nicely: Now, why is /usr special? It's because it contains executable code the system might require while launching. Now there are only two approaches that could solve that problem: 1. Avoid it entirely 2. Deal with it using any of a variety of bootstrap techniques #1 is handled by policy, whereby any code the system might require while launching is not in /usr. #2 already has a solution, it's called an init*. Other solutions exist but none are as elegant as a throwaway temporary filesystem in RAM. What about just mounting /usr as soon as the system boots? Please read the thread next time. The topic under discussion is solutions to the problem of not being able to do exactly that. Then I suppose you can surely explain in a nutshell why can't init scripts simply do that? -- Nuno Silva (aka njsg) http://njsg.sdf-eu.org/
[gentoo-user] Re: Anyone switched to eudev yet?
On 2012-12-23, Alan Mackenzie wrote: On Sun, Dec 23, 2012 at 07:03:25PM +0200, Nuno J. Silva wrote: On 2012-12-23, Alan McKinnon wrote: On Sun, 23 Dec 2012 12:22:24 +0200 nunojsi...@ist.utl.pt (Nuno J. Silva) wrote: On 2012-12-18, Alan McKinnon wrote: On Tue, 18 Dec 2012 09:08:53 -0500 Michael Mol mike...@gmail.com wrote: This sentence summarizes my understanding of your post nicely: Now, why is /usr special? It's because it contains executable code the system might require while launching. Now there are only two approaches that could solve that problem: 1. Avoid it entirely 2. Deal with it using any of a variety of bootstrap techniques #1 is handled by policy, whereby any code the system might require while launching is not in /usr. #2 already has a solution, it's called an init*. Other solutions exist but none are as elegant as a throwaway temporary filesystem in RAM. What about just mounting /usr as soon as the system boots? Please read the thread next time. The topic under discussion is solutions to the problem of not being able to do exactly that. Then I suppose you can surely explain in a nutshell why can't init scripts simply do that? Because certain people with influence have rearranged the filesystem so that programs within /usr are absolutely necessary for booting; they are needed _before_ init has a chance to mount /usr. So either /usr has to be in the root partition, or crazy kludges need to be used to mount /usr before the kernel runs init. I surely don't know the udev architecture well enough, but if this is all done by the udev daemon, can't we just mount /usr before the daemon is started? The only needed things should be mount (which is under /bin here) and /etc/fstab. Or is something outside udev needing stuff under /usr? -- Nuno Silva (aka njsg) http://njsg.sdf-eu.org/
[gentoo-user] Re: Anyone switched to eudev yet?
On 2012-12-23, Michael Mol wrote: On Dec 23, 2012 12:46 PM, Nuno J. Silva nunojsi...@ist.utl.pt wrote: On 2012-12-23, Alan Mackenzie wrote: On Sun, Dec 23, 2012 at 07:03:25PM +0200, Nuno J. Silva wrote: On 2012-12-23, Alan McKinnon wrote: On Sun, 23 Dec 2012 12:22:24 +0200 nunojsi...@ist.utl.pt (Nuno J. Silva) wrote: On 2012-12-18, Alan McKinnon wrote: On Tue, 18 Dec 2012 09:08:53 -0500 Michael Mol mike...@gmail.com wrote: This sentence summarizes my understanding of your post nicely: Now, why is /usr special? It's because it contains executable code the system might require while launching. Now there are only two approaches that could solve that problem: 1. Avoid it entirely 2. Deal with it using any of a variety of bootstrap techniques #1 is handled by policy, whereby any code the system might require while launching is not in /usr. #2 already has a solution, it's called an init*. Other solutions exist but none are as elegant as a throwaway temporary filesystem in RAM. What about just mounting /usr as soon as the system boots? Please read the thread next time. The topic under discussion is solutions to the problem of not being able to do exactly that. Then I suppose you can surely explain in a nutshell why can't init scripts simply do that? Because certain people with influence have rearranged the filesystem so that programs within /usr are absolutely necessary for booting; they are needed _before_ init has a chance to mount /usr. So either /usr has to be in the root partition, or crazy kludges need to be used to mount /usr before the kernel runs init. I surely don't know the udev architecture well enough, but if this is all done by the udev daemon, can't we just mount /usr before the daemon is started? The only needed things should be mount (which is under /bin here) and /etc/fstab. Or is something outside udev needing stuff under /usr? Yes. That's the pivot of the problem. What is it? I tried and I was able to mount a filesystem other than / shortly after linux has passed control to init, in fact, with no udev stuff running. -- Nuno Silva (aka njsg) http://njsg.sdf-eu.org/
[gentoo-user] ALSA mixer as a capture device with Intel HDA cards
Hello, Today, I got a bit curious, and wanted to get some sound from a computer which does not have any speakers at the moment. Mostly for fun, I thought about using arecord and then listening to the file. I decided to have a look around the mixer, with no luck. I remember alsamixer showing an option to use the PCM mixer as a capture device, but this was with other, older cards (possibly an ESS Maestro or a Creative Enqsonic). Now, for this Intel HDA card, I don't see an option to select the card's own output as the input stream. From what I see, I'd simply assume this means the new card does not have support for this in the hardware mixer, but I wonder whether I'm missing something obvious. The card is listed, in lspci, as Audio device: NVIDIA Corporation MCP72XE/MCP72P/MCP78U/MCP78S High Definition Audio (rev a1) And alsamixer lists it as Card: HDA NVidia Chip: Realtek ALC887 Any hints? -- Nuno Silva (aka njsg) http://njsg.sdf-eu.org/
[gentoo-user] Re: Anyone switched to eudev yet?
On 2012-12-16, Bruce Hill wrote: On Sun, Dec 16, 2012 at 05:10:43PM +0200, Alan McKinnon wrote: That was the original reason for having / and /usr separate, and it dates back to the early 70s. The other reason that stems from that time period is the size of disks we had back then - they were tiny and often a minimal / was all that could really fit on the primary system drive. Gradually over time this setup became the norm and people started to depend on it, and more importantly, started to believe it was important to retain it. It's their right to believe that. Recently I decided to measure if I still needed a separate /usr (I was a long time advocate of retaining it). I'm in the lucky position of having ~200 Linux machines, all distinctly different, at my disposal, so I trawled through memory and incident logs looking for cases where a separate /usr was crucial to recovery after any form of error. To my surprise, I found none at all and those logs go back 5 years. So I got to change my mind (not something I do very often I admit) and concluded that separate base and user systems (/ and /usr) was no longer something I needed to do - the system - disks, hardware and the software on the disks - was very reliable, and what I really needed was ability to boot from USB rescue disks. I did find, not unsurprisingly, that I also really needed /usr/local on a separate partition but that's because of how we install our in-house software here, plus our backup policies. It also goes without saying that these days we need /home, /var, /var/log and /tmp to all be on their own filesystem, and we need that more than ever. I thought I should just toss that in the ring for people who are undecided where they stand on the debate of separate / vs /usr. It's what I found on our production, dev and staging servers, plus a whole lot of people's personal workstations (sysadmins and devs). The environment is a large corporate ISP that defies categorization, we almost have at least one of every imaginable use-case for running on Linux except something in the Top 100 SuperComputer list. I reckon it's about as representative as I'm ever gonna see. People are free to draw their own conclusions as always, and real data is valuable in arriving at those conclusions. YMMV. Thanks for sharing your experience, and not just your emotions. One of my favorite quotes is, A man with an experience is not subject to a man with an argument. My thanks, too! There's nothing like reading on some actual experience with this. So this was once the reason to keep / separate. Not that important anymore (but this is still no excuse to force people to keep /usr in the same filesystem). -- Nuno Silva (aka njsg) http://njsg.sdf-eu.org/
[gentoo-user] Re: Anyone switched to eudev yet?
On 2012-12-16, Nikos Chantziaras wrote: On 15/12/12 12:18, Volker Armin Hemmann wrote: Am Freitag, 14. Dezember 2012, 21:34:54 schrieb Kevin Chadwick: On OpenBSD which has the benefit of userland being part of it. All the critical single user binaries are in root and built statically as much as possible, maximising system reliability no matter the custom requirements or packages. until a flaw is found in one of the libs used and all those statically linked binaries are in danger. Well done! I don't see why this would only affect statically linked executables. If a bug is found in a library, all dynamically linked executables are affected as well. When the BSD packagers put out an update for the library, they'll also put updates for the static binaries that use it. I don't see any security issue here. Even more than that, if a flaw is found, no matter if those are statically or dinamically linked, the flaw exists both ways, and can be exploited in both scenarios. About replacing, you can just replace all those binaries like you would replace the dynamically linkable one. But you'd have to consider that the flaw may have been exploited in both scenarios. -- Nuno Silva (aka njsg) http://njsg.sdf-eu.org/
[gentoo-user] Re: /usr/share/doc/openrc/net.example not found
On 2012-12-15, Chris Stankevitz wrote: Hello, The file /etc/conf.d/net reports that I can seen an example format at this location: /usr/share/doc/openrc/net.example As dale found, it's under a compression suffix. In fact, most (all?) of the stuff that goes under /usr/share/doc is compressed by default under gentoo. This used to be gzip -5, and was then changed to bzip -9, and you can change it to anything else, including no compression at all. On my machine that example file does not exist. Did I do something wrong or is this just a documentation oversight? Thank you, Chris PS: I'm trying to find a way to prevent dhcpd from updating my ntp.conf dhcpd? Don't you mean dchpcd (the c stands for *client*, dhcpd would be the DHCP daemon granting leases to clients)? If so, and if you don't mind using the same settings for all network interfaces, have a look at /etc/dhcpcd.conf, which has an option option ntp_servers. I'd guess that disabling this would do what you want. -- Nuno Silva (aka njsg) http://njsg.sdf-eu.org/
[gentoo-user] Re: Anyone switched to eudev yet?
On 2012-12-14, Mark Knecht wrote: I guess the other question that's lurking here for me is why do you have /usr on a separate partition? What's the usage model that drives a person to do that? The most I've ever done is move /usr/portage and /usr/src to other places. My /usr never has all that much in it beyond those two directories, along with maybe /usr/share. Would it not be easier for you in the long run to move /usr back to / and not have to deal with this question at all? I may be wrong in this one, but the idea I have is that your regular applications (so, most of them) all lie under /usr/ -- /lib /bin and others are for essential system tools. -- Nuno Silva (aka njsg) http://njsg.sdf-eu.org/
[gentoo-user] Re: broadcom-sta and the 3.6.x kernel
On 2012-12-07, Mick wrote: On Tuesday 04 Dec 2012 15:30:04 Dustin C. Hatch wrote: On 12/4/2012 06:11, Florian Philipp wrote: Do you actually need broadcom-sta anymore? With the recent kernel updates more chips work with the in-kernel driver (brcmsmac). But the config option is well hidden (you need to enable BCMA to even see it). Yes, I initially tried the b43 driver, which worked, but consistently dropped about 5-15% of packets, making it mostly unusable. I also tried bcrmsmac and bcrmfmac, and neither of them supported my card (432b). Unfortunately, I can't get a different card, either, because I my notebook has a whitelist of supported devices in the BIOS, and it won't even boot with a mini-pci-e card installed that isn't in that list. Thanks, HP :( This sounds scary!!! Isn't there a way of disabling this feature in the BIOS? With HP, you don't even get a BIOS setup. You get something that tells you the processor temperature and possibly lets you change the boot order. Have you spoken to the HP police to ask what they can do to allow you to manage the machine you bought from them? O_O I guess I could do that too. I find it a bit annoying that they don't even offer a BIOS setup and then decide to silently flip some of the settings with BIOS upgrades (like disabling AMD-V...) -- Nuno Silva (aka njsg) http://njsg.sdf-eu.org/
[gentoo-user] Re: External monitor is stretched 4:3
On 2012-12-01, Grant wrote: I've connected my laptop to a lot of HDTV's and whenever I switch the output to display on both screens, black bars appear on the left and right of my laptop screen so it displays at 4:3, and the HDTV output is 16:9 but looks horizontally stretched. Does anyone know how to keep the output at 16:9 on both screens? - Grant You don't give a lot of information here. Are you using mirrored screen or an extended desktop? Also what is the desktop environment or window manager you use? On thing that might help is to provide the output of xrandr. I'm using xfce4, but I'm not sure if I'm using a mirrored screen or an extended desktop. All I do is plug the laptop into the HDTV with an HDMI cable and hit the keyboard shortcut to switch screens which brings up a little dialog. There is nothing too complex here, if the TV and laptop are showing the same thing, one screen is *mirroring* the other, otherwise, if you see different things in different screens, you're using an extended desktop. I was able to change the resolution from 1024x768 to 1366x768 with xfce4's Display settings, but when I disconnect and reconnect to the HDTV it displays at 1024x768 again. Do you know how to select the output resolution for an external screen permanently? Is this done in xorg.conf? This is, I'd guess, a preferred video mode announced through EDID, where the TV, even if it supports 1366x768, will anounce 1024x768 as preferred. You could do the change with a small xrandr one-liner, and there must be some way to do it through xorg.conf, although I don't know how. In the end, having the output of xrandr (both before and after you change the video modes) would help *a lot*, as it answers most of our questions... -- Nuno Silva (aka njsg) http://njsg.sdf-eu.org/
[gentoo-user] Re: How to prevent emacs from installing v24?
On 2012-10-09, Grant Edwards wrote: On 2012-10-09, Nuno J. Silva nunojsi...@ist.utl.pt wrote: I think you were hit by some incompatibility between additional emacs packages and the emacs version. Do you have any external elisp files? If not, did you run emacs-updater? The only significant external elisp I have is nxhtml (which I rarely use). In fact, I got some backtraces and errors until I ran emacs-updater, after that, almost every package worked correctly, except for an external one that needs to be updated due to some changes in the way font-lock is done. IIRC, I did get font-lock errors when I tried nxhtml. But what finally drove me back to using 23 was the inability to edit plain C source files using the built-in c-mode. Anyway, that was probably what made me postpone the upgrade: too much work, fixing old packages by hand *and* figuring out which other settings did they change. (If you end up trying emacs-updater to fix emacs 24, you will need to run it again after eselecting emacs 23, if you want to go back to emacs 23.) I don't remember running emacs-updater, so I probably didn't. But shouldn't built-in c-mode to work without running emacs-updater? Well, I'm no Emacs expert, but I guess it should... after all, emacs-updater won't even touch it... -- Nuno Silva (aka njsg) http://njsg.sdf-eu.org/
[gentoo-user] Re: How to prevent emacs from installing v24?
On 2012-10-08, Michael Hampicke wrote: Am 08.10.2012 18:39, schrieb Grant Edwards: How do I prevent emerge from demanding that emacs 24 be installed? I uninstalled it a few days ago and re-installed 23 because 24 was just too buggy to be usable. Well, I am sure there's a emacs command for that :) :) But seriously, like the other suggested, I would mask that specific version of emacs. Regarding too buggy to be usable, they really changed some of the defaults... it seems, for example, that Emacs is not doing copy-paste as expected anymore (tries to rely solely on the clipboard, ignoring the X selection), and now highlights regions by default, like if setting the region was like doing text selection in a program such as Notepad.EXE. As some day I will have to switch to 24, does anyone have a list of settings to revert to the old Emacs behavior? I'm even wondering if anything else changed, other than these two things I noticed... -- Nuno Silva (aka njsg) http://njsg.sdf-eu.org/
[gentoo-user] Re: How to prevent emacs from installing v24?
On 2012-10-08, Neil Bothwick wrote: On Mon, 08 Oct 2012 19:49:33 +0200, Michael Hampicke wrote: But seriously, like the other suggested, I would mask that specific version of emacs. Emacs is slotted, so you can mask the entire 24 range if you want with app-editors/emacs:24 virtual/emacs:24 Actually, you should be able to mask just the virtual, because everything that needs emacs should depend on the virtual, not a particular implementation. But if one uses emacs as their main text editor, I suppose something will be in the world file, and *that* should be a specific implementation, not virtual/*, right? -- Nuno Silva (aka njsg) http://njsg.sdf-eu.org/
[gentoo-user] Re: How to prevent emacs from installing v24?
On 2012-10-08, Grant Edwards wrote: On 2012-10-08, Nuno J. Silva nunojsi...@ist.utl.pt wrote: On 2012-10-08, Michael Hampicke wrote: Am 08.10.2012 18:39, schrieb Grant Edwards: How do I prevent emerge from demanding that emacs 24 be installed? I uninstalled it a few days ago and re-installed 23 because 24 was just too buggy to be usable. Well, I am sure there's a emacs command for that :) :) But seriously, like the other suggested, I would mask that specific version of emacs. Regarding too buggy to be usable, I had all sorts of problems doing simple editing of C source files. It seems like I couldn't edit for more than a dozen keystrokes before it would pop up a lisp debugger window containing an unintelligible (to me) traceback. Once that happened, all sorts of things broke: * matching brace highlight stopped working. * Ctrl-XS didn't know the path/filename associated with the buffer. * The F8/compile command stopped working. I think you were hit by some incompatibility between additional emacs packages and the emacs version. Do you have any external elisp files? If not, did you run emacs-updater? In fact, I got some backtraces and errors until I ran emacs-updater, after that, almost every package worked correctly, except for an external one that needs to be updated due to some changes in the way font-lock is done. Anyway, that was probably what made me postpone the upgrade: too much work, fixing old packages by hand *and* figuring out which other settings did they change. (If you end up trying emacs-updater to fix emacs 24, you will need to run it again after eselecting emacs 23, if you want to go back to emacs 23.) they really changed some of the defaults... it seems, for example, that Emacs is not doing copy-paste as expected anymore (tries to rely solely on the clipboard, ignoring the X selection), I hadn't noticed that one, but 24 was so unstable for me that I didn't use it for very long before I went back to 23. I've noticed this one, because I sometimes rely on copy-paste a lot. And by copy-paste I mean the X selection... and now highlights regions by default, like if setting the region was like doing text selection in a program such as Notepad.EXE. I have that enabled in my .emacs file anyway. This kinda distracts me, I've got it set in a way that, if I hit C-space once, it does not highlight. If I, for some reason, actually need highlighting, I can hit C-space twice. As some day I will have to switch to 24, does anyone have a list of settings to revert to the old Emacs behavior? I'm even wondering if anything else changed, other than these two things I noticed... Maybe there's something incompatible with some of my add-ons ( Cscope, and nxhmtl-mumamo-mode are probably the big ones), but I didn't find 24 usable enough to notice too many differences other than 23 works and 24 doesn't. -- Nuno Silva (aka njsg) http://njsg.sdf-eu.org/
[gentoo-user] Re: Updating world
Neil Bothwick n...@digimed.co.uk writes: On Mon, 28 Mar 2011 14:11:55 -0400, Elaine C. Sharpe wrote: Apparently not everyone who uses kmail has the problem. Maybe it's the people who use html mail? Neil Bothwick's posts often have the ==20, but usually just one or two. Some posts are positively riddled with them, to the point of being terribly difficult to parse. Everytime I look at the headers of such a post it says kmail, but not every kmail user has the problem. That's intriguing, considering it's been many years since I used KMail. The =20 is usually caused by a quoted-printable message, meaning either your newsreader cannot handle quoted-printable or the mail-to-news gateway is screwing it up. I'd say something is screwing it up. Unless someone typoed here, the =20 is shown as ==20. -- Nuno J. Silva (aka njsg) gopher://sdf-eu.org/1/users/njsg
[gentoo-user] Re: tmux first impression
Dale rdalek1...@gmail.com writes: Walter Dnes wrote: 4) I entered the line set -g prefix C-a in ~/.tmux.conf because every site on the web that reviewed it said that was the way to go. Apparently, the developer uses {CONTROL-B} as the default hotkey to avoid colliding with {CONTROL-A} which screen uses. But everyone agrees that {CONTROL-B} is badly placed on the keyboard. I installed it too. It seems a lot like screen to me and screen seems to do what I need. I did hit ctrl a several times tho. lol I was wondering what would happen if you started tmux then started a screen session inside it. Maybe tmux has something like screen, a combination to send a C-a (or any other prefix combination you set) to the running terminal. I'd set something else -- although C-a is easy to type (at least here, control in home row), it's used in some applications, like anything that uses readline (if in Emacs mode; it seems readline also has a vi mode) and Emacs itself. -- Nuno J. Silva gopher://sdf-eu.org/1/users/njsg
[gentoo-user] Re: PDF: convert to grayscale
(Sorry for the late replies) Matthew Summers quantumsumm...@gentoo.org writes: paul.hartman+gen...@gmail.com wrote: On Tue, Feb 8, 2011 at 7:50 AM, Nuno J. Silva nunojsi...@ist.utl.pt wrote: Does anyone know a tool (other than ghostscript) that is able to convert a PDF (or postscript) to grayscale? [...] Use the GIMP, Luke. I have to do this all the time with forms and such. The GIMP imports PDF files nicely, and I usually print the file to PDF after I am done. Now, if you have a many page document, the GIMP will import each page as a layer which can make it a pain to have to manually print each layer as a separate pdf, but ya do what ya gotta do. I also like PDFShuffler for managing/mangling pdf files. Its in portage by the way. GIMP will make it raster, and my goal was keeping it vectorial. BTW, if you happen to, for some reason, convert pdf to raster frequently, see ImageMagick's convert, which for some output formats (at least png and jpeg) does a batch export of all pages (as separate files). It will probably be handy when the PDF has many pages. -- Nuno J. Silva gopher://sdf-eu.org/1/users/njsg
[gentoo-user] Re: PDF: convert to grayscale
Paul Hartman paul.hartman+gen...@gmail.com writes: On Tue, Feb 8, 2011 at 7:50 AM, Nuno J. Silva nunojsi...@ist.utl.pt wrote: Does anyone know a tool (other than ghostscript) that is able to convert a PDF (or postscript) to grayscale? Ghostscript does this, but is unable to convert gradients and fills (they're replaced by bitmaps) which results in a too big file unless I drastically reduce quality. Are you the creator of the document and want to save the original as greyscale, or you want to convert an already existing PDF? All I have are PDFs, without any original file. If the latter I think the easy way is to use ghostscript (pdf2ps) to render it as greyscale postscript. Then you could convert the PS back to PDF if you need to. But if you already tried that, then, I don't know... From what I've been reading, it's always better to use pdftops (poppler) because pdf2ps generates lower-level stuff and also converts fonts to bitmap. But both ways, I'd end up doing the conversion in ghostscript, and that's where the problem is. -- Nuno J. Silva gopher://sdf-eu.org/1/users/njsg
[gentoo-user] Re: PDF: convert to grayscale
Alex Schuster wo...@wonkology.org writes: Grant Edwards writes: On 2011-02-08, Nuno J. Silva nunojsi...@ist.utl.pt wrote: Does anyone know a tool (other than ghostscript) that is able to convert a PDF (or postscript) to grayscale? Ghostscript does this, but is unable to convert gradients and fills (they're replaced by bitmaps) which results in a too big file unless I drastically reduce quality. I don't understand what you're asking for. What sort of output format do you want (raster, vector, ???)? I think he wants the same PDF as the original file. Only in grayscale. Yeah, that's it. I ended up hacking the PDF to convert all RGB to grayscale, but even if the result was the original without colors (what I wanted), converting it to ghostscript made some text unreadable (white on white), so it was clearly not a good idea to trust it to look the same everywhere. I gave up and used the color version. This is one method to do this, but it needs Acrobat 8 Professional: http://blog.gilbertconsulting.com/2007/05/convert-color-pdf-to-grayscale.html Thanks for the link. Although I don't have Acrobat, if I ever happen to get access to it I'll probably check that feature :-) -- Nuno J. Silva gopher://sdf-eu.org/1/users/njsg
[gentoo-user] [OT] Re: PDF: convert to grayscale
Michael Orlitzky mich...@orlitzky.com writes: On 02/08/11 08:50, Nuno J. Silva wrote: Does anyone know a tool (other than ghostscript) that is able to convert a PDF (or postscript) to grayscale? A laserjet? =) That makes me wonder... in a color printer, I expect it not to print any color when it has no color ink, but do grayscale printers apply some conversion internally, to make sure that e.g. plain cyan is still visible (instead of making it white)? -- Nuno J. Silva gopher://sdf-eu.org/1/users/njsg
[gentoo-user] PDF: convert to grayscale
Does anyone know a tool (other than ghostscript) that is able to convert a PDF (or postscript) to grayscale? Ghostscript does this, but is unable to convert gradients and fills (they're replaced by bitmaps) which results in a too big file unless I drastically reduce quality. -- Nuno J. Silva gopher://sdf-eu.org/1/users/njsg
[gentoo-user] Re: Rail Model font for coders
Nikos Chantziaras rea...@arcor.de writes: On 01/21/2011 12:08 AM, Nuno J. Silva wrote: Nikos Chantziarasrea...@arcor.de writes: On 01/20/2011 11:14 AM, hare_krsna_hare_krsna_krsna_krsna_hare_hare_hare_rama_hare_rama_rama_rama_hare_h...@lavabit.com I am against hard limits on username lengths, but I think that uuencoding the result of gzipping that address yelds a more readable address. I think the OP should keep the username. In addition, he/she should switch to this email service: http://www.abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijk.com I'm planning on getting one. Lots of fun :-P Not that the OP isn't already having this problem, but I wonder how would I give other people my address Oh see, njsg at two-and-a-half-alphabets dot com! But now that DNS allows non-ascii, there is a whole new realm of... clever domain parts. -- Nuno J. Silva gopher://sdf-eu.org/1/users/njsg
[gentoo-user] Re: Rail Model font for coders
hare_krsna_hare_krsna_krsna_krsna_hare_hare_hare_rama_hare_rama_rama_rama_hare_h...@lavabit.com writes: I think the expression you're looking for is non sequitur. Meeku: It follows neatly and just because it is out-of-the-box spiritual philosophy does not mean it's non sequitur. I just think it goes too far for a description about the font, nothing specific against philosophy. -- Nuno J. Silva gopher://sdf-eu.org/1/users/njsg
[gentoo-user] Re: How can I turn off xterm console restore?
Mick michaelkintz...@gmail.com writes: On Saturday 22 January 2011 05:45:27 Walter Dnes wrote: As soon as some textmode applications in xterm stop, their output gets wiped, and the xterm screen is restored to what it looked like before I launched the app. Somebody thought they were being helpful; then again, so did the designers of Clippy. I don't know how many updates ago the behaviour changed, but here's what happens... Hmm ... as far as I can recall with xterm/aterm this behaviour for some commands is the expected/default behaviour. I've looked into it for things like top et al when launched like so on the desktop from e.g. fluxbox's menu: aterm +sb -e top -d 2 Pressing q to quit top closes the aterm. Completely. :-( I have not found a solution for it. With xterm I would use the -hold option to stop xterm from collapsing like so: xterm -geometry 144x30 -bg black -fg green -hold -e 'ps auxf' Thereafter I use the window decoration to close xterm, because no other keyboard inputs are accepted by it. I think the OP is talking about how some programs (ncurses-based and the like?) such as less output to a separate layer which is hidden when they terminate, instead of writing to the same layer where the shell lives (what would make the last output still visible when they end and control goes back to the shell. But I have no idea how to change it - I know it works differently in some terminals, but I never tried to figure out how and why. -- Nuno J. Silva gopher://sdf-eu.org/1/users/njsg
[gentoo-user] Re: Rail Model font for coders
Nikos Chantziaras rea...@arcor.de writes: On 01/20/2011 11:14 AM, hare_krsna_hare_krsna_krsna_krsna_hare_hare_hare_rama_hare_rama_rama_rama_hare_h...@lavabit.com I am against hard limits on username lengths, but I think that uuencoding the result of gzipping that address yelds a more readable address. wrote: There is a font for coders called Rail Model, please include it with Linux distributions: http://code.google.com/p/railmodel/downloads/detail?name=RailModelFont.zipcan=2q= If this is a joke, I don't get it :-P I was curious about what this font is about, and its description is: Rail Model Font is a Pro Bono (for the public good) Hare Krishna Ritvik Universal Religion Project for spiritual / philosophical reasons and thus any full or part technical or non-technical opensource resources and licenses used of Local Religion (e.g. Christianity, Islam, Judaism, Buddhism, Jainism) organisations and individuals and/or commercial organisation and individuals and/or other non-profit organisations and individuals, they are considered donations to His Divine Grace A C Bhaktivedanata Swami Prabhupada, Founder Acharya Permanent Sole Initiator of the Hare Krishna Movement the permanent person, not the estate, state, representative/s or representative organisation/s etc. Wait, what... huh? I think the expression you're looking for is non sequitur. -- Nuno J. Silva gopher://sdf-eu.org/1/users/njsg
[gentoo-user] Re: Near freezes during large emerges
Alan McKinnon alan.mckin...@gmail.com writes: Apparently, though unproven, at 03:39 on Monday 17 January 2011, William Kenworthy did opine thusly: On Sun, 2011-01-16 at 17:26 -0800, Mark Knecht wrote: On Sun, Jan 16, 2011 at 5:13 PM, William Kenworthy bi...@iinet.net.au wrote: On Sun, 2011-01-16 at 14:41 -0800, Grant wrote: ... I think that's well worded. He has insufficient memory when emerging. If he's really running short of DRAM Then he might also do well to boot to a console and do his emerges there. No memory given over to other things like KDE or browsers, etc. I am a bit surprised though that a -j1 type emerge would be running out of memory on a 3GB machine. I just finished emerge updates on a desktop with 4GB and only used 2.5GB which includes KDE, FIrefox and a number of other things: I have a diskless 3GB ram atom system (mythtv frontend) and I have to arrange swap over nbd for gcc and glibc emerges - others just get very slow when getting to limits, or get flaky unless -j1 is used. Havent tried OO on it yet :) I'M flabbergasted. 3G is really a gigantic amount of memory and yet the machine still runs out of the stuff? Something is seriously wrong somewhere when code does this. I know memory is cheap and all, but still ... that's just excessive Well, GCC has issues like this, with the file insn-attrtab, which, I suppose, is generated and processed at least twice (due to the bootstrap nature of the GCC build process). Although there's not a specific value, even with 512 MiB of ram it's still an issue - but it doesn't go that far (3GB), it's only more critical because GCC is a key part of the toolchain. This just to say, well, it happens :-) -- Nuno J. Silva gopher://sdf-eu.org/1/users/njsg
[gentoo-user] Re: Near freezes during large emerges
William Kenworthy bi...@iinet.net.au writes: On Mon, 2011-01-17 at 16:23 -0800, Grant wrote: I think the idea is never use swap if possible, but in a case where you don't have swap space or run out of swap space I think it's still possible to lose data. Isn't swap just an extension of system memory? Isn't adding 4GB of memory just as effective at preventing out-of-memory as dedicating 4GB of HD space to swap? I can understand enabling swap on a laptop or other system with constrained memory capacity, but doesn't it make sense to disable swap and add memory on a 24GB server? Is swap basically a way to save money on RAM? No swap contains pages from memory that have not been accessed for awhile so they can be stored elsewhere freeing ram for actual active pages. When they need to be accessed, they have to be swapped back in, and often something swapped back out to make room for it. Like BillK said, it's not, whatever gets there must be swapped back in to be used again. For example, let's say you have a program that needs to open a really really big file, an 8GiB file (no FAT jokes, please), and you have 4GiB of RAM and 6GiB on swapfiles/partitions. The system will not be able to put the entire file on the physical memory (and it may not even be able to do so on virtual memory (memory as the process sees it), if you're on 32 bits, IIRC). This means, although the program can access the file data, and from its own point-of-view, all data is on memory, the system will have to do some swap-in-swap-out gymnastics every time the program wants a chunk of the file that's not on RAM. OTOH if you actually add 6GiB of RAM, you'll probably be able to do it all from RAM (8GiB for the file, and the other 2GiB for whatever else is running). It is better to see it as BillK describes - not a way to extend your memory, but a way to store not-that-frequently-used pages when you need to load something else. It saves money, but it's still expensive - on time. -- Nuno J. Silva gopher://sdf-eu.org/1/users/njsg
[gentoo-user] Re: Microcode update AMD
Jason Weisberger jbdu...@gmail.com writes: On Jan 17, 2011 4:15 PM, Volker Armin Hemmann volkerar...@googlemail.com wrote: On Monday 17 January 2011 15:13:54 Jason Weisberger wrote: The update killed your free core :) a 'free core' that is probably broken in mysterious and hard to find but nonetheless very dangerous ways. Thanks. The word probably implies that you have no idea what the statistics were on getting a perfectly good core were or why they disabled entire batches of cores based on an error from one. I think you should worry more about the fact AMD disables known-good cores due to excessive demand for lower-core versions. If you can somehow manage to find out if the disabled core is good or not (keeping in mind that testing may convincingly demonstrate the presence of bugs, but can never demonstrate their absence. (EWD1036) - it's more or less like when you use memtest), then you have a good heuristic on whether or not to enable that core. Now I doubt I'd do it blindly - YMMV, of course. Also, A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? -- Nuno J. Silva gopher://sdf-eu.org/1/users/njsg
[gentoo-user] Re: Boost Openoffice
Peter Humphrey pe...@humphrey.ukfsn.org writes: On Sunday 16 January 2011 05:50:58 Philip Webb wrote: Using more haste than sense after 'emerge -cpv =boost-1.41.0-r3' Did you mean 'emerge -cpv ...' or 'emerge -Cpv...' ? Probably -c, which is the one that checks for reverse dependencies. ,[ man emerge ] | Depclean serves as a dependency aware version of --unmerge. When | given one or more atoms, it will unmerge matched packages that | have no reverse dependencies. Use --depclean together with | --verbose to show reverse dependencies. ` Either way, shouldn't 'emerge openoffice' reinstall it? -- Nuno J. Silva gopher://sdf-eu.org/1/users/njsg
[gentoo-user] Re: Strange problem with audio CDs
joerg.schill...@fokus.fraunhofer.de (Joerg Schilling) writes: pk pete...@coolmail.se wrote: On 2011-01-13 20:14, J. Roeleveld wrote: For the deviations, blame the record companies who still think that people are willing to pay way over the odds for substandard music... Well, considering IFPI/*AA etc. behaviour I'm thinking of skipping buying anything at all; I can live without (use the ones that I have, which seems to be standard since I've been able to rip them all to my 'puter using cdparanoia). You completely missunderstand the purpose and ability of cdparanoia. Cdparanoia does not implement anything that helps you to read such non-CDs. If you could read all your CDs so far, you either don't own such intentionally broken media or there is a workaround in the firmware of your drive already. I think pk wanted to point that, as cdparanoia read the disks, that means they probably are CDs. -- Nuno J. Silva gopher://sdf-eu.org/1/users/njsg
[gentoo-user] Re: Strange problem with audio CDs
Jake Moe jakesaddr...@gmail.com writes: On 01/13/11 20:48, J. Roeleveld wrote: [...] And yeah, the errors start as soon as I put the CD in the drive. What automounting tool might I have in FVWM? I use a pretty basic config (which is why I like FVWM, not many frills to muck things up :-P). I think it's (fortunately) possible to have wm-independent (and X-independent) automounters. But the last time I used one was several years ago. -- Nuno J. Silva gopher://sdf-eu.org/1/users/njsg
[gentoo-user] Re: How to get /dev/cdrom
Michael Sullivan msulli1...@gmail.com writes: OK, for several years I have not had a /dev/cdrom. My workstation has an internal cd-rom drive, which gets mapped to /dev/hda, and an external If you're using a recent kernel, it's probably udev which refuses to process devices under the old ATA driver. (I don't know if it *exactly* refuses, or if it's something else, but the final result is what you see, no /dev/{cdrom,cdrw,...} link) DVD+R drive, which is mapped to /dev/sr0. When I look at /etc/udev/rules.d/70-persistent-cd.rules I see: camille rules.d # cat 70-persistent-cd.rules # LITE-ON_COMBO_SOHC-5236K (pci-:00:1f.1-ide-0:0) ENV{ID_CDROM}==?*, ENV{ID_PATH}==pci-:00:1f.1-ide-0:0, SYMLINK +=cdrom, ENV{GENERATED}=1 ... # LITE-ON_COMBO_SOHC-5236K (pci-:00:1f.1-ide-0:0) ENV{ID_CDROM}==?*, ENV{ID_PATH}==pci-:00:1f.1-ide-0:0, SYMLINK +=cdrom1, ENV{GENERATED}=1 ... # LITE-ON_COMBO_SOHC-5236K (pci-:00:1f.1) SUBSYSTEM==block, ENV{ID_CDROM}==?*, ENV{ID_PATH}==pci-:00:1f.1, SYMLINK+=cdrom5, ENV{GENERATED}=1 LITE-ON_COMBO_SOHC-5236K is my internal drive, which SHOULD be mapped to /dev/cdrom. But it's not: camille rules.d # ls /dev/cdrom ls: cannot access /dev/cdrom: No such file or directory Check also /dev/cdrom*. Maybe it got another name, as there are at least three rules to symlink that drive (if it matched all rules, udev would create the three links, but the third rule looks different). Why is it not being mapped correctly? Is the rule above not correct? I've tried to read tutorials about writing udev rules, but the example rules in the tutorials look nothing like the above rules, and I didn't write those. I think they were created when udev was installed... -- Nuno J. Silva gopher://sdf-eu.org/1/users/njsg
[gentoo-user] Re: How to get /dev/cdrom
Mike Edenfield kut...@kutulu.org writes: On 1/12/2011 11:31 AM, Nuno J. Silva wrote: Michael Sullivan msulli1...@gmail.com writes: OK, for several years I have not had a /dev/cdrom. My workstation has an internal cd-rom drive, which gets mapped to /dev/hda, and an external If you're using a recent kernel, it's probably udev which refuses to process devices under the old ATA driver. (I don't know if it *exactly* refuses, or if it's something else, but the final result is what you see, no /dev/{cdrom,cdrw,...} link) The problem, as far as I could figure out, is that the ID_PATH that udev gets from the old ATA drivers is identical for everything on the same IDE controller; it basically gives the path to the PCI bus slot where the IDE controller is connected. So udev has no way to differentiate between multiple drives connected to a single controller. This is a change at some point from the previous behavior, which specified the IDE information as well. So is this supposed to be a problem only if there is more than one PATA device? I never investigated this deeply enough, thanks for your explanation. I ended up adding code to init scripts to create the links. You used to get something like: ENV{ID_PATH}==pci-:00:1f.1-ide-0:0 and now you get: ENV{ID_PATH}==pci-:00:1f.1 Switching over to libata gives you: ENV{ID_PATH}==pci-:00:1f.1-scsi-0:0:0:0 which returns everything to working order :) I guess this means that if one gets some other way to match a drive (by name? serial number?), it's possible to make a working rule. --Mike -- Nuno J. Silva gopher://sdf-eu.org/1/users/njsg
[gentoo-user] Re: grub installation problem
Jacques Montier jacques.mont...@numericable.fr writes: Hi all, I am installing Gentoo on a new pc and following the Gentoo manual. I create primary partition sda3 for boot with ext3 file system, then Extended partition for swap sda5 / sda6 with reiserfs file system /usr sda7 with reiserfs file system /home sda8 with reiserfs fiel system. after chroot, i can install every package except grub in /boot. I get the message : your boot partition, detected as being mounted as /boot, is read-only. Remounting it in read-write mode ... Then the error message : failed to create symbolic link `//boot/boot` : Read-only file system. What's going on ??? I would check if there is any error or warning in the kernel log when that happens. just do dmesg | tail after the error, to check the last lines in the log. -- Nuno J. Silva gopher://sdf-eu.org/1/users/njsg
[gentoo-user] Re: grub installation problem
Jacques Montier jacques.mont...@numericable.fr writes: Le 12/01/2011 20:07, Nuno J. Silva a écrit : Jacques Montier jacques.mont...@numericable.fr writes: Hi all, I am installing Gentoo on a new pc and following the Gentoo manual. I create primary partition sda3 for boot with ext3 file system, then Extended partition for swap sda5 / sda6 with reiserfs file system /usr sda7 with reiserfs file system /home sda8 with reiserfs fiel system. after chroot, i can install every package except grub in /boot. I get the message : your boot partition, detected as being mounted as /boot, is read-only. Remounting it in read-write mode ... Then the error message : failed to create symbolic link `//boot/boot` : Read-only file system. What's going on ??? I would check if there is any error or warning in the kernel log when that happens. just do dmesg | tail after the error, to check the last lines in the log. Ther is no error message : just the lines EXT3-fs (sda3): using internal journal So there is no filesystem issue. Errors sometimes result in the partition being remounted readonly. Stroller has a point, read his post. As the mounted partitions list is inside /proc, if you forgot to mount that, then maybe the ebuild can't just find out /boot is actually mounted. There are probably other things that might not work if you don't mount these partitions, so just to be sure, check if you did that :-) I see some warning about to avoid automounting and auto-installing with /boot, just export the DONT_MOUNT_BOOT variable How can i do that ? writing (and executing) export DONT_MOUNT_BOOT in the shell should be enough. -- Nuno J. Silva gopher://sdf-eu.org/1/users/njsg
[gentoo-user] Re: A tiny titillating taste of grub2
Dale rdalek1...@gmail.com writes: Alan McKinnon wrote: grub cannot be complete as there are always new file systems and boot methods that could be added. That was my point earlier. With computers changing, nothing will ever be finished. There will always be something that has to be added in as new things come out. I still wonder where computers will be in say 10 or 20 years. Stuff can be finished, given the /current/ requirements. But requirements change. -- Nuno J. Silva gopher://sdf-eu.org/1/users/njsg
[gentoo-user] Re: A tiny titillating taste of grub2
Dale rdalek1...@gmail.com writes: Neil Bothwick wrote: On Tue, 11 Jan 2011 16:46:43 -0600, Dale wrote: What is there to do with it? It's a bootloader that boots and loads, what more do you want? No longer updated can mean broken, but it can also mean finished. My point was, if something changes and it no longer works, then we may all have to switch. According to the website, nothing much is being done with the old grub. What can change? We are stuck with a hardware spec from 30 years ago for booting. That won't change any time soon. File systems for one. They do make new ones every once in a while. ' At least in UNIX-like systems, one can always have a separate /boot in ext2, and use other filesystem everywhere else. It makes a grub update less urgent. Also, if they change - again - the way hard drives are accessed, just because some oh, 8GiB is so big, no disk will ever be that large barrier was hit, people may need some fix to access a kernel which is 129 PiB away from the first block. -- Nuno J. Silva gopher://sdf-eu.org/1/users/njsg
[gentoo-user] Re: A tiny titillating taste of grub2
Dale rdalek1...@gmail.com writes: Neil Bothwick wrote: On Wed, 12 Jan 2011 17:32:32 -0600, Dale wrote: That was my point earlier. With computers changing, nothing will ever be finished. There will always be something that has to be added in as new things come out. I still wonder where computers will be in say 10 or 20 years. If you'd asked that 10 or 20 years ago, the answer, as far as booting is concerned, would have been exactly the same as now. So we don't have new and faster processors? Larger hard drives? Faster DVD type media? More memory that is usable? I can think of a LOT of things that have changed in just the past ten years. Well, I think it's still possible to use INT13 for disk access :-) -- Nuno J. Silva gopher://sdf-eu.org/1/users/njsg
[gentoo-user] Re: A tiny titillating taste of grub2
Alan McKinnon alan.mckin...@gmail.com writes: Apparently, though unproven, at 02:13 on Thursday 13 January 2011, Nuno J. Silva did opine thusly: Well, I think it's still possible to use INT13 for disk access :-) You horrible person. I just went 13 years without hearing that thing's name mentioned not even once. Wait? You hear about INT13 for the first time in 13 years, in January 13? What a shame it's not Friday... You have just broken that winning streak. You are a horrible person. You may have a point here, but I'd blame the guy who conceived it ;-) sarcasm But, please understand! I want to be able to boot and use MS-DOS 4 on my brand-new eight-core 3GHz 8GiB RAM machine! Emulators are *slow*! /sarcasm -- Nuno J. Silva gopher://sdf-eu.org/1/users/njsg
[gentoo-user] Re: A tiny titillating taste of grub2
Alan McKinnon alan.mckin...@gmail.com writes: Apparently, though unproven, at 19:48 on Sunday 09 January 2011, Dale did opine thusly: It has support for jpeg, every fs under the sun, and the grub2 ebuild even has a truetype USE flag. Does it support mp3 or ogg vorbis? Don't tell me I can't make it play the fifth when it boots... Yes! Now my life is complete. I've been DYING for years to have a bootloader that can properly display anti-aliased fonts for the entire 2 seconds it's on- screen I just hope that it is actually able to work in plain VGA mode. Although I like to have framebuffer in the console, I don't think it's actually needed in the bootloader. Also, I suppose it'll be a PITA to configure that (or slow to run it) on some older computers. -- Nuno J. Silva gopher://sdf-eu.org/1/users/njsg
[gentoo-user] Re: A tiny titillating taste of grub2
walt w41...@gmail.com writes: On 01/09/2011 12:04 PM, Alan McKinnon wrote: grub2 now looks like GNU/grub (sarcasm intended). It's not a bootloader, it's a puny OS with one extra feature - it can bootload! You remember the vi versus emacs wars? But at least emacs is running in the operating system, not in the bootloader (although that may be in the GRUB roadmap). Someday we will need a bootloader to load grub. -- Nuno J. Silva gopher://sdf-eu.org/1/users/njsg
[gentoo-user] Re: A tiny titillating taste of grub2
Mick michaelkintz...@gmail.com writes: On Sunday 09 January 2011 21:26:38 Alan McKinnon wrote: Apparently, though unproven, at 22:50 on Sunday 09 January 2011, walt did opine thusly: On 01/09/2011 12:04 PM, Alan McKinnon wrote: grub2 now looks like GNU/grub (sarcasm intended). It's not a bootloader, it's a puny OS with one extra feature - it can bootload! You remember the vi versus emacs wars? emacs? The complete OS that only lacks an editor to be complete? Yes! If it could only receive vim commands, it would be perfect! :p Maybe this will do, I never tried it. ,[C-h f viper-mode] | viper-mode is an interactive autoloaded Lisp function in `viper.el'. | | (viper-mode) | | Turn on Viper emulation of Vi in Emacs. See Info node `(viper)Top'. ` -- Nuno J. Silva gopher://sdf-eu.org/1/users/njsg
[gentoo-user] Re: pdf - txt
Nikos Chantziaras rea...@arcor.de writes: On 01/06/2011 05:45 AM, meino.cra...@gmx.de wrote: Hi, I want to convert a couple of pdf-documents, which are of test and ASCIIbased tables, to pure text (ASCII, vim-editable ;) ). What tool/s are worth being tried out for this task? Thank you very much in advance for any help! pdftotext might help. Comes with app-text/poppler. If the output looks messed up, don't give up, first see the manpage, there are some switches that may result in a better output. I think using -layout will help you with the tables. -- Nuno J. Silva gopher://sdf-eu.org/1/users/njsg
[gentoo-user] Re: migrating disks (from mounts to disklabels
Alan McKinnon alan.mckin...@gmail.com writes: Apparently, though unproven, at 23:59 on Wednesday 17 November 2010, James did opine thusly: Hello, I have a ~250 gig sata disk I want to migrate to a 2T Sata disk. This is simple, but, I have a few caveats. [...] Now just rsync everything in /mnt/sda* to the right place in /mnt/sdb Some weeks ago, I did this kind of migration. I ended up using good ol' tar - after lots of research, it was the only way I found to be sure hard links would still be linked in the new filesystem. IIRC, rsync does not deal with hard links, or am I mistaken? -- Nuno J. Silva (aka njsg) gopher://sdf-eu.org/1/users/njsg
[gentoo-user] Re: migrating disks (from mounts to disklabels
nunojsi...@ist.utl.pt (Nuno J. Silva) writes: Alan McKinnon alan.mckin...@gmail.com writes: Apparently, though unproven, at 23:59 on Wednesday 17 November 2010, James did opine thusly: Hello, I have a ~250 gig sata disk I want to migrate to a 2T Sata disk. This is simple, but, I have a few caveats. [...] Now just rsync everything in /mnt/sda* to the right place in /mnt/sdb Some weeks ago, I did this kind of migration. I ended up using good ol' tar - after lots of research, it was the only way I found to be sure hard links would still be linked in the new filesystem. IIRC, rsync does not deal with hard links, or am I mistaken? (And then I read the rest of the thread and found out it actually does, so ignore me.) -- Nuno J. Silva gopher://sdf-eu.org/1/users/njsg
[gentoo-user] Re: Winter clock change did not happen
Mick michaelkintz...@gmail.com writes: I dual boot with MSWindows and therefore have set up my /etc/conf.d/clock to: CLOCK=local TIMEZONE=Europe/London CLOCK_OPTS= CLOCK_SYSTOHC=no SRM=no ARC=no I noticed this morning that the clock was still showing summer time (I rarely boot into MSWindows). Was Linux running since before the time change? I suppose it would at least show the right time if that was the case. If it works, you still need CLOCK_SYSTOHC=yes if you want Linux to change the clock. Linux has no way to know if the time change was done (nor windows), unless the systems are syncing with other clock (NTP), so both of them will boot up and think this local time is the winter time. The systems may still register if they already did the timezone change, so that they know what to do (that was the case with windows 98). I had to boot into MSWindows to check what happens there and the clock was showing the new winter time. After that the Linux clock was also showing the updated winter time. Does this mean that twice a year when the clock changes I need to boot into MSWindows first to allow the time change to take place, or is there a Linux side fix for my dual boot set up? You can write something so that Linux changes the clock, but then be sure Windows is not set to change it. A better (read more complicated) solution would involve some sync mechanism between both operating systems so that one can tell if the other already changed the clock. Unless windows now supports UTC clocks, you have to live either with this or with an always on winter clock on windows. -- Nuno J. Silva gopher://sdf-eu.org/1/users/njsg
[gentoo-user] Re: Winter clock change did not happen
Mick michaelkintz...@gmail.com writes: On Sunday 31 October 2010 10:05:15 Peter Humphrey wrote: On Sunday 31 October 2010 09:34:25 Alan McKinnon wrote: All my calendars (electronic and dead-tree) tell me that daylight savings switches at the END of today not at the beginning That's not true in the UK: the switch is done at 02:00 on the Sunday. My Gentoo and Ubuntu boxes have switched to GMT correctly this morning, and so has the radio-synchronised clock on the kitchen wall. I think Mick does have a problem in his Gentoo setup. :-( Thanks Peter, do you dual boot with MSWindows? I've noticed this problem on two different boxen, both of them dual boot with MSWindows. A Gentoo only box of mine switched over to winter time correctly - so it must be my dual boot set up that is causing this problem. It is a problem caused by the settings needed for Linux to live with Windows on the same computer. -- Nuno J. Silva gopher://sdf-eu.org/1/users/njsg
[gentoo-user] Re: Winter clock change did not happen
Mick michaelkintz...@gmail.com writes: On Sunday 31 October 2010 13:29:20 Nuno J. Silva wrote: Mick michaelkintz...@gmail.com writes: On Sunday 31 October 2010 10:05:15 Peter Humphrey wrote: On Sunday 31 October 2010 09:34:25 Alan McKinnon wrote: All my calendars (electronic and dead-tree) tell me that daylight savings switches at the END of today not at the beginning That's not true in the UK: the switch is done at 02:00 on the Sunday. My Gentoo and Ubuntu boxes have switched to GMT correctly this morning, and so has the radio-synchronised clock on the kitchen wall. I think Mick does have a problem in his Gentoo setup. :-( Thanks Peter, do you dual boot with MSWindows? I've noticed this problem on two different boxen, both of them dual boot with MSWindows. A Gentoo only box of mine switched over to winter time correctly - so it must be my dual boot set up that is causing this problem. It is a problem caused by the settings needed for Linux to live with Windows on the same computer. Is there a fix? I thought that the setting of CLOCK=local in /etc/conf.d/clock was to address the problem of having to dual boot with MSWindows. That is the setting I was talking about (I wonder why I said setting*s* before, sorry for that). It is used to address the problem that Windows expects the hardware clock to have the local time value (hence local), that is, what you see when you ask the computer what time is it. Because the usual setting is UTC, that is, time with no timezone and/or DST shift - GNU/linux does the math and shows you your local time. Local time clock forces you (or the OS) to change it every time there is some DST change. In other words, that makes linux use the hardware clock the same way windows uses it. -- Nuno J. Silva gopher://sdf-eu.org/1/users/njsg
[gentoo-user] Re: Winter clock change did not happen
nunojsi...@ist.utl.pt (Nuno J. Silva) writes: Mick michaelkintz...@gmail.com writes: Does this mean that twice a year when the clock changes I need to boot into MSWindows first to allow the time change to take place, or is there a Linux side fix for my dual boot set up? You can write something so that Linux changes the clock, but then be sure Windows is not set to change it. A better (read more complicated) solution would involve some sync mechanism between both operating systems so that one can tell if the other already changed the clock. Unless windows now supports UTC clocks, you have to live either with this or with an always on winter clock on windows. The last paragraph is not actually correct, sorry for that: many of you will get weird hours on Windows if you set the clock to UTC. Here it is just winter time because this is WEST and WET (Europe/Lisbon and others), and our winter time happens to be UTC+. http://en.wikipedia.org/wiki/Western_European_Time -- Nuno J. Silva gopher://sdf-eu.org/1/users/njsg
[gentoo-user] Re: Winter clock change did not happen
Mick michaelkintz...@gmail.com writes: On Sunday 31 October 2010 13:29:20 Nuno J. Silva wrote: Mick michaelkintz...@gmail.com writes: I've noticed this problem on two different boxen, both of them dual boot with MSWindows. A Gentoo only box of mine switched over to winter time correctly - so it must be my dual boot set up that is causing this problem. It is a problem caused by the settings needed for Linux to live with Windows on the same computer. Is there a fix? I thought that the setting of CLOCK=local in /etc/conf.d/clock was to address the problem of having to dual boot with MSWindows. Maybe this is useful: Some webpages report a registry key which can be set so that windows interprets the hardware clock as UTC: [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation] RealTimeIsUniversal=dword:0001 This same page says also: It seems to work most of the time for me but 1 or twice a day the clock changes to the timezone offset again. I just have to do a w32tm /resync /nowait to fix it. My suspicion is that the clock applet in the tray is monkeying it up. So I don't know if this Just Works™. http://weblogs.asp.net/dfindley/archive/2006/06/20/Set-hardware-clock-to-UTC-on-Windows-_2800_or-how-to-make-the-clock-work-on-a-Mac-Book-Pro_2900_.aspx -- Nuno J. Silva gopher://sdf-eu.org/1/users/njsg
[gentoo-user] Re: How can I unmask package and mask just its one version?
Alan McKinnon alan.mckin...@gmail.com writes: Apparently, though unproven, at 19:13 on Thursday 28 October 2010, Jarry did opine thusly: Hi, how can I unmask (generally) certain M~ masked package and mask one particular version of that package? I want to use that package, but skip just one x.y.z upgrade, and continue with any future higher upgrades (x.y.z+1). [...] portage is fighting you. unmask has priority over mask, so unmasking everything and masking a specific version will not work - the first rule will prevail. [example omitted] But this is fragile and will break way too often. What if you later also want to mask version 7? portage doesn't give you a boolean AND or any way I know of to specify a range of versions. So you have to keep an eye on it manually, and tweak as necessary. Or you could just list exactly every version for which there's an ebuild and add it to the appropriate package.* file This is a definite shortcoming in portage, it warrants a feature request at b.g.o. I'm (not yet?) needing this feature, and I'm not a portage developer, but while reading this thread I found myself wondering about ways to allow this mixing of mask and unmask - I'm sharing that in case it is useful. Feel free to ignore. - obey the more specific atom, this way unmasking the whole thing in .unmask and masking specific atoms in .mask would work. (When they're equally specific, use the current behavior.) This probably involves writing something to tell which atom is the more specific, unless that already exists. An advantage is that the current atom syntax doesn't need to be changed. - add regex support: this would allow exclusion on .unmask, but the syntax may not be the best, and it must ensure it doesn't break with existing atoms (there are atoms using asterisks and package versions have lots of stops) -- Nuno J. Silva gopher://sdf-eu.org/1/users/njsg
[gentoo-user] Re: LibreOffice
Alan McKinnon alan.mckin...@gmail.com writes: Apparently, though unproven, at 19:30 on Friday 15 October 2010, Florian Philipp did opine thusly: [...] Just out of curiosity: I thought LibreOffice is just a renamed OpenOffice because of trademark issues with Oracle and not even the name is fixed for the moment. Doesn't that mean that the OpenOffice ebuilds will slowly migrate to LibreOffice, anyway? When I look at the version number, OpenOffice is currently at 3.2.1 and LibreOffice from geki-overlay at 3.2.99.1. LibreOffice is a fork of OpenOffice.org. Don't let anyone tell you otherwise. Especially don't let Oracle tell you otherwise. Read the press release on The Document Foundation's website for the truth. From what I've been reading, it is indeed a fork of OpenOffice which now happens to have just the code from OpenOffice and go-oo. But the future will tell us if there will be enough differences to justify an ebuild. As it's now a different project, it's pretty possible differences will arise. It also depends on whether Oracle and go-oo will want to incorporate changes from LibreOffice. -- Nuno J. Silva gopher://sdf-eu.org/1/users/njsg
[gentoo-user] Re: Old IDE drives and the newer PATA kernel drivers
Dale rdalek1...@gmail.com writes: Jesús J. Guerrero Botella wrote: 2010/8/27 J. Roeleveldjo...@antarean.org: On Friday 27 August 2010 09:49:41 Nikos Chantziaras wrote: On 08/27/2010 10:37 AM, Dale wrote: My theory is something like this: hda will become sda; hdb will become sdb; hdc will become sdc; hdd will become sdd; and sda will become sde. Would that be a logical expectation? I'd say sda will stay as is, hda will become sdb, and so forth. This entirely depends on the way your BIOS orders your drivers, as far as I know. It could be either way. But, we all know how flexible grub is. You can just use TAB to autocomplete and try. All you need to boot is your root fs, after that fdisk -l will reveal all the info you need. fstab is another story, that might cost you an extra reboot into a livecd to fix it. Another thing that I hadn't thought of, grub. I didn't even think about grub would have to be edited. That would have been interesting when I tried to boot up. You just need to feed linux with the right parameters, so it finds the root filesystem. Grub id's themselves should remain the same, I suppose. Also, as GRUB allows you to edit commandlines, you can do this by trial and error (but a good initial guess is still worth it). -- Nuno J. Silva gopher://sdf-eu.org/1/users/njsg
[gentoo-user] Re: xorg.conf and ATI 4350 card
James wirel...@tampabay.rr.com writes: hello, I can get X(kde 4.4) to start and run without a xorg.conf file but at the wrong screen resolution. (1600x1200) instead of 1920x1280, as it was before. Every attempt to edit the old xorg.conf or roll a new xorg.conf with the new 2.6.34-gentoo-r1 kernel results in X that crashes. Why does it crash? What is the error? Maybe somebody could post a minimal xorg.conf to set the resolution only on the screen? I have none handy, and mine uses magic instead, but you can try xrandr and see if it allows you to switch to a larger resolution (even if the mode isn't listed, read the output: it says what the maximum resolution is --- if it is below 1920x1280, you're out of luck (unless the value is bogus, of course)). (But i don't know if ati binary drivers are compatible with xrandr...) -- Nuno J. Silva gopher://sdf-eu.org/1/users/njsg
[gentoo-user] Re: emerge is not switching mirror when one is down
Xi Shen davidshe...@googlemail.com writes: [...] On 15/07/10 02:16, Xi Shen wrote: hi, i have multiple mirrors configured in GENTOO_MIRRORS, /etc/make.conf. i noticed that if the 1st mirror is down, emerge will continuously try the 1st mirror. i remember it should switch to the 2nd server after the try failed 3 times. how can i configure it to switch mirrors automatically? [...] i tried the mirrorselect, and the generated GENTOO_MIRRORS is as follow: GENTOO_MIRRORS=http://gentoo.localhost.net.ar/ ftp://mirrors.localhost.net.ar/pub/mirrors/gentoo/; Is this really a newline, or that's just your/my mail client wordwrapping it? and this is my original value: GENTOO_MIRRORS=http://mirrors.sohu.com/gentoo/ http://mirrors.163.com/gentoo/; what's the difference? except the url... If that was a newline, that's the only difference. If it is not, there is no difference. Do you, by any chance, have a custom FETCHCOMMAND? My /usr/share/portage/config/make.conf.example shows a default of 5 tries (-t 5), using wget. -- Nuno J. Silva gopher://sdf-eu.org/1/users/njsg