[gentoo-user] Missing /tmp/.sockets or slow program start
Hi My system went pretty slow this days, xemacs used about 5 seconds to startup. I remember that this startup time was much faster before. After a little tinkering i found that xemacs pauses during startup at acessing /tmp/.sockets, which did not exist on my box. After creating this file (touch /tmp/.sockets as user) xemacs fires up almost intantanous, which is how it was some time before. My question: What program is creating /tmp/.sockets? Did I mess up any configuration? Urs
Re: [gentoo-user] can't remove device-mapper can't install it either
Could be baselayout-1. Please take a look at bug #291916 [1] [1] http://bugs.gentoo.org/291916 Urs
Re: [gentoo-user] Can't detect printer hp 840c on parallel port
On 04/09/09, vasya wrote: Hi. Here some problem - can't connect printer hp 840c on parallel port LPT1. Necessary kernel modules I've enabled. But CUPS by foomatic db or hplip by their own drivers can't detect this printer. Hplip tells me that error: No device selected/specified or that supports this functionality. but printer on LPT port. CUPS can add this printer but can't print. How I can resolve it and what information I need to show you? Version of hplip - 3.9.4b-r1 Just a wild guess: Is LPT1 enabled in the bios? Had something similar with USB, which was not enabled in the bios. Urs
Re: [gentoo-user] How do I find new packages?
On 04/08/09, fe...@crowfix.com wrote: There used to be a package which ran after a sync to report new and updated packages. At some point a year ago or so, it disappeared. I have long since forgotten its name. Is there some way to do this now? I could probably write some script to simply search /usr/portage for ebuilds which were modified or created since the last time it ran, but I can see it having a few false positives from other changes. Run eix-sync to sync the package cache. after that you could run diff-eix /var/cache/eix.previous /var/cache/eix Urs
Re: [gentoo-user] local caching DNS?
On Wed, 09 Apr 2008, Ralf Stephan wrote: I'm fed up with waiting for ever the same name requests from my browser (and open servers don't cut it either): which DNS cache or caching DNS for simple local installation would you recommend? I'm using the DNS of my router (D-Link DSL-500G). Works without client side installations. Urs -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Re: print to pdf
On Mon, 25 Jun 2007, Alexander Skwar wrote: Urs Schuetz [EMAIL PROTECTED] wrote: Try to use the ghostpdf.ppd printer description with your cups-pdf printer to get the options to embed the fonts. Hm, why are you using this ppd file with cups-pdf? It doesn't belong to cups-pdf (at least not to 2.4.6). When I installed the cups-pdf printer, I used the PPD file that was supplied with it; ie. /usr/share/cups/model/PostscriptColor.ppd. And this works pretty fine. Because it gives me a lot of options to control the output quality of pdf files. I was especially interested in using the CYMK and Grey color model options, and disabling font subsetting. The options are: Resolution in steps, from 72dpi to 4000dpi The usual media sizes PDF Color models: Grey, RGB, CMYK PDF Settings: Screen, ebook, printer, prepress PDF Color image compression: JPEG, Flate PDF Grey image compression: JPEG, Flate PDF monochrome image compression: FAX G3, Flate PDF Compatibility: 1.2, 1.3, 1.4 PDF AutoRotate Pages: none, PageByPage, All PDF EmbedAllFonts: Yes, No PDF Subset Fonts: Yes, No PDF Compress Pages: Yes, No This are more or less the options which ghostscript accepts for the conversion to pdf, and therefore can be seen as features of the cups-pdf printer when running with ghostscript. This options show up in some printer tools like gtklp. There is nothing wrong with using the PostscriptColor.ppd which comes with cups-pdf, as long as it works well for you and you don't need any of the options above. Urs -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] print to pdf
On Sun, 24 Jun 2007, Matthew R. Lee wrote: On Sunday 24 June 2007 04:36, Mick wrote: On Sunday 24 June 2007 01:13, Christian wrote: Ok, I have found the solution of my problem: emerge --unmerge ghostscript-gpl emerge ghostscript-esp That solves my problem. Maybe it helps you too. It seems that soon they will be merged: http://www.cups.org/articles.php?L463 Am Freitag, 22. Juni 2007 22:28 schrieb Matthew R. Lee: I'm having problems with printing to pdf, both with kprint system and cups-pdf. The fonts are a right mess, see attached example. Now I know one work-around is to print to postscript than do a ps2ps followed by ps2pdf, but this is a less than perfect solution, though the only one I've come across so far. Has anyone else had this problem? And if so, how did you solve it? Comments greatly received Matt Swaping ghostscript-gpl for ghostscript-esp improved the situation, at least now the pdf is readable. However the fonts are still a little ugly and I can't see any option in the cups interface under set printer options for embeding the fonts. I'm offered pdf-general, pdf-banners, pdf-policies Try to use the ghostpdf.ppd printer description with your cups-pdf printer to get the options to embed the fonts. You should have this file already on your system, on mine it is /usr/share/ghostscript/8.15/lib/ghostpdf.ppd. The steps are: Webbrowser http://localhost:631 Printers tab, search for the cups-pdf printer Modify Printer Continue Continue paste the location of your ghostpdf.ppd in the field Or Provide a PPD File:, press Modify Printer Now you can set the printer options. urs -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] print to pdf
On Sat, 23 Jun 2007, Matthew R. Lee wrote: On Friday 22 June 2007 19:54, Hemmann, Volker Armin wrote: On Samstag, 23. Juni 2007, Philip Webb wrote: 070622 Matthew R. Lee wrote: I'm having problems with printing to pdf, both with kprint system and cups-pdf. Why don't you use Open Office ? Create a .pdf , then print from Kpdf. There's a .bin , if you don't want to compile OO ( 5 hr here). or koffice which is able to print to pdf just fine. And in 5h you can install most of KDE+koffice. I have open-office and I know it works fine for producing pdfs. I normally write my manuscripts in Latex and likewise I have no problem producing pdfs from Kile. This problem has arisen because I wanted to make pdfs of web pages. I've just submitted a research proposal and I needed to include a few webpages in lieu of proper quotes for some of the equipment I wanted. The online submission process required all documents to be uploaded in pdf format. This is just an issue of something that is supposed to work and doesn't and I'd like to figure out why and fix it. At the moment though it isn't mission critical Have you configured the cups-pdf printer to embed the fonts? If cups is locally installed, then just open the webbrowser and go to http://localhost:631/ This opens a connection to the local cups administration interface. Select the printers tab, and search for the cups-pdf printer. Select Set printer options. This opens the settings for the pdf printer. What is shown here is depending on your local setup (the possible settings are defined in a ppd file, which was selected during setup of the cups-pdf printer). Look for an option like embed all fonts, and set it to yes. Look for an option like subset fonts, and set it to no, check the licenses of the fonts which you use. I'm not sure if it is necessary to restart the cups system, /etc/init.d/cupsd restart This will result in bigger pdf files. The produced pdf files should contain all fonts, complete. If there are no such settings for the cups-pdf printer then try to create a new cups-pdf printer, and select Postscript Color Printer as ppd. Hope this helps. I'm using the cups-pdf printer often to store web pages, and it's working pretty nice. Urs -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Gentoo and WindowMaker
xOn Sat, 07 Apr 2007, Brad Camroux wrote: Greetings, I've been trying to get WindowMaker working on my Gentoo box, so far without success. It's very difficult to find anything on Google et. al., too about getting things working. Today I managed to find the wmaker.inst program to install WindowMaker for the current user, but when I try to login and load WindowMaker, it just goes back to my kdm screen. I've been using Fluxbox in the meantime, and really don't want to just give up and go back to KDE. I want to use a nice, lightweight window manager. Does anyone have any ideas about configuring WindowMaker to work on Gentoo? I know lots of people have done it, but nobody seems to write a detailed account of how. Thanks, Brad Brad I just edited the .xinitrc file in my home directory, and use xdm. cat .xinitrc #!/bin/bash /usr/bin/xbindkeys #/usr/bin/xterm /usr/bin/wmaker It seems that your wmaker is crashing when you start it (goes back to the login screen). Do you use wmaker from portage? There are two important patches incuded which dont come with wmaker from the original source. Urs -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Xdm doesn ´t start anymore
On Sat, 23 Sep 2006, Oliver Klein wrote: Hi Thx a lot that was the mistake, x11-apps/xdm was not installed, but i´m sure it was installed befor update the system...now i got a login window. But it was not very comfortable and the background is full with snow like a bad TV frame. Any ideas how to fix this.. http://gentoo-wiki.com/TIP_Changing_Gray_Startup_Background Urs -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] xorg-x11 7.0 does not work with nvidia-glx-1.0.7174-r5
On Wed, 05 Jul 2006, Philipp Riegger wrote: On Jul 5, 2006, at 12:32 PM, Urs Schuetz wrote: Check whether you have /dev/nvidia[0..9] and /dev/nvidiactl. I don't have them. But the kernel module is loaded. I'll have a look at udev now. They are essential, you want them. From http://www.gentoo.org/doc/en/nvidia-guide.xml : Code Listing 3.2: Creating the nvidia device nodes # /sbin/NVmakedevices.sh If your /dev/nvidia devices are still missing every time you reboot, then it is most likely because udev is not automatically creating the proper device nodes. You can fix this by re-running NVmakedevices.sh, and then editing /etc/conf.d/rc as shown: Code Listing 3.3: Editing /etc/conf.d/rc RC_DEVICE_TARBALL=yes This will preserve your /dev/nvidia nodes even if you reboot. That solved my problem, thank you. I wonder why i never had problems with this before. In my case it was because of a recent package upgrade (don't remember what it was) followed by a etc-update, which changed the line in /etc/conf.d/rc from RC_DEVICE_TARBALL=yes to RC_DEVICE_TARBALL=no, and therefore a reboot did no longer recreate the /dev/nvidia* devices. So I lost the /dev/nvidia* devices. This seems to be already solved with the newest nvidia drivers acording to [1]. Glad I could help. Urs [1] http://www.gentoo.org/doc/en/nvidia-guide.xml -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] xorg-x11 7.0 does not work with nvidia-glx-1.0.7174-r5
On Wed, 05 Jul 2006, Philipp Riegger wrote: On Jul 4, 2006, at 1:05 AM, Urs Schuetz wrote: Check whether you have /dev/nvidia[0..9] and /dev/nvidiactl. I don't have them. But the kernel module is loaded. I'll have a look at udev now. They are essential, you want them. From http://www.gentoo.org/doc/en/nvidia-guide.xml : Code Listing 3.2: Creating the nvidia device nodes # /sbin/NVmakedevices.sh If your /dev/nvidia devices are still missing every time you reboot, then it is most likely because udev is not automatically creating the proper device nodes. You can fix this by re-running NVmakedevices.sh, and then editing /etc/conf.d/rc as shown: Code Listing 3.3: Editing /etc/conf.d/rc RC_DEVICE_TARBALL=yes This will preserve your /dev/nvidia nodes even if you reboot. Urs -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] xorg-x11 7.0 does not work with nvidia-glx-1.0.7174-r5
On Mon, 03 Jul 2006, Philipp Riegger wrote: Unfortunately i am forced to use nvidia-glx-1.0.7174-r5 because my graphic card is not supported by newer versions of the driver. I also use kernel 2.6.11 because of that. But now xorg does not seem to work with that driver: (EE) NVIDIA(0): Failed to load the NVIDIA kernel module! (EE) NVIDIA(0): *** Aborting *** (EE) Screen(s) found, but none have a usable configuration. Fatal server error: no screens found What can i do? I also tried to get it to work with nv instead of nvidia, but that does not work, too. I get some warnings but no errors. Check whether you have /dev/nvidia[0..9] and /dev/nvidiactl. Urs -- gentoo-user@gentoo.org mailing list
[gentoo-user] SOLVED: Acroread 7.0.5-r1 very slow startup
On Sat, 25 Feb 2006, Willie Wong wrote: On Sat, Feb 25, 2006 at 08:35:44PM -0300, Penguin Lover Urs Schuetz squawked: strace acroread shows that acroread 7.0.5-r1 uses a very long time with fonts and nonexistent directories like /usr/psres and /usr/share/fonts/afms//usr/share/fonts/afms: ... open(/usr/X11R6/lib/X11/fonts/Type1/fences.ttf, O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = -1 ENOTDIR (Not a directory) open(/usr/X11R6/lib/X11/fonts/Type1/l048013t.pfa, O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = -1 ENOTDIR (Not a directory) getdents64(5, /* 0 entries */, 4096)= 0 close(5)= 0 ... and hangs here for about 10 seconds, with CPU 100% used. This happens nine times during startup. from the forums: http://forums.gentoo.org//viewtopic-t-420754-highlight-acroread.html?sid=5118566558bdce7510b095567e7b6d4c the file ~/.adobe/Acrobat/7.0/Cache/UnixFnt07.lst stores a list of all the fonts on your system (which, in my case, gives 9387 entries) and apparently it tries to open those one by one on startup and look inside (what for, I don't know). Thanks for the forums link, and the other hints! The following ideas from the forum solved the slow startup: as user: rm ~/.adobe/Acrobat/7.0/Cache/UnixFnt07.lst ln -s /dev/null ~/.adobe/Acrobat/7.0/Cache/UnixFnt07.lst and as root: cd /usr/share/fonts chmod 750 100dpi 75dpi cyrillic misc ukr (I did not test this for side effects yet, try at your own risk!) Now the acroread startup times are back to normal. It helps to remove unused plugins in /opt/Acrobat7/Reader/intellinux/plug_ins Urs -- gentoo-user@gentoo.org mailing list
[gentoo-user] Acroread 7.0.5-r1 very slow startup
Acroread startup is very slow on my gentoo sistem. It takes more than 2 minutes to start acrobat on my old AMD Duron 800 MHz. Also on further startups the load time stays more or less the same. The CPU is 100% used during most of the startup period, which is strange. Top shows CPU usage of 75-98% for acroread during startup. I have this long startup time only since upgrade to version 7.0.5-r1. The older version 7.0.1.1 loaded within 15 seconds first load, and within 5 seconds on further loads. ldd /opt/Acrobat7/Reader/intellinux/bin/acroread showed a problem with the library path. So I added /opt/Acrobat7/Reader/intellinux/lib to LD_LIBRARY_PATH. I also moved plugins in /opt/Acrobat7/Reader/intellinux/plug_in to /opt/Acrobat7/Reader/intellinux/plug_in_DO_NOT_LOAD_THEM, and moved /opt/Acrobat7/Reader/intellinux/SPPlugins/ADMPlugin.apl to /opt/Acrobat7/Reader/intellinux/plug_in_DO_NOT_LOAD_THEM. But the startup time on version 7.0.5-r1 of acrobat reader is still more than 2 minutes. strace acroread shows that acroread 7.0.5-r1 uses a very long time with fonts and nonexistent directories like /usr/psres and /usr/share/fonts/afms//usr/share/fonts/afms: ... open(/usr/X11R6/lib/X11/fonts/Type1/fences.ttf, O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = -1 ENOTDIR (Not a directory) open(/usr/X11R6/lib/X11/fonts/Type1/l048013t.pfa, O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = -1 ENOTDIR (Not a directory) getdents64(5, /* 0 entries */, 4096)= 0 close(5)= 0 ... and hangs here for about 10 seconds, with CPU 100% used. This happens nine times during startup. I don't see any network activity during startup of acroread (blocked with: iptables -A OUTPUT -o eth0 -p tcp -m owner --cmd-owner acroread -j REJECT --reject-with tcp-reset) Sorry for the long lines. Can anybody conirm this slow startup, or is it just me? Any hints how to speed up acrobat reader 7.0.5-r1? Urs -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] X without console log window?
On Sat, 11 Feb 2006, Hans-Werner Hilse wrote: Hi, On Fri, 10 Feb 2006 19:08:25 -0200 Urs Schuetz [EMAIL PROTECTED] wrote: Everytime when I startup my computer, in X apears a minimized Console Log window icon. [...] I could not find the script ou option which starts this window. Where can I disable it? I don't even know what's the name of the executable for this window. it's xconsole, AFAIK usually started by the default Xsession script coming with xdm. configuration is in /etc/X11/xdm. That was it! It is in /etc/X11/xdm/setup_0 where xconsole gets started. Thanks! Urs -- gentoo-user@gentoo.org mailing list
[gentoo-user] X without console log window?
Everytime when I startup my computer, in X apears a minimized Console Log window icon. I would like to start my computer without console log window in X. I could not find the script ou option which starts this window. Where can I disable it? I don't even know what's the name of the executable for this window. x11-base/xorg-x11 6.8.2-r6 x11-wm/windowmaker 0.92.0-r3 app-admin/sysklogd 1.4.1-r11 Any help is appreciated. Urs -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] [OT] Disable memory
On Sun, 13 Nov 2005, Peper wrote: Hello, Is there anyway to disable specific part of memory? memtest86 freezes only when egzamining first MB of it. As a boot option for the kernel (e.g. /etc/lilo.conf): append=mem=exactmap [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] Somehing like this worked with older kernels, don't know how to do it with 2.6 kernels. Urs -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Alsa daemon won't start
On Thu, 28 Jul 2005, Christoph Eckert wrote: /usr/sbin/alsactl: set_control:873: failed to obtain info for control #30 (No such file or directory) the settings are stored in /etc/asound.state as soon as ALSA stops. Does this file exist and is it writeable? You can try to delete it and see if this helps. ...or recreate it with alsactl store This writes the actual mixer settings to a file, which will be read when you start alsa. __ Urs -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Enlightenment segfaults?
On Tue, 26 Jul 2005, Willie Wong wrote: I was away from my computer for one week, and so ran a massive update on sunday night. After the update, on Monday morning, I woke up to find my xsession ended with a message on the console that said something to the effect that Enlightenment segfaulted, because some supporting library tries to access memory that it shouldn't be accessing. I dismissed it as enlightenment throwing a hissy fit. But the same thing happened again this morning. The problem is, I don't quite know how to diagnose it. /var/log/Xorg.log only tells me it caught sig 11 and will die. Honestly, I don't think running strace will be the best idea yet, I'd like to save it as a last possibility, for the only reason that I don't even know how to reproduce the crash. X was up and running yesterday for over 14 hours, and enlightenment just crashed in the middle of the night. So: what logs should I check and how should I find out what exactly is causing the problem? W Disk full? df -h -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Cataloging MP3's
On Sun, 05 Jun 2005, Patrick wrote: I would like to add all my MP3 info like genre - artists - song and so on, of all the MP3 files that on my server into a mysql database. Is there a program that exists, or must i create my own scripts. TIA Patrick prokyon3 amarok urs -- gentoo-user@gentoo.org mailing list
Re: Re: [gentoo-user] Printer setup tool
On Thu, 02 Jun 2005, [EMAIL PROTECTED] wrote: I re-emerged cups, got cupsd to hold, setup my deskjet 722c as parralel port 0, It said everything was good, but the test page will not print! Suggestion: Change in /etc/cupsd.conf: LogLevel info to LogLevel debug or even to LogLevel debug2 Then restart cupsd, print, and read the logfiles again. I once had a problem with wrong Ghostscript. I installed app-text/ghostscript-afpl instead of app-text/ghostscript (the ESP Ghostscript from www.cups.org). urs -- gentoo-user@gentoo.org mailing list
[gentoo-user] Ebuild for RealPlayer-10.0.4 not working: Aborting before download
Just tried to install mplayer with the real USE-flag set, which results in additional installation of RealPlayer-10.0.4. However, the installation is not working, as there is an error before the download of RealPlayer: Here is what «emerge mplayer» does: emerge (1 of 2) media-video/realplayer-10.0.4 to / Downloading https://helixcommunity.org/download.php/1145/RealPlayer-10.0.4.750-20050401.i586.rpm The URL syntatically wrong! !!! Couldn't download RealPlayer-10.0.4.750-20050401.i586.rpm. Aborting. (sorry for the long lines!) The download url is correct, I can manually download the RealPlayer rpm. My questions: Where expects portage the downloaded RealPlayer to be? Can it just be moved there, or has something else to be done? What means The URL syntatically wrong!, and why spits portage something like this at me, even if the URL is working? Somebody else has this or is it just me? Does it need a bug report or not? And where? RealPlayer or Portage? Urs -- gentoo-user@gentoo.org mailing list