Re: what's the killer app for GNU/Linux systems?
Nate Duehr wrote: Tshepang Lekhonkhobe wrote: Hi, A killer app is an application that compels one to use a certain system. On Debian lists, someone mentioned that meld, a GUI diff utility, was killer. I can't think of any I have because I moved to GNU/Linux for its said overall magnificence, instead of a particular application, and today there's isn't one utility I admire so much I'd consider such... maybe gnome-terminal, lsof, grep, top, epiphany-browser, or less. I'd mention admirance for Blender, GCC, Python but they are cross-platform. I'd mention GNOME, but it's a 100 apps. So I give up and ask you, what's your killer app(s)? The kernel. Without it, I wouldn't be here. :-) Nate Okay, I can top that: The GPL. :-) twice. -Matthew -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Maze of Twisty Turny Little Package Managers
John Hasler wrote: s. keeling writes: And the downside is, you might say: apt-get remove $SOME_GNOME_PROGRAM and it will also remove Gnome (if you let it); Ditto KDE. Gnome and KDE are metapackage which have no contents. They exist only to pull in all the real packages they depend on. Once that is done they serve no purpose and can be removed with impunity. That's not strictly correct. They can be removed only if you don't care about getting any new real packages. If, for example, a new basic Gnome program came out and was added to the dependencies of the gnome package, most people would probably want to get that automatically, so it is generally a good idea to keep those meta-packages around. Regards, Matthew -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Maze of Twisty Turny Little Package Managers
Arlie Stephens wrote: Hi Folks, It appears that there are a lot of tools for managing packages and dependencies on debian - dpkg, apt-get, aptitude, synaptic, . To what extent do these tools understand the same data, i.e. to what extent can one mix and match between them? I notice some confusion (someone else's question) about which are the 'official' or favored method in debian - but my confusion is even more fundamental. To what extent is it safe to follow people's recomendations, when one person habitually uses apt-get, another mentions aptitude, etc. etc.? Hi Arlie, Most of the answers you are getting don't seem to address your real question, so keep in mind that I don't use aptitude, but I'll try to answer. You should be able to safely use any combination of apt-cache, apt-get, synaptic, update-notifier, update-manager, deborphan, gtkorphan, and probably gdebi. Mixing aptitude with apt-get, synaptic, or gdebi may cause weirdness. It won't kill you, if you're careful. Aptitude should work fine (I think) mixed with the other programs mentioned. As to your other question below, I don't have a clue. :) Regards, Matthew Related to this, I've a problem specific to a combination of aptitude and my employer's internal servers. (We've got mirrors of several linux distros, with company value add, which I'm expected to use rather than the official distributions.) The people maintaining these sites don't seem to use aptitude at all, and I think they've broken something, because aptitude always tells me that most upgradeable packages are held at some current, lower version. (They claim not to have done this on purpose, which was my first guess, since I can imagine them wanting to test and officially 'bless' new versions.) Any idea what they could have done, and how I could work around it? (I don't think it's debian itself, because my home system - which uses the official sites - doesn't have any such problem.) Perhaps what I really need is some kind of FAQ for coping with the large number of package management options and their confusing interrelationships. Does any such thing exist? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: what applications use famd?
charles norwood wrote: On Tue, 2006-11-28 at 21:18 -0500, Roberto C. Sanchez wrote: On Tue, Nov 28, 2006 at 05:18:02PM -0800, charles norwood wrote: Hi list. What applications use famd? man -k famd famd (8) - The File Alteration Monitor (FAM) daemon Thanks, Chuck $ apt-cache rdepends fam fam Reverse Depends: stopmotion gamin doodled apachetop lincvs libgnomevfs2-0 libfam0c102 |gnome-desktop-environment gnome-commander education-desktop-gnome apachetop I get a larger list - see below. Also, that list includes Gamin, which actually conflicts with fam. In fact, I'm confused. If I try to install fam, it tries to rip out a lot of Gnome stuff, and some other things, like Samba. This is apparently because these things need Gamin, which according to it's description is a subset of fam. Why would all these packages require a subset of fam, but not take fam itself? # apt-get install fam Reading package lists... Done Building dependency tree... Done The following packages will be REMOVED: alacarte bonfire brasero bug-buddy deskbar-applet eog epiphany-browser evince evolution evolution-data-server evolution-exchange evolution-plugins evolution-webcal fast-user-switch-applet file-roller firefox-gnome-support gamin gcalctool gconf-editor gedit gnome-about gnome-applets gnome-btdownload gnome-control-center gnome-core gnome-cups-manager gnome-desktop-environment gnome-games gnome-keyring-manager gnome-media gnome-menus gnome-netstatus-applet gnome-panel gnome-power-manager gnome-screensaver gnome-session gnome-system-monitor gnome-system-tools gnome-terminal gnome-user-guide gnome-utils gnome-volume-manager gnomemeeting grdesktop gsambad gstreamer0.10-gnomevfs gtkhtml3.8 gucharmap inkscape libbonoboui2-0 libebook1.2-5 libecal1.2-6 libedata-book1.2-2 libedata-cal1.2-5 libedataserverui1.2-6 libeel2-2 libexchange-storage1.2-1 libgamin0 libgnome-desktop-2 libgnome-menu2 libgnome-window-settings1 libgnome2-0 libgnome2-perl libgnome2-vfs-perl libgnomecupsui1.0-1c2a libgnomeui-0 libgnomevfs2-0 libgnomevfs2-bin libgnomevfs2-extra libgtkhtml3.8-15 libgucharmap4 libnautilus-extension1 libpanel-applet2-0 libtotem-plparser1 mysql-query-browser nautilus nautilus-cd-burner openoffice.org-gnome pcmanfm python-gmenu python-gnome2 python-gnome2-desktop rhythmbox samba sound-juicer totem totem-xine update-manager update-notifier vino yelp The following NEW packages will be installed: fam 0 upgraded, 1 newly installed, 91 to remove and 3 not upgraded. Need to get 70.3kB of archives. After unpacking 208MB disk space will be freed. Do you want to continue [Y/n]? NO! Here are my fam dependencies for the OPs reference: $ apt-cache rdepends fam fam Reverse Depends: libgnomevfs2-0 libfam0c102 |gnome-desktop-environment gnome-commander education-desktop-gnome apachetop gnome-desktop-environment crossvc stopmotion nautilus libgnomevfs2-0 libfam0 kdelibs4c2a gnome-desktop-environment gamin |fileschanged doodled bmpx bcfg2-server apachetop Regards, Matthew -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: SQL question about performance...
Dirk wrote: Hi! (I've asked this before but my account seemed to be deleted for some reason...) I have the choice between VARCHAR(8) and INT(10) to store unsigned crc32 values in hex or as decimal integer. Which one would result in more speed after putting an INDEX on it? VARCHAR(8) or INT(10)? ...I use mySQL.. 1. I don't think anyone minds, and those who have knowledge will try to help, but you would really probably be better off asking on a MySQL list. 2. You are storing, I think, 4 bytes of data, and considering storing it as a hex-encoded 8-character string. Why not use CHAR(8) rather then VARCHAR(8)? You won't be storing less then 8 characters, and CHAR(8) may be faster. 3. Why use INT(10) instead of just INT? That does not effect the storage, only pads the output. 4. The MySQL docs have lots of good optimization advice. Check http://dev.mysql.com/doc/ if you haven't. Start with the reference manual, it is very extensive. 5. My intuitive answer is, use INT. I'm not an expert on MySQL optimization, though. Hopefully helpful, Matthew -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Package management questions
Hello all, I've followed every thread on this list about these programs, and not seen these issues really addressed. I was wondering if anyone would care to clarify (from an objective, non-cheerleader stance) the differences between aptitude and apt-get. I understand that aptitude has a smarter ability to remove dependencies that are no longer needed. That's great, but we all know sometimes when a program tries to be to smart it can be trouble. Every time I try to use aptitude, it tries to rip out half my system. In another thread (I've lost track of it now), someone said something to the effect that aptitude is the new standard. Is that true? Is this an actual change in Debian standards? If so, why does Etch currently set you up with update-notifier and Synaptic, which as I understand, are more in line with the apt-get way of doing things? There are, I understand, problems that come up when you mix apt-get with aptitude. Does switching to aptitude preclude using those graphical tools? I love the command line and am probably comfortable with it to an extent that some would find unsettling, but update-notifier and synaptic are examples of fantastic GUI programs that I would not want to give up. Whats more, when teaching a newbie, it's great to be able to say see, here is this nice icon that pops up and tells you when there are new updates available, and here is the program you can use to find and install new programs. Everything is in one place, and it is MUCH easier then Windows. Can anyone clear this up? Thanks, Matthew -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Xkb caps lock behavior
Bert Verhaeghe wrote: Hi all, I have the following problem. I need to change the keyboard behavior for X with pc105 model and be layout for the CAPS_LOCK key. When CAPS_LOCK is locked, not only the alfanumeric keys (a, z, ..) should produce (A,Z, ...) but also the other keys (, é, :, =, ...) should produce (1, 2, +, /) just as the SHIFT key does. Hence CAPS_LOCK is actually SHIFT_LOCK. Could this be done by specifying a rule or options in xorg.conf or should the XKB files need to be changed? Hi Bert, I don't think you will need to resort to anything so drastic. You should be able to get the behavior you want with xmodmap, and optionally its front-end xkeycaps. Regards, Matthew -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: cron-apt with no mta
Rob Bochan wrote: On Tuesday 14 November 2006 10:32, Dave Sherohman wrote: An MTA is nothing. Really. ... I appreciate the reply, but it's not a solution for me. In fact, it's one I explicitly don't want. I do the occasional Linux install for fairly clueless folks who own older hardware, and I'm not going to subject them to the the headaches and overhead of running unnecessary services, especially a mail server. I was just looking for a convenient way for them to be informed of updates, or have them automatically done with something other than a cryptic log file for them to look at. It seems too obvious, but have you looked at update-notifier? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Cannot change default browser
cothrige wrote: * Kelly Clowers ([EMAIL PROTECTED]) wrote: You could just install kcontrol; it looks like it only depends on a couple of things that kopete doesn't. I tried this, but it is not working. It installed okay, and opens, but the left hand pane, where one would expect to see the menus and choices, is blank. Otherwise, try opening ~/.kde/share/config/kdeglobals There should be an entry like this: [General] BrowserApplication=!/usr/bin/epiphany Change that to firefox and hopefully you will be ready to go. I have not tried this, and I am not responsible if your monitor explodes. I opened this file, but there was no such entry in it as BrowserApplication or anything labelled [General]. So, I added them just in case that may work. However, I still always get epiphany. Though, on the up side, my monitor did not explode. Perhaps this is hard encoded into Kopete these days. It clearly doesn't use anything in the system to decide this. Isn't Kopete a KDE program? And Epiphany is Gnome? Seems like a very unlikely hard-wiring. Google search... http://www.google.com/search?q=kopete%20default-browser First link... http://www.kde-forum.org/archive/14334/thread.html Might be a hint. Apparently, a lot of people have this problem. HTH, Matthew -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: launcher for terminal ap
Mark Grieveson wrote: Disclaimer: not a pressing issue, but a curiosity none-the-less. Hello. I'm setting up an old laptop for an inexperienced user, and I'd like to set up a dictionary on the the desktop. The laptop will not be connected to the internet (except for the occasional dial-up connection for email). I tried opendict, but I find it's slow on this laptop (I'm using xfce4, with neither Gnome nor KDE). opendict is a large program using python, and runs very slowly. I discovered dict, a terminal application, which works quite well. I'm wondering how to have a launcher on the desktop that will open a terminal, with the command already present (ie, the terminal starts, with dict already typed, meaning the user does not have to remember this command, and can simply enter the word they want a definition for.) A launcher for a terminal is exo-open --launch TerminalEmulator, but having the terminal already have the command dict entered seems beyond me. If it's not possible, I'll just name a launcher for the terminal dict, which will remind the user of the necessary command. Perhaps a shell script could work, if not a launcher set-up. Or, if there are other light dictionary clients that may work well, feel free to suggest them. Install Zenity (may be installed already) and use: zenity --info --text $(dict $(zenity --entry --text 'Enter a word to lookup')) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Ubuntu package in Debian repos
Roberto C. Sanchez wrote: On Tue, Nov 14, 2006 at 06:43:13AM -0500, Craigevil wrote: This is rather strange and disturbing a Ubuntu package in Debian. Since I do not choose to run *buntu but Debian Sid, I feel the maintainers should rename the package. What's next the *buntu desktop package? Package update-manager * testing (gnome): GNOME application that manages software updates 0.42.2ubuntu22-5: all * unstable (gnome): GNOME application that manages apt updates 0.42.2ubuntu22-7: all 0.41.1.dfsg+CVS20051105-2: kfreebsd-i386 This has been brought up on the debian-devel mailing list. I think the issue with this particular package is that Ubuntu is considered the upstream developer and so that is how they have versioned their package. But I agree with you that the version number should be changed before being included in Debian. That's just freaky. Ubuntu considers Debian to be upstream for most things. Can this cause an infinite feedback loop in the dependency trees and crash the internets? All of them?? :) -Matthew -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Need to remove a ghost file, but can't because it doesn't exist
J.A. de Vries wrote: On 2006-11-15 @ 11:20:46 (week 46) Ralph Katz wrote: How about: # rm -f 1141914051.* No promises... but something like that worked once for me in a similar mysterious situation. Ah, hadn't tried that yet. Too bad it didn't work. $ rm -i 1141914051.* rm: cannot lstat `1141914051.M484859P8695V0309Ip0007553_0.draupnir,S=3707:2,S': No such file or directory I'm thinking you have a file with a name that the shell doesn't want to handle correctly. Try these: # echo 1141914051.* # ls | grep 1141914051 See if the file is shown. My guess is you will get two different results. Try using rm with the full file name from the second command (copy and past is your friend here) in quotes. (Assuming here that only one file matches that glob pattern. Otherwise that won't work so well.) The filename could (hypothetically) also screw with your terminal... Another approach would be to type rm 1141914051. and then hit your tab key, see if the name auto-completes. If this doesn't work you might want to try using a file manager to remove the file. If that doesn't work, I would suggest that a fsck might be in order. Good luck, Matthew -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Cupsys, using gimpprint driver instead of gutenprint
T wrote: Hi, The new cupsys in Etch does not work for me, while the old cupsys in Sarge works perfectly. After switching to Etch, I've had 3 attempts trying to make it works, but failed 3 times. (My latest attempt and problem logged at: http://www.cups.org/newsgroups.php?s3095+gcups.bugs+v3104+T0 ) Suddenly it occurs to me that in Sarge, I am using gimpprint driver, while now I'm trying the gutenprint driver, and I do know that people are not using the gutenprint, to avoid the trouble, while looking for answer to my problems. Yes, Cupsys and Gutenprint are not getting along in Etch. I had to pull my hair out for a few weeks on this, until finally someone on this list confirmed that I wasn't the only one, identified the problem and filed it as a bug report. This has been fixed in Sid and I am sure the fix will move in to Etch soon. You can either upgrade to the version in Sid or wait it out. The version in Sid is working fine for me. If you don't want to mix your system and can't wait, you can also use the web interface to point Cupsys to your drivers. Rough guide: 1. Use locate to find your printers PPD file 2. Go to http://localhost:631 and create a new printer 3. When it gives you the option, instead of selecting a printer from the list, browse to the the ppd file you found in step 1. Luckily the gimpprint driver set is still in Etch: cupsys-driver-gimpprint - printer drivers for CUPS foomatic-db-gimp-print - linuxprinting.org printer support - database for Gimp-Print printer drivers gimp-print - print plugin for the GIMP gimpprint-doc - Users' Guide for Gimp-Print and CUPS gimpprint-locales - Locale data files for Gimp-Print libgimpprint1 - The Gimp-Print printer driver library So I removed all foomatic/cupsys related package and re-install the 4th time. But to my surprise, I see no gimpprint driver, but only the gutenprint driver that didn't work for me. So here is my question, For cupsys in Etch, is it possible to use gimpprint driver instead of gutenprint? The gimpprint package in Etch is just an empty package that depends on gutenprint since the name was changed. Good luck, Matthew -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Dirty spam
Michelle Konzack wrote: Hello *, Am 2006-10-20 08:28:01, schrieb Andrew Sackville-West: If you are using t-bird to get mail directly from a pop server, then I think you're stuck. But you COULD, setup fetchmail to get your mail, reconfig exim to use spamassassin and whatever else you want) and then deliver that mail to your mail locally for t-bird to pick up. but that may be using a 2x4 to swat a fly, I don't know. Can t-bird pipe messages through external programs? If so, you might look at bogofilter as its stupid easy to setup and train. Since you need only basic functions use mailfilter to drop the messages on the Server, then download it with fetchmail and filter it with procmail to a maildir ~/Maildir/ And last not least, install courier-imap which will work Out-of-The-Box for Mozilla, Thunderbird or any other IMAP capable MUA. I prefer dovecot-imapd, from (limited) personal experience, but don't know much about the differences in theory. Any reason to prefer courier-imap? Regards, Matthew -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: window maker upgrade
Mark Olsen wrote: On Tue, 7 Nov 2006, Tom Allison wrote: I dunno what happened, but I did an upgrade on my -testing installation and my Window maker preferences are completely screwed up. I experienced the same, although on unstable. My key bindings were gone, as were most of my settings, and the theme had completely changed. I haven't had a problem... but I haven't logged out, so it is still the non-upgraded version running. I have a *lot* of customized settings. I know you have your own problems right now but please please please post if you learn anything about what happened so that others can avoid it. I'll be tarring my GNUStep directory, maybe that will give me an easy fix. Good luck, Matthew -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: yahoo mail and firefox
T wrote: Hi, Do you use yahoo mail, its web interface, regularly? Do you use firefox for that? Have you notice any problems? I access my yahoo mail web interface using firefox almost every day. But I bumped into problem from time to time. Sometimes I have Sorry, Bad Request. Your browser sent a request that this server could not understand. when trying to use any of the yahoo mail command buttons, e.g. delete, mark read, mark as spam, sometimes they just simply don't respond when clicking on them. Today, the yahoo mail command buttons are not responding again (when clicking on them). Moreover, every email turns out completely blank. I tried to select the blank space via dragging the mouse but also nothing there. Only Printable View can show them. The problem does not exist when using epiphany. Have you notice any problems? I'm no expert, but it seems extremely unlikely to me that this is Yahoo's problem, especially since you imply that it has been going on for some time and you have a recent Firefox. If I had to guess, I would say that it sounds like a problem on your end with Javascript. You might try disabling that and see if that fixes it. Obviously, this would only hide the problem, unless you are happy to live without Javascript, but could be a useful point of information. Also, I download my Yahoo mail with fetchyahoo so that I don't have to go on their web interface at all -- just a suggestion in case you are interested. Matthew thanks PS, my firefox: $ apt-cache policy firefox firefox: Installed: 1.5.dfsg+1.5.0.7-1 Candidate: 1.5.dfsg+1.5.0.7-1 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Etch/Cupsys/Gutenprint - failure to communicate
Osamu Aoki wrote: On Mon, Oct 23, 2006 at 03:31:37PM -0400, Matthew Krauss wrote: Hi, On a clean new Etch install, I can't seem to see any Gutenprint printer drivers (ie. the Canon iP4000) from any Cupsys printer setup tool (ie. gnome-cups-manager, http://localhost:631). I have cupsys, cupsys-driver-gutenprint, and foomatic-db-gutenprint installed. Plenty of printer drivers show up, but none of them seem to be Gutenprint drivers. I have also tried upgrading to the cupsys in Sid. I have googled endlessly. I just filed a bug report now. I see the same problem. Thank you. Install foomatic-gui and all foomatic related data and gutenprint things, you can set up OK. I would rather not do this, since I have read that using Foomatic instead of Cups is perhaps unreliable. Also, Florian Kulzer gave me a solution that works for now, and I can now happily wait to see what happens with the bug you filed. Of course, if anyone working on this needs extra information from me I'll be happy to oblige. Thanks much for verifying that I am not crazy :) and for filing the bug report. Regards, Matthew -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: [OT] M$ collaborates with Suse
Steve Lamb wrote: Ron Johnson wrote: But because of their lock on the desktop, they also have incredible userland and developer mindshare. You sure? I had a rather interesting conversation at work the other day. I work at a casino outside of Vegas and the guy in charge of what technology we use for our property came up to me and asked, You're good at Linux, right? Perl, Python scripting? A-yeah. Good. We can do a lot with Linux for very little cost. Certainly something we're looking at. Coolness, sounds like good news for your career too! This reminded me, I was in a casino and saw a video slot machine crash -- someone came by and rebooted it, and I could see the boot sequence. It was Linux. I asked the guy, and he didn't know what Linux was at all, but he said that pretty much all the machines looked like that when you booted them up. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: [OT] M$ collaborates with Suse
Ron Johnson wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/06/06 12:53, Matthew Krauss wrote: Steve Lamb wrote: Ron Johnson wrote: [snip] Coolness, sounds like good news for your career too! This reminded me, I was in a casino and saw a video slot machine crash -- someone came by and rebooted it, and I could see the boot sequence. It was Linux. I asked the guy, and he didn't know what Linux was at all, but he said that pretty much all the machines looked like that when you booted them up. Linux crashed? That's bad. Well yes... but then we are talking about one out of hundreds of machines running continuously 24/7 and running some weird proprietary software *and* hardware, and that's the only time (out of many times being dragged to casinos) that I've seen this happen. (Much more common is hardware failure like a paper-jam in the mechanism that takes the money or prints out the little tickets.) It looked like he just hard-booted it and it came back up right where it left off. All the machines say Malfunction voids all pays and plays, but the person who was on it just went right back to pushing the little button and watching the virtual reels spin, no voiding needed. Matthew -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Etch/Cupsys/Gutenprint - failure to communicate
George Borisov wrote: Matthew Krauss wrote: Anyone? (..crickets chirping..) If all else fails, get hold of the PPD file and copy it into the /usr/share/cups/drivers folder. That should ensure that Cups can see it. Thanks, I tried that, but it still does not show up. Is there any more information I can provide? Does anybody know if this should be reported as a bug? (Again, this is a clean Etch install, and *all* Gutenprint drivers are inaccessible, which I think would effect a lot of people.) I would like to solve this problem, not just for myself (I have a reasonable workaround as mentioned earlier) but for others -- I just don't know how to proceed now. Thanks, Matthew -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Etch/Cupsys/Gutenprint - failure to communicate
Matthew Krauss wrote: José Alburquerque wrote: José Alburquerque wrote: Matthew Krauss wrote: Hi, On a clean new Etch install, I can't seem to see any Gutenprint printer drivers (ie. the Canon iP4000) from any Cupsys printer setup tool (ie. gnome-cups-manager, http://localhost:631). I have cupsys, cupsys-driver-gutenprint, and foomatic-db-gutenprint installed. Plenty of printer drivers show up, but none of them seem to be Gutenprint drivers. I have also tried upgrading to the cupsys in Sid. I have googled endlessly. Help?! Thanks much, Matthew In case this might help, here's a list of the gutenprint packages installed on my sid system: [07:[EMAIL PROTECTED]:~]$ dpkg -l | grep -i guten | cut -d' ' -f 3 cupsys-driver-gutenprint foomatic-db-gutenprint ijsgutenprint libgutenprint2 libgutenprintui2-1 Also, by reading the package description, I found that if you want to be able to select your printer from the web interface of CUPS, you'll probably want to have the 'foomatic-filters-ppds' package installed. HTH. What's really weird is that I don't see your printer or mine (Epson Stylus C82) on the list of drivers using gnome-cups-manager or the cups web interface. I do see both the Canon iP4000 and the Stylus C82 using the foomatic-gui. Here are the foomatic packages on my system: [07:[EMAIL PROTECTED]:~]$ dpkg -l | grep -i fooma | cut -d' ' -f 3 foomatic-db foomatic-db-engine foomatic-db-gutenprint foomatic-db-hpijs foomatic-filters foomatic-filters-ppds foomatic-gui python-foomatic Thanks José, I forgot to mention that foomatic-gui recognizes the driver -- but at least for me, foomatic-gui won't set it up in a way that actually, you know, works and stuff. This is why I titled the post ... failure to communicate -- it looks like Cupsys and Gutenprint (or maybe Cupsys and Foomatic?) are effectively not communicating. Yes, I have all those exact same packages installed, actually. Looks like you and I have the same problem. At least I'm not alone in this :) Something you may find useful: I can (and have) actually set up the printer using an entirely incorrect driver. This doesn't let *me* print -- but it does let me share the printer so the Windows machine on my network can print to it just fine. Anyone else have any ideas? Anyone? (..crickets chirping..) If nobody has any idea what is causing this, and bearing in mind this is on a fresh Etch install, should a bug report be filed? If so, should I file it? If so, um, how? Many Thanks, Matthew -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: get pkg name
linux china wrote: hi, using the dpkg -l to get a list some installed package lists like this, dpkg -l some-pattern if the package name is too lang, its name is cut because of the limit of the columns 80. if I wanna output name and description, what's the command line? The Easy Way: dpkg -l some-pattern | less Others have mentioned how to get only the name and description as you asked; but I think your intent is really to get the whole name, right? Anything you do that changes the standard output of the command so that it is not writing directly to a terminal will cause it to make all fields as wide as necessary. This includes any redirecting using | or , so what Douglas Tutty wrote will also work: dpkg -l some-pattern op.txt .. then you may view the file op.txt however you like. If you want the output directly to your terminal without using less or going through a file, you can just redirect to the cat command: dpkg -l some-pattern | cat HTH, Matthew -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: The crippled resurrection of said etch.
[EMAIL PROTECTED] wrote: On Thu, Oct 26, 2006 at 10:25:37AM -0400, Matthew Krauss wrote: [snip] What I would try to isolate the problem is: 1. Reboot in to single user mode. 2. Log in as root. 3. Try starting X alone: $ X 21 | less 3a. If X starts, you may kill it with ctrl-alt-backspace; X starts. Killed it with ctrl-alt-backspace 3b. If X does not start, you have the output to debug; 3c. If you get a kernel panic, you know you have serious X problems. 4. Next try starting gdm directly: $ /etc/init.d/gdm start 4a. If gdm starts, there is probably a problem in your startup scripts; 4b. If gdm does not start, you can check the logs under /var/log/gdm/ 4c. If you get a kernel panic, you know you have serious gdm problems. gdm starts. A cursor blinks in the upper left of a black screen, then the cursor disappears, leaving the black screen of death. Did a hard reset to reboot. No trace of a log file. try /etc/init.d/kdm start it refuses; kdm is not default. dpkg-reconfigure kdm and make kdm the default. repreat /etc/init.d/kdm start acts just like /etc/init.d/gdm did before -- black screen of death This was good thinking, here -- it's very surprising, but you seem to have shown that both gdm and kdm have a problem where X alone does not?? I'm not sure how to explain that off hand, but will think about it... At any rate, you've also ruled out interference from more than one *dm running at a time. reset to reboot. This time, after the usual environment checking, it starts a maintanance shell with a shorter path: /lib/init:/sbin:/bin As a result, lots of commands don't work. Suppliying the path explicitly, /usr/bin/dpkg-reconfigure fails. Its first error message reports that it cannot execute the 'locale' command. True enough. 'locale' is not on the path. This looks like a but in dpkg-reconfigure -- shouldn't scripts that are executed as root specify their command names a little more explicitly? Something is wrong with the maintenance shell this time -- why has its $PATH suddenly changed? Just a wild wild guess, but maybe you have developed problems on your file system from the hard boots -- if there is anything more serious then the automatic checks can handle, you will be dumped in to maintenance shell from where you are supposed to fix it, and I *think* that it is different from the regular single-user mode you were using before. Did you see any messages to that effect? Something about running fsck? Regards, Matthew [snip] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: How to cut/crop a part of a PDF file
Stefan Monnier wrote: What tool can I use to extract some part of a pdf file? In kpdf, I can copy a piece of the PDF image and save it, but it's only saved as a bitmap, whereas I'd like to keep it in vector form. You don't ask much, do you? No, indeed. Mac OS X's `preview' does it out of the box. Really? Cool. Of course, I have to admit OS X is pretty impressive, even if it isn't my cup of tea. Still, I will say that Apple and Adobe get along pretty well, and I wouldn't be surprised if they licensed some code from Adobe for the purpose -- not something that can be expected in the FLOSS world. theory AFAIK: PDF is not strictly speaking a vector-graphics format. It is a subset of Postscript, which is actually a programming language for drawing documents. It is designed for output, not input or editing. Therefor, it is *very* hard to convert from PDF to a structured document format. /theory Actually, PDF is not a programming language, contrary to Postscript. So it's much easier to deal with (and more difficult to introduce viruses into it, among other things). Really? Can you explain more about this? I thought PDF was a subset of Postscript with some kind of compression and/or encryption applied. Was I mislead? If so, what is it really? Is there no relationship between the two? What exactly are you trying to extract? For example, I have a PDF which contains a poster with (on the side) some meta-information about the author, the intended color scheme, the intended paper quality, the revision number, the order number, the purpose, the date, and I'd like to take the poster part and throw away the rest. I assume you aren't trying to get pictures out, but for the benefit of anyone else, I'll mention pdfimages from the package xpdf-utils, which will extract the bitmapped images from a PDF. I do want a picture out, but not a bitmap picture. Right, I can't help there, but see the other replies you've gotten -- I'm really glad you asked this question, because I had given up on finding anything beyond the tools I mentioned, and now there are at least three new tools to look at! Regards, Matthew Also from xpdf-utils you can find pdftops -- converting PDF to Postscript is kind of silly, but just mybe you can do what you want with a Postscript. I thought about it too, but couldn't find a postscript tool that does it. Scribus is probably your best bet for actually importing a PDF in any friendly way -- I think they were at least working on that, not sure if it is really usable Hmm... never heard of it. Looks interesting. I don't know how to make it read PDF, tho. Finally, pdftk is described as an electronic stapler-remover, hole-punch, binder, secret-decoder-ring, and X-Ray-glasses for PDFs. Most notably for your question, it will let you split the pages in to separate files. Yes, I looked at it, but I want to extract part of a page. Stefan -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: The crippled resurrection of said etch.
Hi, I haven't been following this to closely so I may be missing something, but this message caught my eye. I'm not sure how experienced you are, so I will try to be very explicit -- if I tell you things you think are obvious, please forgive me. [EMAIL PROTECTED] wrote: On Wed, Oct 25, 2006 at 12:34:02PM -0700, Andrew Sackville-West wrote: [EMAIL PROTECTED] wrote: Four more reboots, one successful. It seems to ba a problem starting gdm. Hmm... It sounds like a race condition, obviously. From what I have read in this thread, I would guess that there is a very good probability that you have an old startup script laying around from a package that has been otherwise removed or upgraded. it could be an X problem or a gdm problem, but probably I'd guess X. It tell sme it's starting gdm, then that it'snot starting kdm because it's not the default, then that it's not starting (presumably another *dm) because it's not the default thats normal. X does sanity checks to make sure you're not starting more than one session manager or whatever. I know that. I just thought that the last message before the crash might be a clue to what went wrong -- such as an unfortunate race condition between gdm and whatever thing decides not to start the other. But I admit this is unlikely. then the black screen of death, preventing me from reading which other *dm it was considering. are you locked up hard at that point or can you switch to a vt? ctrl-alt-fx? Locked up hard. THough I suppose I should try ssh-ing in. When you say black screen of death I assume you mean a kernel panic? If so, ssh-ing won't work. Also, notably, a kernel panic should *never* happen (theoretically!) -- it is always the result of either a kernel bug or a hardware failure. No user-space program should be able to cause a kernel panic. What I would try to isolate the problem is: 1. Reboot in to single user mode. 2. Log in as root. 3. Try starting X alone: $ X 21 | less 3a. If X starts, you may kill it with ctrl-alt-backspace; 3b. If X does not start, you have the output to debug; 3c. If you get a kernel panic, you know you have serious X problems. 4. Next try starting gdm directly: $ /etc/init.d/gdm start 4a. If gdm starts, there is probably a problem in your startup scripts; 4b. If gdm does not start, you can check the logs under /var/log/gdm/ 4c. If you get a kernel panic, you know you have serious gdm problems. In the case of 4a., where you have a problem in your startup scripts: 5. Kill gdm -- use ctrl-alt-F1 to return to your terminal, and issue: $ /etc/init.d/gdm stop 6. Switch to the default runlevels rc directory and ls it: $ cd /etc/rc2.d $ ls See all the links named S##* .. where ## is a number .. and * is the rest of the name? At startup, these are all started in the order of the ## numbers. Scripts with the same number as gdm start at the same time. These are good candidates for a race condition. For instance, I have: S99gdm S99rc.local S99rmnologin S99stop-bootlogd You probably have all of these, plus: S99xdm S99kdm .. and others? 7. Try starting up the scripts with the same number as gdm in various orders. Consider which ones sound likely to be the problem. For instance, you have guessed that another *dm is your problem, so try starting first xdm and then gdm, then the other way around. If you make a crash, congratulations! Oh, to start a script, ie. S99gdm, use: $ ./S99gdm start S99rc.local actually runs /etc/rc.local which might have anything in it, so that is worth looking in to. You should probably look at /etc/rc.local and see what it is doing. Scripts with other numbers are possible too -- just less likely -- so you may want to try them if you don't find the problem in the good candidates first. Hopefully helpful, Matthew Could it be that the *dm is interfering with gdm starting up? Maybe it's whatever it does *after* trying its hand with the *dm'a that is the culprit? Anyone know what that is? Should I try making another *dm the default? Should I try purging the other *dm's? Should I try purging gdm? Should I try running a general update of everything just in case? as Andre said, /etc/init.d/gdm stop. then I'd get rid of the links for the moment so you can actually work on the thing: update-rc.d gdm -f remove update-rc.d kdm -f remove and so forth. Then you can use startx as a user and see what happens. Might be easier just to do this in maintenance mode, which doesn't start the things in the first place. There's a point -- in the two-Debian philosophy of system maintanance, use there any way of using, say, aptitude running on one system to install, uninstall, configure and so forth the other? It suddenly struck me as potentially useful. Doesn't the installer do something like this,
Re: How to cut/crop a part of a PDF file
Stefan Monnier wrote: What tool can I use to extract some part of a pdf file? In kpdf, I can copy a piece of the PDF image and save it, but it's only saved as a bitmap, whereas I'd like to keep it in vector form. Stefan You don't ask much, do you? theory AFAIK: PDF is not strictly speaking a vector-graphics format. It is a subset of Postscript, which is actually a programming language for drawing documents. It is designed for output, not input or editing. Therefor, it is *very* hard to convert from PDF to a structured document format. /theory What exactly are you trying to extract? I assume you aren't trying to get pictures out, but for the benefit of anyone else, I'll mention pdfimages from the package xpdf-utils, which will extract the bitmapped images from a PDF. That package also contains pdftotext which will extract the text stream, but with no formatting. For simple documents this can be useful -- other times, it might be very garbled, as the order the text is in in the file is not guaranteed to match the order on screen / paper. Also from xpdf-utils you can find pdftops -- converting PDF to Postscript is kind of silly, but just mybe you can do what you want with a Postscript. Scribus is probably your best bet for actually importing a PDF in any friendly way -- I think they were at least working on that, not sure if it is really usable Finally, pdftk is described as an electronic stapler-remover, hole-punch, binder, secret-decoder-ring, and X-Ray-glasses for PDFs. Most notably for your question, it will let you split the pages in to separate files. If anyone knows any better tools then these, I want to know! Regards, Matthew -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Petition about the Firefox trademark problem
Mike McCarty wrote: Steve Lamb wrote: Hans du Plooy wrote: Calling someone a weasel has never been a compliment *covers his ferrets eyes* Hey, there's children present! Sheesh, some people. I enjoyed that post. Well, how about Web Ferret? Ferret, AFAIK, only has neutral connotations, and in this context, perhaps good ones (nosing around for information). Freaky! Many years ago I contemplated writing a web browser -- that was the name I was going to give it. It followed naturally from having used Gopher before the web. (Never got past the contemplation phase.) OTOH, why use a fancy name at all? How about Debian Web Browser? ISTM that the purpose of such fancy names has always been to build brand recognition and brand loyalty. Why do you feel the need to have such in a non-commercial product? True. What's more, really good names (like Web Ferret!) should be saved up for real separate products, not blown on umpteen different vendor-variants of Firefox. Matthew -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Etch/Cupsys/Gutenprint - failure to communicate
José Alburquerque wrote: José Alburquerque wrote: Matthew Krauss wrote: Hi, On a clean new Etch install, I can't seem to see any Gutenprint printer drivers (ie. the Canon iP4000) from any Cupsys printer setup tool (ie. gnome-cups-manager, http://localhost:631). I have cupsys, cupsys-driver-gutenprint, and foomatic-db-gutenprint installed. Plenty of printer drivers show up, but none of them seem to be Gutenprint drivers. I have also tried upgrading to the cupsys in Sid. I have googled endlessly. Help?! Thanks much, Matthew In case this might help, here's a list of the gutenprint packages installed on my sid system: [07:[EMAIL PROTECTED]:~]$ dpkg -l | grep -i guten | cut -d' ' -f 3 cupsys-driver-gutenprint foomatic-db-gutenprint ijsgutenprint libgutenprint2 libgutenprintui2-1 Also, by reading the package description, I found that if you want to be able to select your printer from the web interface of CUPS, you'll probably want to have the 'foomatic-filters-ppds' package installed. HTH. What's really weird is that I don't see your printer or mine (Epson Stylus C82) on the list of drivers using gnome-cups-manager or the cups web interface. I do see both the Canon iP4000 and the Stylus C82 using the foomatic-gui. Here are the foomatic packages on my system: [07:[EMAIL PROTECTED]:~]$ dpkg -l | grep -i fooma | cut -d' ' -f 3 foomatic-db foomatic-db-engine foomatic-db-gutenprint foomatic-db-hpijs foomatic-filters foomatic-filters-ppds foomatic-gui python-foomatic Thanks José, I forgot to mention that foomatic-gui recognizes the driver -- but at least for me, foomatic-gui won't set it up in a way that actually, you know, works and stuff. This is why I titled the post ... failure to communicate -- it looks like Cupsys and Gutenprint (or maybe Cupsys and Foomatic?) are effectively not communicating. Yes, I have all those exact same packages installed, actually. Looks like you and I have the same problem. At least I'm not alone in this :) Something you may find useful: I can (and have) actually set up the printer using an entirely incorrect driver. This doesn't let *me* print -- but it does let me share the printer so the Windows machine on my network can print to it just fine. Anyone else have any ideas? Regards, Matthew -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: No xterm (or equivalents) immediately accessible in default etch
John C wrote: [EMAIL PROTECTED] wrote: We in Linux heavily use the command-line. So, I was dismayed when my new Debian etch version displayed a Gnome interface WITHOUT ANY XTERM (or GNOME-TERMINAL or KONSOLE) and not even any immediate panel options for these terminals. Gnome's Add to Panel includes a trashcan and a file-manager just like Microsoft, but not one of Unix's foundations -- a text terminal. I eventually kludged a gnome-terminal icon onto the Gnome panel. Or I can Applications - Accessories -- Terminal but this should not be the primary approach to command-line entries. Yes, once I have a gnome-terminal running, future logins re-deploy it, and that's actually an improvement to making inclusions in ~/.xsession (although Gnome drops some applications from later logins as Sun did 10 years ago). THE XTERM (or its equivalent) SHOULD BE IN MY FACE THE VERY FIRST TIME I LOGIN, requiring at most a single obvious mouse click. Why? If you want it in your face, you can set that up. But if *you* choose to use Gnome, which is a desktop specifically designed to be easy and comfortable for new users, don't be surprised that the default behavior doesn't do that. There are many other choices you could make -- XFCE, Rox, Window Maker, FVWM, even Ratpoison fergossakes. If you want the pretty Windows-like environment of Gnome, *and* you want your xterm in your face, it takes you all of 2 seconds to launch it, pin it so it is on every desktop, and forget it. You can even go in to that session setup thingy Gnome has and tell it to keep your xterm running at all times, so you don't have to worry about closing it accidentally! If having to do this tedious procedure EVERY DARN TIME you install from scratch is bothering you, make a gnome-advanced-desktop package and help out other power-users like you. sarcasm snipped You're absolutely correct. The xterm should be IN MY FACE every time I log on. (it does on my box) Unfortunately the linux community is sliding down the commercially driven one desktop fits all slope, so that once all the desktops are basically the same, commercial developers will be able to write/sell programs that will play on all linux distros. Which distro are you using?? Debian Retch? Cuz man, I use Etch (with no R!) and it has *lots* of packages -- I can set up any desktop I want, and switch between 'em in a live session even. Want the xterm in your face? $ echo exec xterm ~/.xsession Boom. All xterm all the time. Who needs window managers?? Or try this one: ctrl-alt-F1 What I don't understand is why the FSF and Debian are both going down this same garden path. Is the goal to have linux users become just as brain dead as windows users? I've been running debian since bo and the days of Captain blue-eye, but it's becoming harder every day to keep a system running without using either Gnome or KDE ... How's this? What can you not do now without Gnome or KDE? IMHO they both suck. Agreed! I like Window Maker + Rox. What's your flavour? One of the greatest features of linux *was* that each individuals desktop was as different as that individual. The box looked, operated, and sounded the way that user wanted it too. Now it seems that individuality is out-of-style and every useful tool/program that is not part of gnome/kde is being pushed out-of-the-way or becoming depreciated. Name two. Seriously, I won't bet you can't but *I* can't, and I'd like to know. -Matthew -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Etch/Cupsys/Gutenprint - failure to communicate
Hi, On a clean new Etch install, I can't seem to see any Gutenprint printer drivers (ie. the Canon iP4000) from any Cupsys printer setup tool (ie. gnome-cups-manager, http://localhost:631). I have cupsys, cupsys-driver-gutenprint, and foomatic-db-gutenprint installed. Plenty of printer drivers show up, but none of them seem to be Gutenprint drivers. I have also tried upgrading to the cupsys in Sid. I have googled endlessly. Help?! Thanks much, Matthew -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]