Slashdot Mirror


Linux Annoyances For Geeks

Taran Rampersad writes "Every now and then, someone comes up with a fun title. 'Linux Annoyances for Geeks' is a definitely fun - and accurate - title for this book. While some people have been fiddling with Linux since it first came out, the majority of Linux users haven't been. I started using Linux in the late 90s, and my work schedule didn't allow me to go to meetings, or track down people who knew things. And the first time you do an install on a machine, you may be disconnected from the very information that gets you connected. Been there, done that. So this book attracted me because despite being an advocate of Free Software and Open Source, there are times when I still type very naughty things on the command line. Read the rest of Taran's review. Linux Annoyances For Geeks author Michael Jang pages 484 publisher O'Reilly rating 8/10 reviewer Taran Rampersad ISBN 0-596-00801-5 summary Answers to intermediate questions for Linux users.

Most of the time, I had fiddled with a previous install and gotten it the way I wanted it to work — when I had to do it again with a different install, I'd forgotten how I did it in the first place. There have been times, honestly, where I didn't even know. Fortunately, life has become better. There are books now. Some even come with Linux distributions, and there's plenty of documentation online that you can print out in advance when you go install things on your only connection to the Internet.

But there aren't that many books that really deal with the things that are annoyances, because the annoyances usually come from the late phone calls or the unanswered emails on a list. That's what this book is supposed to be for.

In reading this book, I caught myself nodding a lot. Not to sleep, mind you, but the, "I've seen that before" nod. The descriptions of the desktop environments, GNOME and KDE, started me nodding. Here's an idea of what the book covers:

Configuring a Desktop Environment: There's a great section on KDE and GNOME in here that starts the book off with a bang. Custom login menus, configuring standard backgrounds, desktop icons, oversized desktops and undersized monitors, Naughty mouse syndrome, Naughty users mess up the desktops, the infamous 'broken CD/DVD' problem, No GUI Syndrome, user downloads causing problems and ... sound. This chapter isn't one that I really had personal use for, but when people start asking questions — this is where they start. Great reference material here for desktop-finicky users.

Configuring User Workstations: Backing up data with rsynch and cron explained (where was this in 1999?), 'lost' files, 'lost' data... this chapter is one of my favorites, because people keep asking me about stuff like this. And dealing with Windows folks who complain that there's no ZIP — well, I wish I heard more of that.

Optimizing Internet Applications: I think that optimizing Internet applications is probably one of the largest problems out there, but I haven't really heard anyone ask about any of this. It's very strange. I think the world would be a better place if people read this chapter — from getting Firefox to work properly, sorting email into folders (yes, you can do that...), this covers a lot of ground in a very short space. My personal favorite was converting data from Outlook, which I have never done. Hidden in there are some tips on dealing with Microsoft Exchange Servers.

Setting Up Local Applications: This chapter focuses a lot on getting that irate I-am-new-to-Linux-and-I-want-my-toys person happy. It's filled with converting goodness, PDF inoculations and points you at the cure. And for those users who want movie players, there's something in here for them as well.

Installation Annoyances: This is probably the part of the book that will see the most use. There's a quote in here that I love: "Any A+ certified technician can list the hardware components on a computer. A Linux geek can cite the compatible components, such as the chipsets associated with a specific wireless card. He can use this information to compile the most efficient kernel for his system." So true. This chapter points you at the right resources and walks you through planning an installation. Which is priceless, even as a reminder for geeks.

Basic Start Configuration: Long boot times, bootloader issues, the ever-present dual-booting problems, the 'boot reboot repeat' problem, and my personal favorites, "I lost the password for Root!" and "My Server is So Secure that I can't log in as root". This chapter is pure gold.

Kernel Itches and Other Configuration Annoyances: Kernel upgrades, recompiles, kernel panic, 'file not found' boot error, NFS and Samba directory walkthroughs, and the infamous 'regular users can't mount the CD/DVD. Let's not forget dealing with Microsoft formatted partitions.

System Maintenance: Corrupted Partitions, emergency backups when the hard drive is knocking, small /home directories, slow hard drives, Update Repositories (not to be confused with User Suppositories), Dependency Hell solutions with yum and apt... platinum chapter for the troubleshooters out there.

Servicing Servers: Service Options, enabling downloading of files and , email issues when it is down, 'lost-printer syndrome', the BIND and growing network issue and the 'Windows Computers aren't on the network' issue. All rolled up here in Chapter 9.

User Management: Just about everything you would need to know about administering users, from special groups to keeping former employees from accessing the server, to securing the user (without duct tape).

Administration Tips: A lot of good things here for administrators; my personal favorite being configuring the Linux Gateway. Lots of great stuff in here.

For the life of me, I don't know why Chapter 5, Installation Annoyances, isn't Chapter 1. That seems to be where I've spent the most time helping other people out. The good news is that because it is where it is, the book stays open by itself here. Still, I think that might scare someone walking in while you're troubleshooting an installation. They might wonder what the 173 pages before installation problems was about. In fact, that could be funny... That's about the only thing that I could say I think is a bit off about the book, but perhaps that's by design. It's not a bug, it's a feature!

One of the things I liked most about this book was the fact that the chapters aren't named for the solutions; they are named by the problems. So when you're having a problem, you can find the solution.

Overall, this book meets the criteria for being next to my monitor, for quick reference in helping people out (including the worst one, me!). I haven't had the opportunity to use it's contents yet for Ubuntu, but since the book's solutions include Debian, they should work fine. As the author says in the preface, "The solutions are designed for three of the more prominent Linux distributions: Fedora Core, SUSE, and Debian." It would be interesting to see how it does with the Mandriva distribution.

In the Linux world, there are those that read and there are those that bleed. Those that bleed write what others read. This book was written in blood. It allows the leaders, the bleeders and the readers a means of finding their way around some of the annoyances that crop up. It does so in a well written manner which is well thought out, and amusing when you'll need to be amused.

( Original review on KnowProSE.com.)

You can purchase Linux Annoyances For Geeks from bn.com. Slashdot welcomes readers' book reviews -- to see your own review here, read the book review guidelines, then visit the submission page.

17 of 445 comments (clear)

  1. My #1 annoyance: by jargoone · · Score: 5, Funny

    Users

    1. Re:My #1 annoyance: by Winckle · · Score: 5, Funny

      Cocky Admins

    2. Re:My #1 annoyance: by neonprimetime · · Score: 5, Funny

      Know-it-all ./ers

    3. Re:My #1 annoyance: by colinbrash · · Score: 5, Funny

      Cocky Admins

      Whoops, there goes your home directory!

  2. #1 solution by DaSenator · · Score: 5, Informative

    "RTFM n00b" Possibly one of the single biggest reasons that more people don't make an effective full switch to Linux.

    --
    Entia non sunt multiplicanda praeter necessitatem.
    1. Re:#1 solution by FooAtWFU · · Score: 5, Insightful
      Remember that if someone is going to RTFM, someone else needs to WTFM first....

      and hopefully, do a good job, to boot...

      --
      The World Wide Web is dying. Soon, we shall have only the Internet.
    2. Re:#1 solution by Khaed · · Score: 5, Insightful

      I don't know why this is being moderated down. It's a fact.

      I use Linux exclusively. Slackware, to be specific.

      I read as much as I can stand to while trying to configure something. I read readme files, install guides, man pages -- anything I can get. Then I Google if it still won't work. I'll spend six or so hours trying to tinker until something works. Only after I've just had enough will I go to a forum. I've done that one time in the last six months.

      The last thing I want is for some assmonger to reply with a basic "RTFM" type response. It's unfair, it's assumptive, and it makes them look like a prick. Don't assume I haven't read the manual -- just fucking help me. Don't be a twat. The real bitch of this is that "RTFM" is considered a perfectly reasonable response, but if I tell them off for it, it's now a flame.

      Someone once joked that the best way to get help on a Linux forum is to flame and say "You can't do (x) in Linux!" where (x) is what you want to do. You'll then get a dozen different ways to do (x) from the forum regulars. But if you ask how to do (x), even politely, you just get snark.

      This is a problem for Linux. It's not the worst, in my opinion, but it's in the top five. (Having to download hundreds of megabytes of dependencies to get a lot of programs working is the worst.)

    3. Re:#1 solution by kimvette · · Score: 5, Insightful
      Remember that if someone is going to RTFM, someone else needs to WTFM first....


      Yeah isn't that true. Don't you just love searching for documentation or at minimum a FAQ or HowTo for an application, then posting to the list for the location of the documentation only to get no useful reply, then follow up asking for specifics on how to do (n) with the tool, then you get blasted and told to RTFM. Then, post back that if there WERE a FM to R, that you'd have RTFMed already and wouldn't be posting a question for some wiseass to post a snarky RTFM reply. At that, you'll be told to WTFM, which is senseless because you don't know how to DO (n) because there is no FM to R, so telling you to WTFM is fruitless, or they point you at a wiki which is nothing but a skeleton consisting of Feature (N) : To be written later.

      Thankfully most OSS development teams are not so snotty and will at least point you at a mailing list archive, FAQ, or an abstract on the application. Take Quanta for example: the folks developing Quanta are downright friendly.

      But then again it's just like the Windows free software "community" - there are very nice and helpful folks developing some tools, and there are some developing very useful tools but who seemingly go out of their way to be assholes to users. It's not a Linux phenomenon, it's a human nature thing. The few jerks make everyone as a whole look bad.

      Sometimes an RTFM or GIYF (Google Is Your Friend) is the appropriate answer, e.g., if you ask "how do I play DVDs on SuSE/Ubuntu/etc." you should get "read the fucking stickies" or "GIYF" as a reply, because the question gets asked DAILY and you shouldn't be a lazy sod.

      On the other hand, if you're running into a crash (say, trying to play a Real Media file in Xine) the answer should not automatically be "try the latest CVS" or "RTFM." First of all, the user may be a n00b and totally unfamiliar with what CVS even is, the documentation is inadequate, and you haven't really helped the user, but brushed them off Microsoft Windows Support-style. You have also not helped to identify what the problem is so that it can be captured and documented in a FAQ for the next umpteen-dozen users who run into the same exact bug. Nothing against the xine folks here The folks I ran into THIS kind of issue with was actually one of the asterisk-related projects where a feature just plain did not work so I asked if anyone else could reproduce so that I could know if it was something I misconfigured or if it's broken code since log files turned up nothing and I had no proper debug environment set up (plus I haven't dug into the asterisk projects and could not afford the time to learn the project, I just want to be an asterisk user, not a developer or QA member).

      Depending on what you're doing, using open source solutions may be just too much work, or the people involved may be too much of a PITA to make the savings worthwhile. On the other hand, for most routine desktop and server applications, Linux and other OSS projects can be a choice which is superior to commercial alternatives.
      --
      The Christian Right is Neither (Christian nor right). See: Matthew 23, Matthew 25, Ezekiel 16:48-50
  3. Re:Copy by Intron · · Score: 5, Funny

    Nothing wrong with copy & paste. My system has three different ways to do it. ... all incompatible

    --
    Intron: the portion of DNA which expresses nothing useful.
  4. Naughty Commands? by ArmyOfFun · · Score: 5, Funny
    there are times when I still type very naughty things on the command line.
    Like what? "touch me"? "finger her"? "man kill"?
    1. Re:Naughty Commands? by Penguin+Programmer · · Score: 5, Funny

      killall bitchx

      If that's not naughty, I don't know what is.

  5. Finally, some respect! by Rob+T+Firefly · · Score: 5, Funny

    For the past decade, my Linux books have been calling me a "Complete Idiot" and a "Dummy" for reading them. Finally, one that only thinks I'm a "Geek!"

  6. Where is "Case Sensitivity" by xxxJonBoyxxx · · Score: 5, Interesting

    Where is "Case Sensitivity" on this list? I mean, have you really ever used CASE to distinguish two different files? (Worse, have you ever had to try to describe cased files over the phone?)

  7. And this necessarily makes a product better? by Flying+pig · · Score: 5, Insightful
    I live in a house, I have two cars and a boat. The cars are products. I buy them, I run them, periodically I have to replace something. The house and the boat are projects. They are continually being modified - the only rule being that the house has to work all the year round and the boat has to work from March to November. I find things, I fix things, I improve things. But then for me cars are just a form of transport, and for some people they too are projects.

    I can't be the only person who believes that, now that software does all the basic things, much of it is evolving from Product to Project. Even Microsoft, the supplier of boxed software par excellence, has got to come to terms with this; we now know that under the shiny paint there are hidden recesses with rust and loose parts and we expect them to be fixed as they are discovered. We also know that a company of some size can release stuff and label it beta, simply being more honest than labelling it "release 0.8" or whatever.

    You can see Open Source as the logical outcome of all the work that was done on quality in the 80s and 90s: everybody involved, continuous improvement, no hiding place for bad work. You can see it as a response to the perception by many people in the standards world that software standards were abysmal. Oh, and I have yet to see the new product that can just be placed in someone's hands and used. It may be "ready for use", but the user will not be. Continuous improvement and user feedback makes the learning curve easier.

    --
    Pining for the fjords
  8. Re:Copy by MerlynEmrys67 · · Score: 5, Informative
    >Nothing wrong with copy & paste. My system has three different ways to do it. ... all incompatible

    You must be a Windows user.

    Strange - I am only aware of three cut and paste mechanisms on Windows and they are all compatable with each other. Nothing drives me nuts in Linux like trying to cut something out of a KDE window and paste it into a Gnome window. At least on Windows it is:
    Ctrl-C Ctrl-V
    Right click - Cut Right click - Paste
    menu->edit->mark menu->edit->cut menu->edit->paste
    Which one of those is incompatable?

    Now show me how the different clipboards that exist on a single Linux Desktop can even cut from one and paste to another.

    --
    I have mod points and I am not afraid to use them
  9. Re:My Linux Annoyances as a Hardended Windows user by Nimey · · Score: 5, Informative

    If you try Ubuntu, make sure to grab and install EasyUbuntu. It installs all the proprietary/nonfree codecs like MP3 and DVD, plus stuff like Java and Flash. Ubuntu is also very good at detecting your monitor, so you shouldn't have to worry about setting X modes. Further, nVidia and ATI drivers are included in the base install and are kept synced with the installed kernel, so (to coin a phrase) It Just Works. I can't say if its mouse-detection routines work better -- mine is just a 3-button w/scroll, but that was detected immediately & works fine. Synaptic is a pretty good package manager, but I can't compare it to yum since I haven't used it.

    Have you tried KDE? It has a more Windows-y interface than Gnome, which IMO is closer to Mac OS X. There's an Ubuntu distro called Kubuntu that uses KDE instead of Gnome, and EasyUbuntu works with it as well.

    --
    Hail Eris, full of mischief...

    E pluribus sanguinem
  10. Re:My Linux Annoyances as a Hardended Windows user by arkhan_jg · · Score: 5, Informative

    1. No fecking media support! I get XMMS inform me on first attempt at playing an MP3 that it won't because of licensing conflict. Wtf? Codecs for avi's and DVDs were a simular story; all had to be downloaded via yum (bloody excellent tool!). Seriously; not good, but fixed in the end.

    Alas, blame the law. The US allows software patents. Software patents means that codecs like mp3, mpeg2, ac3 etc etc are patented, and they can only be distributed if licence fees are paid by the distro. Since fedora is distributed free, they can't pay the licence fees, and they don't want to get sued if they distribute the distro in the US, so the only option is to host the codec packages outside the US where the patents don't apply, and you get them yourself. Note, Windows doesn't come with DVD playback out of the box for the same reason. If you want codecs and other patented software out of the box, you need to pay for a distro, and the US codec licence fees will be paid for out of your purchase price. No way round this, short of getting US patent law reformed.

    2. Why the hell do I have to install a new kernel? Why? I've never had to on Windows - why is Linux different? Is it so buggy? ... 68 cock-ups so great in the kernel build from release-time until that now they had to re-release 68 times?

    Two main reasons. First, a lot of the linux drivers are in the kernel, so new kernel versions include improved drivers and ones for new hardware. Second, the linux kernel is adding a lot of extra features and improvements, as well as bugfixes (not even a majority of bugs are security holes, don't forget). Third, windows does indeed get kernel updates, they just get included in Windows Update. Be glad linux is evolving so quickly :)

    3. Point 2 also breaks my nvidia drivers. I don't want to re-compile new drivers everytime there's a new 'patch'. For the love of god, why?!

    Nvidia don't want to release open-source drivers. They have a great big chunk of closed driver, with a 'shim' that links that binary code to a particular kernel. The kernel is updated, the shim needs to be redone for your particular kernel. Admittedly, the linux devs don't exactly make life easy for nvidia to do it this way. Chalk it up to the conflict between the open-source and closed-source world. Still, life isn't exactly rosy in the closed-source world either, I've lost count of the times I've needed to update drivers on windows to fix some bug or conflict, especially when it comes to video card drivers and PC games. Tell nvidia you'd like proper open-source drivers for the hardware you paid for...

    4. X-Windows. What a mess. Why do I have to tell it my x & y refresh rates for my monitor? Windows just 'knows'. Many more things here I feel that X-Windows should just 'know' - the number of buttons on my USB mouse for-instance. If Windows can do it, there's no reason why Linux can't. Also, X-Windows 'feels' slower than Windows. I'm sure there's good reasons for this, but I don't care; Windows is snappier.

    Agreed on the Xorg config problems. Largely a hold-over from a long period of political infighting, now resolved. Xorg is rapidly improving, and many features are coming in now that have been held up for years. The slowness is probably down to a slight problem with the config (possibly the openGL parts) - properly setup, I find Xorg quicker than windows. Still, it should be easier to 'automagically' configure it than it is - too many times I've had to fix an Xorg setup manually.

    5. Lack of decent file-browser. The best I've come across is Nautilus in a mode that resembles Windows Explorer. It'll do for now, but as far as I'm aware, offers no context-sensitive menus for applications (like the Winamp "Play in Winamp" right-click menu on fo

    --
    Remember kids, it's all fun and games until someone commits wholesale galactic genocide.