Re: [gentoo-user] kdm & french keyboard
Le lundi 12 juillet 2010 10:31:34, Neil Bothwick a écrit : > On Sun, 11 Jul 2010 19:19:25 +0200, Stéphane Guedon wrote: > > > How? I know how to use udev for device recognition, but how do you > > > tell it to use a particular keyboard layout? > > > > 19:18:09 steph...@luciole:/etc/udev/rules.d $ cat 61-x11-input.rules > > SUBSYSTEM!="input", GOTO="x11_input_end" > > ACTION!="add", GOTO="x11_input_end" > > > > KERNEL=="event*", ENV{x11_driver}="evdev" > > KERNEL=="event*", ENV{ID_INPUT_KEYBOARD}=="1 > > > > ENV{ID_INPUT_KEY}=="?*", ENV{xkblayout}="fr" > > > > LABEL="x11_input_end" > > === > > Interesting, but it seems more complex that a simple stanza > in /etc/X11/xorg.conf.d. Using udev rules for something that will only be > used by one application adds unnecessary complication, IMO. If only X > will use the information, I'd prefer to put in in the X configuration > directory. I agree with you, but I like to make things in order with the rules (without relation to udev). But I don't like udev, its syntax is really hard to understand for user ! -- Stéphane Guedon page web : http://www.22decembre.eu/ carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] xorg-server 1.7.6 without mouse and keyboard (solved)
On 14/07/2010 3:01 AM, Tamer Higazi wrote: Hi Mark! you were entirely right, the problem were the input drivers. There three packages I remerged: xf86-input-mouse xf86-input-keyboard xf86-input-evdev and the problem was gone. Tamer I found that the problem (on mine at least) was that evdev was the problem and had to be re-emerged on the system (after doing the mouse and keyboard several times with no luck, and trying to figure out why in the xorg.log files it was telling me it couldn't find evdev
Re: [gentoo-user] Evdev keyboard no longer works [UPDATE]
On Tue, 2010-07-13 at 23:03 -0400, Albert Hopkins wrote: > On Tue, 2010-07-13 at 23:11 +0100, Mick wrote: > > On Tuesday 13 July 2010 02:04:32 Albert Hopkins wrote: > > > Suddenly my multimedia keys stopped working, I think today. I went into > > > gnome-keyboard-properties, and it shows that my keyboard model is set to > > > "Unknown". For a long time it has always been set to "Evdev managed > > > keyboard" but that isn't even on the list anymore. The keyboard > > > shortcuts preferences no longer recognize these keys when pressed. > > > > > > I can't see anything that I upgraded recenlty that could have changed > > > this. I did update gnome-applets to 2.30.0 today, but downgrading back > > > to 2.28 didn't bring the evdev model back. > > > > > > Anyone else experience this or have a clue as to what could have > > > changed? > > > > I think I just emerged a new evdev driver and a bunch of X related packages > > on > > two boxen over here. Could it be related to those? > > > > Have a look at genlop, or manually trawl through your /var/log/emerge. > > Not really sure what's going on now... > > I just restored my entire machine from backup from over a week ago when > I *know* it was working, and... it still doesn't work. So perhaps > something is going on with the hardware In case anyone is listening, I did plug in an external keyboard (it's a laptop) and the extra keys on the external seem to work fine. So this evidence also leads me to believe that something happened hardware-wise, though I have no idea what it could be :|
[gentoo-user] Re: emacs font problem
On 2010-07-13, Allan Gottlieb wrote: > Good. Life will be better now that you have xft support. :-) I'm looking forward to it. :) While messing around with this issue, I played with fontconfig a little bit (which didn't help, since I hadn't enabled xft support in emacs yet). However, I did manage to get some nicer looking fonts in Firefox. Now on some of the smaller sizes of some faces I have slight color fringing on some of the characters, so I guess I need to disable sub-pixel anti-aliasing. -- Grant Edwards grant.b.edwardsYow! RHAPSODY in Glue! at gmail.com
Re: [gentoo-user] kdm & french keyboard
On Wednesday 14 July 2010 09:58:02 Stéphane Guedon wrote: > I agree with you, but I like to make things in order with the rules > (without relation to udev). > > But I don't like udev, its syntax is really hard to understand for user ! Dale, here's your chance to jump in and comment. This user *obviously* never had to deal with hal. -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] Re: gcc upgrade
On Wednesday 14 July 2010 06:39:51 Valmor de Almeida wrote: > Mark Knecht wrote: > > On Sat, Jul 10, 2010 at 6:28 AM, Mark Knecht wrote: > >> On Sat, Jul 10, 2010 at 4:52 AM, Alan McKinnon > >> wrote: > >> > >>> Unless he's the kind of guy who likes to rip his Ferrari apart for > >>> kicks and put it all back together again so that not even the factory > >>> can notice... > >> > >> Precisely... :-) > > > > Oh, and besides liking the smell of fresh baked 1 and 0's in the > > morning emerge -e @world was an easy way to solve my libpng problem. > > Woke up this morning to a freshly baked Gentoo machine. > > > > - Mark > > One interesting thing on the new Ferrari. If I do > > -> emerge --pretend --verbose --newuse --update --deep world > > These are the packages that would be merged, in order: > > Calculating dependencies... done! > > Total: 0 packages, Size of downloads: 0 kB > > However > > -> emerge -evp world > > [ebuild U ] x11-proto/scrnsaverproto-1.2.0 [1.1.0] 49 kB [0] > [ebuild U ] sys-devel/automake-1.10.3 [1.10.2] 936 kB [0] > > Total: 536 packages (2 upgrades, 534 reinstalls), Size of downloads: > 1,015 kB > Portage tree and overlays: > [0] /usr/portage > [1] /var/lib/layman/science > > Where > > -> revdep-rebuild --ignore --pretend --verbose > > * Checking dynamic linking consistency > [ 100% ] > > * Dynamic linking on your system is consistent... All done. > > and > > -> emerge --depclean --pretend --verbose > > >>> No packages selected for removal by depclean > > Packages installed: 538 > Packages in world:69 > Packages in system: 50 > Required packages:538 > Number to remove: 0 > > So emerge -evp is useful to get those last inconsistencies out of the > system. You need to read the portage man pages. There is nothing inconsistent about your system and there is nothing to fix. So revdep-rebuild was pointless. Those two packages are BUILD DEPENDS, not RUNTIME DEPENDS. They only need to be upgraded when you emerge something that will use then in the build phase. Portage has had this nice feature for ages. You can switch it off in make.conf -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] Re: gcc upgrade
On Wednesday 14 July 2010 05:49:48 Valmor de Almeida wrote: > Mark Knecht wrote: > > On Sat, Jul 10, 2010 at 6:28 AM, Mark Knecht wrote: > >> On Sat, Jul 10, 2010 at 4:52 AM, Alan McKinnon > >> wrote: > >> > >>> Unless he's the kind of guy who likes to rip his Ferrari apart for > >>> kicks and put it all back together again so that not even the factory > >>> can notice... > >> > >> Precisely... :-) > > > > Oh, and besides liking the smell of fresh baked 1 and 0's in the > > morning emerge -e @world was an easy way to solve my libpng problem. > > Woke up this morning to a freshly baked Gentoo machine. > > > > - Mark > > Exactly. My Ferrari is back with a brand new engine and no libpng issue. Lets follow this logic. You blindly wanted to re-emerge all of world because an over-reaching gcc upgrade guide said so. Coincidentally, there was a monumental libpng cock-up hanging around which emerge -e world just happened to fix. And this somehow validates the gcc upgrade guide? You just happened to have a fortunate side-effect at the right time. Doesn't change the fact that the author of the guide wrote a misleading document. -- alan dot mckinnon at gmail dot com
[gentoo-user] Re: gcc upgrade
Alan McKinnon writes: > On Wednesday 14 July 2010 05:49:48 Valmor de Almeida wrote: >> Mark Knecht wrote: >> > On Sat, Jul 10, 2010 at 6:28 AM, Mark Knecht wrote: >> >> On Sat, Jul 10, 2010 at 4:52 AM, Alan McKinnon >> >> wrote: >> >> >> >>> Unless he's the kind of guy who likes to rip his Ferrari apart for >> >>> kicks and put it all back together again so that not even the factory >> >>> can notice... >> >> >> >> Precisely... :-) >> > >> > Oh, and besides liking the smell of fresh baked 1 and 0's in the >> > morning emerge -e @world was an easy way to solve my libpng problem. >> > Woke up this morning to a freshly baked Gentoo machine. >> > >> > - Mark >> >> Exactly. My Ferrari is back with a brand new engine and no libpng issue. > > > Lets follow this logic. > > You blindly wanted to re-emerge all of world because an over-reaching gcc > upgrade guide said so. Coincidentally, there was a monumental libpng cock-up > hanging around which emerge -e world just happened to fix. And which could have been solved with revdep-rebuild (or at least running it here after removing the previous version solved it - I just followed flameeyes guide). Emerge -e was like buying a new car when it would have been cheaper and easier to just replace the fault part(s). -- Nuno J. Silva gopher://sdf-eu.org/1/users/njsg
[gentoo-user] emerge is not switching mirror when one is down
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? -- Best Regards, Xi Shen (David) http://twitter.com/davidshen84/
[gentoo-user] Akonadi crashes
Over the last two days I have noticed a lot of crashes every time I start kmail. The popup says: Details: Executable: akonadi_maildir_resource PID:27916 Signal: 6 (Aborted) This pop up keeps repeating itself with different PIDs. Eventually, all settles and I can use kmail. The problem has started without me updating any KDE related package (I think) and have run lafilefixer and revdep-rebuild for good measure. It is worth mentioning that with KDE-4.4.4 akonadi would crash randomly when trying to launch kmail and take kmail down with it. Restarting kmail worked on the second attempt. Unfortunately, the multiple popups are hindering productivity and am thinking of calling it a day on kmail. Any ideas on what is causing this and more importantly how I could fix it? I'm attaching the errors when I launch kmail from a terminal. PS. While I'm at it: any other good mail clients out there (other than T'bird) which include an address book and S/MIME, GnuPG, but do *not* require a lorry load of gnome libs? -- Regards, Mick akonadi_crash.txt.gz Description: GNU Zip compressed data
[gentoo-user] Alpine-2.00-r3 undelete fails to perform implied function. Email eventually becomes expunged regardless of undelete command.
Hello Team, I am running Alpine-2.00-r3. In any folder, undelete fails to prevent an email marked for deletion from being deleted. The delete mark remains regardless of the output: [Deletion mark removed, message won't be deleted] Steps to replicate problem: Access a folder, for example Inbox in an account (In this case, mine is an IMAP-based account) Press delete D is appended next to the affected email. Highlight the email with the D appended to it. Press the shortcut (U) for undelete. Client states that: [Deletion mark removed, message won't be deleted] However, the "D" remains and it is not possible to prevent the email from eventually being "expunged". Replicable: Always Architecture: amd64 Output from EIX: [I] mail-client/alpine Available versions: (~)2.00 (~)2.00-r1 (~)2.00-r2 (~)2.00-r3 {+chappa doc ipv6 kerberos ldap nls onlyalpine passfile smime spell ssl threads topal} Installed versions: 2.00-r3(12:12:18 14/07/10)(chappa ipv6 nls spell ssl threads -doc -kerberos -ldap -onlyalpine -passfile -smime -topal) Homepage:http://www.washington.edu/alpine/ http://staff.washington.edu/chappa/alpine/ Description: alpine is an easy to use text-based based mail and news client /etc/make.conf: # These settings were set by the catalyst build script that automatically # built this stage. # Please consult /usr/share/portage/config/make.conf.example for a more # detailed example. CFLAGS="-O2 -pipe -march=native" CXXFLAGS="-O2 -pipe -march=native" # WARNING: Changing your CHOST is not something that should be done lightly. # Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing. CHOST="x86_64-pc-linux-gnu" # These are the USE flags that were used in addition to what is provided by the # profile used for building. #USE="v4l snmp qt4 qt3support scanner a52 -mono video_cards_intel xcp glitz semantic-desktop branding spell nsplugin msn embedded mng sql webkit mysql cairo mdnsresponder-compat png autoipd avahi extras vorbis cups ppds fbcon xcomposite opengl dri consolekit encode gtk gnome dvd alsa cdr mmx sse sse2 X acpi dbus ffmpeg cdparanoia firefox gif gnome-keyring gnutls gphoto2 gstreamer hal java jpeg jpeg2k lame mp3 multilib ogg -pulseaudio rss emerald svg tcl tk theora truetype usb wifi win32codecs" USE="spell pdf faad faac aac x264 threads policykit device-mapper gdu gtk gnome cairo X consolekit udev -hal alsa dbus pulseaudio truetype java bindist opengl cups templates gstreamer -kde qt4 fbcon vorbis ogg png win32codecs jpeg jpeg2k lame mp3 usb qt3support cdda theora dvd a52 nsplugin" MAKEOPTS="-j2" VIDEO_CARDS="intel" SYNC="rsync://rsync.au.gentoo.org/gentoo-portage" #source /usr/local/portage/layman/make.conf #GENTOO_MIRRORS="http://mirror.pacific.net.au/linux/Gentoo"; LINGUAS="en_GB" #GENTOO_MIRRORS="http://ftp.swin.edu.au/gentoo " source /var/lib/layman/make.conf GENTOO_MIRRORS="http://ftp.swin.edu.au/gentoo"; Regards Ubiquitous1980
Re: [gentoo-user] Camera App
Le Wednesday 14 July 2010 02:03:14, sean a écrit : > Is anyone able to recommend an application that can snap a picture using > a webcam? > > I would prefer one not really tied to Gnome or KDE, but if it is a must, > I would choose KDE. > > Being in portage is a nice plus as well. > > Thanks, > Sean vlc does this very well : video capturing... you can also simply shot for a single image ! -- Stéphane Guedon page web : http://www.22decembre.eu/ carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc signature.asc Description: This is a digitally signed message part.
[gentoo-user] gtk-vnc build failure
This morning (GMT-4) gtk-vnc failed to build. The first error I see is /var/tmp/portage/net-libs/gtk-vnc-0.4.1/work/gtk-vnc-0.4.1/src/.libs/libgtk-vnc-1.0.so: file not recognized: File truncated collect2: ld returned 1 exit status The previous command is libtool: install: (cd /var/tmp/portage/net-libs/gtk-vnc-0.4.1/work/gtk-vnc-0.4.1/src; /bin/sh /var/tmp/portage/net-libs/gtk-vnc-0.4.1/work/gtk-vnc-0.4.1/libtool --silent --tag CC --mode=relink x86_64-pc-linux-gnu-gcc -std=gnu99 -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14 -Wall -Wformat -Wformat-security -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wextra -Wshadow -Wcast-align -Wwrite-strings -Waggregate-return -Winline -Wredundant-decls -Wno-sign-compare -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fasynchronous-unwind-tables -DSYSCONFDIR=\"/etc\" -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\" -DG_LOG_DOMAIN=\"gtk-vnc\" -I../gnulib/lib -I../gnulib/lib -march=native -O2 -pipe -Wl,--version-script=./libgtk-vnc_sym.version -Wl,--no-undefined -version-info 0:1:0 -Wl,-O1 -o libgtk-vnc-1.0.la -rpath /usr/lib64 libgtk_vnc_1_0_la-vncimageframebuffer.lo libgtk_vnc_1_0_la-vncdisplay.lo libgtk_vnc_1_0_la-vncdisplayenums.lo libgtk_vnc_1_0_la-vncdisplaykeymap.lo libgtk_vnc_1_0_la-vncgrabsequence.lo libgtk_vnc_1_0_la-vncmarshal.lo -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 -lX11 libgvnc-1.0.la ../gnulib/lib/libgnu.la -lz -inst-prefix-dir /var/tmp/portage/net-libs/gtk-vnc-0.4.1/image/) The entire build.log is at http://allan.cs.nyu.edu/~gottlieb/build.log My system is ~amd64 thanks in advance for any help. allan PS emerge --info follows Portage 2.1.8.3 (default/linux/amd64/10.0/desktop/gnome, gcc-4.4.4, glibc-2.11.2-r0, 2.6.34-gentoo-r2-ajg-1 x86_64) = System uname: linux-2.6.34-gentoo-r2-ajg-1-x86_64-intel-r-_core-tm-_i7_cpu_m_6...@_2.67ghz-with-gentoo-2.0.1 Timestamp of tree: Wed, 14 Jul 2010 14:30:01 + app-shells/bash: 4.1_p7 dev-java/java-config: 2.1.11 dev-lang/python: 2.6.5-r3, 3.1.2-r4 dev-util/cmake: 2.8.1-r2 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.6.1-r1 sys-apps/sandbox:2.2 sys-devel/autoconf: 2.13, 2.65-r1 sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.4.4-r1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.10 virtual/os-headers: 2.6.34 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -...@eula AdobeFlash-10.1 Broadcom googleearth" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -pipe" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--ask --deep --tree --verbose" FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org"; LANG="en_US.utf8" LDFLAGS="-Wl,-O1" LINGUAS="en" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr eds emboss encode evo exif fam firefox flac fortran gdbm gdu gif gnome gnome-keyring gpm gstreamer gtk hal iconv ipv6 jpeg laptop lcms ldap libnotify mad mikmod mmx mng modules mp3 mp4 mpeg mudflap multilib nautilus ncurses nls nptl nptlonly ogg opengl openmp pam pango pcre pdf perl png policykit ppds pppd python qt3support qt4 readline reflection scanner sdl session spell spl sse sse2 ssl startup-notification svg sysfs tcpd tiff truetype unicode usb vorbis x264 xcb xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic
Re: [gentoo-user] viewing .m4v files with totem
Hi Allan, Glad to have been some help. I can't answer any of your other questions, so it might be worth checking out the Totelm mailing list. The mplayer developers have a public ftp upload you can use to send them problematic files, maybe Totem devs have the same? Comments continue below... On 13 Jul 2010, at 21:20, Allan Gottlieb wrote: ... You didn't show us what the output (or verbose output) of your ffmpeg command was, so we don't know if the original .m4v had shitty quality, or if you transcoded it. Here it is with verbose output ajglap video # ffmpeg -loglevel verbose -i Game_Theory_Lect_20_s.m4v Game_Theory_Lect_20_s.avi FFmpeg version 0.6, Copyright (c) 2000-2010 the FFmpeg developers built on Jun 21 2010 18:01:44 with gcc 4.4.4 configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/ lib64 --mandir=/usr/share/man --enable-static --enable-shared -- cc=x86_64-pc-linux-gnu-gcc --disable-debug --disable-network -- enable-libmp3lame --enable-libvorbis --enable-libx264 --enable- libxvid --disable-indev=v4l --disable-indev=v4l2 --disable-indev=oss --disable-indev=jack --disable-outdev=oss --enable-x11grab --disable- vdpau --disable-vdpau --disable-vaapi --disable-altivec --cpu=host -- enable-gpl --enable-version3 --enable-postproc --enable-avfilter -- enable-avfilter-lavf --disable-stripping --enable-hardcoded-tables -- disable-doc libavutil 50.15. 1 / 50.15. 1 libavcodec52.72. 2 / 52.72. 2 libavformat 52.64. 2 / 52.64. 2 libavdevice 52. 2. 0 / 52. 2. 0 libavfilter1.19. 0 / 1.19. 0 libswscale 0.11. 0 / 0.11. 0 libpostproc 51. 2. 0 / 51. 2. 0 Seems stream 0 codec frame rate differs from container frame rate: 5994.00 (5994/1) -> 29.97 (2997/100) Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Game_Theory_Lect_20_s.m4v': Metadata: major_brand : M4V minor_version : 1 compatible_brands: M4V M4A mp42isom Duration: 00:33:14.24, start: 0.00, bitrate: 636 kb/s Stream #0.0(eng): Video: h264, yuv420p, 320x240, 513 kb/s, 29.97 fps, 29.97 tbr, 2997 tbn, 5994 tbc Stream #0.1(eng): Audio: aac, 44100 Hz, stereo, s16, 118 kb/s Output #0, avi, to 'Game_Theory_Lect_20_s.avi': Metadata: ISFT: Lavf52.64.2 Stream #0.0(eng): Video: mpeg4, yuv420p, 320x240, q=2-31, 200 kb/ s, 29.97 tbn, 29.97 tbc Stream #0.1(eng): Audio: mp2, 44100 Hz, stereo, s16, 64 kb/s Stream mapping: Stream #0.0 -> #0.0 Stream #0.1 -> #0.1 Press [q] to stop encoding frame=59767 fps=470 q=3.6 Lsize= 67863kB time=1994.23 bitrate= 278.8kbits/s video:48981kB audio:15580kB global headers:0kB muxing overhead 5.113521% ajglap video # ... 3. The conversion from .m4v to .avi costs quality. ffmpeg noted differing frame rates. Is that relevant? Since the conversion of a 30 minute movie took only a very few minutes, your estimates above suggest that it was just remux-ed and not transcoded, at least not using a demanding codec. A remux should never affect quality - you're taking the same video stream and putting it in another container. The video itself is unchanged. My time estimates were based my use of older Pentium 4 machines - I can only guess you have a Core 2 Duo or something? Also, I don't know how large this file is? 33 minutes? My "18 - 24 hours" estimate was based on a 2 - 3 hour DVD, but also with 2- or 3-pass encoding (which you're obviously not performing) and high settings generally. A DVD would have higher resolution than your 320x240 clip. Nevertheless, I'm a little surprised at how quick your machine is - all my computers are so old. :( The way I read the output above is that ffmpeg determines the input file to be 513 kb/s video, and its defaulting to 200 kb/s output - so that *is* a transcode. mplayer also states the original to be 513 kb/ s, I notice. In fact you would be able to determine the bitrate of the .avi file by running the `mplayer -identify` command on it - this should confirm that your .avi file is about 200 kb/s, I imagine. That confirms transcoding - if you're remuxing the video then the bitrate will be lower. The bitrate is a measure of how much space is consumed on disk to store one second of video. So, using the same codec and source material, a lower bitrate will tend to be lower quality, as less space is consumed storing the details. I think you will probably find your .avi to be about 30% - 40% the size of your original .m4v - of course it will be lower quality! That you have determined the original video to be in h264/AAC is good, I think. You might try downloading a TED talk, as I think they too use these same common codecs. See if Totem plays that. e.g.: http://www.ted.com/talks/download/video/9151/talk/899 Looking at the wikipedia link I sent you before, I think .m4v is just the same as .mp4. I think that if Totem plays an .mp4 TED Talk but not your file, then there's a problem with the encoding or format with
Re: [gentoo-user] PS/2 mouse on a USB adaptor
On 13 Jul 2010, at 23:06, Mick wrote: ... The larger "Y"-shaped keyboard/mouse-to-USB adapters usually support non-USB-compatible PS/2 mice, though. I have one like this and it works for me: http://www.dealextreme.com/details.dx/sku.9291 Does this Y-shaped dongle contain any electronics in it? Otherwise it wouldn't be any different to a single connector. Yes, I imagine so. I've used a number like this: http://gbennett.whsites.net/zencart/images/products/usbps2.jpg They are readily available from Chinese / HK sources on eBay or from LedShoppe.com, but I'm sure they're just the same as the one Paul linked to. I've never known a mouse or keyboard not to work with them, including 1990s Model Ms. They cause the mouse & keyboard to appear as HID devices, which are a standard part of the USB specification. Stroller.
[gentoo-user] Re: Alpine-2.00-r3 undelete fails to perform implied function. Email eventually becomes expunged regardless of undelete command.
On 15/07/10 00:34, ubiquitous1980 wrote: > Hello Team, > > I am running Alpine-2.00-r3. In any folder, undelete fails to prevent > an email marked for deletion from being deleted. The delete mark > remains regardless of the output: > > [Deletion mark removed, message won't be deleted] > > Steps to replicate problem: > > Access a folder, for example Inbox in an account (In this case, mine > is an IMAP-based account) > Press delete > D is appended next to the affected email. > Highlight the email with the D appended to it. > Press the shortcut (U) for undelete. > Client states that: [Deletion mark removed, message won't be deleted] > However, the "D" remains and it is not possible to prevent the email > from eventually being "expunged". > > Replicable: Always > Architecture: amd64 > > Output from EIX: > > [I] mail-client/alpine > Available versions: (~)2.00 (~)2.00-r1 (~)2.00-r2 (~)2.00-r3 > {+chappa doc ipv6 kerberos ldap nls onlyalpine passfile smime spell > ssl threads topal} > Installed versions: 2.00-r3(12:12:18 14/07/10)(chappa ipv6 nls > spell ssl threads -doc -kerberos -ldap -onlyalpine -passfile -smime > -topal) > Homepage:http://www.washington.edu/alpine/ > http://staff.washington.edu/chappa/alpine/ > Description: alpine is an easy to use text-based based > mail and news client > > /etc/make.conf: > > # These settings were set by the catalyst build script that automatically > # built this stage. > # Please consult /usr/share/portage/config/make.conf.example for a more > # detailed example. > CFLAGS="-O2 -pipe -march=native" > CXXFLAGS="-O2 -pipe -march=native" > # WARNING: Changing your CHOST is not something that should be done > lightly. > # Please consult http://www.gentoo.org/doc/en/change-chost.xml before > changing. > CHOST="x86_64-pc-linux-gnu" > # These are the USE flags that were used in addition to what is > provided by the > # profile used for building. > #USE="v4l snmp qt4 qt3support scanner a52 -mono video_cards_intel xcp > glitz semantic-desktop branding spell nsplugin msn embedded mng sql > webkit mysql cairo mdnsresponder-compat png autoipd avahi extras > vorbis cups ppds fbcon xcomposite opengl dri consolekit encode gtk > gnome dvd alsa cdr mmx sse sse2 X acpi dbus ffmpeg cdparanoia firefox > gif gnome-keyring gnutls gphoto2 gstreamer hal java jpeg jpeg2k lame > mp3 multilib ogg -pulseaudio rss emerald svg tcl tk theora truetype > usb wifi win32codecs" > USE="spell pdf faad faac aac x264 threads policykit device-mapper gdu > gtk gnome cairo X consolekit udev -hal alsa dbus pulseaudio truetype > java bindist opengl cups templates gstreamer -kde qt4 fbcon vorbis ogg > png win32codecs jpeg jpeg2k lame mp3 usb qt3support cdda theora dvd > a52 nsplugin" > MAKEOPTS="-j2" > VIDEO_CARDS="intel" > > SYNC="rsync://rsync.au.gentoo.org/gentoo-portage" > > > #source /usr/local/portage/layman/make.conf > #GENTOO_MIRRORS="http://mirror.pacific.net.au/linux/Gentoo"; > LINGUAS="en_GB" > #GENTOO_MIRRORS="http://ftp.swin.edu.au/gentoo " > source /var/lib/layman/make.conf > GENTOO_MIRRORS="http://ftp.swin.edu.au/gentoo"; > > > Regards > > Ubiquitous1980 > > > Sorry about the above...If you enable cruise mode without delete...this prevents the above behaviour. Ubiquitous1980
Re: [gentoo-user] gtk-vnc build failure
MAKEOPTS="-j1" FEATURES="-ccache" emerge -1av =net-libs/gtk-vnc-0.4.1
Re: [gentoo-user] gtk-vnc build failure
HmmmSorry,U don't need to disable the "ccache".just type MAKEOPTS="-j1" emerge -1av =net-libs/gtk-vnc-0.4.1 2010/7/15 Blackdream W > MAKEOPTS="-j1" FEATURES="-ccache" emerge -1av =net-libs/gtk-vnc-0.4.1 >
Re: [gentoo-user] how can I make "emerge --sync" less verbose?
Am 13.07.2010 18:48, schrieb Jarry: > Hi, > subject says it all: I'm using gentoo over rather slow line, > and while syncing portage tree, lines keep scrolling so fast > it saturates my connection. How can I make "emerge --sync" > somehow less verbose? > > I know, I can use "--quiet", but then I do not see anyting. > Maybe something like status-bar, or counter (0-100%) would > be nice... > > Jarry Portage relies on rsync for it's emerge --sync. You can add extra command line parameters to the rsync call by specifying them in the variable PORTAGE_RSYNC_EXTRA_OPTS in your /etc/make.conf Take a look at `man rsync` for a list of possible options and `man make.conf` for a list of all default options. For example, you could specify --out-format '.' That way, for every file it will only print a single dot and a line feed. That way, you can still monitor progress with a minimum of traffic. Hope this helps, Florian Philipp signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] Evdev keyboard no longer works
Am 13.07.2010 03:04, schrieb Albert Hopkins: > Suddenly my multimedia keys stopped working, I think today. I went into > gnome-keyboard-properties, and it shows that my keyboard model is set to > "Unknown". For a long time it has always been set to "Evdev managed > keyboard" but that isn't even on the list anymore. The keyboard > shortcuts preferences no longer recognize these keys when pressed. > > I can't see anything that I upgraded recenlty that could have changed > this. I did update gnome-applets to 2.30.0 today, but downgrading back > to 2.28 didn't bring the evdev model back. > > Anyone else experience this or have a clue as to what could have > changed? > What version is your xorg-server package and your evdev input device? What use flags are set? signature.asc Description: OpenPGP digital signature
[gentoo-user] udev-related (?) problem
Greets, I run ~amd64 here, at least I try ;-) So far everything up-to-date, kernel tuxonice-sources-2.6.34-r1, udev-160 I had to reboot before (something with KVM stuck and I decided to clear up things with init 6), clean reboot, and now I get the following: quite long wait at "Waiting for uevents to be processed" ... then dozens (hundreds?) of lines like: /sys/devices/virtual/block/md0 (5520) /sys/devices/virtual/block/md1 (5521) always changing between md0 and md1 now it stands at "Setting up the Logical Volume Manager" hdd-led active, CPU and cpu-fan as well quite busy ... I also tried going back to 2.6.34, same result. Found no udev-related bugs at bugs.gentoo.org ... Any idea, someone? I don't want to over-react and start chrooting without a cause ... Thanks, Stefan
[gentoo-user] Re: udev-related (?) problem
Am 14.07.2010 21:02, schrieb Stefan G. Weichinger: > Found no udev-related bugs at bugs.gentoo.org ... > > Any idea, someone? Maybe this one: http://bugs.gentoo.org/show_bug.cgi?id=322711 ? Will follow ... S
Re: [gentoo-user] gtk-vnc build failure
Blackdream W writes: > HmmmSorry,U don't need to disable the "ccache".just type MAKEOPTS="-j1" > emerge -1av =net-libs/gtk-vnc-0.4.1 Works. Thank you. I promise to (try real hard to) remember in the future to try -j1 *before* bothering the list. thanks again, allan
[gentoo-user] gentoo (diet) && Ceph ?
Googling sometimes produces hilarious results. Seriously, I'm looking for any information/brave hack on using CEPH fs with Gentoo Just for kicks: http://www.springerlink.com/content/ylxq12m04vbwag0a/ James
Re: [gentoo-user] bash blinking
On Wed, 14 Jul 2010 20:35:43 +0100 Jorge Almeida wrote: > How can I prevent bash of blinking when running "ls -l" on a directory > with broken links? The thing gets in the way, and it is really > unbearable if a directory contains lots of broken links. I didn't > manage to google my way around this problem. Maybe some other package > has to be reconfigured... Look into /etc/DIR_COLORS According to these codes: # Below are the color init strings for the basic file types. A color init # string consists of one or more of the following numeric codes: # Attribute codes: # 00=none 01=bold 04=underscore 05=blink 07=reverse 08=concealed # Text color codes: # 30=black 31=red 32=green 33=yellow 34=blue 35=magenta 36=cyan 37=white # Background color codes: # 40=black 41=red 42=green 43=yellow 44=blue 45=magenta 46=cyan 47=white I have ORPHAN 01;05;37;41 # orphaned syminks MISSING 01;05;37;41 # ... and the files they point to So you probably want to change the 05 into something else or remove it. Just experiment and to test it do eval `dircolors -b /etc/DIR_COLORS`
[gentoo-user] bash blinking
How can I prevent bash of blinking when running "ls -l" on a directory with broken links? The thing gets in the way, and it is really unbearable if a directory contains lots of broken links. I didn't manage to google my way around this problem. Maybe some other package has to be reconfigured... Thanks for any hint on how to kill this nasty pest. Jorge Almeida
Re: [gentoo-user] kdm & french keyboard
Alan McKinnon wrote: On Wednesday 14 July 2010 09:58:02 Stéphane Guedon wrote: I agree with you, but I like to make things in order with the rules (without relation to udev). But I don't like udev, its syntax is really hard to understand for user ! Dale, here's your chance to jump in and comment. This user *obviously* never had to deal with hal. Oh crap. You mean udev uses xml config files too? Well, at least udev hasn't broke my keyboard and mouse. lol I don't have to much trouble with udev. Heck, the one time I did, I deleted all the config files and re-emerged the thing. Worked great then. I think one got messed up somehow. Dale :-) :-)
Re: [gentoo-user] kdm & french keyboard
On Wednesday 14 July 2010 22:12:32 Dale wrote: > Alan McKinnon wrote: > > On Wednesday 14 July 2010 09:58:02 Stéphane Guedon wrote: > >> I agree with you, but I like to make things in order with the rules > >> (without relation to udev). > >> > >> But I don't like udev, its syntax is really hard to understand for user > >> ! > > > > Dale, here's your chance to jump in and comment. > > > > This user *obviously* never had to deal with hal. > > Oh crap. You mean udev uses xml config files too? Well, at least udev > hasn't broke my keyboard and mouse. lol I don't have to much trouble > with udev. Heck, the one time I did, I deleted all the config files and > re-emerged the thing. Worked great then. I think one got messed up > somehow. > > Dale > > :-) :-) No, not XML. It uses something MUCH better. It uses this: $ cat rules.d/70-persistent-cd.rules # This file was automatically generated by the /lib64/udev/write_cd_rules # program, probably run by the cd-aliases-generator.rules rules file. # # You can modify it, as long as you keep each rule on a single line # and set the $GENERATED variable. # DVD+-RW_AD-7640A (pci-:00:1f.1-scsi-0:0:0:0) ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-:00:1f.1-scsi-0:0:0:0", SYMLINK+="cdrom", ENV{GENERATED}="1" ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-:00:1f.1-scsi-0:0:0:0", SYMLINK+="cdrw", ENV{GENERATED}="1" ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-:00:1f.1-scsi-0:0:0:0", SYMLINK+="dvd", ENV{GENERATED}="1" ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-:00:1f.1-scsi-0:0:0:0", SYMLINK+="dvdrw", ENV{GENERATED}="1" # Mass_Storage (pci-:00:1d.0-usb-0:2:1.2-scsi-0:0:0:0) SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_SERIAL}=="HUAWEI_Mass_Storage-0:0", SYMLINK+="cdrom1", ENV{GENERATED}="1" See how fantastic this is? See how this conforms to The One True (Unix) Way? See how it looks nothing like XML (invented by a Windows user, obviously), and actually looks a lot like perl with regexes? On second thoughts, it looks nothing like perl. There aren't enough $, @ and % symbols in it. But the regex bit stands. :-) -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] kdm & french keyboard
Alan McKinnon wrote: On Wednesday 14 July 2010 22:12:32 Dale wrote: Alan McKinnon wrote: On Wednesday 14 July 2010 09:58:02 Stéphane Guedon wrote: I agree with you, but I like to make things in order with the rules (without relation to udev). But I don't like udev, its syntax is really hard to understand for user ! Dale, here's your chance to jump in and comment. This user *obviously* never had to deal with hal. Oh crap. You mean udev uses xml config files too? Well, at least udev hasn't broke my keyboard and mouse. lol I don't have to much trouble with udev. Heck, the one time I did, I deleted all the config files and re-emerged the thing. Worked great then. I think one got messed up somehow. Dale :-) :-) No, not XML. It uses something MUCH better. It uses this: $ cat rules.d/70-persistent-cd.rules # This file was automatically generated by the /lib64/udev/write_cd_rules # program, probably run by the cd-aliases-generator.rules rules file. # # You can modify it, as long as you keep each rule on a single line # and set the $GENERATED variable. # DVD+-RW_AD-7640A (pci-:00:1f.1-scsi-0:0:0:0) ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-:00:1f.1-scsi-0:0:0:0", SYMLINK+="cdrom", ENV{GENERATED}="1" ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-:00:1f.1-scsi-0:0:0:0", SYMLINK+="cdrw", ENV{GENERATED}="1" ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-:00:1f.1-scsi-0:0:0:0", SYMLINK+="dvd", ENV{GENERATED}="1" ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-:00:1f.1-scsi-0:0:0:0", SYMLINK+="dvdrw", ENV{GENERATED}="1" # Mass_Storage (pci-:00:1d.0-usb-0:2:1.2-scsi-0:0:0:0) SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_SERIAL}=="HUAWEI_Mass_Storage-0:0", SYMLINK+="cdrom1", ENV{GENERATED}="1" See how fantastic this is? See how this conforms to The One True (Unix) Way? See how it looks nothing like XML (invented by a Windows user, obviously), and actually looks a lot like perl with regexes? On second thoughts, it looks nothing like perl. There aren't enough $, @ and % symbols in it. But the regex bit stands. :-) I'm glad deleting the config files and re-emerging worked for me then. It would certainly not work if I had to edit all that mess. Reminds me of chickens. You know, chicken scratch. lol Dale :-) :-)
Re: [gentoo-user] Akonadi crashes
On Wednesday 14 July 2010 18:29:58 Mick wrote: > Over the last two days I have noticed a lot of crashes every time I > start kmail. The popup says: > > Details: Executable: akonadi_maildir_resource PID:27916 Signal: 6 > (Aborted) > > This pop up keeps repeating itself with different PIDs. Eventually, > all settles and I can use kmail. > > The problem has started without me updating any KDE related package (I > think) and have run lafilefixer and revdep-rebuild for good measure. > > It is worth mentioning that with KDE-4.4.4 akonadi would crash > randomly when trying to launch kmail and take kmail down with it. > Restarting kmail worked on the second attempt. Unfortunately, the > multiple popups are hindering productivity and am thinking of calling > it a day on kmail. > > Any ideas on what is causing this and more importantly how I could fix it? > > I'm attaching the errors when I launch kmail from a terminal. > > PS. While I'm at it: any other good mail clients out there (other > than T'bird) which include an address book and S/MIME, GnuPG, but do > *not* require a lorry load of gnome libs? Things go much easier when your erorr log is only 15k if you just in-line it. You made an attachment which is gzipped. The effort that implies almost bad me delete your mail and no answer as being tl;dr So here it is: $ kmail Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString) kdeinit4: preparing to launch /usr/lib64/libkdeinit4_klauncher.so Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString) kdeinit4: preparing to launch /usr/lib64/libkdeinit4_kded4.so kdeinit4: preparing to launch /usr/lib64/libkdeinit4_kbuildsycoca4.so kbuildsycoca4 running... kdeinit4: preparing to launch /usr/lib64/libkdeinit4_kconf_update.so Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString) kdeinit4: preparing to launch /usr/lib64/libkdeinit4_kwalletd.so Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString) "/usr/bin/kmail(12552)" Error in thread 140590807091040 : "org.freedesktop.DBus.Error.ServiceUnknown - The name org.kde.nepomuk.services.nepomukstorage was not provided by any .service files" "/usr/bin/kmail(12552)" Error in thread 140590807091040 : "QLocalSocket::connectToServer: Invalid name" "/usr/bin/kmail(12552)" Error in thread 140590807091040 : "org.freedesktop.DBus.Error.ServiceUnknown - The name org.kde.nepomuk.services.nepomukstorage was not provided by any .service files" "/usr/bin/kmail(12552)" Error in thread 140590807091040 : "QLocalSocket::connectToServer: Invalid name" "/usr/bin/kmail(12552)" Error in thread 140590807091040 : "org.freedesktop.DBus.Error.ServiceUnknown - The name org.kde.nepomuk.services.nepomukstorage was not provided by any .service files" "/usr/bin/kmail(12552)" Error in thread 140590807091040 : "QLocalSocket::connectToServer: Invalid name" Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString) [akonadiserver] QSqlDatabasePrivate::removeDatabase: connection 'initConnection' is still in use, all queries will cease to work. [akonadiserver] Database "/home/michael/.local/share/akonadi/akonadi.db" opened using driver "QSQLITE" [akonadiserver] DbInitializer::run() [akonadiserver] checking table "SchemaVersionTable" [akonadiserver] checking table "ResourceTable" [akonadiserver] checking table "CollectionTable" [akonadiserver] checking table "MimeTypeTable" [akonadiserver] checking table "PimItemTable" [akonadiserver] checking table "FlagTable" [akonadiserver] checking table "PartTable" [akonadiserver] checking table "CollectionAttributeTable" [akonadiserver] checking relation "PimItemFlagRelation" [akonadiserver] checking relation "CollectionMimeTypeRelation" [akonadiserver] checking relation "CollectionPimItemRelation" [akonadiserver] DbInitializer::run() done [akonadiserver] skipping update 2 [akonadiserver] skipping update 3 [akonadiserver] skipping update 4 [akonadiserver] skipping update 8 [akonadiserver] skipping update 10 [akonadiserver] skipping update 12 [akonadiserver] skipping update 13 [akonadiserver] DbUpdater: update to version: 14 mandatory: false code: "UPDATE ResourceTable SET isVirtual = true WHERE name = 'akonadi_nepomuktag_resource'; [akonadiserver] UPDATE ResourceTable SET isVirtual = true WHERE name = 'akonadi_search_resource';" [akonadiserver] DBUpdater: query error: "no such column: true Unable to execute statement" " " akonadi is attempting to update your database structure when it starts. This accounts for any long start-up times you are experiencing. You should try access the db manually (with akonadi and kmail both dead) and attempt the update. Investigate and see why it doesn't work. It's 100% bog standard sql [akonadiserver] Query was: "UPDATE ResourceTable SET isVirtual = tru
Re: [gentoo-user] Re: udev-related (?) problem
Am 14.07.2010 21:07, schrieb Stefan G. Weichinger: > Maybe this one: > > http://bugs.gentoo.org/show_bug.cgi?id=322711 Yep, it was. Waiting for the boot took too long, chrooting and downgrading mdadm did solve it. Sorry for the noise
Re: [gentoo-user] bash blinking
On Wed, Jul 14, 2010 at 8:44 PM, Etaoin Shrdlu wrote: > On Wed, 14 Jul 2010 20:35:43 +0100 Jorge Almeida > wrote: > >> How can I prevent bash of blinking when running "ls -l" on a directory >> with broken links? The thing gets in the way, and it is really >> unbearable if a directory contains lots of broken links. I didn't >> manage to google my way around this problem. Maybe some other package >> has to be reconfigured... > > Look into /etc/DIR_COLORS > > According to these codes: > > # Below are the color init strings for the basic file types. A color init > # string consists of one or more of the following numeric codes: > # Attribute codes: > # 00=none 01=bold 04=underscore 05=blink 07=reverse 08=concealed > # Text color codes: > # 30=black 31=red 32=green 33=yellow 34=blue 35=magenta 36=cyan 37=white > # Background color codes: > # 40=black 41=red 42=green 43=yellow 44=blue 45=magenta 46=cyan 47=white > > I have > > ORPHAN 01;05;37;41 # orphaned syminks > MISSING 01;05;37;41 # ... and the files they point to > > So you probably want to change the 05 into something else or remove it. > Just experiment and to test it do > > eval `dircolors -b /etc/DIR_COLORS` > > Thank you _a lot_ The nightmare is over! Jorge
Re: [gentoo-user] bash blinking
On Wed, 14 Jul 2010 20:35:43 +0100, Jorge Almeida wrote: > How can I prevent bash of blinking when running "ls -l" on a directory > with broken links? The thing gets in the way, and it is really > unbearable if a directory contains lots of broken links. Isn't that rather like fixing low oil pressure in your car by disconnecting the warning light? What you want is possible, you already have the answer, but maybe "emerge app-misc/symlinks" is a better solution. -- Neil Bothwick If God can't help you, how about Mr. Coffee? signature.asc Description: PGP signature
Re: [gentoo-user] gentoo (diet) && Ceph ?
> Googling sometimes produces hilarious results. > > Seriously, I'm looking for any information/brave > hack on using CEPH fs with Gentoo The two main things you'll have to do is build a kernel with ceph support and then create an ebuild for ceph's userland utilities and put it in your own overlay. If you have any ceph specific questions on implementation or bugs then your best bet is either the ceph mailing list or their IRC channel. I can take a stab at questions but Sage, Yehuda or Greg will be able to more thoroughly/accurately answer them. -- Kyle
Re: [gentoo-user] bash blinking
On Wednesday 14 July 2010 23:52:24 Neil Bothwick wrote: > On Wed, 14 Jul 2010 20:35:43 +0100, Jorge Almeida wrote: > > How can I prevent bash of blinking when running "ls -l" on a directory > > with broken links? The thing gets in the way, and it is really > > unbearable if a directory contains lots of broken links. > > Isn't that rather like fixing low oil pressure in your car by > disconnecting the warning light? What you want is possible, you already > have the answer, but maybe "emerge app-misc/symlinks" is a better > solution. He's moaning about the indiscriminate use of the tag. And quite rightly too. Stick it in one of your own personal web pages and watch everyone here eviscerate you for such a heinous crime against humanity. Besides, when the bloody thing blinks off, it's black on black. Totally unreadable. White on red is good for broken symlinks. Blinking white on red is just awful. awful as in voldemort-awful. -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] emerge is not switching mirror when one is down
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? > What does "emerge --info | grep GENTOO_MIRRORS" tell you? Jake Moe
[gentoo-user] Re: gentoo (diet) && Ceph ?
Kyle Bader gmail.com> writes: > The two main things you'll have to do is build a kernel with ceph > support and then create an ebuild for ceph's userland utilities and > put it in your own overlay. If you have any ceph specific questions > on implementation or bugs then your best bet is either the ceph > mailing list or their IRC channel. I can take a stab at questions but > Sage, Yehuda or Greg will be able to more thoroughly/accurately answer > them. OK, thanks for the info. I'm building up a couple of new installs on old hardware, just to see if I can get this to work. Do let me know if an overlay pops up somewhere. James
Re: [gentoo-user] bash blinking
On Thu, 15 Jul 2010 00:04:08 +0200, Alan McKinnon wrote: > On Wednesday 14 July 2010 23:52:24 Neil Bothwick wrote: > > On Wed, 14 Jul 2010 20:35:43 +0100, Jorge Almeida wrote: > > > How can I prevent bash of blinking when running "ls -l" on a > > > directory with broken links? The thing gets in the way, and it is > > > really unbearable if a directory contains lots of broken links. > > > > Isn't that rather like fixing low oil pressure in your car by > > disconnecting the warning light? What you want is possible, you > > already have the answer, but maybe "emerge app-misc/symlinks" is a > > better solution. > > He's moaning about the indiscriminate use of the tag. > > And quite rightly too. Stick it in one of your own personal web pages > and watch everyone here eviscerate you for such a heinous crime against > humanity. Agreed, but when a directory "contains lots of broken links", maybe it's better to fix the problem than the warning. -- Neil Bothwick Joystick: (n.) a device essential for performing business tasks and training exercises esp. favored by pilots, tank commanders, riverboat gamblers, and medieval warlords. signature.asc Description: PGP signature
Re: [gentoo-user] Evdev keyboard no longer works [UPDATE]
On Wed, 2010-07-14 at 07:01 -0400, Albert Hopkins wrote: > In case anyone is listening, I did plug in an external keyboard (it's > a > laptop) and the extra keys on the external seem to work fine. So this > evidence also leads me to believe that something happened > hardware-wise, > though I have no idea what it could be :| Well, I installed Windows 7 on the machine and the same keys that don't work with Gentoo now also didn't work with Windows. So it looks to be a hardware issue. But it's really weird.. physically I see nothing wrong with the keys. ThinkAdvantage button still works during POST but not when an OS is running. The Fn keys no longer work nor do the volume/mute keys. But the play/pause buttons do. I guess I'll be taking it to get repaired.
Re: [gentoo-user] Evdev keyboard no longer works [UPDATE]
On Wed, Jul 14, 2010 at 6:47 PM, Albert Hopkins wrote: > On Wed, 2010-07-14 at 07:01 -0400, Albert Hopkins wrote: >> In case anyone is listening, I did plug in an external keyboard (it's >> a >> laptop) and the extra keys on the external seem to work fine. So this >> evidence also leads me to believe that something happened >> hardware-wise, >> though I have no idea what it could be :| > > Well, I installed Windows 7 on the machine and the same keys that don't > work with Gentoo now also didn't work with Windows. So it looks to be a > hardware issue. But it's really weird.. physically I see nothing wrong > with the keys. ThinkAdvantage button still works during POST but not > when an OS is running. The Fn keys no longer work nor do the > volume/mute keys. But the play/pause buttons do. > > I guess I'll be taking it to get repaired. Have you completely powered down the machine and replugged the keyboard? Sometimes hardware gets stuck in an unknown state. Just an idea. - Mark
Re: [gentoo-user] how can I make "emerge --sync" less verbose?
On Wednesday 14 July 2010 19:45:46 Florian Philipp wrote: > Portage relies on rsync for it's emerge --sync. You can add extra > command line parameters to the rsync call by specifying them in the > variable > PORTAGE_RSYNC_EXTRA_OPTS > in your /etc/make.conf > > Take a look at `man rsync` for a list of possible options and `man > make.conf` for a list of all default options. > > For example, you could specify --out-format '.' > That way, for every file it will only print a single dot and a line > feed. That way, you can still monitor progress with a minimum of > traffic. What rsync should do, as I suggested recently , is not mention any directory in which it does no work. -- Rgds Peter. Linux Counter 5290, 1994-04-23.
Re: [gentoo-user] bash blinking
On Wednesday 14 July 2010 20:35:43 Jorge Almeida wrote: > How can I prevent bash of blinking when running "ls -l" on a > directory with broken links? The thing gets in the way, and it is > really unbearable if a directory contains lots of broken links. I > didn't manage to google my way around this problem. Maybe some other > package has to be reconfigured... $ clear -- Rgds Peter. Linux Counter 5290, 1994-04-23.
[gentoo-user] sys-power/nut-2.4.3-r2 fails to compile driver
Hi folks, I'm trying to upgrade nut to the latest stable version. I have the driver set in make.conf and according to the website, it is the correct driver. I also while searching around noticed I need to make sure I have the driver in /lib/nut and sure enough, it is there. In make.conf I have this: NUT_DRIVERS="cyberpower" This is the error I am getting: make[1]: Entering directory `/var/tmp/portage/sys-power/nut-2.4.3-r2/work/nut-2.4.3/drivers' make[1]: *** No rule to make target `cyberpower', needed by `all-am'. Stop. make[1]: Leaving directory `/var/tmp/portage/sys-power/nut-2.4.3-r2/work/nut-2.4.3/drivers' make: *** [all-recursive] Error 1 * ERROR: sys-power/nut-2.4.3-r2 failed: * emake failed * * Call stack: * ebuild.sh, line 48: Called src_compile * environment, line 2904: Called _eapi2_src_compile * ebuild.sh, line 640: Called die * The specific snippet of code: * emake || die "emake failed" * * If you need support, post the output of 'emerge --info =sys-power/nut-2.4.3-r2', * the complete build log and the output of 'emerge -pqv =sys-power/nut-2.4.3-r2'. * The complete build log is located at '/var/log/portage/elog/sys-power:nut-2.4.3-r2:20100715-034546.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-power/nut-2.4.3-r2/temp/environment'. * S: '/var/tmp/portage/sys-power/nut-2.4.3-r2/work/nut-2.4.3' >>> Failed to emerge sys-power/nut-2.4.3-r2, Log file: >>> '/var/log/portage/elog/sys-power:nut-2.4.3-r2:20100715-034546.log' * * The following package has failed to build or install: * * ('ebuild', '/', 'sys-power/nut-2.4.3-r2', 'merge'), Log file: * '/var/log/portage/elog/sys-power:nut-2.4.3-r2:20100715-034546.log' * r...@smoker / # Any idea why it can't make my driver when it is the right one and is set in make.conf? What am I missing? Oh, this is connected to my serial port, NOT the USB port. Thanks. Dale :-) :-)
[gentoo-user] Re: [OT] Any centralized documentation on qemu-kvm?
On 07/13/2010 08:54 PM, Walter Dnes wrote: Before anybody asks... 1) VirtualBox manages to do a hard locup on my Intel I3 2) qemu depends on softmmu, which requires gcc 3.x So I installed qemu-kvm (different from qemu). The documentation that I've found via Google is out-of-date/irrelavant. I know that there is a "kvm" command, and typing "qemu{TAB}{TAB}" gives me... waltd...@i3 ~ $ qemu qemuqemu-io qemu-system-x86_64 qemu-i386 qemu-kvmqemu-x86_64 qemu-imgqemu-nbd Of the 9 commands, only qemu, qemu-img, and qemu-nbd have man pages. So RTFM becomes a little harder. Are there any up-to-date central locations for qemu-kvm documentation? Well, wait a sec. I track both qemu and qemu-kvm from their git repositories rather than the gentoo packages, so YMMV. One potentially very confusing thing between the two products is that the primary command-line program for qemu is (what else?) "qemu", but for qemu-kvm the primary command-line program is qemu-system-x86_64. (Only 64-bit machines with hardware virtualization support will run qemu-kmv, AFAIK.) BUT BEWARE: both qemu and qemu-kvm supply a file named qemu-system-x86_64, and they are not at all the same file, so you cannot have both packages installed in the same --prefix. (I don't know how gentoo resolves that conflict.) I install the git version of qemu in /usr/local, and qemu-kvm in /home/wa1ter, so I have to be careful to type the --prefix when I run one or the other. qemu-kvm does not supply a command named 'qemu', so there is no name conflict in that particular case. If you type 'qemu-system-x86_64', however, you will get completely different results depending on which package you are actually executing, so watch it! AFAICT, the command-line flags for 'qemu' and 'qemu-system-x86_64' are identical at least for simple stuff, though I never use the super-anal-compulsive flags for complicated networking/bridging/firewalling stuff, so I can't comment on it. My impression from experience is that qemu-img is the same for both packages, but I'm careful anyway to use the matching version, just in case. For the short term, I'd say you can use the regular qemu docs for looking up what command-line flags to use with qemu-kvm. If you find any exceptions, please let us know.
Re: [gentoo-user] Re: [OT] Any centralized documentation on qemu-kvm?
On Wed, 2010-07-14 at 21:15 -0700, walt wrote: > On 07/13/2010 08:54 PM, Walter Dnes wrote: > >Before anybody asks... > > 1) VirtualBox manages to do a hard locup on my Intel I3 > > 2) qemu depends on softmmu, which requires gcc 3.x > > > >So I installed qemu-kvm (different from qemu). The documentation that > > I've found via Google is out-of-date/irrelavant. I know that there is a > > "kvm" command, and typing "qemu{TAB}{TAB}" gives me... > > > > waltd...@i3 ~ $ qemu > > qemuqemu-io qemu-system-x86_64 > > qemu-i386 qemu-kvmqemu-x86_64 > > qemu-imgqemu-nbd > > > >Of the 9 commands, only qemu, qemu-img, and qemu-nbd have man pages. > > So RTFM becomes a little harder. Are there any up-to-date central > > locations for qemu-kvm documentation? > > Well, wait a sec. I track both qemu and qemu-kvm from their git repositories > rather than the gentoo packages, so YMMV. > > One potentially very confusing thing between the two products is that the > primary command-line program for qemu is (what else?) "qemu", but for qemu-kvm > the primary command-line program is qemu-system-x86_64. (Only 64-bit machines > with hardware virtualization support will run qemu-kmv, AFAIK.) > > BUT BEWARE: both qemu and qemu-kvm supply a file named qemu-system-x86_64, > and > they are not at all the same file, so you cannot have both packages installed > in > the same --prefix. (I don't know how gentoo resolves that conflict.) > > I install the git version of qemu in /usr/local, and qemu-kvm in /home/wa1ter, > so I have to be careful to type the --prefix when I run one or the other. > > qemu-kvm does not supply a command named 'qemu', so there is no name conflict > in that particular case. If you type 'qemu-system-x86_64', however, you will > get completely different results depending on which package you are actually > executing, so watch it! > > AFAICT, the command-line flags for 'qemu' and 'qemu-system-x86_64' are > identical > at least for simple stuff, though I never use the super-anal-compulsive flags > for complicated networking/bridging/firewalling stuff, so I can't comment on > it. > > My impression from experience is that qemu-img is the same for both packages, > but I'm careful anyway to use the matching version, just in case. > > For the short term, I'd say you can use the regular qemu docs for looking up > what > command-line flags to use with qemu-kvm. If you find any exceptions, please > let > us know. > > Coming in late, if qemu is different to qemu-kvm, what is different about running "qemu --enable-kvm" - "man qemu", v0.11.1. As you say, documentation on this stuff is a bit lacking. BillK
Re: [gentoo-user] Akonadi crashes
On Wednesday 14 July 2010 21:25:10 Alan McKinnon wrote: > On Wednesday 14 July 2010 18:29:58 Mick wrote: > akonadi is attempting to update your database structure when it starts. > This accounts for any long start-up times you are experiencing. You should > try access the db manually (with akonadi and kmail both dead) and attempt > the update. Investigate and see why it doesn't work. It's 100% bog > standard sql I am almost sure that this was not the case with KDE-4.3 or if it was, then this update did not take longer than a second. > [akonadiserver] Database "/home/michael/.local/share/akonadi/akonadi.db" > opened using driver "QSQLITE" > ^^^ > > akonadi docs specifically recommend you do not use sqlite. It just is not > up to the job. I think you should just delete this database, start akonadi > and kmail and let it rebuild all the stuff it wants. This implies and lot > of starting over on your behalf. Yes, SQLITE is not recommended, however it worked alright up until now. Thanks for the suggestion, I will mv the db and try starting it again. How does one start akonadi? It's no longer listed in systemsettings in KDE-4.4. > [akonadiserver] Database "/home/michael/.local/share/akonadi/akonadi.db" > opened using driver "QSQLITE" > [akonadiserver] QDBusConnectionPrivate::connectSignal: received error from > D- Bus server while connecting signal to > QDBusConnectionInterface::NameOwnerChanged(QString,QString,QString): > org.freedesktop.DBus.Error.NoMemory (Not enough memory) > ^ > > Oops.. What does that mean? Why did it run out of memory - there's still plenty of RAM. > Couldn't remove lockfile > "/var/tmp/kdecache-michael/kpc/kde-icon-cache.lock" > > > > Does this file exist? No, that's what got me confused and I had to ask here for suggestions. Why would it be trying to access a lockfile which is not there? > I must be honest that on the whole I'm left with an overwhelming feeling > that you simply did not bother to read the errors. > > This is a bad habit for a gentoo user. Very bad indeed. Alan, thank you for your help. I did read the errors although somewhat in a rush. I couldn't find the lock file akonadi referred to and I couldn't understand why it was trying to access a file that was not there. I thought of blowing the db and starting KDE or kmail, but just to be sure I asked here first. I didn't want to risk losing access to my mail or address book. -- Regards, Mick signature.asc Description: This is a digitally signed message part.