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.

7 of 445 comments (clear)

  1. #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.
  2. 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
  3. 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
  4. Re:My Linux Annoyances as a Hardended Windows user by _xeno_ · · Score: 4, Informative
    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? I installed with a factory version something ending 054. Now I have something ending 122 I believe. I did it ok, but that's not the point I'm making; were there really 68 cock-ups so great in the kernel build from release-time until that now they had to re-release 68 times? I'm guessing probablly not, but still.

    Of course you have, why do you think some Windows updates require reboots? (Beyond those that require reboots because of file locking issues.) The reason the Linux kernel bumps revisions so frequently is mostly due to driver work, since most drivers are built into the kernel. Which I personally think is stupid, but, see the response to point 3 below.

    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?!

    Because Linux doesn't have a binary driver interface. Instead drivers are written for a specific kernel, and have to be recompiled every time to ensure everything matches up. Attempts at adding a binary driver interface have met huge resistance with the kernel developers, too, so expect to have to recompile third-party drivers for the forseeable future. Why? To force the source to be open, to ensure the flexibility of the kernel, or something like that. Whatever the reason, it's still annoying as a user.

    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.

    I'd love to know the answer to this one. I remember going through hell trying to get a USB mouse to work. Installation under Windows: Plug it in. Installation under Linux: edit /etc/X11/xorg.conf. It doesn't work. Google. Try other options. Still doesn't work. Give up and go back to Windows.

    I recently installed Debian Etch, and it still wanted to know the refresh rate for my monitor. Plug-and-play monitors have existed for how long, now? Why do I need to know this?!

    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 folders.

    I keep on thinking "some day, I should write a file browser for GNOME that doesn't suck" but I've yet to get around to it...

    --
    You are in a maze of twisty little relative jumps, all alike.
  5. 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.
  6. Re:Copy by swillden · · Score: 4, Informative

    Nothing drives me nuts in Linux like trying to cut something out of a KDE window and paste it into a Gnome window.

    Works fine for me. There is a distinction between the selection buffer (the currently highlighted text) and the clipboard that occasionally confuses people, but it has nothing to do with toolkits.

    If you want to use the selection buffer, just highlight the text, then middle-click to paste. This is by far the nicest way to copy and paste on any system..

    To use the regular clipboard, use the keyboard shortcuts (Ctrl-X, Ctrl-C, Ctrl-V, just like Windows) or use the menu items.

    Note that this only applies to text, though. Cutting and pasting images, sounds, etc., is more hit and miss (and more miss than hit) across apps with different toolkits.

    --
    Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
  7. Re:Copy by the_womble · · Score: 4, Informative

    Yes, it is a classic case of FUD, it keeps getting repeated, and the moderators are high enough to mod it +5 insightful.

    I have never had a problem with copy and past in Linux - and Klipper is much better than the Windows equivalent.

    The fact that I use Kipper with Gnome is a pretty convincing demonstration of the compatibility of Linux copy and paste.