Advanced

Customizing Ubuntu

Posted by tadelste on · 38 comments
LXer.com; By Herschel Cohen
Mail this story
Print this story



Notice of Intent: When Debian (desktop) fails you, what are you going to do? Panic, of course. Afterwards, try to set up Ubuntu to my liking, however, that requires modifying grub so that it once again knows about that Linux installation on hdb.

Notice of Intent:

It is my intention to start a small series that describes both my travails of getting to the Ubuntu desktop and customizing the same. These include my additions, tweaks and all but certain screwups that I by nature commit. It is my hope that showing the good, bad and indifferent I can at least give some fair warning on how to avoid the mini disasters I routinely encounter. To the other more exalted types at least they can enjoy a good snicker or two at someone else's expense.

More Than a Few Words About What was I using previously and what impelled me to change:

In essence I was quite happily ensconced with a Debian desktop based upon Sarge 3.0, Testing and just a bit of Unstable. In addition, dumped into this pot were just about everything Gnome (my preferred desktop), gobs of KDE applications, and KDE itself held in reserve (all my son's doings). His propensity for rapid key board hits and rapid experimentation left me in doubt that I could have installed Debian on my own, hence, a sense of foreboding insecurity grew. Later to this mix my son introduced me to KDE's Kaffeine. Moreover, Kaffeine could be relied upon to begin playing nearly every video media, however, it also led many times to system lockups. I began taking control by removing many excess KDE applications: mainly games. Nonetheless, many of the KDE applications were superior to those offered by Gnome, e.g. CD burning, screen shots that one could edit and other utilities. Despite this, the frequent lockups became unacceptable. Kafeine be gone, and it was done. At very least it was better.

As mentioned I began to take charge of the machine by adding new applications. I began with a video player, now I had: mplayer, xine and Totem. At least one of the three with all the codecs I had could play nearly anything acceptably. Moreover, the lockup incidents decreased with the absence of Kaffeine. Life was good with Debian.

It seems all good things have to end, sometimes very badly. In this case, it was fear engendered by my upgrades holding a larger and larger set of packages on hold (in the hundreds), which stunned my son who feared I may have missed important system security fixes. Had I known then what was about to happen, I would have taken my chances missing some of the security fixes. Attempting a dist-upgrade to Sarge 3.1 Testing and Unstable yielded an unworkable mess, even X refused to run. From there it went down hill rapidly where attempted fresh installations were as bad all due to the original Debian Sarge CD being corrupted. A new Sarge 3.1 was only slightly better and by that time my son was gone. I now learned, yes I could install Debian, which I did repeatedly to get a marginally working version on a desktop. "Working" is relative term, as in the "mind of the beholder" and compared to some earlier versions this might have been a partial pass. However, Debian had spoiled me into thinking it could be much better. Nonetheless, I was trapped with no sound (video worked), no printer and other flaws once I had a sort-of operation desktop again. I limped along this way thinking it was my failing, and only paid slight heed to mention on LXer that Debian Testing was badly flawed. I was quite confident that if there was a way to make software misbehave, I could do it.

Earlier when I had installed a second disc drive I installed Ubuntu 05.04 and was not overly impressed. Moreover, more recently I did a upgrade to version 05.10, however, at that time my Debian was more to my liking. Hence, I was not tempted to move to Ubuntu. Now with the disaster I thought I created it was becoming less and less tenable to continue using the Debian Testing desktop.

Reading several rants with people, abandoning Debian to non-apt-get and dpkg package management distributions finally convinced me that this time I was not quite the royal screw up I had assumed. My destination was set, it was the course that was the problem.

Problems Moving to Ubuntu:

Well it's there, but doing a (really many) fresh installs on the first hard drive made Grub forget about the second disc on the system. While I accessed part routinely by either a manual mounting or auto mounting in the /etc/fstab of the Debian system I could not boot into Ubuntu. Thus, my fruitless efforts to create a boot disc for Ubuntu Breezy added to the tension. Even resorted to a Windows machine without success. So I was confronted with my only option (I am lying - offered a disc, but I am stubborn) to delve into the mysteries of grub. This was contemplated with excess fear, trepidation and doubt: EFTD. My son long ago refused to help me with a problem I was having with grub. Moreover, I could not understand why with such design deficiencies Linux distributions persisted in using this dubious tool. Stubborn I guess. Well put that way, I could understand that.

First Installment

So when I come back again, come with me as we grub around looking for Ubuntu. It begins with the standard rant: RTFM! Ok, so that's what we will do. See you soon.



  Nav
» Read more about: Story Type: Announcements, LXer Features; Groups: Community, Debian, LXer, Ubuntu

» Get new stories by e-mail: nightly or as they are published

« Return to the newswire homepage

  Related stories
» More like this

Comments (38)

Dual boot

There's no reason the "other OS" in a dual-boot configuration has to be non-Linux, or non-[insert favorite OS or distribution here]. By setting up 2 systems, each with their own partition space, you can easily switch back and forth between them. What that gives you is the ability to do a fresh new install instead of an upgrade. In all systems I've ever worked on (even all the way back to IBM System/370 Mainframes), I've found that wiping things off and starting over from scratch keeps things clean, consistent, and more stable. On mainframes I did have virtualization (it was called VM/370) so it wasn't that hard to have a 2nd system ready to roll on a 2nd hard drive (the drives were not all that big back then, say around 340 MB, so a 2nd drive was about the only way to do it). I've also practiced "wipe off and do new install" on BSDi, OpenBSD, SunOS, Solaris, and Windows, all with great success (I even had Windows 98 stay running for weeks that way ... an accomplishment that had my boss scared, since I was the Solaris admin, not the Windows admin ... who was rebooting at least every 2 days). Of course it's easy on Linux of you can do a little partitioning.

The key to success with dual-booting between 2 versions of the same Linux distribution is to have at least 4 partitions. Two of them will be each large enough to how the installed system files. That can vary from 2 GB to 10 GB depending on your distribution choice and selected packages. The other partitions will be a swap partition, and a home partition that has all the files you want to keep across systems (user home directories, database areas, web content, mail spool, etc). Or you can be like me and really separate things into as many as a dozen partitions (I had as many as 27 partitions on one machine I was doing a few years ago).

A more expensive alternative is to have a redundant machine. It makes a great quick backup of the first machine has a major hardware failure. That's how I upgraded to Slackware 10.2 recently. I didn't really "upgrade" ... I installed Slackware 10.2 from scratch on the system partition. The home partitions was a replica from the first machine which did double duty as a backup for those 100 GB of important files (something my DDS tape just couldn't do so well).

If you do decide on the approach to using 2 partitions on one machine (because you need an excuse to fill up that new 500 GB disk), you might consider virtualization so you can run at least some of the new system you are installing. Viable choices include User Mode Linux, VMware, and Xen (as discussed recently on LXer).
While I'm not sure I want to run 27 Distros, I do keep 2 viable Debian desktop builds going at one time. If you play with mixed distros, and flirt with experimental, sooner or latter 'you will' get burnt, A dual boot, and frequent backups assures that you have a working build at all times, and no data loss.
It wasn't 27 distros. It was about 8 (counting a couple BSDs on there). Just a lot of partitions.

Debian doesn't Fail

8 earlier comments in the full thread.

grouch,

Normally, I use the netinstall, which is Here: http://cdimage.debian.org/cdimage/daily-builds/daily/arch-la...

But lately testing has become pretty crazy, because of the compressed release schedule, and, I find it is better to use the first CD in the complete Distro set which can be found here: http://cdimage.debian.org/cdimage/weekly-builds/

I just did this again this weekend to see how much my enthusiasm was affecting my judgment of the ease of the install. Selecting a base install and desktop, in 15 minutes I ended up with a very nice though minimal Gnome desktop (Gnome/gdm). The screen was setup perfectly (1600x1200@85mhz24bit), as was eth0, sound, a 2.6.15 686 kernel, and, synaptic was installed. Now, you still have to add a good sources.list to apt, but, otherwise you are pretty good to go. This may not be enough for someone who has never used Linux before, but for anyone with even a little experience, it's more than viable.

Us KDE guys will have it a little harder as we need to go to aptitude and select KDE and KDM in addition to the basic. Otherwise it's pretty much the same, and, any configuration you want to do after that is as you'd do it in any other Debian setup. Pretty much SOP.
jimf,

Thanks for the post. I've been using mepis as well. It sounds like I've should give the latest deb installer another whirl.

mepis is testing the ubuntu kernel for the next release. I think this could benefit ubuntu more than mepis, but it means mepis would move further from debian vanilla kernel.

Thanks again.
Quoting: it means mepis would move further from debian vanilla kernel.


That's sad. I may have issues with the folks at Mepis, but I owe Warren a lot for giving me a tool that really allowed me to learn how to use Debian effectively. A real loss.
I think he just has too much to do crafting his own kernel, software packages, and all the marketing.

If he can get a stable kernel from Ubuntu that supports more of the desktop apps he wants to include, he has much less work. he always tried to use a debian kernel, or a kernel that could be produced using debian repositories through debian patches.

Ubuntu is willing to develop their own kernel with their own patching. So their binary compatibility with debian is variable. Shuttleworth does not let the distro stray too far from debian though (like mandriva did with red hat). I read that the ubuntu team re-synched everything when sarge came out and then started their work off sarge. If they do this with every major debian release, they will never stray too far. Ubuntu makes all there work available, and their philosophies are pretty good, so at least their improvements are available for everyone else.

I started using mepis as a replacement for Libranet. Both were very pure debian.

I'm downloading the debian testing cd's now, so I can follow your advice. From what I've read since this morning, I may go back to using debian to install debian. It sounds like the testing installer is pretty nice.

The april issue of tux magazine has a nice round up of many of the latest distros: http://www.tuxmagazine.com/

the debian distros covered include: debian gnu/Linux Linspire Ubuntu/Kubuntu Mepis

they also review SuSE, Fedora, and Mandriva.

Nice reviews
jimf: Thanks for the info!

So far, everyone I've exposed to a GNOME or KDE desktop has insisted it's too complicated. (It may be because they never ask me until they're really fed up with MS. I don't do Windows). Mepis, Knoppix and Ubuntu provide the exposure. It's running 2 to 1 in favor of a bare, almost beige fvwm with a few buttons.

I'll check those links.
Quoting:because they never ask me until they're really fed up with MS


grouch,

Yeah, inertia, and laziness are a huge factor in many peoples lives. Maybe all of us. we'd rather stay with something we know, even if it isn't working well at all unless the benefits are enormous. When that change involves a technology that's new to us. and, we aren't very good at it any way... Well, you've seen the result... or lack of it.

The truth is that MS has used this in producing a group of people who know little or nothing about their system, and really couldn't care less, unless it doesn't work. Then they only know enough to scream for support. Many of these people will never be competent Linux users, or of benefit to the Linux community no matter how much we 'want' to help them. That's just reality, assisted by human nature... and MS.

As far the interface, I think that KDE is much closer to Windows in the way that things work, but that may be only for those who used Windows before XP. In any case neither Gnome nor KDE is any more difficult to learn than Windows. It is all a 'what I first learned on' preference issue. Linux is, among other things, a learning experience. Unless the user is willing to participate in that, no one can force him into it, no matter what the benefits.

Personally I still think that Mepis is a good place for a Windows user to start learning the Debian way of doing things. Sure the community is borked, and it has too much 'cruft' as you put it, but It's not difficult to set up, and, (so far) it remains close to Debian. Kanotix is another Distro with the same benefits and problems.

I've gotten a number of people into Debian using IRC (Many of them weened from Mepis). The advantage is that you can be there and walk people through the rougher parts. Of course it helps if they have a second computer to talk on when something unforeseen happens, but the real time presences helps a lot.

Quoting:So far, everyone I've exposed to a GNOME or KDE desktop has insisted it's too complicated.


Try giving them Gnome or KDE (whichever) and plopping XPDE over the top of it. See if they don't suddenly feel that it's less complicated (which is ridiculous but if it works......)
OMG!....... Now if i can just stop laughing.
I don't get it. apt-cache search xpde doesn't return a thing.
http://www.xpde.com/faq.php

Maybe it's for the best that it hasn't hit the repos ;-).
I've never understood why people say Debian is hard to install. The step by step install is simply step by step, rather than multiple steps assumed to be done for you. I *like* being able to choose between LILO and GRUB, choosing not to set up Xwindows right now, or repartitioning (or not repartitioning) the way I want it and not the way someone wants it for me.

It's all the same steps, but when Debian is complete you'll know more about what you have than if it's all done invisibly.

That would also be an argument for Linux From Scratch, but noooOOOooo thank you very much.

I like tracking Debian Unstable. I've been doing that for 6 years straight on my desktop machine(s), having used both Stable and Unstable on various machines in the mean time.
The same here Bob.

Problem is that somewhere allong the line some people got the notion that you should run your OS without a clue as to how the whole thing works, or where anything is... pretty much like Windows I guess.
Quoting:I've never understood why people say Debian is hard to install.


It is hard to install for Windows cross-overs. Lots of new Linux adopters fit that criteria. For experienced Linux users, Debian works fine. Imagine a newbee attempting to understand partitioning using Linux fdisk and then fixing bugs in grub.
>"Maybe it's for the best that it hasn't hit the repos ;-)."

jimf: That's nasty. And you didn't even warn me!

Bob_Robertson: The Debian installer has been very tedious in the past. It's not that there is more to do than other distributions, it's just that all those questions were dealt with during installation. With others, you have them spread out over time after installation. It terrified lots of newbies.
well, I wasn't going to get into that grouch, but I've been doing support for n00bs for the last three years and a bit. I've always been polite, and , as long as the new user is willing and capable of working with me I 'will' get him up and running. I also think that improving the functionality of the Linux GUI interfaces is a priority, although what's a real improvement may be the dispute. I'll take a GUI over a command line anyday.

But there's the problem... Some of those new users have been running Windows for quite some time, and, still don't know basics like how to deal with files and directories. Many of them don't know how to burn an iso, or partition a HD. All that would be ok too...

I'm willing to explain the basics, if that's what is necessary, but, The attitude of all too many coming from the Windows world is, one of demand, with no desire or willingness to assist in correcting problems, and, for whatever reasons, no interest in learning anything new, no matter how much better it is. That's my cut off point. I refuse to assist individuals with no desire to learn.

To be fair, MS has fostered an 'Empire of Ignorance'. It is to their advantage to have the Windows user entirely ignorant, with a basic consumers attitude and no desire to learn how to do more that run the application... Users in the basest sense. Service is money in MS's pocket. Unchecked virus's and ignorance of security are revenue... It gets worse...

No one deserves all that, but, if you are going to cop an attitude and demand that you be 'serviced', then you need to start looking for a Distro that has a paid service contract, or some other service arrangement, or a Mac, or just stay with MS and suffer, or consider giving up computers altogether.

In view of all that, I personally find the xpde project to be offensive and certainly counter to the Debian way of doing things. Duplicating MS's bad interface is no solution at all.

Debian is very easy to work with once you learn a few commands. As Jim said, it just takes getting past this is not Windows and there is no reason it should work exactly like windows.

There is not much that you cannot reconfigure by simply typing dpkg-reconfigure packagename or if you need gui install gkdebconf.

The new installer is child's play and if you need a gui you can always use http://wiki.debian.org/DebianInstaller/GUI

I have been using sid/testing for almost a year now (Kanotix and Mepis before.) Switched for the same reason as grouch "too much cruft"
jimf:

For about a week, I've been corresponding with an older (than I) gentleman in an attempt to assist him with a website badly mangled by MS Word. Almost each of the dozens of emails between us contains ample evidence of the 'Empire of Ignorance' you point out.

The correspondence began when I emailed him to point out that MS Word had used 1198 characters to accomplish the same thing in the web page that 39 characters would do. Naturally, it was broken in a few places and I offered a few suggestions. The man replied that he appreciated the offer but had no idea what I was talking about.

He could only edit the web page with MS Word and could only "publish" it by way of some "wizard". He described that wizard as very frustrating, having spent over 10 hours at one time trying to get it to upload his page properly. I don't do windows, but this man needed help.

He fights with the software continuously. It seems deliberately designed to prevent him from understanding any underlying concepts and processes. We spent most of one day trying to simply copy a file from his "Desktop" to either his "Windows folder" or his "C: folder". In frustration, I told him that in Linux he could just do 'cp file destination' instead of all the mousing and selecting and menuing he had been trying to do. He decided he wanted to try Linux, "or would this be over my head?"

The man has 4 MS Windows computers and 1 old Mac OS 9. The reason is that each in turn became "messed up". Yesterday, he paid some site online to fix his W2K box, which terrified me because he wasn't specific about who was paid to do what. It turned out to be some registry clean-up site that appears to be legit.

The priorities we established are: (1) get a decent browser that is less risky, (2) get an email client that does not execute attachments, does not interpret the text of email and therefore does not essentially turn control of the computer over to unknowns, (3) get a simple text editor that does not add to what he types and does not assume it knows better than the user (adding filename extensions or hiding them, for example).

He now has Firefox downloaded and installed on 2 computers, Thunderbird downloaded and installed on 1 computer, nano-1.2.4.zip concealed from him on 1 computer, and dsl-2.3.iso lurking somewhere on 1 computer. Even though he is on dial-up, he downloaded Damn Small Linux to see if he could get it going on 1 computer. He reported that "windows cannot open this file".

I'm still trying to convince him that computers are literal idiots and not possessed of fearsome, omnipotent magic beyond his comprehension. He has designed and built several impressive machines from scratch and ran a small business erecting steel buildings before retiring. The MS Windows interface, however, remains a mysterious, confusing obstacle to him. It also presents an extremely frustrating obstacle to remote assistance, since it depends so heavily on graphical controls for almost every task. There is no powerful, easily described CLI alternative. Every basic operation that needs to be performed has to be described in terms of graphics.

His first attempt at "burning" a CD illustrates how illogical the interface is and how much it has confused with its illogic. He dragged the "DS1.2.3 folder" from his desktop to the "Nero icon" on his desktop. Windows reported success. He checked the CD and reported that it was showing 702MB capacity, 702MB free.

I then had to explain to him that in OS/2 dragging a file and dropping it on a program icon would result in that program acting on that file, but in MS Windows it merely copies the file, moves the file or makes a "shortcut" to the file in the destination "folder", in most cases but not all cases. A human being might correctly interpret his intent, but that system would not. The "success" report he received was not specific enough to indicate that it was success at something he did not intend.

With 4 PCs to work with, on which he's spent over $12,000 in 7 years, I'm going to try to talk him through getting one MS machine working correctly while setting up Linux on another. I fully expect him to abandon the MS machines once he gets Linux going, mainly because (a) Linux doesn't lie to the user (hiding parts of filenames, concealing true locations of files, etc.), (b) tasks may be accomplished by CLI or GUI, depending on the user's choice and the task, (c) using Linux teaches the user instead of increasing dependence of the user on the vendor, (d) Linux allows the user to choose or even create the controls and metaphors for controls that suit the user.
grouch,

I want to respond in more detail, but right away, get this guy on NVU for his site (there is a windows version). at least that will clean up the site code. I'm sure there is another way to upload to the site, but you probably need to get the details from the site IT. If you can get him on IRC, or even phone him, that helps expedite things too. You obviously have your work cut out for you :D.
jimf:

Thanks, I'll check that out. He has made amazing progress, IMO. The best was the day that he had a Helen Keller moment and realized, while viewing the source of his web page, "This is the web page in HTML code????" and that he could edit it to change the appearance.

He has an "FTP Manager" available, but it's of little use until he recognizes that images are not actually stored as part of the page, but are pointed to by the page. Remember, his sole experience with web pages is via MS Word, which greatly obscures the source and the structure of a web page.

I'm sending him a CD of Damn Small Linux. If he can get that connected, he can begin learning about html instead of trying to figure out wizards and drag-and-drop and folders. All the peripheral operations such as file copying and naming can be shown to him by simply having him mimic text commands. That will free us both to concentrate on the main task. It will be much simpler to tell him to just type 'nano myfile.html' and begin demonstrating what tags do, than it is to describe mouse movements and nested menus.

Lol, HTML in Word is soo messed up. NVU code is quite clean and the WSWG is nice too.. another revelation for him.

NVU is now able to save directly to the site (via ftp) like Front Page. Not sure you want him to do that till he understands what the relationship is between those HTML files, and the various graphics and so on. He needs to associate everything to files, folders and physical location.

It is nice that he is hanging with you through the learning process. It's not easy to get from where he's starting to any kind of competency, especially after being conditioned for so long by the MS 'experts' ;-).

what's the point?

Your title is very misleading, and your article is uninformative and not even funny. Really it's just sad. Please, what was your purpose of writting it? It was obviously not to discuss how to customize Ubuntu.

Please do not bash Debian based on YOUR inabilities, the info is available if you look for it.

I have been using Sid - the testing version of Debian - for about a year now and I have not encountered such difficulties aside from Kaffiene, which is doing really well now.

Please don't use testing software if you don't know what you're doing, and then go say bad things about it. It' s even worse that you can't get ubuntu working properly, let alone customized. Here is the link the ubuntu forums, they can help you. http://www.ubuntuforums.org/
yoshu: At Lxer, we criticize the content and not the person.
LOL, If Ubuntu is to ever live up to its hype, it is going to need much criticism. Many of the people who contribute to this site are Journeyman Software and Hardware Engineers. I believe they might know the meaning of testing software. Trust me...the author has a tad bit of knowledge in both areas...just a bit. Ubuntu is King because the developer has thrown a ton of money at it and the geeks like it, most of them anyway. The everyday computer user is frightened away from it within three minutes of boot.

Looks like an Ubuntu fan might be just a bit defensive of "his" distro. Others would be rude and just come out and call someone like this a fanboi. No one here would do that. Once people get past their distro allegiances, GNU/Linux just might grow.
Quoting:Once people get past their distro allegiances, GNU/Linux just might grow.


Some people will need to get past their distastes for certain distros as well.
A lot of the problems people have with Linux, IMHO, fit the category of pilot error. Linux isn't a Mitsubihi MU-2B. The autopilot does freeze into a zero glide pattern or anything like that.

I think it takes a bit longer to learn how to use Linux and that's not a bad thing. IMHO
>"Once people get past their distro allegiances, GNU/Linux just might grow."

Have you been asleep since 1998 or so? Actually, you'd have to have been in a coma longer than that, since that was about the time it began crowding NT out. Seems to me the numbers have indicated phenomenal growth of GNU+Linux for quite a few years, in every category. Maybe "distro allegiances" don't inhibit its growth after all. People seem to like choice. It's only natural to advocate what you like. Amazing that so many spend so much time on something they don't get paid to do. Must be something to this sharing with your neighbor thing.
Since there is no real 'marketing' data on much of Linux, I believe the actual user count is estimated much lower that the actual number of users.

Post a comment

A free account is needed to post. Write your comment here first: your text is kept in this browser while you sign up or log in, and is waiting for you when you come back.

Your message:
|||||
10
Markdown: **bold**, *italic*, [text](https://link), - lists, > quotes, $x^2$ for math. Formatting help

Sign up and post (it is free)  or  Log in and post