Re: [gentoo-user] vim syntax hi-lighting - Added .X68 file extension
Hi! On Mon, 13 Aug 2007 22:48:28 -0700 (PDT) Richard Broersma Jr [EMAIL PROTECTED] wrote: Can anyone explain or point out a link that describes the process of adding a file type extension for syntax high-lighting? I would like to configure vim to automatically recognize the .X68 file type as an assembly language program. Add autocmd BufNewFile,BufRead *.[Xx]86 set syntax=asm to your .vimrc or system vimrc file. Cheers, Renat -- Probleme kann man niemals mit derselben Denkweise loesen, durch die sie entstanden sind. (Einstein) signature.asc Description: PGP signature
Re: mplayer fonts (was: [gentoo-user] playing mms with totem)
On Mon, 03 Sep 2007 16:55:09 -0400 Allan Gottlieb [EMAIL PROTECTED] wrote: At Tue, 04 Sep 2007 07:09:00 +1200 (NZST) Nick Rout [EMAIL PROTECTED] wrote: can't say for sure if totem does mms:// - but vlc and mplayer both do. Thanks I tried mplayer and as soon as it starts it complained that it could not load bitmap font sans-serif. So I went to preferences and pointed it to a font that is there and the complaint reappeared with this new font. I tried several and always received the same complaint with the font I chose mentioned explicitly. For example now it says Cannot load bitmap font: /usr/share/fonts/corefonts/cour.ttf Have you compiled mplayer with truetype USE flag? Cheers, Renat -- Probleme kann man niemals mit derselben Denkweise loesen, durch die sie entstanden sind. (Einstein) signature.asc Description: PGP signature
[gentoo-user] cdrecord says permission denied
Hi folks! For years I've been using cdrecord as a non-root user and without suid bit set. Now it doesn't work any more. Here is the error message and some other info: $ cdrecord -eject -v -driveropts=burnproof -data dev=/dev/cdrw bigdisk/soft/operating_systems/ophcrack-livecd-1.2.2.iso cdrecord: No write mode specified. cdrecord: Asuming -sao mode. cdrecord: If your drive does not accept -sao, try -tao. cdrecord: Future versions of cdrecord may have different drive dependent defaults. Cdrecord-ProDVD-ProBD-Clone 2.01.01a34 (i686-pc-linux-gnu) Copyright (C) 1995-2007 Jörg Schilling TOC Type: 1 = CD-ROM cdrecord: Operation not permitted. Warning: Cannot raise RLIMIT_MEMLOCK limits.cdrecord: Cannot allocate memory. WARNING: Cannot do mlockall(2). cdrecord: WARNING: This causes a high risk for buffer underruns. cdrecord: Operation not permitted. WARNING: Cannot set RR-scheduler cdrecord: Permission denied. WARNING: Cannot set priority using setpriority(). cdrecord: WARNING: This causes a high risk for buffer underruns. scsidev: '/dev/cdrw' devname: '/dev/cdrw' scsibus: -2 target: -2 lun: -2 Warning: Open by 'devname' is unintentional and not supported. Linux sg driver version: 3.5.27 Using libscg version 'schily-0.9'. Driveropts: 'burnproof' SCSI buffer size: 64512 atapi: 1 Device type: Removable CD-ROM Version: 0 Response Format: 2 Capabilities : Vendor_info: 'QSI ' Identifikation : 'CDRW/DVD SBW-242' Revision : 'UX08' Device seems to be: Generic mmc2 DVD-ROM. Current: CD-RW Profile: DVD-ROM Profile: CD-ROM Profile: CD-R Profile: CD-RW (current) Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr). Driver flags : MMC-3 SWABAUDIO BURNFREE Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R Drive buf size : 1959936 = 1914 KB FIFO size : 4194304 = 4096 KB Track 01: data 455 MB Total size: 522 MB (51:47.76) = 233082 sectors Lout start: 523 MB (51:49/57) = 233082 sectors cdrecord: Operation not permitted. Cannot send SCSI cmd via ioctl. cdrecord: Operation not permitted. Cannot open or use SCSI driver. cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are root. cdrecord: For possible transport specifiers try 'cdrecord dev=help'. $ ll /dev/cdr* lrwxrwxrwx 1 root root 3 2007-09-11 16:21 /dev/cdrom - hdc lrwxrwxrwx 1 root root 3 2007-09-11 16:21 /dev/cdrw - hdc $ ll /dev/hdc brw-rw 1 root cdrom 22, 0 2007-09-11 16:21 /dev/hdc $ groups adm wheel cron audio cdrom video cdrw usb users locate portage plugdev I can't find anything, neither in the ChangeLogs (ebuild or cdrtools) nor on the forums/bugzilla. Everybody seems to like the idea of burning CDs with root permissions. Can anybody point me in the right direction? Thanks, Renat -- Probleme kann man niemals mit derselben Denkweise loesen, durch die sie entstanden sind. (Einstein) signature.asc Description: PGP signature
Re: [gentoo-user] cdrecord says permission denied
On Tue, 11 Sep 2007 15:04:04 -0300 Rafael Barrera Oro [EMAIL PROTECTED] wrote: did you try adding yourself to the cdrom group? I *am* in the cdrom group, as I have already wrote. $ groups adm wheel cron audio cdrom video cdrw usb users locate portage plugdev Renat -- Probleme kann man niemals mit derselben Denkweise loesen, durch die sie entstanden sind. (Einstein) signature.asc Description: PGP signature
Re: [gentoo-user] cdrecord says permission denied
On Tue, 11 Sep 2007 16:27:15 -0500 Stephen Wittig [EMAIL PROTECTED] wrote: The only things that I can guess are that it is trying to update something in /proc or it needs to load a kernel module before writing. Why would cdrecord want to update anything in /proc? There is no informatiom that cdrecord uses. And by the way, strace didn't show anything helpful. Just for fun - try burning a disk as root. Then try burning another dist as a non-root user. I can not burn CDs as a non-root user (i.e. unprivileged; I can burn with sudo). That's why I wrote the email in the first place. ;-) Cheers, Renat -- Probleme kann man niemals mit derselben Denkweise loesen, durch die sie entstanden sind. (Einstein) signature.asc Description: PGP signature
Re: [gentoo-user] font corruption ???
Hi! On Wed, 26 Sep 2007 22:33:20 -0400 David Relson [EMAIL PROTECTED] wrote: After starting OOw, the first document (typically a single page) is fine. Reprinting it, gives garbled output. An example is word When: printing as $ henC: and Where: printing as $ hereC. Typically capital letters, digits and punctuation are off (with the same wrong character for the same original character, i.e. $ instead of W, ) instead of S, etc). Exiting OOw, restarting it, and printing the document gives similar results -- first copy good, second copy munged. I have never encountered this problem and have no solution. But may be it's possible to work around this problem by exporting to PDF and printing from a PDF viewer. Cheers, Renat -- Probleme kann man niemals mit derselben Denkweise loesen, durch die sie entstanden sind. (Einstein) signature.asc Description: PGP signature
Re: [gentoo-user] Kernel rollback
Hi! On Sat, 13 Oct 2007 11:24:11 -0300 Danilo Marcelo [EMAIL PROTECTED] wrote: yesterday i did a kernel update using emerge gentoo-sources, but i have other drivers, like ieee80211 and ipw2200 which was installed using old kernel. Not an answer to your question, but just a tip. If you don't want to remember what modules you have to recompile after a kernel update take a look at sys-kernel/module-rebuild. Cheers, Renat -- Probleme kann man niemals mit derselben Denkweise loesen, durch die sie entstanden sind. (Einstein) signature.asc Description: PGP signature
Re: [gentoo-user] How to make Opera or Firefox believe my location is the UK?
Hi! On Thu, 18 Oct 2007 09:40:53 +0200 Liviu Andronic [EMAIL PROTECTED] wrote: Is there a way to make Opera or Firefox believe that I am located in the UK? I am using (on a regular basis) the following environment variables. LC_ALL=en_GB.UTF-8 LANG=en_GB.UTF-8 Nonetheless, it seems to make no difference to either browser. Maybe someone knows exactly how does BBC, or Google and other sites proposing their web pages in your local language, determine your location? It's determined based on your IP address. You can try it yourself at http://www.maxmind.com/app/locate_my_ip and http://www.maxmind.com/app/locate_ip . This service locates not only the country, but also the city. If you want to have an IP address in UK you will have to use a proxy in UK. You can find a list of proxies at http://tools.rosinstrument.com/proxy/ You could also find another TV channel with live video and audio stream. There is a list of TV stations at http://wwitv.com/ Cheers, Renat -- Probleme kann man niemals mit derselben Denkweise loesen, durch die sie entstanden sind. (Einstein) signature.asc Description: PGP signature
Re: [gentoo-user] Enabling mmx USE flag on a Pentium 4 HTT?
On Fri, 21 Dec 2007 12:25:40 -0700 Jonathan Haws [EMAIL PROTECTED] wrote: This is a really stupid question I know, but I want some second opinions: Should the mmx global USE flag be enabled on a Pentium 4 machine and why or why not? Yes, it should. (Multimedia) programs that support it, e.g. mplayer or gimp, will use 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] Enabling mmx USE flag on a Pentium 4 HTT?
On Sat, 22 Dec 2007 18:15:57 + Mick [EMAIL PROTECTED] wrote: Hmm, does this mean I should remove my mmmx CFLAGS? I must have been running this lot for at least 2.5 years now and cannot say that I have seen any problems with them: CFLAGS=-O2 -march=pentium3 -fomit-frame-pointer -msse -mmmx -pipe -march=pentium3 implies -msse and -mmmx, so removing them won't change anything. Cheers, Renat -- Probleme kann man niemals mit derselben Denkweise loesen, durch die sie entstanden sind. (Einstein) signature.asc Description: PGP signature
Re: [gentoo-user] Need ebuild no longer in Portage
On Fri, 4 Jan 2008 11:01:44 -0800 Grant [EMAIL PROTECTED] wrote: Does anyone know if there is a way to prevent eclean from removing a distfile for an installed package. Seems like that should be default behavior. From the eclean manpage: If you use the --destructive option, eclean will only protect files corresponding to some currently installed package (taking their exact version into account). Cheers, Renat -- Probleme kann man niemals mit derselben Denkweise loesen, durch die sie entstanden sind. (Einstein) signature.asc Description: PGP signature
Re: [gentoo-user] AHCI in Windows (was: Any newer Gentoo install CDs?)
Hi! On Sun, 6 Jan 2008 16:31:43 -0800 Mark Knecht [EMAIL PROTECTED] wrote: OK, I took a few minutes away from his Half Life game to look at BIOS. I found the AHCI option and enabled it. Of course he wanted to get back to gaming so we tried to boot back into Windows but XP goes blue screen at the first disk access with AHCI enabled. Windows versions prior to Windows Server 2003 do not support AHCI: http://www.microsoft.com/whdc/device/storage/serialATA_FAQ.mspx You have to install SATA drivers of the mainboard manufacturer in order to enable it. For the ASUS P5E board you can download the Intel Matrix Storage driver from ASUS support site. After installing the driver you can enable AHCI in BIOS. Cheers, Renat -- Probleme kann man niemals mit derselben Denkweise loesen, durch die sie entstanden sind. (Einstein) signature.asc Description: PGP signature
Re: [gentoo-user] AHCI in Windows (was: Any newer Gentoo install CDs?)
On Mon, 7 Jan 2008 07:46:34 -0800 Mark Knecht [EMAIL PROTECTED] wrote: On Jan 7, 2008 3:34 AM, Renat Golubchyk [EMAIL PROTECTED] wrote: Hi! On Sun, 6 Jan 2008 16:31:43 -0800 Mark Knecht [EMAIL PROTECTED] wrote: OK, I took a few minutes away from his Half Life game to look at BIOS. I found the AHCI option and enabled it. Of course he wanted to get back to gaming so we tried to boot back into Windows but XP goes blue screen at the first disk access with AHCI enabled. Windows versions prior to Windows Server 2003 do not support AHCI: http://www.microsoft.com/whdc/device/storage/serialATA_FAQ.mspx You have to install SATA drivers of the mainboard manufacturer in order to enable it. For the ASUS P5E board you can download the Intel Matrix Storage driver from ASUS support site. After installing the driver you can enable AHCI in BIOS. Cheers, Renat Renat, Thanks very much for posting this information. Once installed does Win XP switch over to the new AHCI driver automatically and if I go back to IDE emulation in the BIOS does XP switch back automatically? It should, but I can't actually verify it, because I do not own SATA drives. I've just googled it for you. :-) (The page [1], that I found, had a very detailed explanation of this AHCI issue, but is written in Russian. I've just summarised the important bits in the email. At the Intel website [2] you can find lots of relevant information and software in English.) Cheers, Renat [1] http://www.diwaxx.ru/gel/ahci.php [2] http://www.intel.com/support/chipsets/imst/index.htm -- Probleme kann man niemals mit derselben Denkweise loesen, durch die sie entstanden sind. (Einstein) signature.asc Description: PGP signature
Re: [gentoo-user] Incredibly slow disk access
On Mon, 7 Jan 2008 20:51:02 -0500 Mark Shields [EMAIL PROTECTED] wrote: I'd also recommending after checking for the above, also check what level of UDMA is set. Try this: hdparm -I /dev/hda | grep -i dma Yours should say probably either udma3 or udma4. Why not udma5 ? All my PATA drives (desktop and notebook) run at udma5 for some years now without any problems. Cheers, Renat -- Probleme kann man niemals mit derselben Denkweise loesen, durch die sie entstanden sind. (Einstein) signature.asc Description: PGP signature
Re: [gentoo-user] package.provided
On Tue, 8 Jan 2008 14:35:27 +0200 Daniel Iliev [EMAIL PROTECTED] wrote: I want to compile mplayer in a way not supported by the ebuild and use portage only to keep record of the files installed in system for future uninstallation. The system amd64 stable. I have done the following: (1) echo media-video/mplayer /etc/portage/package.keywords // emerge -p mplayer now gives: media-video/mplayer-1.0_rc2_p24929-r2 // (2) echo media-video/mplayer-1.0_rc2_p24929-r2 /etc/portage/package.provided (3) ebuild `equery w mplayer` unpack (4) cd $PORTAGE_TMPDIR/portage/media-video/mplayer-*/work/mplayer* (5) ./configure --the-way-I-want-it-to-be (6)make (7) cd ../../ (8) touch .compiled (9) ebuild `equery w mplayer` merge Everything seems to be OK until I try emerge -DuNav world. After this point portage wants to rebuild mplayer, showing all USE flags as newly added (e.g. alsa%). I expected putting mplayer into /etc/portage/package.keywords to make portage ignore this package. Where is my mistake and what is the correct method I should follow? The correct method is described, for example, in the following email: http://archives.gentoo.org/gentoo-user/msg_119794.xml Cheers, Renat -- Probleme kann man niemals mit derselben Denkweise loesen, durch die sie entstanden sind. (Einstein) signature.asc Description: PGP signature
Re: [gentoo-user] Re: Kernel setting for frame buffer (2.6.23-r5)
On Wed, 9 Jan 2008 22:17:37 +0100 Etaoin Shrdlu [EMAIL PROTECTED] wrote: On Wednesday 9 January 2008, [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] writes: do you know of a chart that shows the decimal notation like you posted? (Its not in `man vga') And I don't recall where I got that from... where ever it was, it probably also has the decimal equivalents. You can ignore this request... I found a nifty hex to decimal converter for vim here: http://vim.wikia.com/wiki/VimTip27 If you only want to convert one number (or an arithmetic expression) you can write, e.g. :echo 0x31a in vim and be done with it. :-) A perhaps simpler way is to use the bc program (which needs to be installed for this to work, of course): $ echo 'obase=10; ibase=16; 31A' | bc 794 Or an even simpler way would be $ echo $((0x31a)) 794 Bash is really cool. It can understand numbers up to base 64. ;-) Cheers, Renat -- Probleme kann man niemals mit derselben Denkweise loesen, durch die sie entstanden sind. (Einstein) signature.asc Description: PGP signature
Re: [gentoo-user] Daniel Robbins' come back ?
On Sat, 12 Jan 2008 12:07:39 -0500 Richard Marzan [EMAIL PROTECTED] wrote: Although he works for Microsoft, Daniel is the one who created this project. He doesn't work for Microsoft any longer. Check Wikipedia or Google for relevant news. Cheers, Renat -- Probleme kann man niemals mit derselben Denkweise loesen, durch die sie entstanden sind. (Einstein) signature.asc Description: PGP signature
Re: [gentoo-user] Create mutli-file .zip archives from the command line?
Hi! On Sun, 13 Jan 2008 14:21:30 + Stroller [EMAIL PROTECTED] wrote: What I thought to do was to break the .iso into a multi-part .zip archive, transfer the separate files over to the Windows PC and then unzip them back into the original big file using Explorer's built-in (XP) zip file handling. I know I could do this by using RAR - or some other untility - instead, but that would require me to install additional software on the PC, which I'd rather not do. Besides, I'm surprised to find that app-arch/zip - nor any other utility I can immediately find in Portage - doesn't seem to handle this. I don't know whether zip can do this, but you could use split to split the .iso into smaller pieces and then combine them on your Windows box with copy [1]. Cheers, Renat [1] http://technet.microsoft.com/en-us/library/bb490886.aspx -- Probleme kann man niemals mit derselben Denkweise loesen, durch die sie entstanden sind. (Einstein) signature.asc Description: PGP signature
Re: [gentoo-user] Create mutli-file .zip archives from the command line?
On Sun, 13 Jan 2008 17:45:53 +0100 Jesús Guerrero [EMAIL PROTECTED] wrote: I know nothing about samba+big files, I did never use it with big files, but I haven't hear of such a problem before. As far as I know, Samba doesn't have problems with big files. I've burned large (4GB) DVD images on an XP box with not enough space on it requiring me to store the .iso on my Linux box connected over Samba. That is, the data was streamed over the network directly to the DVD drive. Cheers, Renat -- Probleme kann man niemals mit derselben Denkweise loesen, durch die sie entstanden sind. (Einstein) signature.asc Description: PGP signature
Re: [gentoo-user] RANT: WTF does a *SPREADSHEET* need SVG and unicode?
On Sun, 13 Jan 2008 22:49:53 -0500 Walter Dnes [EMAIL PROTECTED] wrote: Tried to do an update today. Gnumeric has a new dependancy, namely goffice. Trying to build goffice fails with the following message... [snip] SVG is an OpenSource replacement for Schlockwave-Trash, to be used for creating singing/dancing webpages. SVG is Scalable Vector Graphics, a (XML based) vector image format that *can* be used for animations. It is now used, e.g., for scalable icons in GNOME and KDE. Unicode is great if you're building a desktop for use in the library room of the United Nations. There is no real need for it on a single-language desktop machine. Everything gets converted to unicode these days. Get used to it. Nobody will write an application using only ASCII for English-speaking population and Unicode for everybody else. It's just ain't going to happen. It would be a major pain in the ass to code such a beast. Can someone explain the so-called logic behind these mandatory dependancies *IN A SPREADSHEET*? Gnumeric uses GTK+ 2.x which internally uses unicode to handles strings. Thus, it needs libpcre to be built with unicode support. If you don't like it, don't use GTK+ 2.x apps. Is there a way to to modify the ebuild to remove the dependancies without blowing up the compile? No. One reason that linux has finally started to come into its own is that it can fit onto under-specced machines like the OLPC and Asus EEE, on which XP has trouble fitting, and Vista is totally fuggedaboutit. That advantage risks being ruined if we follow the Windows Disease and insist on unnecessarily bloating basic apps. There is nothing basic about a spreadsheet program. It is a very advanced piece of software. From a developer's perspective unicode is an obvious requirement, if he tries to write a program for many different locales without too much hassle. Cheers, Renat -- Probleme kann man niemals mit derselben Denkweise loesen, durch die sie entstanden sind. (Einstein) signature.asc Description: PGP signature
Re: [gentoo-user] Re: Installing via GRML
On Tue, 15 Jan 2008 00:03:39 -0600 [EMAIL PROTECTED] wrote: James [EMAIL PROTECTED] writes: Hello, Over the last week, I read where many folks recommend installing Gentoo using GRML. Since I have a p3 (650Mz) system I'm installing to build a small web server for a friend, I figured I check out installing gentoo via GRML. People should make it a practice to spell out these acronyms at least once per post. What is GRML? Google is your friend. ;-) http://grml.org/ Quote: grml is a bootable CD (Live-CD) originally based on Knoppix and nowadays based on Debian. grml includes a collection of GNU/Linux software especially for system administrator and users of texttools. Cheers, Renat -- Probleme kann man niemals mit derselben Denkweise loesen, durch die sie entstanden sind. (Einstein) signature.asc Description: PGP signature
Re: [gentoo-user] Gentoo on Laptop: 2 problems
Hi! On Thu, 26 Jan 2006 23:14:42 + Thierry de Coulon [EMAIL PROTECTED] wrote: First (but not very important): I can't get the system to use a domain name. The domain name is correctly written in /etc/conf.d/domainname, but typing domainname returns (none). I can set the domainname with domainname name of the domain but this does not survive a reboot ?! From the manpage: domainname - show or set the system's NIS/YP domain name dnsdomainname - show the system's DNS domain name nisdomainname - show or set system's NIS/YP domain name ypdomainname - show or set the system's NIS/YP domain name Notice the difference between the first two lines? ;-) If you set right variables in /etc/conf.d/domainname then add domainname to the boot runlevel with rc-update add domainname boot. Now my question is: should I recompile a kernel with the ACPI options compiled into the kernel, or load the modules? If you have the modules then load them in /etc/modules.autoload.d/kernel-2.6 Cheers, Renat -- Probleme kann man niemals mit derselben Denkweise loesen, durch die sie entstanden sind. (Einstein) signature.asc Description: PGP signature
Re: [gentoo-user] Gentoo on Laptop: 2 problems
On Fri, 27 Jan 2006 00:26:28 + Thierry de Coulon [EMAIL PROTECTED] wrote: On Thursday, 26 January 2006 22:34, Renat Golubchyk wrote: Hi! From the manpage: domainname - show or set the system's NIS/YP domain name dnsdomainname - show the system's DNS domain name nisdomainname - show or set system's NIS/YP domain name ypdomainname - show or set the system's NIS/YP domain name Notice the difference between the first two lines? ;-) Well, no this does no seem to work. setting DOMAINNAME= doesn't change anything (and the handbook says I should set the DNSDOMAIN variable). I meant you should run dnsdomainname and not domainname if you want to see whether DNSDOMAIN is set ;-) Cheers, Renat -- Probleme kann man niemals mit derselben Denkweise loesen, durch die sie entstanden sind. (Einstein) signature.asc Description: PGP signature
Re: [gentoo-user] Lost my coreutils
On Sun, 05 Feb 2006 17:07:37 +0100 Maarten [EMAIL PROTECTED] wrote: Benno Schulenberg wrote: /bin/link /bin/ln ^^^ Ehm. Which possibly creates a chicken-egg problem. How do you make the symlink from ln - busybox without having /bin/ln in the first place ? Boot from a Live-CD. Cheers, Renat -- Probleme kann man niemals mit derselben Denkweise loesen, durch die sie entstanden sind. (Einstein) signature.asc Description: PGP signature
Re: [gentoo-user] Firefox PDF integration
On Thu, 23 Feb 2006 13:27:18 -0800 Grant [EMAIL PROTECTED] wrote: How do you get firefox to open a PDF file instead of trying to download it? The only plugins listed in about:plugins are s-shockwave-flash and futuresplash. I do have acroread and gpdf installed. Turn on USE-Flag nsplugin for app-text/acroread if you like Adobe Reader. I use xpdf, because acroread takes ages to load. For this to work I added xpdf as handler for the application/pdf MIME-type to the list of helper applications. It should be somewhere in the preferences. Incidentally, which PDF viewer do you like best out of those in portage? xpdf. I start acroread only when xpdf displays the file incorrectly. Cheers, Renat -- Probleme kann man niemals mit derselben Denkweise loesen, durch die sie entstanden sind. (Einstein) signature.asc Description: PGP signature
Re: [gentoo-user] euse error
On Sat, 7 May 2005 23:39:48 +0200 Pere Gentoo [EMAIL PROTECTED] wrote: I'm getting an error using euse. Here is the stdout + stderr from euse -c readlink: too many arguments Try `readlink --help' for more information. /usr/bin/euse: line 199: /make.defaults: No such file or directory readlink: too many arguments Try `readlink --help' for more information. /usr/bin/euse: line 199: /make.defaults: No such file or directory readlink: too many arguments Try `readlink --help' for more information. readlink: too many arguments Try `readlink --help' for more information. ERROR: /make.defaults is not readable Change grep to egrep in line 157 so it looks like this: parent=$(egrep -v '(^#|^ *$)' ${curdir}/parent) Cheers, Renat pgpVZk7kZZDmB.pgp Description: PGP signature
Re: [gentoo-user] weird permissions problem
On Sun, 22 May 2005 19:23:41 +0200 Antoine [EMAIL PROTECTED] wrote: Hi, Anyone seen this before on reiser3 (as root and user is the same...)? tux Cod # ls -l DivX4FullInstaller.exe -rwxrwxrwx 1 antt users 726306 Sep 5 2004 DivX4FullInstaller.exe tux Cod # rm -f DivX4FullInstaller.exe rm: cannot remove `DivX4FullInstaller.exe': Permission denied It doesn't have anything to do with reiserfs. Check the permissions of the directory the file is in. When you delete a file you effectively change the directory not the file itself. Cheers, Renat pgpylat8UmYqM.pgp Description: PGP signature
Re: [gentoo-user] script in /etc/cron.daily never runs
On Wed, 21 Sep 2005 16:15:04 -0500 John Jolet [EMAIL PROTECTED] wrote: On Wed, 2005-09-21 at 17:11 -0400, Matt Randolph wrote: I have a script in /etc/cron.daily that never runs. It works properly when run manually and it's been in there for weeks (and a reboot or two). I'm using vixie-cron. Is the executable bit set? Otherwise run chmod u+x scriptname. cron.daily doesn't get run from cron. gets run out of anacrondo you have anacron installed? That's wrong. I don't have anacron installed, I have plain vixie-cron, and cron.{hourly,daily,weekly,monthly} gets run from cron. Here are the relevant lines from /etc/crontab: # check scripts in cron.hourly, cron.daily, cron.weekly and cron.monthly 0* * * * root rm -f /var/spool/cron/lastrun/cron.hourly 30 6 * * * root rm -f /var/spool/cron/lastrun/cron.daily 15 7 * * 6 root rm -f /var/spool/cron/lastrun/cron.weekly 08 1 * * root rm -f /var/spool/cron/lastrun/cron.monthly */10 * * * * root test -x /usr/sbin/run-crons /usr/sbin/run-crons Cheers, Renat -- Probleme kann man niemals mit derselben Denkweise loesen, durch die sie entstanden sind. (Einstein) pgpHlnKLCGD3z.pgp Description: PGP signature
Re: [gentoo-user] Java corruption after power failure
On Mon, 26 Sep 2005 06:46:45 -0700 Nelis Lamprecht [EMAIL PROTECTED] wrote: Does anyone have any other suggestions for me ? What else do Firefox and Gaim have in common that I could possibly re-install ? For example GTK+. Otherwise try the command below. It will show you common dependencies of Gaim and Firefox: (equery -C depgraph mozilla-firefox equery -C depgraph gaim) | \ sed 's#^ \+`--##' | sort | uniq -d ..I've forgotten how to check the dependencies. equery depends package equery is part of gentoolkit Cheers, Renat -- Probleme kann man niemals mit derselben Denkweise loesen, durch die sie entstanden sind. (Einstein) pgppTSiEeXjOc.pgp Description: PGP signature
Re: [gentoo-user] OT worth upgrading hardware ?
On Sun, 2 Oct 2005 19:11:08 +0200 Hemmann, Volker Armin [EMAIL PROTECTED] wrote: some people like the fat,. bloated, eye-candy heavy desktops - especially full experience of all components working together. Not all people choose kde/gnome because of their looks, but because they WANT a complete desktop environment. Certainly. But if you are scarce on resources you would rather spend them on something more important than all those bells and whistles. Cheers, Renat -- Probleme kann man niemals mit derselben Denkweise loesen, durch die sie entstanden sind. (Einstein) pgpfMVQ9a0lNu.pgp Description: PGP signature
Re: [gentoo-user] Update installed packages, but not install new ones
On Tue, 11 Oct 2005 19:52:47 +0200 Nikodemus Karlsson [EMAIL PROTECTED] wrote: tisdag 11 oktober 2005 19.35 skrev Douglas James Dunn: Can you paste a emerge -uDpvt world please? Here we go... Calculating world dependencies ...done! [blocks B ] mail-client/pine-4.64-r1 (is blocking [ebuild U ] mail-client/pine-4.64-r1 [4.63-r3] -debug -kerberos -largeterminal -ldap +pam -passfile +ssl 3,202 kB [ebuild N] net-mail/uw-mailutils-2004g 2,194 kB Nothing wrong with that. The new version of pine depends on uw-mailutils-2004g. The first line tells you that pine versions _prior_ to 4.64-r1 do not work with uw-mailutils-2004g. That means you have to unmerge pine and then emerge it again. It will install the new pine and pull uw-mailutils as a dependency. You would think, portage could have been a bit smarter and do that itself, but it is dangerous. What if you need pine while emerge is still running and it unmerges it while you are using it? almost every time when I do a complete packages upgrade using emerge -u world, portage flags for new packages which is going to be installed. Is there an option to get rid of this behavior, so I only get the updated packages with one command? Why would you want to do that? If the package, that you want to upgrade, depends on something you don't have installed it will obviously have to emerge it first. There is only one situation where it is not the case. The new package may be a dependency based on a (new) USE-flag. If it is so you can disable that USE-flag in package.keywords and not install the new package. Cheers, Renat -- Probleme kann man niemals mit derselben Denkweise loesen, durch die sie entstanden sind. (Einstein) pgpWGTf3kgBuM.pgp Description: PGP signature
Re: [gentoo-user] Update installed packages, but not install new ones
On Tue, 11 Oct 2005 20:10:40 +0200 Renat Golubchyk [EMAIL PROTECTED] wrote: On Tue, 11 Oct 2005 19:52:47 +0200 Nikodemus Karlsson [EMAIL PROTECTED] wrote: almost every time when I do a complete packages upgrade using emerge -u world, portage flags for new packages which is going to be installed. Is there an option to get rid of this behavior, so I only get the updated packages with one command? Why would you want to do that? If the package, that you want to upgrade, depends on something you don't have installed it will obviously have to emerge it first. There is only one situation where it is not the case. The new package may be a dependency based on a (new) USE-flag. If it is so you can disable that USE-flag in package.keywords and not install the new package. s/keywords/use Cheers, Renat -- Probleme kann man niemals mit derselben Denkweise loesen, durch die sie entstanden sind. (Einstein) pgpPjx3fIy98n.pgp Description: PGP signature
Re: [gentoo-user] [OT] binary comparison
Hi! On Sun, 16 Oct 2005 20:30:48 +0400 Andrew Gaydenko [EMAIL PROTECTED] wrote: 'diff' is text oriented tool. I there some kind of such tool oriented to binary files/subtrees comparison? cmp Cheers, Renat -- Probleme kann man niemals mit derselben Denkweise loesen, durch die sie entstanden sind. (Einstein) pgpzEepMdDPOb.pgp Description: PGP signature
Re: [gentoo-user] how to use EXTRA_ECONF?
On Tue, 18 Oct 2005 16:44:54 -0300 Matias Grana [EMAIL PROTECTED] wrote: But what I find confusing now is why I have this difference. How does one update the use.local.desc file? It seems not to belong to any package (tried equery belongs /usr/portage/profiles/use.local.desc and didn't get any answer). Everything under $PORTDIR (usually /usr/portage) except for distfiles gets updated by emerge --sync. Cheers, Renat -- Probleme kann man niemals mit derselben Denkweise loesen, durch die sie entstanden sind. (Einstein) pgp2iVEiqLSYp.pgp Description: PGP signature
Re: [gentoo-user] stealth ethernet
Hi! On Tue, 18 Oct 2005 23:19:56 + (UTC) James [EMAIL PROTECTED] wrote: For a variety of reasons, I need to be able to make an ethernet interface on a gentoo system, change into listen only (stealth mode). Kind of like half duplex, so to speak. Any simple tricks? Just disabling all responses from the ethernet interface would do. I know I can just use 'ifconfig eth0 down' but anything more elegant or that would allow the interface to keep receiving packets for analysis and logging would be better. I don't really know how to do this, but the first thing that came into my mind was to configure a firewall so that it drops every packet going outside. Cheers, Renat -- Probleme kann man niemals mit derselben Denkweise loesen, durch die sie entstanden sind. (Einstein) pgplc73jhEKnG.pgp Description: PGP signature
Re: [gentoo-user] stealth ethernet
On Wed, 19 Oct 2005 22:50:51 +0200 Alexander Skwar [EMAIL PROTECTED] wrote: Justin Patrin schrieb: I would suggest using iptables to simply DROP all outgoing packets. This won't make the host be stealth. Quite the opposite - it's MUCH more visible. Why? Cheers, Renat -- Probleme kann man niemals mit derselben Denkweise loesen, durch die sie entstanden sind. (Einstein) pgpZjPym4Jv1l.pgp Description: PGP signature
Re: [gentoo-user] CFLAGS setting for Intel(R) Pentium(R) M processor 1.73GHZ stepping 08
Hi! On Sun, 23 Oct 2005 01:31:32 +1000 Richard Watson [EMAIL PROTECTED] wrote: I've just got a new laptop I'm installing Gentoo on and was wondering if anyone could advise on the CFLAG setting I'm using. The CPU is a Intel(R) Pentium(R) M processor 1.73GHZ stepping 08. Currently I've set CFLAGS=-02 -mcpu=pentium -pipe Use -mcpu=pentium-m for a Pentium-M CPU. (BTW, -mcpu is deprecated in favor of -mtune.) I use CFLAGS=-march=pentium-m -O2 -pipe -fomit-frame-pointer. Cheers, Renat -- Probleme kann man niemals mit derselben Denkweise loesen, durch die sie entstanden sind. (Einstein) pgpX5PYbI0dTQ.pgp Description: PGP signature
Re: [gentoo-user] curious thing with net.eth0
On Mon, 24 Oct 2005 15:06:26 -0400 Eric S. Johansson [EMAIL PROTECTED] wrote: The problem was /etc/init.d/net.eth0 and /etc/init.d/net.lo were the same. The net.eth0 code was overwritten with the lo code. This happened on two machines and I'm wondering how it happened? Did something go wrong in the emerge process? There's no sign of any attackers. They are always the same since net.eth0 (and all other net.interface) is a symlink to net.lo. Cheers, Renat -- Probleme kann man niemals mit derselben Denkweise loesen, durch die sie entstanden sind. (Einstein) pgpEx5LcJ3pth.pgp Description: PGP signature
Re: [gentoo-user] Kernel updates
On Thu, 27 Oct 2005 19:43:07 +0100 Digby Tarvin [EMAIL PROTECTED] wrote: The portage system seems pretty effective in keeping the user level code up to date on a gentoo system - but now that I have had my system installed for 6-7 months it has occured to me that my kernel is no longer current, and I havn't found anything in the handbook suggesting how this should be approached. Is there a recommended procedure that someone can point me to? http://www.gentoo.org/doc/en/kernel-upgrade.xml Cheers, Renat -- Probleme kann man niemals mit derselben Denkweise loesen, durch die sie entstanden sind. (Einstein) pgpamHbiYMYMs.pgp Description: PGP signature
Re: [gentoo-user] Replacement for qpkg... please!?!?
On Wed, 2 Nov 2005 18:14:56 -0500 Walter Dnes [EMAIL PROTECTED] wrote: world suddenly seems to want a bunch of additional stuff... [m3000][root][~] emerge --pretend --update --world These are the packages that I would merge, in order: Calculating world dependencies ...done! [ebuild N] sys-apps/hwdata-knoppix-0.107-r1 [ebuild U ] sys-libs/libkudzu-1.1.62-r1 [1.1.62] [m3000][root][~] emerge --deep --pretend --update --world These are the packages that I would merge, in order: Calculating world dependencies ...done! [ebuild N] sys-apps/ed-0.2-r6 [ebuild N] net-libs/libwww-5.4.0-r4 [ebuild N] app-text/tetex-2.0.2-r5 [ebuild N] sys-apps/hwdata-knoppix-0.107-r1 [ebuild U ] sys-libs/libkudzu-1.1.62-r1 [1.1.62] The tetex tarball is 85 megs alone. I've managed to emerge and update everything else after last night's sync, so these aren't dependencies of those packages. With qpkg, I could find out what depends on this stuff. Help!. When you run emerge add -v (--verbose) to the options. It will show you what USE-flags are enabled for those particular packages. As to qpkg's replacement, it's called equery. Cheers, Renat -- Probleme kann man niemals mit derselben Denkweise loesen, durch die sie entstanden sind. (Einstein) pgpan2utWGSeG.pgp Description: PGP signature
Re: [gentoo-user] Convert windows-1250 database to UTF-8
On Mon, 07 Nov 2005 12:25:22 +0100 Khan [EMAIL PROTECTED] wrote: Bruno Lustosa wrote: On 11/7/05, *Khan* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: I'm trying to convert my windows-1250 database to Unicode, UTF-8. Is there any script that can do the job? What kind of database is it? If it's something the likes of postgresql or mysql, you could dump the database to a text file, use recode or iconv to change the file encoding, and then import it into a new unicode database. Yes, that's just what I want to do. Database is MySQL. Can you PLS explain procedure, I have never done that before. As far as I know you can change the character set directly in MySQL. The data will be converted automagically. For example, ALTER TABLE foo DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci You can create a new table and test it with some garbage data before you do this. And create a backup ;-) Cheers, Renat -- Probleme kann man niemals mit derselben Denkweise loesen, durch die sie entstanden sind. (Einstein) pgpinTfj1QFyc.pgp Description: PGP signature
Re: [gentoo-user] Out of portage
Hi! On Tue, 8 Nov 2005 11:37:45 +0200 Eray Aslan [EMAIL PROTECTED] wrote: I am using portage for packet management. But there are a few programs (postfix for example) that I have emerged and now would like to manage myself. What is the best way to take a program out of portage without unmerging the program? Deleting the appropriate line from /var/lib/portage/world perhaps? Any side effects if I do that? If postfix becomes a dependency of another package in the future it will get updated by portage regardless of it being in the world-file. A better way would be to install it by hand in /usr/local which is reserved for user-managed programs. But you _will_ have to keep an eye on all the required libraries. If they get updated by portage it could break your local install of postfix unless you compile it statically. Another option would be to mask every version of postfix except of yours in package.mask. If you have to modify the ebuild copy it to your portage overlay and install it from there. Anyway, why do you want to manage those programs yourself? Cheers, Renat -- Probleme kann man niemals mit derselben Denkweise loesen, durch die sie entstanden sind. (Einstein) pgpa08vu4y54F.pgp Description: PGP signature
Re: [gentoo-user] Out of portage
On Tue, 8 Nov 2005 20:03:45 +0200 Eray Aslan [EMAIL PROTECTED] wrote: Renat Golubchyk mailto:[EMAIL PROTECTED] wrote: Anyway, why do you want to manage those programs yourself? Because of this patch for postfix: http://sbserv.stahl.bau.tu-bs.de/~hildeb/postfix/duchovni/multi_instance.gz It makes managing / upgrading postfix with multi instances easier. But it seems sticking with portage and managing the (infrequent) upgrades by hand for the second instance of postfix is less work than messing with ebuilds. You can copy the ebuild to your overlay and patch postfix from there. If you don't have to do anything else before compiling it then it's as trivial as epatch /path/to/postfix.patch somewhere in src_unpack(). Doing it this way has the benefit of letting portage manage your packages. You'll just have to keep an eye for upgrades, because they will probably come without this patch. If you want this patch to be included in postfix create a bug in bugzilla with the request. Cheers, Renat -- Probleme kann man niemals mit derselben Denkweise loesen, durch die sie entstanden sind. (Einstein) pgpUbG7w6M1cE.pgp Description: PGP signature
Re: [gentoo-user] Developmnet Environment for PHP and PERL
On Tue, 08 Nov 2005 14:25:05 -0800 Michael Shaw [EMAIL PROTECTED] wrote: A. Khattri wrote: On Tue, 8 Nov 2005, Michael Shaw wrote: Well, my terminal does have some color, but not syntax hilighting from within VIM. How would I changes this? I actually don't mind VIM, as it is quite straightforward. If syntax hilighting worked, then I'd probably use it. syntax on within vim or in your .vimrc filetype plugin indent on would enable filetype-specific settings. Google for some example .vimrc files. VIM is actually very flexible ;-) One pretty complex but commented example is Ciaran's. You can find it at http://dev.gentoo.org/~ciaranm/configs/vimrc If vim (or gvim) is not enough check out Quanta (for php development): http://quanta.kdewebdev.org/ Cheers, Renat -- Probleme kann man niemals mit derselben Denkweise loesen, durch die sie entstanden sind. (Einstein) pgpuC3ag5JwlA.pgp Description: PGP signature
Re: [gentoo-user] Out of portage
On Wed, 9 Nov 2005 10:23:31 +0200 Eray Aslan [EMAIL PROTECTED] wrote: Renat Golubchyk mailto:[EMAIL PROTECTED] wrote: You'll just have to keep an eye for upgrades, because they will probably come without this patch. If you want this patch to be included in postfix create a bug in bugzilla with the request. I don't think it is a good idea. I would not second guess Wietse (author of postfix) for the suitability of the patch for general consumption. He may change his mind some time in the future. Anyway, if you suggest it on Gentoo bugzilla it may be included, so that it is possible to enable it with a USE-Flag. Cheers, Renat -- Probleme kann man niemals mit derselben Denkweise loesen, durch die sie entstanden sind. (Einstein) pgpTnuJqpdL7k.pgp Description: PGP signature
Re: [gentoo-user] [OT] Bash scripting 2
On Fri, 11 Nov 2005 18:57:40 +0100 Peper [EMAIL PROTECTED] wrote: Hello, How can i check whether i can create or overwrite a file? For example: If /etc/conf.d/net cannot be overwritten or created it return false. Overwriting test would be -w /etc/conf.d/net, but how can i check if i can create this file? I could check whether i can create new files in /etc/conf.d, but how can i get /etc/conf.d/ from /etc/conf.d/net ? $ dirname /etc/conf.d/net /etc/conf.d Cheers, Renat -- Probleme kann man niemals mit derselben Denkweise loesen, durch die sie entstanden sind. (Einstein) pgpVNmrxIj0zM.pgp Description: PGP signature
Re: [gentoo-user] fixing fstab
On Mon, 14 Nov 2005 16:23:41 -0500 Mark [EMAIL PROTECTED] wrote: Well, I thought so too. So I booted to the Universal CD. Then I did mount /dev/hda3 /mnt/gentoo Then I did cd /mnt/gentoo and did a ls all I see is boot and lost+found Did I make a bigger mess than I thought? What is the output of fdisk -l /dev/hda? Cheers, Renat -- Probleme kann man niemals mit derselben Denkweise loesen, durch die sie entstanden sind. (Einstein) pgpO3DdS9iODD.pgp Description: PGP signature
Re: [gentoo-user] Re: Slots
On Sat, 26 Nov 2005 11:10:31 -0800 Jeff Grossman [EMAIL PROTECTED] wrote: Thanks for the information. That is one are where I think Gentoo can definitely improve. Making it so you can tell if removing a package will kill anything. You can check whether the package you intend to remove is a dependency of another package ;-) You can do it with equery depends package. Cheers, Renat -- Probleme kann man niemals mit derselben Denkweise loesen, durch die sie entstanden sind. (Einstein) signature.asc Description: PGP signature
Re: [gentoo-user] Mplayer2, where is it?
Hi! On Fri, 09 Mar 2007 12:06:52 -0600 Dale [EMAIL PROTECTED] wrote: I went to a link a bit ago in Seamonkey and a box came up that it needed mplayer2 plugin. I don't see it in portage so can someone tell me where I can find it? mplayer2 is the name of the main executable of the old Windows Media Player 6.4 (mplayer2.exe). So you just have to check that your mplayerplug-in handles the application/x-mplayer2 mimetype. Write about:plugins in the address bar of your Seamonkey and check if it is the case. If it's not maybe you haven't compiled in Windows Media Plugin support (wmp USE-flag must be set). Cheers, Renat -- Probleme kann man niemals mit derselben Denkweise loesen, durch die sie entstanden sind. (Einstein) signature.asc Description: PGP signature
Re: [gentoo-user] Mplayer2, where is it?
On Fri, 09 Mar 2007 17:18:38 -0600 Dale [EMAIL PROTECTED] wrote: Renat Golubchyk wrote: On Fri, 09 Mar 2007 12:06:52 -0600 Dale [EMAIL PROTECTED] wrote: I went to a link a bit ago in Seamonkey and a box came up that it needed mplayer2 plugin. I don't see it in portage so can someone tell me where I can find it? mplayer2 is the name of the main executable of the old Windows Media Player 6.4 (mplayer2.exe). So you just have to check that your mplayerplug-in handles the application/x-mplayer2 mimetype. Write about:plugins in the address bar of your Seamonkey and check if it is the case. If it's not maybe you haven't compiled in Windows Media Plugin support (wmp USE-flag must be set). Then we have other problems then: [ebuild R ] www-client/seamonkey-1.1.1 USE=crypt ipv6 java ldap xprint -debug -gnome -mozdevelop -moznocompose -moznoirc -moznomail -moznopango -moznoroaming -postgres -xforms -xinerama I don't even see the option of wmp. I do have it enabled though. [EMAIL PROTECTED] ~ $ equery uses -a mplayerplug-in [ Searching for packages matching mplayerplug-in... ] [ Colour Code : set unset ] [ Legend : Left column (U) - USE flags from make.conf ] [: Right column (I) - USE flags packages was installed with ] [ Found these USE variables for net-www/mplayerplug-in-3.21 ] U I + + gtk : Adds support for x11-libs/gtk+ (The GIMP Toolkit) [ Found these USE variables for net-www/mplayerplug-in-3.31-r1 ] U I + - divx : Divx Playback Support + - gmedia: Google Media Playback Support + + gtk : Adds support for x11-libs/gtk+ (The GIMP Toolkit) + + quicktime : Adds support for OpenQuickTime - - realmedia : Real Media Playback Support + - wmp : Windows Media Playback Support [ Found these USE variables for net-www/mplayerplug-in-3.35 ] U I + + divx : Divx Playback Support + + gmedia: Google Media Playback Support + + gtk : Adds support for x11-libs/gtk+ (The GIMP Toolkit) + + quicktime : Adds support for OpenQuickTime - - realmedia : Real Media Playback Support + + wmp : Windows Media Playback Support [EMAIL PROTECTED] ~ $ quse -D wmp local:wmp:net-www/mplayerplug-in: Windows Media Playback Support Cheers, Renat -- Probleme kann man niemals mit derselben Denkweise loesen, durch die sie entstanden sind. (Einstein) signature.asc Description: PGP signature
Re: [gentoo-user] sylpheed claws quotes colourisation (was: Why are gentoo people so in love with colorized output?!?)
On Sat, 7 Apr 2007 12:26:31 -0500 Dan Farrell [EMAIL PROTECTED] wrote: On Thu, 05 Apr 2007 21:07:02 +0200 Tony Stohne [EMAIL PROTECTED] wrote: Mick said the following on 2007-04-05 19:07: | ... | Hmm, neither less not cat give me color output. Passing --color=y to either | tells me things like: | == | There is no color=y option (less --help for help) | == | | I also tried --color but it's all still shown in black white. | How do you | pipe a file and get it to show in color? Am I missing something | in my .bashrc or elsewhere? That should do the trick :) //Regards Tony PS. Have a nice Easter everyone! Hey tony, maybe this is beyond your control, or maybe you don't care, and if not i respect your autonomy in such matters, but your reply block punctuation character '|' defeats the very helpful colorization of my and many other browsers that use the usual '' character to identify reply text. It makes your letters nearly unreadable. respects, - dan I use Sylpheed Claws as you do and colours work fine here. You can define '|' as quotation character in Configuration -- Preferences -- Compose -- Quoting. Just set | as quotation characters and both '' and '|' will be recognised and properly colourised. Cheers, Renat -- Probleme kann man niemals mit derselben Denkweise loesen, durch die sie entstanden sind. (Einstein) signature.asc Description: PGP signature
Re: [gentoo-user] Re: CFLAGS ...-O3 -pipe vs ...O2 no pipe
On Tue, 10 Apr 2007 16:10:40 -0300 Davi [EMAIL PROTECTED] wrote: How can I rebuild my system with O2?? =P I've configured my system with O3 and the HD space is going out... =P Change your CFLAGS to have -O2 instead of -O3 and then run emerge -e world. If you don't have enough space then unmerge some unneeded stuff before reemerging world. Cheers, Renat -- Probleme kann man niemals mit derselben Denkweise loesen, durch die sie entstanden sind. (Einstein) signature.asc Description: PGP signature
Re: [gentoo-user] 2.6.19-r5 kernel disaster
Hi! On Wed, 11 Apr 2007 20:02:54 -0700 (PDT) maxim wexler [EMAIL PROTECTED] wrote: After running make menuconfig 4x on a PIII, re-emerging --emptytree world and either booting to a highly unstable system or a maintenance login I feel it's time to call on the authorities. Don't even have gpm so I can't scroll the choice bits of the boot messages. You don't need gpm for that. SHIFT-PgUp and SHIFT-PgDn can do that too. ;-) And the following excerpt from /etc/conf.d/rc might help in debugging boot problems: === # RC_BOOTLOG will generate a log of the boot messages shown on the # console. Useful for headless machines or debugging. You need to # emerge the app-admin/showconsole package for this to work. Note that # this probably won't work correctly with boot splash. RC_BOOTLOG=no === Cheers, Renat -- Probleme kann man niemals mit derselben Denkweise loesen, durch die sie entstanden sind. (Einstein) signature.asc Description: PGP signature
Re: [gentoo-user] Bug in bash ?
On Sat, 21 Apr 2007 10:44:09 +0200 Jan Seeger [EMAIL PROTECTED] wrote: This is no bug. Bash globs everything that begins with A-Z (also directories) and then gives that list to ls. So ls lists all these files and the directories that begin with A-Z. Strangely though, bash seems to ignore case. (When I try your command, ls gives me all the files that begin with a letter and excludes files that begin with a number) That happens because of your locale setting. If LC_COLLATE is not C or POSIX then e.g. [A-D] can be equal to [AbBcCdD] or [AaBbCcD]. So set LC_COLLATE to C and you'll get a portable behaviour. Cheers, Renat -- Probleme kann man niemals mit derselben Denkweise loesen, durch die sie entstanden sind. (Einstein) signature.asc Description: PGP signature
Re: [gentoo-user] Problem with yelp while doing --update world
On Sun, 3 Jun 2007 15:38:07 -0400 John covici [EMAIL PROTECTED] wrote: Hi. While doing an emerge --update --deep --with-bdeps=y --newuse world I have run into a problem compiling yelp: Here is the output. Script started on Sun Jun 3 15:32:23 2007 These are the packages that would be merged, in order: Calculating world dependencies [stripped a lot of unprintable junk] Please use --nospinner and --color n to avoid unprintable junk in emerge's output. Cheers, Renat -- Probleme kann man niemals mit derselben Denkweise loesen, durch die sie entstanden sind. (Einstein) signature.asc Description: PGP signature
Re: [gentoo-user] emerge claws-mail
On Tue, 3 Jul 2007 19:48:01 -0400 David Relson [EMAIL PROTECTED] wrote: Why is emerge giving me 2.9.2 rather than the newer 2.10.0_rc1 ??? Because it is hard-masked in package.mask ;-) If you really want it you can unmask it in /etc/portage/package.unmask Cheers, Renat -- Probleme kann man niemals mit derselben Denkweise loesen, durch die sie entstanden sind. (Einstein) signature.asc Description: PGP signature
Re: [gentoo-user] wget won't concatenate(?)
On Mon, 13 Mar 2006 09:38:06 -0800 (PST) maxim wexler [EMAIL PROTECTED] wrote: I tried wget'ing this on dialup: ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/releases/x86/2006.0/livecd/livecd-i686-installer-2006.0.iso Then, because I needed to use the phone, after downloading 150Megs or so, I ctrl-C'd outta there thinking I could pick up where I left off. Wrong! wget wants to start from the beginning. I gave it the -nc option and it reports 'already there, not retrieving'. It should be wget -c not -nc. Cheers, Renat -- Probleme kann man niemals mit derselben Denkweise loesen, durch die sie entstanden sind. (Einstein) signature.asc Description: PGP signature
Re: [gentoo-user] USB TV / Video capture devices
On Thu, 23 Mar 2006 12:22:00 -0700 Joseph [EMAIL PROTECTED] wrote: Are there any USB type TV / Video capture devices that works with Linux? Check out http://www.linuxtv.org/ Cheers, Renat -- Probleme kann man niemals mit derselben Denkweise loesen, durch die sie entstanden sind. (Einstein) signature.asc Description: PGP signature
Re: [gentoo-user] sudo echo
On Thu, 23 Mar 2006 18:27:46 -0300 Daniel da Veiga [EMAIL PROTECTED] wrote: Sudo takes a command as parameter, enclose the whole command in quotes and try again, like this: sudo echo app-portage/porthole ~* /etc/portage/package.keywords ^ ^ ^ ^ Careful with those quotation marks - you might want to escape them ;-) I would use single quotes on the outside to avoid the confusion: sudo 'echo app-portage/porthole ~* /etc/portage/package.keywords' Cheers, Renat -- Probleme kann man niemals mit derselben Denkweise loesen, durch die sie entstanden sind. (Einstein) signature.asc Description: PGP signature
Re: [gentoo-user] sudo echo
On Thu, 23 Mar 2006 23:12:38 + David Morgan [EMAIL PROTECTED] wrote: On 23:38 Thu 23 Mar , Renat Golubchyk wrote: Careful with those quotation marks - you might want to escape them ;-) I would use single quotes on the outside to avoid the confusion: sudo 'echo app-portage/porthole ~* /etc/portage/package.keywords' Do that and it'll say sudo: echo app-portage/porthole ~* /etc/portage/package.keywords: command not found This has been discussed on here before. The problem is that if you do `sudo echo foo bar`, the echo is being run as root, but the writing to bar isn't. Alright, then run sudo bash -c 'echo some_string some_file' No problem here :) Cheers, Renat -- Probleme kann man niemals mit derselben Denkweise loesen, durch die sie entstanden sind. (Einstein) signature.asc Description: PGP signature
Re: [gentoo-user] CRON (Vixie) not working for local users ...
Hi! On Fri, 24 Mar 2006 10:27:01 -0600 Thomas T. Veldhouse [EMAIL PROTECTED] wrote: I have several local users on my machine that are members of the cron group. Vixie-Cron runs as my cron agent. It is running. However, when I setup jobs to run in the users crontab, they are NEVER executed. Not once, not ever! It seems that the ONLY jobs that run are via /etc/cron* Am I missing something? http://www.gentoo.org/doc/en/cron-guide.xml Cheers, Renat -- Probleme kann man niemals mit derselben Denkweise loesen, durch die sie entstanden sind. (Einstein) signature.asc Description: PGP signature
Re: [gentoo-user] CRON (Vixie) not working for local users ...
On Fri, 24 Mar 2006 14:17:35 -0600 Thomas T. Veldhouse [EMAIL PROTECTED] wrote: Chad Feller wrote: 2) Check your appropriate log file (I use sysklogd), so something like tail -f /var/log/syslog might reveal something of interest. Nothing special, no errors and no sign of it running. You can see that I edited the file though: Mar 24 14:13:40 myserver crontab[12196]: (myuser) BEGIN EDIT (myuser) Mar 24 14:14:04 myserver crontab[12196]: (myuser) REPLACE (myuser) Mar 24 14:14:04 myserver crontab[12196]: (myuser) END EDIT (myuser) Mar 24 14:15:01 myserver cron[3469]: (myuser) RELOAD (crontabs/myuser) Then check whether the crontabs get created. They are supposed to be in /var/spool/cron/crontabs/ . Crontab of user some_user should be in the file /var/spool/cron/crontabs/some_user with permissions of 0600 and owned by root:users. Cheers, Renat -- Probleme kann man niemals mit derselben Denkweise loesen, durch die sie entstanden sind. (Einstein) signature.asc Description: PGP signature
Re: [gentoo-user] Eclipse IDE For Java
Hi! On Wed, 5 Apr 2006 22:31:20 -0700 Lord Sauron [EMAIL PROTECTED] wrote: * dev-util/eclipse-sdk Latest version available: 3.0.1-r2 Latest version installed: [ Not Installed ] Size of downloaded files: 54,314 kB Homepage:http://www.eclipse.org/ Description: Eclipse Tools Platform License: CPL-1.0 This one is not masked. Cheers, Renat -- Probleme kann man niemals mit derselben Denkweise loesen, durch die sie entstanden sind. (Einstein) signature.asc Description: PGP signature
Re: [gentoo-user] ctags exuberant ctags conflict?
Hi! On Mon, 10 Apr 2006 09:58:50 -0400 Jeff [EMAIL PROTECTED] wrote: Wondering, what's the difference between ctags and exuberant-ctags, and why one would take the place of the other? One of my users has pointed out that 'there should be only one', and that he has always used exuberant in the past. Is there a way to safely link exuberant for him without hosing his system? See here: # find /usr/bin/ | grep ctag /usr/bin/exuberant-ctags /usr/bin/ctags Quoting the exuberant-ctags ebuild: namepace collision with X/Emacs-provided /usr/bin/ctags -- we rename ctags to exuberant-ctags (Mandrake does this also). So if you have X/Emacs installed it would explain the existance of /usr/bin/ctags on your system. As for your user... He can simply alias exuberant-ctags to ctags in his .bashrc and be done with 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] question about revdep-rebuild
Hi! On Sun, 10 Jul 2005 15:18:53 +0200 (CEST) Tamas Sarga [EMAIL PROTECTED] wrote: I confused about revdep-rebuild. I thought that revdep-rebuild without any parameter would investigate all of my bin, and a --soname parameter will investigate just about this .so file. As I understand, just running revdep-rebuild without parameters will search for binaries linked against now missing libraries. Running it with a --soname looks for binaries linked against existing libraries, but whose version is now different. So they do different things. Hope it helps. Cheers, Renat pgpRO0ks2StLA.pgp Description: PGP signature
Re: [gentoo-user] where is the functionality of etcat
On Mon, 11 Jul 2005 23:25:06 +0200 Rudmer van Dijk [EMAIL PROTECTED] wrote: etcat is deprecated in favor of equery but equery does not have a functionality like `etcat -v package` (listing all available versions of a package). I used it quite often and have been struggling with equery ever since etcat is deprecated... Are there plans to build this functionality into equery? if not, why?? It is already in there, people just tend to overlook it ;-) Run equery list -p package, for more information run equery list --help or generally equery command --help. If you run equery --help you will notice that equery has global options and local options which do some nice stuff. Cheers, Renat pgpvbBtweBvgX.pgp Description: PGP signature
Re: [gentoo-user] Does (-win32codecs) mean Slots?
On Tue, 12 Jul 2005 17:12:33 +0800 Ow Mun Heng [EMAIL PROTECTED] wrote: Why doesn't mplayer let me compile with win32codecs? It doesn't pull down win32codec as a dependency and having that USE flag in the CLI as well as on make.conf doesn't make a difference. I still can't get -win32codecs to +win32codecs Comment? What does emerge -pv mplayer say? Do you have x86 or ~x86 in your ACCEPT_KEYWORDS? Cheers, Renat -- Probleme kann man niemals mit derselben Denkweise lösen, durch die sie entstanden sind. (Einstein) pgp91OzvFf4xW.pgp Description: PGP signature
Re: [gentoo-user] Can't mount a fat32 partition
On Wed, 13 Jul 2005 18:39:38 -0400 Colin [EMAIL PROTECTED] wrote: aabb wrote: Here's a strange one... I use 2 partitions for Windows 98, hda1 and hda5. I set both up as type c (fat32 LBA) during my gentoo installation, using fdisk. The entries in /etc/fstab are almost identical: /dev/hda1/mnt/win_cvfatumask=0,noexec 0 0 /dev/hda5/mnt/win_dvfatumask=0,noexec 0 0 What's the output of fdisk -l /dev/hda? BTW, I use noauto,noexec,user,fmask=0133 as options in fstab for vfat partitions. Any of the mask entries correspond to octal permission; therefore, they need to be three-digit numbers. I recommend 022 (rwxr-xr-x), but I assume you want 000 (rwxrwxrwx). Don't forget to set uid and gid or else only root will have access to the files! I set file mask to fmask=0133 on vfat partitions, because files on windows partitions don't need the executable bit. It only annoys me when Midnight Commander tries to execute them after I press ENTER. Cheers, Renat -- Probleme kann man niemals mit derselben Denkweise lösen, durch die sie entstanden sind. (Einstein) pgpDnKgGIf0GN.pgp Description: PGP signature
Re: [gentoo-user] Boot freeze
Hi! On Wed, 17 Aug 2005 16:10:51 -0400 Michael W. Holdeman [EMAIL PROTECTED] wrote: On Wednesday 17 August 2005 03:53 pm, Michael W. Holdeman wrote: My desktop suddenly won't boot. It stops at Starting distccd... [ok] and sits there for hours?? I can reboot with ctrl-alt-del. How can I get it to continue to determint what is wrong? I tried several kernels and all do the same thing... I should have noted, I can get it running with softlevel=singlest don't know how to determine the problem. I had the same problem this morning after updating baselayout to 1.12.0_pre5, but the booting stopped after starting samba. Downgraded baselayout back to 1.11.13 and everything worked fine again. Cheers, Renat -- Probleme kann man niemals mit derselben Denkweise lösen, durch die sie entstanden sind. (Einstein) pgpU38Cdk51Wm.pgp Description: PGP signature
Re: [gentoo-user] How to shred without deleting /dev/*
Hi! On Mon, 29 Aug 2005 12:01:07 + (GMT) Michael Kintzios [EMAIL PROTECTED] wrote: I was blanking a floppy but when I ran: $ shred -u -v /dev/fd0 /dev/fd0 was dully deleted after the shred operation finished. Rebooting the machine relaunched udev which recreated fd0 (is there another way to avoid having to reboot)? Why was it deleted? Did you run the command as root? Is there a way of shredding a complete floppy (not just a file at a time) without removing the /dev/fd0 node? -- What's wrong with good old dd? How about $ dd if=/dev/zero of=/dev/fd0 You can also use /dev/random if it has to be more secure. For even more security run it multiple times in a loop. Cheers, Renat -- Probleme kann man niemals mit derselben Denkweise loesen, durch die sie entstanden sind. (Einstein) -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] booting into single mode
On Wed, 31 Aug 2005 09:25:48 -0400 Philip Webb [EMAIL PROTECTED] wrote: Is it still possible to boot into 'single' mode, ie directly into a no-login root system (for emergencies) ? Yes. Append softlevel=single to kernel boot parameters. Cheers, Renat -- Probleme kann man niemals mit derselben Denkweise loesen, durch die sie entstanden sind. (Einstein) -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] power management on laptop
On Wed, 31 Aug 2005 10:40:46 -0400 John Dangler [EMAIL PROTECTED] wrote: How do I tell whether my laptop supports acpi or apm? I'm sorry to keep throwing this up right now, but lack of experience begs more questions. I've found a lot of information about this box (dell inspiron 8600) from googling, forums, etc., but they seem to be split on whether this box uses acpi or apm. Tuxmobil[1] and Linux on Laptops[2] are your friends ;-) Cheers, Renat [1] http://tuxmobil.org/mylaptops.html [2] http://www.linux-laptop.net/ -- Probleme kann man niemals mit derselben Denkweise loesen, durch die sie entstanden sind. (Einstein) -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Eclipse vs. Unifont
On Mon, 12 Sep 2005 20:18:41 +0200 Matthias Bethke [EMAIL PROTECTED] wrote: Does anyone have an idea what the Eclipse ebuild doesn't like about Unifont? Look at the ebuild Changelog: quote 04 Jul 2004; Karl Trygve Kalleberg [EMAIL PROTECTED] eclipse-sdk-3.0.0.ebuild: New upstream version. Added block against media-fonts/unifont, at the request of Billy Biggs from Eclipse. /quote Cheers, Renat -- Probleme kann man niemals mit derselben Denkweise loesen, durch die sie entstanden sind. (Einstein) pgpyofo9Nfouo.pgp Description: PGP signature
[gentoo-user] [OT] RAID 1 over network
Hi all! Short: What is the best way to setup something similar to RAID 1 over a WAN? Background: Two LAMP servers are located in geographically different locations connected through a load balancer to the net: LAMP ALAMP B \ / \ / \ / \ / \ / \ / V load balancer LB | | WAN One purpose of the setup is to have data redundancy. Thus we have to ensure that the data is replicated in a timely manner. Replicating MySQL data is not difficult. The problem is the file system data like uploaded documents and pictures. We can monitor changes in the file system and initiate rsync to copy files over the network, but I think it's not a good solution. What we are after is a network equivalent of RAID 1. Are there any viable solutions that could work over a WAN? Cheers, Renat -- Probleme kann man niemals mit derselben Denkweise loesen, durch die sie entstanden sind. (Einstein)
Re: [gentoo-user] Umlaut trouble in filenames
Hi! Am Thu, 18 Jun 2009 12:31:09 +0200 schrieb Alex Schuster wo...@wonkology.org: I have a problem with umlauts in file names. They are working fine when I create a file, but I have lots of files I moved from my former system that show umlauts just as a question mark. I think I transferred them via NFS. I have lang=de_de.u...@euro set now, before it was unset. Those umlaut files refuse to play in applications like amarok2. I can rename them with mv on the command line, making use of tab completion, but it's annoying. So, does anyone have a trick to automate this? Use app-text/convmv. Cheers, Renat -- Probleme kann man niemals mit derselben Denkweise loesen, durch die sie entstanden sind. (Einstein) signature.asc Description: PGP signature
Re: [gentoo-user] [OT] Use of sed
Am Wed, 24 Jun 2009 15:18:02 +0100 schrieb Peter Humphrey pe...@humphrey.ukfsn.org: On Wednesday 24 June 2009 12:28:05 Alex Schuster wrote: man sed answers your second question :) s/regexp/replacement/ Attempt to match regexp against the pattern space. If successful, replace that portion matched with replacement. The replacement may contain the special character to refer to that portion of the pattern space which matched, and the special escapes \1 through \9 to refer to the corresponding matching sub-expressions in the regexp. No mention of using a different separator, and I couldn't find any other reference either. I did look before asking. Man page is very short. Check the info pages for full documentation. (Almost all tools from GNU userland have a short man page and a long info page. At least that is what they say right at the bottom.) Section 3.5 (The `s' Command) states in the first paragraph: The syntax of the `s' (as in substitute) command is `s/REGEXP/REPLACEMENT/FLAGS'. The `/' characters may be uniformly replaced by any other single character within any given `s' command. The `/' character (or whatever other character is used in its stead) can appear in the REGEXP or REPLACEMENT only if it is preceded by a `\' character. Cheers, Renat -- Probleme kann man niemals mit derselben Denkweise loesen, durch die sie entstanden sind. (Einstein) signature.asc Description: PGP signature
Re: [gentoo-user] Website disabling right click
Hi! Am Wed, 05 Aug 2009 03:27:11 -0500 schrieb Dale rdalek1...@gmail.com: Hi folks, I have this website that I purchase products off of and this is getting on my nerves. I'm accustomed to right clicking and opening in new tabs and such, especially when searching for products. Is their some way I can disable them blocking right click? Each time I right click something, it gives me a pop up thing. It's Javascript. Go to Preferences - Content - Enable JavaScript and uncheck Disable or replace context menus. You will still get the popup, but the context menu will not be suppressed. Cheers, Renat -- Probleme kann man niemals mit derselben Denkweise loesen, durch die sie entstanden sind. (Einstein) signature.asc Description: PGP signature
Re: [gentoo-user] installing/upgrading with emerge from non-root
Am Wed, 5 Aug 2009 17:48:06 +0200 schrieb Galevsky galev...@gmail.com: 2009/8/5 Kevin Haddock kevinhadd...@yahoo.com: I'm trying to do distributed compile with a remote machine that I don't have root password to. I have a local account with sudo permissions and an account of the same name on the remote machine. I have set up ssh so I can shell across without entering passwords nor pass phrases. I have even added my user to the group 'wheel' and given it that group permission to execute all commands. I even went so far as to change all the emerge program files in /usr/lib/portage/bin to have g+x and belong to the group wheel, but it still tells me: $ emerge -kuDN world emerge: superuser access is required. Is there any way to do this? Yep: as a member of wheel, you should be able to run emerge 'as root' when sudoing: sudo emerge whatyouwant And if you don't want to type password every time change your /etc/sudoers file accordingly. Check the sudoers man page. Cheers, Renat -- Probleme kann man niemals mit derselben Denkweise loesen, durch die sie entstanden sind. (Einstein) signature.asc Description: PGP signature
Re: [gentoo-user] Re: I lost the ability to boot into single user
Am Mon, 17 Aug 2009 16:47:15 -0400 schrieb ABCD en.a...@gmail.com: Openrc no longer supports the softlevel= option on the kernel command line (this hit me as well, as I use a number of different runlevels). Is this documented somewhere? I'm asking because I have no problem with booting into different runlevels with the softlevel= option. I have a ~x86 notebook and a ~amd64 notebook both working flawlessly. Cheers, Renat -- Probleme kann man niemals mit derselben Denkweise loesen, durch die sie entstanden sind. (Einstein) signature.asc Description: PGP signature
Re: [gentoo-user] my gentoo wont read .bashrc automatically
Hi! On Tue, 1 Sep 2009 20:09:12 +0800 Xi Shen davidshe...@googlemail.com wrote: every time i reboot the system, the ~/.bashrc will not be read/executed automatically. i have give it x attribute. also i have checked the /etc/bash/bashrc file, and i did not find and logic about reading/executing the ~/.bashrc file. is there anything wrong with my system? You don't need the executable bit set on bashrc. ~/.bashrc gets read when you start an interactive shell, e.g. an xterm. When you log in a login shell is started, which reads ~/.bash_profile. If you want that your ~/.bashrc will be read on login include the following statement in ~/.bash_profile [[ -f ~/.bashrc ]] . ~/.bashrc Cheers, Renat -- Probleme kann man niemals mit derselben Denkweise loesen, durch die sie entstanden sind. (Einstein) signature.asc Description: PGP signature
Re: [gentoo-user] how to clean up /usr/portage/distfiles?
Hi! On Tue, 1 Sep 2009 22:59:09 +0800 Xi Shen davidshe...@googlemail.com wrote: as you emerge, the /usr/portage/distfiles get stuffed with old packaged. even through it is safe to delete them all, and d/l again when needed, but i just want to remove only the old version. is there any way, or any tool to help with this task? Check out eclean from app-portage/gentoolkit. Cheers, Renat -- Probleme kann man niemals mit derselben Denkweise loesen, durch die sie entstanden sind. (Einstein) signature.asc Description: PGP signature
Re: [gentoo-user] Adjusting brightness on videos. kmplayer in particular.
On Fri, 25 Sep 2009 04:16:58 -0500 Dale rdalek1...@gmail.com wrote: Renat Golubchyk wrote: On Fri, 25 Sep 2009 03:07:39 -0500 Dale rdalek1...@gmail.com wrote: Graham Murray wrote: Dale rdalek1...@gmail.com writes: I downloaded CSI and a NCIS video a while ago. I'm trying to watch it but it is really dark. I am using kmplayer with mplayer for the backend. I found where it says you can adjust brightness and contrast but they don't do anything. The screen looks fine outside of watching a show. Here is some emerge info just in case I missed a USE flag or something: Have you tried changing the gamma? I tried changing all the things in the menu that pops up. None of them do anything at all. They move and they are not grayed out or anything, they just don't work. It reminds me of adjusting the volume when it is muted. Ideas? Try other output drivers. Run mplayer -vo help to see what drivers are supported. I've just tried it with xv (default) and it didn't work. x11 driver works, but the brightness of the whole X changes. Using gl and gl2 output everything works as expected. Cheers, Renat You da man !! I first checked out the command you gave and I have a lot of options listed. After reading the man page, should I mention that thing is HUGE, I then opened kmplayer and checked out the options there. I selected the OpenGL driver and it now works. It goes from completely black to blindingly white. You can adjust contrast, hue, and saturation as well. Changing the hue doesn't work here anymore for some reason, though. Cheers, Renat signature.asc Description: PGP signature
Re: [gentoo-user] Adjusting brightness on videos. kmplayer in particular.
On Fri, 25 Sep 2009 03:07:39 -0500 Dale rdalek1...@gmail.com wrote: Graham Murray wrote: Dale rdalek1...@gmail.com writes: I downloaded CSI and a NCIS video a while ago. I'm trying to watch it but it is really dark. I am using kmplayer with mplayer for the backend. I found where it says you can adjust brightness and contrast but they don't do anything. The screen looks fine outside of watching a show. Here is some emerge info just in case I missed a USE flag or something: Have you tried changing the gamma? I tried changing all the things in the menu that pops up. None of them do anything at all. They move and they are not grayed out or anything, they just don't work. It reminds me of adjusting the volume when it is muted. Ideas? Try other output drivers. Run mplayer -vo help to see what drivers are supported. I've just tried it with xv (default) and it didn't work. x11 driver works, but the brightness of the whole X changes. Using gl and gl2 output everything works as expected. Cheers, Renat signature.asc Description: PGP signature
Re: [gentoo-user] [ot fonts in firefox]
On Mon, 28 Sep 2009 02:08:00 -0500 Harry Putnam rea...@newsguy.com wrote: I've monkeyed around with the font settings endlessly but it seems I can only get a look where like in a google search.. The hits are displayed in a decent and reasonable size. But the font size in the search box where you enter your terms is much bigger It seams nothing I do in the supplied font adjustment settings has any effect on that font. You can modify appearance of any site and your mozilla client in userContent.css and userChrome.css in your mozilla profile's chrome directory. There are example stylesheets there. Restart Mozilla for changes to take effect. Cheers, Renat signature.asc Description: PGP signature
Re: [gentoo-user] Interpreting /proc/cpuinfo
Hi! On Fri, 09 Oct 2009 20:40:44 +0200 Florian Philipp li...@f_philipp.fastmail.net wrote: Does this output from /proc/cpuinfo make any sense: processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 26 model name : Intel(R) Xeon(R) CPU E5520 @ 2.27GHz stepping: 5 cpu MHz : 141.318 cache size : 8192 KB physical id : 1 siblings: 8 core id : 0 cpu cores : 4 apicid : 16 fpu : yes fpu_exception : yes cpuid level : 11 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall nx rdtscp lm constant_tsc ida nonstop_tsc pni monitor ds_cpl vmx est tm2 cx16 xtpr popcnt lahf_lm bogomips: 4525.39 clflush size: 64 cache_alignment : 64 address sizes : 40 bits physical, 48 bits virtual power management: [8] This is what I have on a patched Ubuntu server with a custom kernel 2.6.29: processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 26 model name : Intel(R) Xeon(R) CPU E5520 @ 2.27GHz stepping: 5 cpu MHz : 2261.139 cache size : 8192 KB physical id : 1 siblings: 8 core id : 0 cpu cores : 4 apicid : 16 initial apicid : 16 fpu : yes fpu_exception : yes cpuid level : 11 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm dca sse4_1 sse4_2 lahf_lm ida tpr_shadow vnmi flexpriority ept vpid bogomips: 4522.27 clflush size: 64 cache_alignment : 64 address sizes : 40 bits physical, 48 bits virtual power management: /proc/cpuinfo shows 8 CPUs because of HyperThreading. Cheers, Renat -- Probleme kann man niemals mit derselben Denkweise loesen, durch die sie entstanden sind. (Einstein) signature.asc Description: PGP signature
Re: [gentoo-user] mysql USE flag error
On Mon, 19 Oct 2009 06:56:57 +0100 Mick michaelkintz...@gmail.com wrote: I am not sure I understand this message about the mysql USE flag: = # emerge -upDv world These are the packages that would be merged, in order: Calculating dependencies... done! emerge: there are no ebuilds built with USE flags to satisfy =x11-libs/qt-sql-4.5.0:4[mysql]. !!! One of the following packages is required to complete your request: - x11-libs/qt-sql-4.5.2 (Change USE: +mysql) (dependency required by app-office/akonadi-server-1.2.1 [ebuild]) (dependency required by kde-base/kdepimlibs-4.3.1 [ebuild]) (dependency required by kde-base/krfb-4.3.1 [ebuild]) (dependency required by world [argument]) kde-base/krfb-4.3.1 requires kde-base/kdepimlibs-4.3.1 which requires app-office/akonadi-server-1.2.1 which requires =x11-libs/qt-sql-4.5.0:4[mysql] Actually app-office/akonadi-server-1.2.1 requires =x11-libs/qt-sql-4.5.0:4[mysql?,sqlite?] which means mysql or sqlite, default to mysql. Cheers, Renat -- Probleme kann man niemals mit derselben Denkweise loesen, durch die sie entstanden sind. (Einstein) signature.asc Description: PGP signature
Re: [gentoo-user] [OT] interrupting runscripts during startup
On Fri, 20 Nov 2009 00:02:47 +0200 Amit Dor-Shifer ami...@oversi.com wrote: When hitting Ctrl-C during startup, I manage to interrupt services at the early stages of init, yet later-on I can no-longer do this. It seems that up till runlevel 'default', services can be hit with the interrupt. Why do you want to stop services by hitting CTRL-C ? Services are shell scripts. Hitting CTRL-C stops the script somewhere in the middle during its execution. Everything that was done until that moment won't be automagically undone. There can be files left , and processes already started will still run. That's not clean. Better use the interactive init feature. Just hit 'I' when init starts (init even tells you, that you can do it) and choose which services to start by hitting 'y' and 'n'. Cheers, Renat -- Probleme kann man niemals mit derselben Denkweise loesen, durch die sie entstanden sind. (Einstein) signature.asc Description: PGP signature
Re: [gentoo-user] [OT] Need advice from people who use non-ascii all day long
Hi! On Thu, 3 Dec 2009 11:20:03 -0800 fe...@crowfix.com wrote: In Germany is a district Busingen, with an umlauted 'u'. Is it reasonable to consider it the same word whether with or without the unlauted u? No. For many words it would be ok, but not for all. For example, drucken means to print, drücken (with an umlaut) means to press. In German you can exchange an umlaut with the combination base letter + e, i.e. ü -- ue, ö -- oe, and ß -- ss. There are words with the combination oe that is in that particular case does not mean ö. So it's not straight forward, especially with names. Those may have a rather odd spelling for historical reasons. Or put another way, I don't know much about German, French, Spanish, etc keyboards. Do your keyboards have any of the extra keys, all of them? Are German keyboards and French and Spanish keyboards as restricted to their own languages as US keyboards are? If you have to hit two or three keys to keep the umlauts, accents, and tildes, do you get lazy sometimes and type the base character by itself? Is it even considered the base character, or is it considered lazy and sloppy, much as I get complaints about typing thru because through is too much trouble? German keyboards have keys for all umlauts and 'ß'. You can google for pictures of different keyboard layouts. I need something the equivalent of the C function strcasecmp() which not only ignores case, but all other differences without distinction, whatever they may be. I'd suggest you use a unicode library. BTW, what about cyrillic letters or other alphabets? Those may have nothing to do with ASCII. Or is your project restricted to latin letters? Cheers, Renat -- Probleme kann man niemals mit derselben Denkweise loesen, durch die sie entstanden sind. (Einstein) signature.asc Description: PGP signature
Re: [gentoo-user] [OT] Need advice from people who use non-ascii all day long
On Thu, 3 Dec 2009 12:07:26 -0800 fe...@crowfix.com wrote: So do people type in Busingen different ways depending on how they feel, do some people always leave off the umlaut, do some always use it? If you want to leave of the umlaut you have to be absolutely sure that there exists no other place with the spelling without umlaut. Otherwise you may have collisions sometimes. -- Probleme kann man niemals mit derselben Denkweise loesen, durch die sie entstanden sind. (Einstein) signature.asc Description: PGP signature
[gentoo-user] Building static libraries
Hi everyone! I need to build a static binary of a program I wrote. The problem is that most packages only install dynamic version of the libraries. There are the static and static-libs USE flags, but only a tiny fraction of packages support them. Modifying every relevant ebuild is not really a viable solution since the list of packages is quite long and could change later. So what can I do if I'd like to avoid compiling every package manually? Cheers, Renat -- Probleme kann man niemals mit derselben Denkweise loesen, durch die sie entstanden sind. (Einstein) signature.asc Description: PGP signature
Re: [gentoo-user] Building static libraries
On Sun, 13 Dec 2009 15:40:34 -0500 Albert Hopkins mar...@letterboxes.org wrote: GTK+, i believe, can't be built statically as it uses dynload for themes, input methods, etc etc. Even most proprietary gtk-based software that I know of (e.g. Adobe Flash and VMWare) either are distributed with GTK+ linked dynamically or they provide their own GTK libs). Hmm, I'll test that because I use GTK+ although it is not a GUI app. You can apply -static to CFLAGS, but make sure you have a binpkg built first, as there is a chance you may break something. You can also try passing --enable-static to EXTRA_ECONF. That's probably safer than the former, but the same caveat applies. Ah, in all the years using Gentoo I have never needed EXTRA_ECONF, although I've heard a lot about it on this list. It is, of course, listed in make.conf man page, but since everything works here I usually do not need to look at it. Anyway, thanks for the pointer. I'm testing it right now, and it seems to work so far. I'll report back when emerge is finished. Cheers, Renat -- Probleme kann man niemals mit derselben Denkweise loesen, durch die sie entstanden sind. (Einstein) signature.asc Description: PGP signature
Re: [gentoo-user] Re: Building static libraries
On Sun, 13 Dec 2009 14:47:04 -0800 walt w41...@gmail.com wrote: On 12/13/2009 11:18 AM, Renat Golubchyk wrote: I need to build a static binary of a program I wrote. The problem is that most packages only install dynamic version of the libraries. There are the static and static-libs USE flags... I'm confused (not unusual). Do you want to create a Gentoo package of your program that can be added to portage? USE flags are used only by the Gentoo portage system, not by the compiler or linker that compiles and links your source code. If you wrote the program, then you have complete control over the linker flags (e.g. -static, as Albert mentioned) and those flags usually are defined in a Makefile (which you create, being the programmer). As you said, you really are confused. :-) Maybe I wasn't clear enough. Anyway, I've written a program, and I need it as a statically linked binary. In order to link statically the linker (ld) needs all the used libraries in static form, i.e. as a .a and not as a .so file. Since portage does not build static libraries by default I need a way to tell portage that I really do want to have .a files built. I do _not_ want to create a Gentoo package, at least not at this stage of development. Cheers, Renat -- Probleme kann man niemals mit derselben Denkweise loesen, durch die sie entstanden sind. (Einstein) signature.asc Description: PGP signature
Re: [gentoo-user] Re: Building static libraries
On Sun, 13 Dec 2009 20:53:15 -0500 Albert Hopkins mar...@letterboxes.org wrote: On Mon, 2009-12-14 at 01:27 +0100, Renat Golubchyk wrote: Since portage does not build static libraries by default... But portage *does*. I think it does build static libs for packages that provide them, it's just that I don't think many do (for the reasons I mentioned in the previous post). That's what I actually meant. -- Probleme kann man niemals mit derselben Denkweise loesen, durch die sie entstanden sind. (Einstein) signature.asc Description: PGP signature
Re: [gentoo-user] OT: extract an image from a .doc file?
On Mon, 14 Dec 2009 09:48:57 + Stroller strol...@stellar.eclipse.co.uk wrote: On 13 Dec 2009, at 15:01, Sebastian Beßler wrote: Am 13.12.2009 09:46, schrieb Stroller: Hi all, A .doc file contains an image. Is there any way to extract the image file in its original format, please? Open the doc file with OpenOffice, save it as a odt file. The odt is a renamed zip archive that should contain the image in on of its subfolders. Great idea, Sebastian. The file which is responsible for the size of the .doc is immediately obvious when I rename this document.odt to document.zip. It is a 2meg file, but unfortunately, as Mick appears to have predicted, it is called simply Object 1 with no file extension. Running `file` on it shows it to be a Microsoft Office Document, but it's apparently not the kind you can open in Word. Have you tried opening this Object 1 file in OpenOffice and repeat the steps above again? Cheers, Renat -- Probleme kann man niemals mit derselben Denkweise loesen, durch die sie entstanden sind. (Einstein) signature.asc Description: PGP signature
Re: [gentoo-user] OT: extract an image from a .doc file?
On Mon, 14 Dec 2009 15:43:23 + Stroller strol...@stellar.eclipse.co.uk wrote: On 14 Dec 2009, at 13:01, Renat Golubchyk wrote: ... The file which is responsible for the size of the .doc is immediately obvious when I rename this document.odt to document.zip. It is a 2meg file, but unfortunately, as Mick appears to have predicted, it is called simply Object 1 with no file extension. Running `file` on it shows it to be a Microsoft Office Document, but it's apparently not the kind you can open in Word. Have you tried opening this Object 1 file in OpenOffice and repeat the steps above again? I don't seem to be able to open this file in Open Office. It doesn't recognise the format, and gives me a list of about 100 file types to try. Choosing (I think) Microsoft Word document doesn't work, and I can't see anything else in the list that looks more promising. I tried running photorec on Object 1 and it produces a recovered .doc file, but that doesn't open, either. Try checking it with ImageMagick's identify. Cheers, Renat -- Probleme kann man niemals mit derselben Denkweise loesen, durch die sie entstanden sind. (Einstein) signature.asc Description: PGP signature
Re: [gentoo-user] Re: Building static libraries
On Mon, 14 Dec 2009 10:28:21 -0800 walt w41...@gmail.com wrote: Renat Golubchyk wrote: As you said, you really are confused. :-) Maybe I wasn't clear enough. Anyway, I've written a program, and I need it as a statically linked binary. In order to link statically the linker (ld) needs all the used libraries in static form, i.e. as a .a and not as a .so file. Since portage does not build static libraries by default I need a way to tell portage that I really do want to have .a files built. I do _not_ want to create a Gentoo package, at least not at this stage of development. Still confused :o( Portage is for building Gentoo packages -- if you don't want to build a Gentoo package then why is portage involved? You can compile and link your program with any flags you want to, so as to get static binaries. Because my program uses different libraries which I don't build manually. Instead I use portage. That way I can compile in only those features that I need and I don't have to resolve dependencies. Cheers, Renat -- Probleme kann man niemals mit derselben Denkweise loesen, durch die sie entstanden sind. (Einstein) signature.asc Description: PGP signature
Re: [gentoo-user] Re: Building static libraries
On Mon, 14 Dec 2009 22:25:46 +0200 Alan McKinnon alan.mckin...@gmail.com wrote: I'm not sure why you have a problem. A quick search on my box shows that most libs (of the small number I checked) have .a and .so Most libs, but not all. glibc is one of them. Anyway, I've added --enable-static to EXTRA_ECONF and it worked. There are some packages that don't like it. In particular, sandbox aborts in the configure phase with the message configure: error: dont be a Kumba, building a libsandbox.a is stupid :-) I had to put an exception into /etc/portage/bashrc in order to handle that. Cheers, Renat -- Probleme kann man niemals mit derselben Denkweise loesen, durch die sie entstanden sind. (Einstein) signature.asc Description: PGP signature
Re: [gentoo-user] sys-power/powermgmt-base blocks sys-power/pm-utils, but it's not installed yet
Hi! On Wed, 06 Jan 2010 07:49:05 -0600 Michael Sullivan msulli1...@gmail.com wrote: * Error: The above package list contains packages which cannot be * installed at the same time on the same system. ('ebuild', '/', 'sys-power/powermgmt-base-1.22', 'merge') pulled in by =sys-power/powermgmt-base-1.22 required by ('ebuild', '/', 'sys-apps/apmd-3.2.2_p5', 'merge') ('ebuild', '/', 'sys-power/pm-utils-1.2.5', 'merge') pulled in by sys-power/pm-utils required by ('installed', '/', 'kde-base/powerdevil-4.3.3', 'nomerge') According to the error message sys-power/powermgmt-base is getting pulled by sys-apps/apmd and sys-power/pm-utils by kde-base/powerdevil. If you use ACPI then there is probably no need in having APM daemon installed. Add -t to your emerge command and check what package depends on apmd. Cheers, Renat -- Probleme kann man niemals mit derselben Denkweise loesen, durch die sie entstanden sind. (Einstein) signature.asc Description: PGP signature
Re: [gentoo-user] Scheduled wakeup from suspend to ram
On Mon, 11 Jan 2010 00:09:48 +0200 Alan McKinnon alan.mckin...@gmail.com wrote: On Sunday 10 January 2010 23:40:57 Stroller wrote: This was my reaction, too, but c'mon, Linux's sleep functionality must have a rewake feature, mustn't it? I dunno. Think about this - in suspend, nothing is working and no user-code is running. The only power consumed is what is needed to refresh RAM. That must be there otherwise the content goes away if you try and resume. So what part of the machine is powered to be able to wake it up? PCs don't have alarm clocks, the on-board clock can't usually do it, so the only option is for some code to be running, polling the time and cause the system to wake up. Which is exactly what suspend does not do. Windows can do that and BIOS has such settings too. Those are power management settings like suspend to RAM after X minutes, hibernate after Y minutes. In order to hibernate it has to wake up first, so there must be some place where a timer is set. And I have seen it done on Linux. I just never tried it myself. Cheers, Renat -- Probleme kann man niemals mit derselben Denkweise loesen, durch die sie entstanden sind. (Einstein) signature.asc Description: PGP signature
[gentoo-user] [OT] Screen sharing software or similar
Hi all! I'm looking for a solution to the following problem. My relatives live 200 km away. They have a daughter, and I need to help her out with school homework etc. At the moment we cannot do it on a regular basis, because doing it over the phone is really difficult and time consuming. I thought some screen sharing software would solve this. A video conferencing or a VoIP feature would be a nice bonus, too. For easy writing I would probably buy graphics tablets since writing math formulas or drawing isn't particularly fast or easy with keyboard and mouse. So, is there some easy-to-use Linux program? I have Linux desktops on both ends (Ubuntu and Gentoo), so portability or OS-independence is not a requirement. Do you have any other ideas? For the record, we have a 2 Mbit DSL line on one end and a 6 Mbit on the other. Those are, of course, downstream bandwidth rates. Best wishes, Renat -- Probleme kann man niemals mit derselben Denkweise loesen, durch die sie entstanden sind. (Einstein) signature.asc Description: PGP signature