Re: [gentoo-user] Problem with script calling OOCalc on amd64
On Wednesday 17 March 2010 22:57:41 you wrote: On Wednesday 17 March 2010 09:15:17 Amit Dor-Shifer wrote: ok. I didn't realize that oocalc actually executed in your first attempt. Out of ideas then. FWIW - a few guesses: I'd execute oocalc under strace, and try to find what is killing oocalc (does it decide to exit, or is it sent some signal). If your suspecting xterm to be the culprit (i.e., yr script works-as-expected w/o the xterm wrap) then maybe it'll be worthwhile looking into the X resources yr xterm is reading. I'm posting this to the list on behalf of Jack, because his posts don't make it to the list for some reason: You didn't see it in the list because it hasn't shown up there yet, despite three tries to post. What I mean is that if I type oocalc somefile in a term (it doesn't seem to matter xterm, konsole, ...) I almost immediately get the next shell prompt, even before the oocalc (or oodraw or oowrite) window is fully displayed and ready to work. It does not smell to me like anything to do with the terminal program, or even the shell, although there may well be an environment variable that OO is checking. oowriter --help (and any variation I have tried) seems to ignore the request for help. If you look at the ooffice help on command line parameters, there is a note about gentoo having a custom version - but I haven't been able to find anything at the gentoo site either. I have not yet tried launching from a script in case that behaves any differently. Note that since the shell has given the next prompt - the terminal will certainly think everything is done, and happily close if the script is finished. The trick will be to explicitly find a way to check that oo has finished. If you just launch oo from a command line in a terminal, do you get the next shell prompt immediately, or not until you exit oo? Jack Thanks Jack, this is rather interesting: On two machines including the amd64 laptop the terminal exits immediately, while the OOo is being launched. Both of these have OOo compiled from source. The third machine (an old x86 laptop) has the OOo binary installed. The binary installation behaves as I thought was the norm, i.e. the terminal does not exit, but remains open until I close OOo. So this problem that reported I guess is due to a difference between the two types of OOo, built from source or binary. I looked at the CLI help options by running 'ooffice -help'but I can't see anything in there that will change this behaviour on the OOo built from sources. Any other ideas? -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] syslog-ng filtering
On Wednesday 17 March 2010 23:43:39 Ralph Slooten wrote: On 18 March 2010 09:40, Keith Dart ke...@dartworks.biz wrote: You can comment that out and then those annoying run-cron entries won't be logged. Yes, dropping those entries on the client side is an option, however then I have to do it for each client in the network. Doing it on the server means just once... and it's all local network, no bandwidth isn't an issue either. There are also some cron jobs I do want logged ~ things that run maybe weekly or monthly, but some run every minute and really don't need to be logged. And you still have to cater for the case where some joker sends you heaps of unwanted stuff despite you repeatedly asking him not to. Or, god forbid, you have to receive logs from Cisco kit. -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] Re: Question about Seamonkey and a test.
stosss wrote: On Wednesday, March 17, 2010, Frank Steinmetzgerwar...@gmx.de wrote: Am Mittwoch 17 März 2010 schrieb Dale: I only want plain text to the mailing lists and html for everyone else. I send pics and other things to other folks. Ya don’t need HTML for that. ;-) I have even seen mails that were multiparted plain-text, i.e. text, image attachment, text, image-attachment, you get the idea. Don’t know anymore though what program that was. KMail does multi-parted I try to keep it simple. If it gets to complicated, it will mess up eventually and I get to keep the pieces. lol Dale :-) :-)
Re: [gentoo-user] Re: Udev error and how to fix it.
On Wed, Mar 17, 2010 at 06:57:59PM -0700, walt wrote: On 03/17/2010 05:29 PM, Iain Buchanan wrote: ...That's why we have programming languages, because English is too forgiving and fuzzy! By George, I think you've got it. From now on, all political campaign speeches should be written in C. Well, okay, maybe in COBOL for the older ones. If political speeches were written in C, this is what they'd look like. http://www.ioccc.org/ W -- Willie W. Wong ww...@math.princeton.edu Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire et vice versa ~~~ I. Newton
Re: [gentoo-user] top does not save settings
Mick writes: In an aterm I launch top. Then press z c and Shift+W. I get: Wrote configuration to '/home/michael/.toprc' Cool. Didn't know about this yet. Fine I think, Ctrl+c to end it and move on. Next time I fire up top, even from the same terminal, it's all looking white with no colour, no highlighting, or anything else. Why is this? This is what the contents of .toprc show: = Cfile for top with windows # shameless braggin' Id:a, Mode_altscr=0, Mode_irixps=1, Delay_time=3.000, Curwin=0 fieldscur=AEHIOQTWKNMbcdfgjplrsuvyzX winflags=64953, sortindx=10, maxtasks=0 summclr=1, msgsclr=1, headclr=3, taskclr=1 fieldscur=ABcefgjlrstuvyzMKNHIWOPQDX winflags=62777, sortindx=0, maxtasks=0 summclr=6, msgsclr=6, headclr=7, taskclr=6 fieldscur=ANOPQRSTUVbcdefgjlmyzWHIKX winflags=62777, sortindx=13, maxtasks=0 summclr=5, msgsclr=5, headclr=4, taskclr=5 fieldscur=ABDECGfhijlopqrstuvyzMKNWX winflags=62777, sortindx=4, maxtasks=0 summclr=3, msgsclr=3, headclr=2, taskclr=3 = Same thing happens in xterm and konsole. Works here, in konsole and xterm. My .toprc looks similar, but it has additional keywords Def, Job, Mem and Usr. Are they missing in your .toprc, or did they get lost during copypaste? If I remove them, my top also looks like without .toprc. = RCfile for top with windows # shameless braggin' Id:a, Mode_altscr=0, Mode_irixps=1, Delay_time=3.000, Curwin=0 Def fieldscur=AEHIOQTWKNMbcdfgjplrsuvyzX winflags=64953, sortindx=10, maxtasks=0 summclr=1, msgsclr=1, headclr=3, taskclr=1 Job fieldscur=ABcefgjlrstuvyzMKNHIWOPQDX winflags=62777, sortindx=0, maxtasks=0 summclr=6, msgsclr=6, headclr=7, taskclr=6 Mem fieldscur=ANOPQRSTUVbcdefgjlmyzWHIKX winflags=62777, sortindx=13, maxtasks=0 summclr=5, msgsclr=5, headclr=4, taskclr=5 Usr fieldscur=ABDECGfhijlopqrstuvyzMKNWX winflags=62777, sortindx=4, maxtasks=0 summclr=3, msgsclr=3, headclr=2, taskclr=3 = Wonko
[gentoo-user] mplayer: xvid and lavc
Hi all, I'm trying to add some sub to a video with menconder (following a receipt). I run something like: mencoder mi_video.avi -oac pcm -ovc lavc -lavcopts vcodec=xvid:mbd=2:trell:autoaspect -sub mis_subs.srt -subfont-text-scale 3 -o video_final.avi but I get the error: [...] Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3) == Cannot find codec 'xvid' in libavcodec... Couldn't open video filter 'lavc'. Failed to open the encoder. I though that building mplayer with xvid support should be enough: $ eix media-video/mplayer [I] media-video/mplayer Available versions: 1.0_rc4_p20091026-r1 ~1.0_rc4_p20100213-r1 ** {3dnow 3dnowext +X +a52 +aac aalib +alsa altivec +ass bidi bindist bl bs2b +cddb +cdio cdparanoia cpudetection custom-cpuopts debug dga +dirac directfb doc +dts +dv dvb +dvd +dvdnav dxr3 +enca +encode esd external-ffmpeg +faac +faad fbcon ftp ggi gif -gmplayer +iconv ipv6 jack joystick jpeg jpeg2k kernel_linux ladspa libcaca lirc +live lzo mad md5sum +mmx mmxext mng +mp3 nas +network nut openal opencore-amr +opengl +osdmenu oss png pnm pulseaudio pvr +quicktime radio +rar +real +rtc samba +schroedinger sdl +shm +speex sse sse2 ssse3 svga teletext tga +theora +toolame +tremor +truetype +twolame +unicode v4l v4l2 vdpau video_cards_mga video_cards_nvidia video_cards_s3virge video_cards_tdfx video_cards_vesa vidix +vorbis win32codecs +x264 xanim xinerama +xscreensaver +xv +xvid xvmc zoran} Installed versions: 1.0_rc4_p20091026-r1(11:58:13 AM 02/23/2010)(X a52 aac alsa ass cddb cdio dirac dts dv dvd dvdnav enca encode faac faad iconv jpeg kernel_linux live mad mmx mp3 network opengl osdmenu png rar real rtc schroedinger sdl shm speex theora toolame tremor truetype twolame unicode vorbis win32codecs x264 xscreensaver xv xvid -3dnow -3dnowext -aalib -altivec -bidi -bindist -bl -bs2b -cdparanoia -cpudetection -custom-cpuopts -debug -dga -directfb -doc -dvb -dxr3 -esd -fbcon -ftp -ggi -gif -gmplayer -ipv6 -jack -joystick -ladspa -libcaca -lirc -lzo -md5sum -mmxext -mng -nas -nut -openal -opencore-amr -oss -pnm -pulseaudio -pvr -quicktime -radio -samba -sse -sse2 -ssse3 -svga -teletext -tga -v4l -v4l2 -vdpau -video_cards_mga -video_cards_nvidia -video_cards_s3virge -video_cards_tdfx -vidix -xanim -xinerama -xvmc -zoran) but seems that not it isn't. and don't know what lavc is... anyone could tell me what package/s are missing in my system? TIA -- Arnau Bria http://blog.emergetux.net Bombing for peace is like fucking for virginity
Re: [gentoo-user] top does not save settings
Le Thursday 18 Mar 2010 à 12:06:12 (+0100), Alex Schuster a écrit : Mick writes: In an aterm I launch top. Then press z c and Shift+W. I get: Wrote configuration to '/home/michael/.toprc' Cool. Didn't know about this yet. Fine I think, Ctrl+c to end it and move on. Next time I fire up top, even from the same terminal, it's all looking white with no colour, no highlighting, or anything else. Why is this? This is what the contents of .toprc show: = Cfile for top with windows # shameless braggin' Id:a, Mode_altscr=0, Mode_irixps=1, Delay_time=3.000, Curwin=0 fieldscur=AEHIOQTWKNMbcdfgjplrsuvyzX winflags=64953, sortindx=10, maxtasks=0 summclr=1, msgsclr=1, headclr=3, taskclr=1 fieldscur=ABcefgjlrstuvyzMKNHIWOPQDX winflags=62777, sortindx=0, maxtasks=0 summclr=6, msgsclr=6, headclr=7, taskclr=6 fieldscur=ANOPQRSTUVbcdefgjlmyzWHIKX winflags=62777, sortindx=13, maxtasks=0 summclr=5, msgsclr=5, headclr=4, taskclr=5 fieldscur=ABDECGfhijlopqrstuvyzMKNWX winflags=62777, sortindx=4, maxtasks=0 summclr=3, msgsclr=3, headclr=2, taskclr=3 = Same thing happens in xterm and konsole. Same thing here, nothing was highlighted and my .toprc looked like yours I added Def, Job, Mem and usr in the file and it's fine now. The question is why is the file not having the right syntax? here: top: procps version 3.2.8 on amd64 Works here, in konsole and xterm. My .toprc looks similar, but it has additional keywords Def, Job, Mem and Usr. Are they missing in your .toprc, or did they get lost during copypaste? If I remove them, my top also looks like without .toprc. = RCfile for top with windows # shameless braggin' Id:a, Mode_altscr=0, Mode_irixps=1, Delay_time=3.000, Curwin=0 Def fieldscur=AEHIOQTWKNMbcdfgjplrsuvyzX winflags=64953, sortindx=10, maxtasks=0 summclr=1, msgsclr=1, headclr=3, taskclr=1 Job fieldscur=ABcefgjlrstuvyzMKNHIWOPQDX winflags=62777, sortindx=0, maxtasks=0 summclr=6, msgsclr=6, headclr=7, taskclr=6 Mem fieldscur=ANOPQRSTUVbcdefgjlmyzWHIKX winflags=62777, sortindx=13, maxtasks=0 summclr=5, msgsclr=5, headclr=4, taskclr=5 Usr fieldscur=ABDECGfhijlopqrstuvyzMKNWX winflags=62777, sortindx=4, maxtasks=0 summclr=3, msgsclr=3, headclr=2, taskclr=3 = Wonko signature.asc Description: Digital signature
Re: [gentoo-user] mplayer: xvid and lavc
Am 03/18/10 12:20, schrieb Arnau Bria: Hi all, I'm trying to add some sub to a video with menconder (following a receipt). I run something like: mencoder mi_video.avi -oac pcm -ovc lavc -lavcopts vcodec=xvid:mbd=2:trell:autoaspect -sub mis_subs.srt -subfont-text-scale 3 -o video_final.avi but I get the error: [...] Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3) == Cannot find codec 'xvid' in libavcodec... Couldn't open video filter 'lavc'. Failed to open the encoder. I though that building mplayer with xvid support should be enough: $ eix media-video/mplayer [I] media-video/mplayer (...) but seems that not it isn't. and don't know what lavc is... anyone could tell me what package/s are missing in my system? TIA Hello, i allways had problems with lavc so i used xvid in mplayer directly: mencoder sourcefile -ovc xvid -xvidencopts bitrate=vbitrate -oac mp3lame -lameopts abr:br=abitrate -o result_path Regards Norman
Re: [gentoo-user] top does not save settings
o0o.atlantis@gmail.com writes: Same thing here, nothing was highlighted and my .toprc looked like yours I added Def, Job, Mem and usr in the file and it's fine now. The question is why is the file not having the right syntax? here: top: procps version 3.2.8 on amd64 I tried with sys-process/procps-3.2.7, sys-process/procps-3.2.8 and sys- process/procps-3.2.8-r1 (all x86), all without the problem. Wonko
Re: [gentoo-user] mplayer: xvid and lavc
On Thu, 18 Mar 2010 12:38:01 +0100 Norman Rieß wrote: Hello, Hi Norman, i allways had problems with lavc so i used xvid in mplayer directly: mencoder sourcefile -ovc xvid -xvidencopts bitrate=vbitrate -oac mp3lame -lameopts abr:br=abitrate -o result_path I don't get it source file is avi file, but where is sub file? Regards Norman Thanks for your reply, Cheers -- Arnau Bria http://blog.emergetux.net Bombing for peace is like fucking for virginity
Re: [gentoo-user] top does not save settings
On Thu, 18 Mar 2010 13:06:20 +0100, Alex Schuster wrote: I tried with sys-process/procps-3.2.7, sys-process/procps-3.2.8 and sys- process/procps-3.2.8-r1 (all x86), all without the problem. I had a similar problem in that I could save changes as a user but not when logged in as root. In that case, I just copied the user's .toprc to /root. -- Neil Bothwick When you play a Microsoft CD backwards you can hear demonic Voices... that's nothing - when you play it forward it installs Windows signature.asc Description: PGP signature
[gentoo-user] CUPS and hp OfficeJet Pro
Hello, I've successfully set up many printers, using cups and HPLIP before. I prefer to use CUPS. So I cannot find an explicit listing for this new model HP printer: OfficeJet Pro 8500; so I'm using this driver: HP OfficeJet Pro 1150C. Everything works, admin from localhost:631 for CUPS; HP printer admin from the embedded web server (very cool). It has a multitude of settings, but no duplex setting. I'm trying to avoid using the HP disc on an XP system for admin... The HP literature clearly states this is a duplex printer. I can copy both sides of a letter size document to a single page, just using the menu on the printer. So I can see that it duplexes. So I'm concluding (for now) that the problem is the CUPS (best/closest I could choose) driver does not support Duplex printing. Does anyone know of an HP OfficeJet driver that supports duplex printing? I have not been successful in finding a CUPS drivers specifically for this printer: HP OfficeJet Pro (A909g) and I really do not want to use HPLIP. CUPS-1.4.2-r1 is installed. Any suggestions are most welcome. James
Re: [gentoo-user] CUPS and hp OfficeJet Pro
James wrote: Hello, I've successfully set up many printers, using cups and HPLIP before. I prefer to use CUPS. So I cannot find an explicit listing for this new model HP printer: OfficeJet Pro 8500; so I'm using this driver: HP OfficeJet Pro 1150C. Everything works, admin from localhost:631 for CUPS; HP printer admin from the embedded web server (very cool). It has a multitude of settings, but no duplex setting. I'm trying to avoid using the HP disc on an XP system for admin... The HP literature clearly states this is a duplex printer. I can copy both sides of a letter size document to a single page, just using the menu on the printer. So I can see that it duplexes. So I'm concluding (for now) that the problem is the CUPS (best/closest I could choose) driver does not support Duplex printing. Does anyone know of an HP OfficeJet driver that supports duplex printing? I have not been successful in finding a CUPS drivers specifically for this printer: HP OfficeJet Pro (A909g) and I really do not want to use HPLIP. CUPS-1.4.2-r1 is installed. Any suggestions are most welcome. James http://opensolaris.org/jive/message.jspa?messageID=400875#400875 About the third one down. Maybe that will help. Dale :-) :-)
Re: [gentoo-user] mplayer: xvid and lavc
Am 03/18/10 13:14, schrieb Arnau Bria: On Thu, 18 Mar 2010 12:38:01 +0100 Norman Rieß wrote: Hello, Hi Norman, i allways had problems with lavc so i used xvid in mplayer directly: mencoder sourcefile -ovc xvid -xvidencopts bitrate=vbitrate -oac mp3lame -lameopts abr:br=abitrate -o result_path I don't get it source file is avi file, but where is sub file? Regards Norman Thanks for your reply, Cheers Um...it is not the exact command you should use in your case with the subs, it is an example on how to bypass the lavc problem. Producing a working command, that suits _your_ needs is still your job ;-).
Re: [gentoo-user] top does not save settings
Hi! On Wed, 17 Mar 2010 23:19:34 + Mick michaelkintz...@gmail.com wrote: In an aterm I launch top. Then press z c and Shift+W. I get: Wrote configuration to '/home/michael/.toprc' Fine I think, Ctrl+c to end it and move on. Next time I fire up top, even from the same terminal, it's all looking white with no colour, no highlighting, or anything else. Why is this? Maybe it will help if you quit from top gracefully by pressing 'q' instead of killing it by sending a SIGTERM. I suppose top doesn't flush the write buffer if you just kill it. Cheers, Renat -- Probleme kann man niemals mit derselben Denkweise loesen, durch die sie entstanden sind. (Einstein) signature.asc Description: PGP signature
Re: [gentoo-user] mplayer: xvid and lavc
On Thu, 18 Mar 2010 14:54:12 +0100 Norman Rieß wrote: Um...it is not the exact command you should use in your case with the subs, it is an example on how to bypass the lavc problem. Producing a working command, that suits _your_ needs is still your job ;-). Oh! thanks, going to see into it! -- Arnau Bria http://blog.emergetux.net Bombing for peace is like fucking for virginity
[gentoo-user] Re: CUPS and hp OfficeJet Pro
Dale rdalek1967 at gmail.com writes: http://opensolaris.org/jive/message.jspa?messageID=400875#400875 I tried those drivers: 6450 and the clj2605 and it made matters worse. Any other ideas? Maybe I need to start hacking the /etc/cups/printers.conf file? thanks, James
[gentoo-user] Re: CUPS and hp OfficeJet Pro
Dale rdalek1967 at gmail.com writes: http://opensolaris.org/jive/message.jspa?messageID=400875#400875 About the third one down. Maybe that will help. The best driver I have found, is the HP OfficeJet Pro 1150C Foomatic/cdj550 (color). It works fine except no duplex printing. Maybe some printer wiz will figure out how to just edit the /etc/cups/printers.conf file directly I've done this before, but, it's very difficult, for me, and I'd rather avoid it For the averturest: DefaultPrinter hpop8500 Info hpop8500 Location Lab-7 MakeModel HP OfficeJet Pro 1150C Foomatic/cdj850 DeviceURI socket://192.168.2.7 State Idle StateTime 1268923376 Type 8400908 Filter application/vnd.cups-raw 0 - Filter application/vnd.cups-postscript 0 foomatic-rip Accepting Yes Shared No JobSheets none none QuotaPeriod 0 PageLimit 0 KLimit 0 OpPolicy default ErrorPolicy stop-printer Attribute marker-colors none,none,none,none Attribute marker-levels 25,58,62,63 Attribute marker-names black ink C4902S,yellow ink C4905S,magenta ink C4904S,cyan ink C4903S Attribute marker-types ink,ink,ink,ink Attribute marker-change-time 1268923376 /Printer Printer LaserJet Info LaserJet MakeModel HP LaserJet Series CUPS v1.1 DeviceURI socket://192.168.2.3 State Idle StateTime 1225714496 Type 12372 Filter application/vnd.cups-raw 0 - Filter application/vnd.cups-raster 0 rastertohp Accepting Yes Shared Yes JobSheets none none QuotaPeriod 0 PageLimit 0 KLimit 0 OpPolicy default ErrorPolicy stop-printer James
[gentoo-user] Re: CUPS and hp OfficeJet Pro
James wireless at tampabay.rr.com writes: Maybe some printer wiz will figure out how to just edit the /etc/cups/printers.conf file directly Well, I hate to keep answering my own posts surely one of the more astute admins will jump in? (and keep me from looking.foolish?) So continuing to research this I find some new-2-me flags on gentoo: eix hplip * net-print/hplip Available versions: 2.8.6b ~3.9.8-r3 3.9.12-r1 ~3.10.2 {cupsddk dbus doc fax gtk +hpcups hpijs libnotify minimal -new-hpcups parport policykit ppds qt4 scanner snmp static-ppds -udev-acl} eix -e cups [I] net-print/cups Available versions: 1.3.11-r1!t (~)1.3.11-r2!t (~)1.4.2-r1!t {X acl avahi dbus debug gnutls java (+)jpeg kerberos ldap linguas_da linguas_de linguas_en linguas_es linguas_et linguas_eu linguas_fi linguas_fr linguas_he linguas_id linguas_it linguas_ja linguas_ko linguas_nl linguas_no linguas_pl linguas_pt linguas_pt_BR linguas_ru linguas_sv linguas_zh linguas_zh_TW pam perl php (+)png ppds python samba slp (+)ssl static (+)tiff xinetd zeroconf} ef (explain flag) is a little script from Ciaran... ef cupsddk Add support for net-print/cupsddk which enables dynamic PPD files (recommended) ef hpcups Build the hpcups driver for cups (by HP) ef new-hpcups Build the new hpcups driver for cups which is no longer based on APDK (by HP) So, my question is has anyone any knowledge of these flags and with cups (/etc/cups/ppd/*driver*) ??? James
Re: [gentoo-user] mplayer: xvid and lavc
Am Donnerstag 18 März 2010 schrieb Arnau Bria: Hi all, I'm trying to add some sub to a video with menconder (following a receipt). I run something like: mencoder mi_video.avi -oac pcm -ovc lavc -lavcopts vcodec=xvid:mbd=2:trell:autoaspect -sub mis_subs.srt -subfont-text-scale 3 -o video_final.avi Has this worked before? As fas a I know, AVI does not officially support srt subs. -- Gruß | Greetings | Qapla' If you have a problem, call your system-administrator. If you are the system-administrator, you have a problem. signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Re: CUPS and hp OfficeJet Pro
James wrote: Jameswirelessat tampabay.rr.com writes: Maybe some printer wiz will figure out how to just edit the /etc/cups/printers.conf file directly Well, I hate to keep answering my own posts surely one of the more astute admins will jump in? (and keep me from looking.foolish?) So continuing to research this I find some new-2-me flags on gentoo: snip So, my question is has anyone any knowledge of these flags and with cups (/etc/cups/ppd/*driver*) ??? James This is what I have for use FLAGS: r...@smoker ~ # emerge -pv hplip cups These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] net-print/cups-1.3.11-r1 USE=X acl avahi dbus gnutls java jpeg ldap pam perl png ppds python ssl tiff zeroconf -kerberos -php -samba -slp -static -xinetd LINGUAS=en -de -es -et -fr -he -id -it -ja -pl -sv -zh_TW 0 kB [ebuild R ] net-print/hplip-3.9.12-r1 USE=gtk hpcups libnotify parport qt4 -doc -fax -hpijs -minimal -new-hpcups -policykit -scanner -snmp -static-ppds -udev-acl 0 kB Total: 2 packages (2 reinstalls), Size of downloads: 0 kB * IMPORTANT: 1 news items need reading for repository 'gentoo'. * Use eselect news to read news items. r...@smoker ~ # I have a HP printer too. I went into cups and looked for your printer, your model is in there. So, if you duplicate my USE flags, you should be able to find your printer in that LONG list of printers. I think ppds and hpcups is the key ones. I would at least start with those. Hope that helps. Dale :-) :-)
Re: [gentoo-user] Re: Strategy for using SAN/NAS for storage with Gentoo...
Am 17.03.2010 22:00, schrieb Neil Bothwick: On Wed, 17 Mar 2010 21:44:34 +0100, Florian Philipp wrote: Just for clarification: Is it really necessary to unplug the broken disk for this to work? If read access fails on sda and the BIOS tries sdb, would this also work? Isn't grub's hd0 always the disk on which grub resides (e.g. the disk from which grub managed to boot)? I suspect that may be dependent on the nature of the failure. For example, if /boot is corrupted, the BIOS will still boot from the broken disk's MBR before failing later. Most BIOSes now enable you to disable individual SATA ports, so you could disappear the disk without unplugging it, although I'm not sure why you'd want to leave a broken disk in the box. Just in case I ever face high demands on uptime. It's good to know whether I can still (remote) reboot a machine and it will come up although one of its drives is broken. signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] Re: Udev error and how to fix it.
Am Donnerstag 18 März 2010 schrieb walt: On 03/17/2010 05:29 PM, Iain Buchanan wrote: ...That's why we have programming languages, because English is too forgiving and fuzzy! By George, I think you've got it. From now on, all political campaign speeches should be written in C. Well, okay, maybe in COBOL for the older ones. So say we all. ;-) -- Gruß | Greetings | Qapla' If there‘s nothing wrong with me, maybe there‘s something wrong with the universe. - Dr. Beverly Crusher signature.asc Description: This is a digitally signed message part.
[gentoo-user] Re: CUPS and hp OfficeJet Pro
Dale rdalek1967 at gmail.com writes: I think ppds and hpcups is the key ones. I would at least start with those. So hplip and cups work together? I thought is was one or the other? You use the hpcups flag and not the new-hpcups flag? James
[gentoo-user] Re: CUPS and hp OfficeJet Pro
Dale rdalek1967 at gmail.com writes: [ebuild R ] net-print/cups-1.3.11-r1 USE=X acl avahi dbus gnutls java jpeg ldap pam perl png ppds python ssl tiff zeroconf -kerberos -php -samba -slp -static -xinetd LINGUAS=en -de -es -et -fr -he -id -it -ja -pl -sv -zh_TW 0 kB I could not help but notice the avahi and zeroconf flags. I do not see them. Do I have to install mono-zeroconf and avahi to see those flags? Do you find them useful? What applications are using avahi/zeroconf ? curiously, James
Re: [gentoo-user] Re: CUPS and hp OfficeJet Pro
On Thu, 18 Mar 2010 17:50:14 + (UTC), James wrote: So hplip and cups work together? I thought is was one or the other? hplip is a set of drivers, for use by CUPS and other programs. -- Neil Bothwick Programmer (n): A red-eyed, mumbling mammal capable of conversing with inanimate objects. signature.asc Description: PGP signature
Re: [gentoo-user] Problem with script calling OOCalc on amd64
On Thursday 18 March 2010 03:29:00 Dan Wallis wrote: On 16 March 2010 12:41, Mick michaelkintz...@gmail.com wrote: On a x86 system, oocalc launches, I use the file and when I close it shred removes it. On the amd64 system, the file is shredded as soon as it is opened. This is what happens: I get something similar with firefox: if it's the first instance, it will block until I terminate firefox; but if there's already a firefox running, it'll send a open this URL command to the other instance, and close this new one. I'm not sure if OOo is the same, but I'd recommend giving it a try. Hi Dan, my problem is not exactly the same. It occurs on the first instance that I launch OOo from the terminal. Is there some bash incantation I can use then with OOo compiled from source, to keep the terminal open until I close OOo? -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Re: CUPS and hp OfficeJet Pro
Neil Bothwick wrote: On Thu, 18 Mar 2010 17:50:14 + (UTC), James wrote: So hplip and cups work together? I thought is was one or the other? hplip is a set of drivers, for use by CUPS and other programs. I think Neil is correct. I have both. I don't know if it will work without cups, never tried it, but I know it doesn't work without hplip. I put those USE flags in my make.conf. I think cups and hplip is the only ones that use them anyway. I hope that changing that and re-emerging will get your printer working fully. Dale :-) :-)
Re: [gentoo-user] Re: CUPS and hp OfficeJet Pro
James wrote: Dalerdalek1967at gmail.com writes: [ebuild R ] net-print/cups-1.3.11-r1 USE=X acl avahi dbus gnutls java jpeg ldap pam perl png ppds python ssl tiff zeroconf -kerberos -php -samba -slp -static -xinetd LINGUAS=en -de -es -et -fr -he -id -it -ja -pl -sv -zh_TW 0 kB I could not help but notice the avahi and zeroconf flags. I do not see them. Do I have to install mono-zeroconf and avahi to see those flags? Do you find them useful? What applications are using avahi/zeroconf ? curiously, James I think avahi is a KDE thing. I don't really know what zeroconf is. If I recall correctly, some package said it had to have that so I turned it on. No clue what it is even after looking up the definition with euse. May as well be Greek. ;-) Dale :-) :-)
Re: [gentoo-user] top does not save settings
On Thursday 18 March 2010 14:07:37 Renat Golubchyk wrote: Hi! On Wed, 17 Mar 2010 23:19:34 + Mick michaelkintz...@gmail.com wrote: In an aterm I launch top. Then press z c and Shift+W. I get: Wrote configuration to '/home/michael/.toprc' Fine I think, Ctrl+c to end it and move on. Next time I fire up top, even from the same terminal, it's all looking white with no colour, no highlighting, or anything else. Why is this? Maybe it will help if you quit from top gracefully by pressing 'q' instead of killing it by sending a SIGTERM. I suppose top doesn't flush the write buffer if you just kill it. Thank you all for your responses. Since I installed this amd64 system I have found a couple of 'unexplained' behaviours compared to my x86 systems. This must be one of them. However, some of you also run amd64 and you do not seem to experience the same. This particular problem is rather weird. Why on earth do these four missing keywords are not in my .toprc files? Neither in my root or my plain user accounts. Even more weird is that I added these in both .toprc files and as if by magic my changes in colour etc. showed up when I relaunched top! Now, as soon as I made some more changes and pressed Shift+W the Def, Job, Mem, Usr keywords disappeared again and all changes were no longer visible. What can be causing this? Should I report it as a bug? -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Re: CUPS and hp OfficeJet Pro
On Thursday 18 March 2010 21:55:14 Dale wrote: James wrote: Dalerdalek1967at gmail.com writes: [ebuild R ] net-print/cups-1.3.11-r1 USE=X acl avahi dbus gnutls java jpeg ldap pam perl png ppds python ssl tiff zeroconf -kerberos -php -samba -slp -static -xinetd LINGUAS=en -de -es -et -fr -he -id -it -ja -pl -sv -zh_TW 0 kB I could not help but notice the avahi and zeroconf flags. I do not see them. Do I have to install mono-zeroconf and avahi to see those flags? Do you find them useful? What applications are using avahi/zeroconf ? curiously, James I think avahi is a KDE thing. I don't really know what zeroconf is. If I recall correctly, some package said it had to have that so I turned it on. No clue what it is even after looking up the definition with euse. May as well be Greek. ;-) Avahi, mDNSResponder and bonjour are all apps implementing zeroconf - allowing network discovery. Say you want to find a printer on the network, then you can ask out loud and your app will discover them using DNS technologies without the printer admin having to tell you the name. Normally, you have to know the printer is there and either know it's name or IP to find it. These apps remove that limitation. It is also completely unlike Windows broadcasts. avahi is the Gnome app mDNSResponder was a KDE-3.5 thing built into kdelibs, with KDE-4 they have switched to using either avahi (with mDNSResponder support enabled) or mDNSResponder itself bonjour is a MacOs app zeroconf is not an app, it is a USE flag telling kde-libs to build support for this auto-discovery. It will use avahi or MDNSResponder depending on what it finds. -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] Re: CUPS and hp OfficeJet Pro
On Thursday 18 March 2010 19:55:14 Dale wrote: James wrote: Dalerdalek1967at gmail.com writes: [ebuild R ] net-print/cups-1.3.11-r1 USE=X acl avahi dbus gnutls java jpeg ldap pam perl png ppds python ssl tiff zeroconf -kerberos -php -samba -slp -static -xinetd LINGUAS=en -de -es -et -fr -he -id -it -ja -pl -sv -zh_TW 0 kB I could not help but notice the avahi and zeroconf flags. I do not see them. Do I have to install mono-zeroconf and avahi to see those flags? Do you find them useful? What applications are using avahi/zeroconf ? curiously, James I think avahi is a KDE thing. I don't really know what zeroconf is. If I recall correctly, some package said it had to have that so I turned it on. No clue what it is even after looking up the definition with euse. May as well be Greek. ;-) Hmm ... they're not. Avahi is daemon utilising multicast DNS and DNS Service Discovery for devices and services which are advertising themselves on your network. Zeroconf is the standard used for this purpose. Unless you expect to plug and play I am not sure you need them on your machine. I think that for a typical setup where you tell your PCs where the printer is there isn't much benefit to justifying installing their dependencies and running a daemon. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] CUPS and hp OfficeJet Pro
James schrieb am 18.03.2010 14:37: So I cannot find an explicit listing for this new model HP printer: OfficeJet Pro 8500; so I'm using this driver: HP OfficeJet Pro 1150C. According to http://hplipopensource.com/hplip-web/supported_devices/index.html your printer is supported sine hplip 3.9.2, so there should be a driver. New versions of hplip do not install ppd files for every printer they support anymore. The ppd file is generated at run time by using hp-setup. eix hplip * net-print/hplip Available versions: 2.8.6b ~3.9.8-r3 3.9.12-r1 ~3.10.2 {cupsddk dbus doc fax gtk +hpcups hpijs libnotify minimal -new-hpcups parport policykit ppds qt4 scanner snmp static-ppds -udev-acl} About the hplip use flags cupsddk Not relevant as it has been removed in recent versions of hplip. With newer versions of cups you wont need cupsddk as it has been integrated into cups. hpcups Is the new printer driver which replaces the hpijs driver. hpijs See above. new-hpcups You don't need it. static-ppds It seems for some printers the new method of creating the ppd file is not available. So if you have problems with installing your printer by using hp-setup you should try installing hplip with the static-ppds flag and try hp-setup again. So hplip and cups work together? I thought is was one or the other? You use the hpcups flag and not the new-hpcups flag? Hplip needs cups! I could not help but notice the avahi and zeroconf flags. I do not see them. Do I have to install mono-zeroconf and avahi to see those flags? Do you find them useful? What applications are using avahi/zeroconf ? You don't need avahi or zeroconf for hplip, which does not work for current versions of hplip due to bugs in cups anyway. This is only needed if you have a networked printer. You can still detect the printer without the mDNS (avahi,zeroconf) method through SLP. You should be able to select the detection method at run time with hp-setup. -- Daniel Pielmeier signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] Re: CUPS and hp OfficeJet Pro
On 3/18/2010 3:55 PM, Dale wrote: I think avahi is a KDE thing. I don't really know what zeroconf is. If I recall correctly, some package said it had to have that so I turned it on. No clue what it is even after looking up the definition with euse. May as well be Greek. ;-) Zeroconf is a set of technologies that are supposed to generate a fully working IP network with no user or operator intervention. It includes three basic parts: link-local network config (e.g. IPv4LL), distribution hostname resolution (multicast DNS), and automatic service and device discovery (DNS service discovery). Used in the context of applications or services, you're usually talking specifically about the autodiscovery portion, which allows applications to find services and network devices automatically. It was primarily invented at Apple, who developed mDNS and DNS-SD, and is built into OS X as Bonjour. Avahi is just a free-software implementation of Bonjour (which was originally under the not-entirely-free Apple Public License), and from what I've read has practically overtaken Bonjour in terms of performance and features. Back onto the topic at hand: emerging cups with +zeroconf allows it to respond to service discovery requests. By default CUPS uses mDNSResponder, which is Apple's implementation; with +avahi is uses avahi instead. This means any Mac on your network will automatically see CUPS printers, as will any Linux client with avahi properly installed. Windows machines with iTunes or Safari installed probably have Bonjour as well, so they'd also benefit. On a side-note: CUPS 1.4 stopped supporting Avahi and only supports Apple's implementation, so the Gentoo devs have disabled zeroconf support completely until CUPS 1.5 (or whatever) brings back native Avahi support. --Mike
Re: [gentoo-user] vmware-server performance
Am 13.03.2010 19:25, schrieb Stefan G. Weichinger: If you are on linux soft raid you might check your disks for errors with smartmontools. Other than that the only thing I can think of is something like a performance regression in the ide/scsi/sata controller (on host or virtual) or mdadm on host. If the host system is bogged before starting vmware instances I would suspect the former (host controller or mdadm). The disks look good so far ... Just to bump this one up again ... Hard disks OK, ran long smart-tests, completely ok. Still that high io-load from kdmflush. Stefan
[gentoo-user] [HELP] Intermittent software RAID failures
Hello, I've got a Dell Inspiron 1720 laptop with dual 2.5 hard drives setup using software RAID1. I've had this computer for about a year and half and all's been working well. I've experienced intermittent software RAID errors like those found in the softraid-fail.txt attachment. Initially I suspected a kernel bug because it started around the same time I'd upgraded the kernel (around the 2.6.30 upgrade) but subsequent kernel upgrades haven't improved the situation. I've run smartctl --all and bablocks on both disks, but nothing is reported as faulty. I don't understand what is causing RAID to report these faults and would like some ideas as to how I can further diagnose the problem. Thanks in advance, Carlos Feb 28 15:14:16 pheonix kernel: ata3.00: exception Emask 0x10 SAct 0x0 SErr 0x1 action 0xe frozen Feb 28 15:14:16 pheonix kernel: ata3.00: irq_stat 0x0040, PHY RDY changed Feb 28 15:14:16 pheonix kernel: ata3: SError: { PHYRdyChg } Feb 28 15:14:16 pheonix kernel: ata3.00: cmd ea/00:00:00:00:00/00:00:00:00:00/a0 tag 0 Feb 28 15:14:16 pheonix kernel: res 40/00:0c:97:74:25/00:00:0c:00:00/40 Emask 0x10 (ATA bus error) Feb 28 15:14:16 pheonix kernel: ata3.00: status: { DRDY } Feb 28 15:14:16 pheonix kernel: ata3: hard resetting link Feb 28 15:14:19 pheonix kernel: ata3: SATA link up 1.5 Gbps (SStatus 113 SControl 300) Feb 28 15:14:19 pheonix kernel: ata3.00: configured for UDMA/133 Feb 28 15:14:19 pheonix kernel: ata3: EH complete Feb 28 15:14:19 pheonix kernel: end_request: I/O error, dev sdb, sector 178062452 Feb 28 15:14:19 pheonix kernel: raid1: Disk failure on sdb1, disabling device. Feb 28 15:14:19 pheonix kernel: raid1: Operation continuing on 1 devices. Feb 28 15:14:19 pheonix kernel: md: recovery of RAID array md0 Feb 28 15:14:19 pheonix kernel: md: minimum _guaranteed_ speed: 1000 KB/sec/disk. Feb 28 15:14:19 pheonix kernel: md: using maximum available idle IO bandwidth (but not more than 20 KB/sec) for recovery. Feb 28 15:14:19 pheonix kernel: md: using 128k window, over a total of 178024192 blocks. Feb 28 15:14:19 pheonix kernel: md: resuming recovery of md0 from checkpoint. Feb 28 15:14:19 pheonix kernel: md: md0: recovery done. Feb 28 15:14:19 pheonix kernel: RAID1 conf printout: Feb 28 15:14:19 pheonix kernel: --- wd:1 rd:2 Feb 28 15:14:19 pheonix kernel: disk 0, wo:0, o:1, dev:sda8 Feb 28 15:14:19 pheonix kernel: disk 1, wo:1, o:0, dev:sdb1 Feb 28 15:14:19 pheonix kernel: md: recovery of RAID array md0 Feb 28 15:14:19 pheonix kernel: md: minimum _guaranteed_ speed: 1000 KB/sec/disk. Feb 28 15:14:19 pheonix kernel: md: using maximum available idle IO bandwidth (but not more than 20 KB/sec) for recovery. Feb 28 15:14:19 pheonix kernel: md: using 128k window, over a total of 178024192 blocks. Feb 28 15:14:19 pheonix kernel: md: resuming recovery of md0 from checkpoint. Feb 28 15:14:19 pheonix kernel: md: md0: recovery done. Feb 28 15:14:20 pheonix kernel: RAID1 conf printout: Feb 28 15:14:20 pheonix kernel: --- wd:1 rd:2 Feb 28 15:14:20 pheonix kernel: disk 0, wo:0, o:1, dev:sda8 Feb 28 15:14:20 pheonix kernel: disk 1, wo:1, o:0, dev:sdb1 Feb 28 15:14:20 pheonix kernel: RAID1 conf printout: Feb 28 15:14:20 pheonix kernel: --- wd:1 rd:2 Feb 28 15:14:20 pheonix kernel: disk 0, wo:0, o:1, dev:sda8 Feb 28 15:14:20 pheonix kernel: disk 1, wo:1, o:0, dev:sdb1 Feb 28 15:14:20 pheonix kernel: RAID1 conf printout: Feb 28 15:14:20 pheonix kernel: --- wd:1 rd:2 Feb 28 15:14:20 pheonix kernel: disk 0, wo:0, o:1, dev:sda8 Mar 12 19:38:06 pheonix kernel: ata1.00: exception Emask 0x10 SAct 0x0 SErr 0x1 action 0xe frozen Mar 12 19:38:06 pheonix kernel: ata1.00: irq_stat 0x0040, PHY RDY changed Mar 12 19:38:06 pheonix kernel: ata1: SError: { PHYRdyChg } Mar 12 19:38:06 pheonix kernel: ata1.00: cmd ea/00:00:00:00:00/00:00:00:00:00/a0 tag 0 Mar 12 19:38:06 pheonix kernel: res 40/00:24:b6:fa:df/00:00:17:00:00/40 Emask 0x10 (ATA bus error) Mar 12 19:38:06 pheonix kernel: ata1.00: status: { DRDY } Mar 12 19:38:06 pheonix kernel: ata1: hard resetting link Mar 12 19:38:09 pheonix kernel: ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300) Mar 12 19:38:09 pheonix kernel: ata1.00: configured for UDMA/133 Mar 12 19:38:09 pheonix kernel: ata1: EH complete Mar 12 19:38:09 pheonix kernel: end_request: I/O error, dev sda, sector 305244964 Mar 12 19:38:09 pheonix kernel: raid1: Disk failure on sda8, disabling device. Mar 12 19:38:09 pheonix kernel: raid1: Operation continuing on 1 devices. Mar 12 19:38:09 pheonix kernel: md: recovery of RAID array md0 Mar 12 19:38:09 pheonix kernel: md: minimum _guaranteed_ speed: 1000 KB/sec/disk. Mar 12 19:38:09 pheonix kernel: md: using maximum available idle IO bandwidth (but not more than 20 KB/sec) for recovery. Mar 12 19:38:09 pheonix kernel: md: using 128k window, over a total of 178024192 blocks. Mar 12 19:38:09 pheonix kernel: md: resuming recovery of md0 from checkpoint. Mar 12 19:38:09 pheonix kernel: md: md0:
Re: [gentoo-user] [HELP] Intermittent software RAID failures
On Thu, Mar 18, 2010 at 2:45 PM, Carlos Hendson skyc...@gmx.net wrote: Hello, I've got a Dell Inspiron 1720 laptop with dual 2.5 hard drives setup using software RAID1. I've had this computer for about a year and half and all's been working well. I've experienced intermittent software RAID errors like those found in the softraid-fail.txt attachment. Initially I suspected a kernel bug because it started around the same time I'd upgraded the kernel (around the 2.6.30 upgrade) but subsequent kernel upgrades haven't improved the situation. I've run smartctl --all and bablocks on both disks, but nothing is reported as faulty. I don't understand what is causing RAID to report these faults and would like some ideas as to how I can further diagnose the problem. Thanks in advance, Carlos Kernel upgrades might not tell you much. Kernel downgrades might. - Mark
[gentoo-user] Setting up WLAN and VPN the right way
Hi at all, I'm trying to setup VPN on my Laptop but I'm stuck. When I'm at the university I have to connect to their WLAN and then setting up a VPN-Connection. All packets should take the VPN-tunnel. Here's what I've got so far: 1) W-LAN connection works and I get an ip, default route and DNS-Servers via dhcp - eth1 is my WLAN-Device - ppp0 is my VPN-Device - vpn.bg.bib.de is the disired VPN-Server snippet of /etc/conf.d/net: modules=iproute2 modules_eth1=!iwconfig wpa_supplicant wpa_supplicant_eth1=-Dwext dhcp_eth1=nosendhost nonis nontp config_eth1=dhcp pppd_ppp0= defaultroute noauth persist call fhdw holdoff 10 mru 1460 mtu 1460 idle 600 link_ppp0=pty 'pptp vpn.bg.bib.de --nolaunchpppd' 2) VPN Connection does work - pptpclient is installed - /etc/ppp/peers/fhdw with options usepeerdns and defaultroute - »/etc/init.d/net.ppp0 start« does start the vpn connection BUT: 1) After the tunnel is up, /etc/ppp/ip-up.d/40-dns.sh is supposed to replace the dhcp-nameservers with dns-servers behind the VPN-server stored in /etc/ppp/resolv.conf. Unfortunately the resolv.conf is immediatly altered a second time by baselayout or whatever is writing these »Generated by net-scripts for interface« lines and then I've no nameserver at all. I have to do a cat /etc/ppp/resolv.conf /etc/resolv.conf every time after the tunnel is up. 2) After the tunnel is up I have two default routes. One for eth1 and one for ppp0. So I manually set up a hostroute for the vpn-server with the eth1 gateway and then delete the default route for eth1. After that the VPN-Server is reached through eth1 and all the rest through ppp0 Unfortunately the default route for eth1 appears again after a few minutes (I guess dhcpcd is to blame) and every connection breaks down until I delete the route again. So how do you set up a VPN correctly? Or is there is any documentation I've missed? BTW: I'm using fluxbox and no networkmanager or stuff like that. -Stefan pgpndtXy86zg8.pgp Description: PGP signature
Re: [gentoo-user] [HELP] Intermittent software RAID failures
=== On Thu, 03/18, Carlos Hendson wrote: === I've experienced intermittent software RAID errors like those found in the softraid-fail.txt attachment. === That's most likely your disk starting to fail. -- Keith Dart -- -- ~ Keith Dart ke...@dartworks.biz public key: ID: 19017044 http://www.dartworks.biz/ =
Re: [gentoo-user] Problem with script calling OOCalc on amd64
On 19 March 2010 08:42, Mick michaelkintz...@gmail.com wrote: Is there some bash incantation I can use then with OOo compiled from source, to keep the terminal open until I close OOo? I guess something like this might do the trick: while pgrep ooffice /dev/null; do sleep 1; done Although I'm not at my Gentoo box at the moment to test. The version of pgrep on this Debian box doesn't have a -q option, hence the redirect to devnull.
Re: [gentoo-user] CUPS and hp OfficeJet Pro
100318 Daniel Pielmeier wrote: hpcups Is the new printer driver which replaces the hpijs driver. hpijs See above. Well, I replaced 'hpijs' with 'hpcups' my printer wouldn't work, so I restored 'hpijs' dropped 'hpcups' all was ok. It's an ancient Deskjet 500C with the b+w '500' driver. Installed versions: Cups-1.3.11-r1 Hplip-3.9.12-r1 (both stable). Any comments or helpful suggestions ? -- ,, SUPPORT ___//___, Philip Webb ELECTRIC /] [] [] [] [] []| Cities Centre, University of Toronto TRANSIT`-O--O---' purslowatchassdotutorontodotca