Announcement

Collapse
No announcement yet.

My Big Arch Move

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    My Big Arch Move

    I recently migrated my primary system from Kubuntu Karmic/KDE4 to Archlinux with Openbox, so I thought I would share some of my experiences with the move.

    First, a little background... The first linux I used seriously was SUSE, which I liked overall, but package maintenance was a PAIN (regardless of what they claim), and eventually it just started to feel too corporate and evil-empirish, like Windows. So a few years ago I moved to Kubuntu which I really like for its apt-get of course. But lately I've been grumbling a lot. I don't really like KDE4 - it's way too overdone and heavy, too much of a Vista-wannabe. I also don't like some of the decisions Ubuntu is making in general when it comes to packages, and especially the way the recent trend is to stop the user from removing some packages - too bossy lately. There are also security issues that IMO are beginning to enter the realm of Microsoft - things which I believe are not done for the benefit of the users. Thus I found myself having to remove and disable all kinds of junk after a fresh install. I've also had very poor results with reporting bugs in KDE and Ubuntu lately - they just aren't addressed, and there are way too many to begin with. The release cycle seems rushed, and quality is the loser in this. I was fighting against the distribution too much. That's when I began to realize it was probably time for a bigger change. I was reluctant because hey it's a lot of work to get used to something new. But it can also be cool, I kept telling myself, as I remembered how cool it was to lose Windows.

    I ended up selecting Arch Linux because I liked a few ideas. One, it was supposed to have a good package manager comparable to apt-get (known as pacman). Also, I liked the rolling release idea, where instead of releases and upgrade/reinstalls, packages are just gradually updated to their latest versions every day. The install CDs have versions, but if you're running Arch, you're running the 'NOW' release. This is explained more here: http://bbs.archlinux.org/viewtopic.php?id=18063 Most of all, I really like that Arch uses software packages that are presented the way the original makers designed. Mods and alterations are very minimal. I like this because I found so many of the bugs in Ubuntu are related to changes the packagers made which broke the functionality of the original software. Arch honors the original software rather than trying to make it fit a particular scheme - and this includes servers and daemons. I really REALLY like this idea because as we all know having a middleman introduces problems, and original developers take the time to make their software work more carefully than packagers.

    I was also a little scared of Arch because it was supposed to be more work, less noob-friendly. I can handle some complexity, but frankly I don't enjoy having to do everything the hard way. There is something to be said for convenience. Plus using a mainstream distribution like Ubuntu has its advantages - lots of packages and support. But I decided to give it an honest chance.

    I also decided I was going to drop KDE. It's only going to get more convoluted and Windows-like IMO, so I figured I might as well get on a more fitting track. So I was also shopping for a new desktop manager.


    THE RESULTS

    I have had a truly excellent experience with Arch. It is just so neat to set things up one step at a time, and I pleasantly learned more in a week about the inner workings of linux than I have in years of using Ubuntu. I really feel like I know my system now. It's also a simpler system, and I know what's running and why. It's also fast as hell! The few problems I did have, the community support and wiki were excellent - very knowledge people who like doing things themselves. Overall, my opinion is that any reasonably experienced Ubuntu user will feel right at home. You've probably edited a few configuration files, entered some CLI commands, and messed with the inner workings enough on occassion that you won't be lost in Arch. And in the long run I think it's MUCH LESS of a hassle, especially because you get a better understanding.

    The 64 bit install CD (I used the net install CD) was a lot like the alternate install CD for K/Ubuntu. Same basic stuff. The main difference is that it just installs the core system, so you boot into a shell. Then you install Xorg, which I thought was really cool (and very easy). I've never installed Xorg by itself like that. Then the nvidia driver went in without trouble, also from a package. (Interestingly, it cured a problem I had with not being able to go back to a shell once X started in Kubuntu. Same nvidia driver, so once again it shows that the problem was in the Ubuntu package, not NVidia's driver or Xorg!) Then you choose your desktop and install that. Then you edit the xinitrc file to tell X to start your desktop! It's great knowing how it all fits together.

    In my case I decided to go with Openbox desktop because it seemed to allow you to build your desktop the way you want. Openbox is very minimal at the start - you build your desktop by adding taskbars and such that you choose. This may seem like a lot of work, but it was really neat. I'm also running a few KDE apps that I like, and Openbox runs them with no problems. I chose lxpanel as my taskbar - works great and has a clock, quick-start tray, system tray, and a menu that automatically updates itself when you install software. Reminds me of KDE3.

    The pacman package installer works very well. There were only a few programs that I wanted that it didn't have: rdate, google-earth, secure-delete, and crystal-cursors. rdate and google-earth had community-supported build packages available. These let you build the packages easily yourself and then install them with pacman. secure-delete I just copied the executables from my Kubuntu partition - they run fine. (The same was true of rdate, but that I built.) And I found crystal-cursors and compiled it. I learned great things about X cursors, so it was well worth the hour or so I spent with it.

    Everything else, including media players, editors, KDE apps, image viewers and editors, servers, and open office were in pacman packages. Easy as using apt-get to install them. Plus they come out exactly as the original designers had in mind, which is neat to see - same as installing them from the websites for the most part.

    One difference (which I like), is that when you install a server or daemon, such as NFS, it just puts the program on your system, it doesn't configure or start it. I never liked the way Ubuntu started things as soon as you installed them. This way I can look over the (usually simple) installation steps and decide how I want it to work. For example, to auto-mount a CD when I insert it, I installed the autofs daemon right from instructions on the wiki. Works better and solved problems I had with automounting/unmounting in Ubuntu.

    And instead of all the init.d and /etc/modules complexity, there is one file (/etc/rc.conf) with simple lists of modules and daemons to start at boot. So much cleaner and easier to maintain.

    My system has so much less running on it as a result - just what I need, rather than what every Ubuntu user might need. Part of this is due to dropping KDE as well. If you do want KDE, Arch is supposed to have a good implementation of it. There is also kdemod, which is a modified version of KDE for Arch (part of the Chakra project).

    As for the rolling release, I really like it thus far. From what I've read, occassionally new package updates will break a program and you'll have to update your config files to correct it. But these potential problems are announced on the forums, and IMO that's simpler than going through the mess of upgrades and reinstalls, where so much changes at once. Plus, the package updates never change your config files - you do that yourself, and when using Arch you'll know how.

    Aside from the apps I use, there are NO GUI 'system settings'. I maintain everything by editing the config files. But what I've found is that instead of finding this too messy or laborious, I like it a lot better. The config files have everything laid out cleanly and commented, and I have access to all of it. Whereas GUIs rarely give you complete control, and rarely work as well. I did have to learn a bit that used to be done in a GUI, but as a result I understand things so much better, instead of feeling confused and frustrated behind the GUI. But if you do like the 'system settings' stuff, if you can install a more bells & whistles desktop like KDE or Gnome - then you'll get some of that. It's just not made by Arch. They leave it up to you to decide what programs to install, REALLY. For example, I chose my sound server (alsa - which always worked great for me and I hated the pulse junk that Ubuntu went to. And yes, alsa can play several sounds at once - mix.)

    Here are some of the wiki entries I used, more or less in the order I used them. You can look these over to get a pretty good idea of what you'll be doing once you've used the install CD to install the core. The wiki is THE place to go when you want to know how to install something. You'll usually find detailed instructions that work perfectly. Also, since everyone uses the same version of Arch (the NOW version), you don't have to wrestle with multiple sets of instructions. I find that the first few parts of the wiki instructions is all I use - the lower parts of the pages tend to be for more complex setups.

    http://wiki.archlinux.org/index.php/Main_Page
    http://wiki.archlinux.org/index.php/..._Install_Guide
    http://wiki.archlinux.org/index.php/...Guide_Appendix
    http://wiki.archlinux.org/index.php/Xorg
    http://wiki.archlinux.org/index.php/NVIDIA
    http://wiki.archlinux.org/index.php/X11_Cursors
    http://wiki.archlinux.org/index.php/Openbox
    http://wiki.archlinux.org/index.php/CUPS
    http://wiki.archlinux.org/index.php/Brother_MFC-420CN
    http://wiki.archlinux.org/index.php/Configuring_network
    http://wiki.archlinux.org/index.php/...ing_the_Module
    http://wiki.archlinux.org/index.php/ALSA
    http://wiki.archlinux.org/index.php/HAL
    http://wiki.archlinux.org/index.php/Autofs
    http://wiki.archlinux.org/index.php/Sane

    And the forums are at
    http://bbs.archlinux.org/

    Just keep in mind that until you get X and your desktop running, you won't have a (graphical) web browser. So if you don't have another computer nearby, you may want to print the basics first.

    That may look like a lot of manual configuration, but I found it to be very smooth and also a neat experience. I also had many fewer problems than with a typical Kubuntu install - very few in fact. And I had my system done in a couple days (where I was using it as my primary system instead of Kubuntu which I still have on another partition), with a couple more days for spit & polish. And that's with my being a complete noob to Arch, and also trying out some alternative software to the ones I've been using.

    K/Ubuntu was actually great training for Arch, because you tend to have to do a little manual configuring to get Kubuntu running the way you want anyway, and fixing problems. And Arch isn't for linux noobs, so I think Kubuntu still is useful. But if you now want to try building a more custom system from the ground up, I think Arch is an excellent choice. Overall my system is running faster and lighter, and I'm so glad to be free of KDE, while still having some of my favorite KDE apps.

    And Arch still uses Grub v1! Although you can of course change that to v2 if you prefer.

    Recommendations: I recommend keeping a backup copy of your Kubuntu home folder - you may want parts of it to look at, especially if you drop KDE but want to run KDE apps. There's not much, but it was handy a few times. Also, system backups are always great to have... http://en.wikibooks.org/wiki/How_To_...rating_Systems Plus, instead of reconfiguring many of your programs, you can just copy their settings files from your home folder. For example, copy the ~/.mozilla folder and you won't need to set up Firefox from scratch.

    I also like building my new system on a spare partition while still being able to boot my old partition. That way when I get frustrated or tired I get boot in to 'old reliable' and relax. I had Arch install grub to the MBR of my second drive, so it didn't interfere with the boot process. Grub2 detected Arch and added it with update-grub. Then when I was ready to change the boot to my Arch partition and grub, I just installed grub to the MBR of the first drive. Pretty painless way to try a new system, and it also lets you mount and examine your old system partition as you're setting up the new one.

    Below are some software recommendations I'd thought I'd throw in. Everyone likes different things but these are what I'm using for now. And this will give an idea of the variety of apps you can have with Openbox and without full KDE.

    First, lxpanel is a great taskbar. In fact the whole LXDE desktop is probably good, because I saw a lot of apps from it that had a nice light but capable design.

    For the most part you install these just by typing 'pacman -S PACKAGENAME', and they're ready to run.

    Ark
    Knotes
    Krusader (capable file manager from KDE)
    Dolphin (simple file manager from KDE)
    Speedcrunch (calculator)
    GQView (like KDE Gwenview - or Arch has Gwenview as well)
    GIMP
    KGrab (from KDE, for window snapshots)
    XSane
    Firefox
    flashplugin
    jre (this pacman package install the 64 bit version of Sun Java with plugins - one step!)
    KMail (still using it for now but I may look at others)
    KWalletManager
    Pidgin
    OpenOffice
    epdfview (like Ocular - very simply and light PDF viewer)
    Kate
    Ghex (Gnome's Hex Editor)
    k3b (also needs dvd+rw-tools and cdrdao)
    SMPlayer/Mplayer
    VLC
    avidemux
    Htop (process watcher)
    Konsole
    autofs (automounts CDs/DVDs, usbsticks, and even networks if you want)
    ttf-ms-fonts and ttf-dejavu (fonts)
    imagemagick
    libdvdcss
    mpg123 (command line MP3 player)
    vorbis-tools (for ogg123 command-line player)
    alsa (for sound)

    Check out my blog for useful scripts and tips... http://igurublog.wordpress.com

    #2
    Re: My Big Arch Move

    That is a very nice, detailed writeup -- thanks for taking the time to share it!

    About a year ago I got itchy to give Arch a try, and I used my Asus Eee PC for that purpose. I must say that it was most educational. Over a long weekend I built a pretty nice, streamlined system with the slim login manager and gnome desktop. In the end, I found myself frustrated by some niggling little things that should not have been so difficult, like getting the correct time zone set and sticking, and when the next release of sidux came out at the first of this year, I threw sidux Xfce on it, which is what it is still running. But, for a person looking for an interesting Linux project, I also would recommend installing and configuring Arch.

    Comment


      #3
      Re: My Big Arch Move

      Originally posted by dibl
      About a year ago I got itchy to give Arch a try, and I used my Asus Eee PC for that purpose. I must say that it was most educational. Over a long weekend I built a pretty nice, streamlined system with the slim login manager and gnome desktop. In the end, I found myself frustrated by some niggling little things that should not have been so difficult, like getting the correct time zone set and sticking, and when the next release of sidux came out at the first of this year, I threw sidux Xfce on it, which is what it is still running. But, for a person looking for an interesting Linux project, I also would recommend installing and configuring Arch.
      I've heard good things about sidux too - it's one of the ones I considered. I haven't been around long enough to know, but I've heard the Arch installer was vastly improved in September (right before I used it, thank god!) FYI it asked me my time zone and set it up great - haven't had a problem and I don't even know where that's configured to be honest (not the Arch way, but I'm new). But I know what you mean about 'it shouldn't be that complicated' - even when I first tried linux many years ago I felt that way about it in general, until I tried SUSE and eventually Kubuntu. But Arch doesn't feel that way to me, maybe because I like the tinkering, and I was getting frustrated with others making choices I didn't like. And really I've had very few annoyances - mostly just choices to make and new things to try.

      As for Xfce, I tried that some time back but it was too gnome-like and non-visually appealing to me. Openbox doesn't provide much more than a window manager, though, so it's kind of build-your-own. I enjoyed picking out the furniture for my new home - like making my own distribution, but with the simplicity of packages.

      I have an EEPC too with linux, but that is my 'just works' computer. I have never reconfigured it or messed with it. In fact I used that to browse the web as I setup Arch. As long as I remembered which keyboard to type on for which screen it was great.
      Check out my blog for useful scripts and tips... http://igurublog.wordpress.com

      Comment


        #4
        Re: My Big Arch Move

        Nice write up... well done!

        What versions of KDE does Arch make available?
        "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
        – John F. Kennedy, February 26, 1962.

        Comment


          #5
          Re: My Big Arch Move

          Originally posted by GreyGeek
          Nice write up... well done!

          What versions of KDE does Arch make available?
          Thanks. Like I said, I've dropped KDE, so I haven't looked into it in detail. But Arch is very up-to-date by design, so they have the latest KDE (right now 4.3.3), and given the Arch philosophy, it's KDE as the KDE designers intended it - very few mods. I've heard good things about it, like it's one of the best KDE distros.

          I also came across this... http://chakra-project.org/ Kind of the Kubuntu of Arch. In fact I almost installed it, but then decided to start from scratch and decide if I still wanted KDE (which in the end I didn't.) I may look into some of those kdemods at some point though, which Chakra is based on, just for KDE apps that I use. Basically I'm running the KDE4 apps I like but without Plasma and other stuff that makes up the whole KDE. It has been very easy to do that in Arch with Openbox at least.

          And if you want to know anything in Arch, check the wiki first...
          http://wiki.archlinux.org/index.php/KDE

          Check out my blog for useful scripts and tips... http://igurublog.wordpress.com

          Comment


            #6
            Re: My Big Arch Move

            Weyhey, nice to see another archer here - even if it is a little late.

            Will be looking out for you over at the Arch forum
            Once your problem is solved please mark the topic of the first post as SOLVED so others know and can benefit from your experience! / FAQ

            Comment


              #7
              Re: My Big Arch Move

              Originally posted by toad
              Weyhey, nice to see another archer here - even if it is a little late.

              Will be looking out for you over at the Arch forum
              Ditto! I've been around there a bit - same nick.
              Check out my blog for useful scripts and tips... http://igurublog.wordpress.com

              Comment


                #8
                Re: My Big Arch Move

                Originally posted by IgnorantGuru
                ....
                I also came across this... http://chakra-project.org/ Kind of the Kubuntu of Arch. In fact I almost installed it
                ....
                I downloaded the 64 bit version, burned and booted it. After it asked me for my language it presented a menu of options. I tried the first two (free drivers and proprietary drivers). Both ending with a terminal prompt after complaining that it couldn't find the install medium. So, it forgets where it got the menu from after you chose a menu option.
                "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
                – John F. Kennedy, February 26, 1962.

                Comment


                  #9
                  Re: My Big Arch Move

                  Yep, GG - the only time I tried chakra as a live CD it worked, but I think that was pure luck
                  Once your problem is solved please mark the topic of the first post as SOLVED so others know and can benefit from your experience! / FAQ

                  Comment


                    #10
                    Re: My Big Arch Move

                    @GreyGeek
                    I can't comment on Chakra - haven't heard all that much about it. But Arch is supposed to have a good KDE setup, and also has kdemod (which is what Chakra uses). (Arch doesn't mod much stuff, but in the case of KDE I guess they decided to do so). Like this former Kubuntu user comments, it tends to get good reviews and runs faster. As for the standard Arch install, it's not all that involved if you're willing to follow instructions and setup a few things. I find I learn a lot doing it the Arch way, actually. I think anyone reasonably experienced with (K)Ubuntu can handle Arch.

                    As for KDE, though, after my apps upgraded to 4.4 I was even more unhappy, and am in the process of removing the last of my KDE apps. As hard as it can be to change desktops, I think now is a good time for users to 'reassess their relationship' with KDE. It seems to be going from bad to worse, at least from my perspective. I'm going to be posting an update on my blog in the next few days that details what software I have recently substituted for my KDE apps - I found some good ones out there.

                    Check out my blog for useful scripts and tips... http://igurublog.wordpress.com

                    Comment


                      #11
                      Re: My Big Arch Move

                      Originally posted by IgnorantGuru
                      .....
                      As for KDE, though, after my apps upgraded to 4.4 I was even more unhappy, and am in the process of removing the last of my KDE apps. As hard as it can be to change desktops, I think now is a good time for users to 'reassess their relationship' with KDE. It seems to be going from bad to worse, at least from my perspective. I'm going to be posting an update on my blog in the next few days that details what software I have recently substituted for my KDE apps - I found some good ones out there.
                      I saw from your posting in that thread that you switched from KDE to OpenBox last December. How is that desktop working out for you?

                      I've been using KDE since 1.0 beta on SuSE 5.3 in September of 1998 and have grown very comfortable with it. While I have tried a variety of desktops over the years, none have the power, flexibility and functionality, IMO, that KDE has, which is why I have always remained with it. Also, seven years ago, I began using the Qt widget set to program in-house applications at work and fell in love with it as a dev tool. Since KDE is built with Qt my knowledge of Qt's API has helped me in my use of KDE. For example, a few weeks ago I was having problems with a bug in the repository version of Digikam. I reported the bugs I found to its dev group and found out that the bugs were fixed in their latest version, 1.30.1, IIRC. It was built with Qt so I downloaded the source, compiled it and installed it. Then, just a couple days ago, the KDE 4.4 updates came through and my Digikam install was replaced with the 1.0 version of Digikam for KDE 4.4. This grasshopper should have had more patience!

                      By sticking with one desktop (and it doesn't have to be KDE) one can move from distro to distro with few problems. But, choice is one of the great blessings in Linux, and no one can force a desktop or API down users throats without the risk of driving their user base away. (Did you read that Ubuntu?)

                      Since I always run KDE, the principal reasons why I switch distros is 1) better hardware detection & configuration & compatibility, and 2) to avoid contamination with unwanted proprietary software, especially that which has its roots in the Evil Empire.
                      "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
                      – John F. Kennedy, February 26, 1962.

                      Comment


                        #12
                        Re: My Big Arch Move

                        Originally posted by GreyGeek
                        I saw from your posting in that thread that you switched from KDE to OpenBox last December. How is that desktop working out for you?
                        I really like Openbox, but it is very barebones - you basically create your own desktop by choosing what apps you want, taskbar, etc. But Openbox is very standards compliant so its very easy to use anything. I've got a mixture of LXDE, KDE (phasing out), Gnome, and other components. Very stable and configurable. You can also read my followup from January.

                        Since I always run KDE, the principal reasons why I switch distros is 1) better hardware detection & configuration & compatibility, and 2) to avoid contamination with unwanted proprietary software, especially that which has its roots in the Evil Empire.
                        That's the problem to me with Ubuntu, as well as KDE itself. KDE seems to be courting Windows now - perhaps the Qt relationship has something to do with this. It's not just proprietary software that has evil roots - don't fool yourself there. I think it will be very hard to avoid that with KDE, now and especially as they keep going in the direction they are.

                        Re Qt, I'm thinking of writing a file manager and am pondering the IDE and GUI toolkit to use. I'm not up on the latest. What would you say are the advantages of Qt? It is associated in my mind with Windows now, and with the recent KDE, so I have a negative impression of it. Is that unwarranted? Is Qt 'true linux', or a Windows-Linux combo like MONO? I want to stay with a pure linux environment, preferably avoiding corporate-influenced tools. GTK is more appealing to me as a result, at least from that perspective.

                        Check out my blog for useful scripts and tips... http://igurublog.wordpress.com

                        Comment


                          #13
                          Re: My Big Arch Move

                          +1 openbox

                          As for a file manager, what is wrong with mc? krusader is nothing more than a hyped mc, no?

                          I'm afraid I haven't followed your gripes with KDE, but so be it. Outside the kde world I am not aware of any decent file managers :P So if you want to write one that would be just fine and dandy. afaiac gtk not only has a horrible interface but gtk apps are not portable in that they absolutely insist on gtk rendering libraries, i.e. they will always look absolute crap unless you want to wrap them, i.e. rewrite whole libraries for each and every app. This is not acceptable (at least not to me).

                          There is a variety of other gui stuff, but I reckon you'd best ask in the arch forum for decent advice, not some rambling of somebody who hasn't really got a clue (read me).
                          Once your problem is solved please mark the topic of the first post as SOLVED so others know and can benefit from your experience! / FAQ

                          Comment


                            #14
                            Re: My Big Arch Move

                            Originally posted by toad
                            As for a file manager, what is wrong with mc? krusader is nothing more than a hyped mc, no?
                            If you mean the text one, I would probably like that - I wrote something similar for DOS a long time ago. But with today's looooooong filenames I figure that would be a problem. And drag and drop is kind of nice, though usually I prefer the keyboard. I might have at look at mc though - thanks for the suggestion.

                            GTK does indeed have its issues. I need to do some exploring.
                            Check out my blog for useful scripts and tips... http://igurublog.wordpress.com

                            Comment


                              #15
                              Re: My Big Arch Move

                              I am a fan of multi bootable partitions with a seperate data partition and have used Kubuntu for several years now.

                              Some time last year I installed Arch on a partition. Couldn't get a desk-top to run. Some weeks later I booted Arch again and did an upgrade and KDE started to work. YES! No. Some weeks after that another upgrade broke it again. At that point I lost interest.

                              I do recommend Arch as a learning experience if nothing else. They have an excellent wiki and tutorials. You need a second computer close by to read all that though. I do suggest a second partition that just works in case something breaks. Some day I plan to try it again.

                              As far as the QT, MONO, MS, Sun, Apple, Interactions I don't know. Who knows, some day Google may buy Microsoft of visa versa. Maybe Oracle will dump Sun, Then what of OpenOffice and Mysql. China may own us all some day.

                              I quit using Windows several years ago but still had to boot it once last year. Grr!
                              Ken
                              Opinions are like rear-ends, everybody has one. Here's mine. (|)

                              Comment

                              Working...
                              X