Due to spam comments are moderated and will only appear after approval.

Monday, 11 October 2010

Experiencing Arch Linux with the ArchBang Live CD

So I got my new laptop ready for some hardcore multi-boot action, and one of the distributions I’ve always wanted to test is ArchBang. I’ve tried Arch before and installed it a couple of times just for fun, both in a virtual environment and on disk, but haven’t been serious about it. It was just to practice the installation and play around.

A couple of months back ArchBang caught my eye, when it was first announced on Distrowatch.com. ArchBang is a live CD distribution of Arch Linux that is light on resources. Arch is known to apply no to, and only if absolutely necessary, minimal patching to upstream software, which usually results in a high degree of stability and an experience as intended by the developers.
ArchBang by default uses a blend of Xfce4 and Openbox for the window manager, coupled with tint2 for the panel and conky to provide system information and monitoring on the desktop. An interesting mix in my book, and anyone who’s been reading any of my previous articles will know that I go for the lighter environments. It’s not just a resource and speed issue, I find them more interesting and flexible, if sometimes a little more work to set up.
Also, I’m generally not really interested in starting bare bones but rather have a minimal graphical environment to start with, much like Zenwalk or Slitaz, and customize from there. ArchBang fits perfectly into this category, so I decided to check it out a bit more. What can I say, I’m loving it.
ArchBang 2010.9 - the default look
In the words of the introduction on the website, ArchBang is a simple GNU/Linux distribution which provides you with a lightweight Arch Linux system combined with the Openbox Window Manager.
Suitable for both desktop and portable systems – It is fast, stable, and always up to date.
You can customise your install to suit your needs, and draw on the vast resources and knowledge of the Arch Linux community.

Both 32 (i686) and 64 bit versions are available which can be used as a bootable live CD or on a USB stick. The live system can be loaded into ram and allows a full install. Being a distribution of Arch Linux it is using pacman for package management, a command line tool. Repositories can be edited in the configuration file.

I downloaded the x86_64 edition of 2010.09. After the download initially running it live from CD to explore posed no problems, my relatively new hardware was recognised and worked well, except the Broadcom wireless. No surprise here. It is in this case worth mentioning that the wired Broadcom tg3 Gigabit Ethernet connection was recognized, because not all distributions I have tried in the last few days have managed this. The wireless is a 4357 which seems to be the latest in the line, so really quite new hardware. Networking is managed by Wicd in the panel tray, which also gives access to the Xfce power manager and clipboard.

The CD performed well and responsive. Only the startup was a bit ugly using Plymouth, it showed off a grey background with a sort of blocky black area on top starting from the upper left, backgrounding the boot messages.  Be aware that the system is set up for sudo, in live mode the CD will autologin as user 'live' and no password is set by default, so the user will not need to enter a password when sudoing. The root account also has no password set, but you can set one with "sudo passwd account". None of my preconfigured partitions was mounted though, like many live distributions do, in light of the previous sentence a good thing.

After an initial good impression I proceeded to test out the hard drive installation, which again worked well. There's a short guide here on the ArchBang wiki. It’s almost identical to the Arch installer, only with a couple of steps omitted that don’t make sense in the current environment. All in all very good and efficient, but it helps to have some previous experience installing a linux distribution, or preferably with the Arch installer already, as you have to know what you’re doing. Don’t expect handholding or tips like in some graphical installers. At the end of the install routine you have the oportunity to turn off Plymouth, which I highly recommend due to the jagged looks, and now also to set passwords.

Installing to hard drive from live mode
The default look gives it a sort of dark and hackerish Sci-fi feel. ArchBang has two virtual desktops and each has their own separate taskbar area in the bottom panel. The default package selection is also quite good.  The web browser is Namoroka, another unbranded Firefox clone. Oddly enough there’s no app for email, but in the days of universal web mail and the availability of pacman repositories this is no big deal. Then there are Searchmonkey for ... wait...searching your drive for files you misplaced, File-roller for all your graphical archiving and extracting needs, Leafpad for basic editing, and Thunar for file management. The terminal is LXterminal by the way, not the Xfce4 one.
In the Graphics section we have the Gimp and GPicView for editing and viewing, and there is a submenu to take a screenshot with scrot either now or in 5 or 10 seconds. I find this really well thought through, and little touches like this make a distribution stand above the rest and give it personality.
For Multimedia ArchBang 2010.09 comes with VLC as media player with all the necessary codecs already included, and Xfburn for turning all your downloaded ISO files into yet more bootable CD’s.
There’s also a shortcut called Volume Control that starts Alsamixer.
The Network section is populated with the Gnome Network Tools for your networking information, monitoring, pinging and port scanning etc., gFTP for uploads, and of course the browser.
In the Office section finally there are Abiword (without plugins), Gnumeric for those spreadsheets, Evince for viewing PDF’s and Xcalc as calculator.
Just while writing this and only two weeks after the 2010.09 release Archbang 2010.10 came out with the following changes.
  • VLC was switched for SMPlayer
  • GPicView was switched for Geeqie
  • Geany added
  • Dropbox added
  • Minitube added
  • Pidgin added
  • Radio Tray added
  • Cheese added
  • xdg-menu added 
All this can of course be achieved by adding the respective applications from the repository. I actually like the 2010.09 version better and will keep using this as a base, not the least because of the artwork and the tint2 configuration which in the newest version in my opinion takes up a bit too much space with the newly introduced padding.

More important is all the extras the ArchBang team has added to their Openbox implementation. Below the applications section there is a Places menu which monitors your home folder and allows to browse straight from here by either starting Thunar at the top level or choosing a document directly. Changes update instantly. Below this there is a Settings entry with various sub menus, for example to turn on various levels of transparency, for direct access to configuration tools like Obconf and the Openbox menu editor, Nitrogen to choose your wallpaper and the Xfce power managemnt tool, as well as direct editing of all the relevant configuration files for the Conky system monitor, the tint2 panel, and of the menu.xml and autostart files. Last but not least the System menu provides access to the graphical system information tool HardInfo which lists your hardware properties and allows to run benchmarks as well. Lastly you can set  mouse and keyboard preferences here via the Xfce tool. I tested all these entries including the different transparency settings and they all work.

Other applications are included that don’t show up in the menu like Htop, although this one has an entry added in the latest updated version 2010.10 ("Reloaded" Revision A).
I appreciate Conky as a light and highly configurable system monitor and information tool that is easy to adjust in one text file. Another boon is the drop down menu the Archbang guys have implemented, listing shortcuts to the main applications and some functions like a system update. Alt+F3 launches a dynamic menu on the top of the screen that provides access to all installed applications and can be scrolled through with the right arrow.

After a quick and successful installation and a reboot I logged into the desktop, an almost exact replica of the live CD. Only the copy2ram function of the top Openbox menu was missing. Logging into the root account revealed a bare Openbox without the nice wallpaper and panel and with a vanilla menu. I got the idea that ArchBang is really supposed to be run from sudo which is part of the install.

I synchronized pacman and did a full system update, but ArchBang seemed to have newer packages than the Arch repositories. Everything shaped up nicely except of course the expected problem with the Broadcom wireless chip. Wicd showed no wireless networks. I made sure that wireless-tools and wpa_supplicant were installed. It didn’t take too long until I came across relevant and up to date information in the Arch wiki to sort this out. I went for the broadcom-wl package in AUR. The package didn’t compile and I found that I had a 2.6.35 kernel but 2.6.34 headers installed. A quick search revealed that there was a newer kernel 2.6.35.7-1 with matching headers in the Arch repositories, which I downloaded and installed manually with pacman. (The latest 2010.10 image already comes with this new kernel.) After this making the AUR package with the PKGBULD and loading the module worked fine, and the interface came up as eth1. I highly recommend following the steps as laid out on the respective page under the Driver installation section and to edit your rc.conf.
If you want to avoid re-compiling the driver after every kernel upgrade there’s also an LTS kernel available, currently at 2.6.32.24-1 (kernel26-lts).

Broadcom wireless is up
With freedom of movement around the house achieved I set out to personalise a bit more and install more applications. I added Bluefish, SMplayer, Scite, xvidcore, a few more Gstreamer codec sets, ffmpegthumbnailer and Totem. Fetching all these from the Arch repositories worked at a good speed and the respective applications worked without problems.
IDE’s like Eclipse and Netbeans are present there. Gambas2 is also in the repository, with the dependency resolution Arch offers a definite plus over Slackware, where getting Gambas2 to run turned into a real nightmare.

Adding more packages with pacman
I also set out to add a few entries for the newly added applications to the Openbox menu and personalise Conky a bit. Part of why I like Openbox is how easy it is to edit the menu structure. I added a top level search function to it and replaced the battery info in Conky with one to show the running kernel, then edited the ArchBang logo in the Gimp to grey scale to match the changed wallpaper. Nothing too dramatic. Conky reloads instantly on any change to the configuration file, no need to kill it manually.

Xfburn - burning the 2010.10 ISO
As I said earlier on, after about five days of use I love ArchBang. It is stylish and innovative without reinventing the wheel or making overblown choices, it just takes what’s already available and by adding well thought out customizations offers character and user friendliness in a unique blend. Of course you can install Arch from scratch but you’ll miss out on all the customizations. There is a guide written by one of the ArchBang guys on How to set up Arch Linux with Openbox in 21 steps if you’re interested. It also proves you don’t need KDE4 to have a good looking functional desktop, and in its flexibility and base appeals more to me than the offerings of some other distributions that use Openbox.
Being a distribution of Arch Linux also means it is rolling, so in theory always up to date and no more reinstalling, if that’s what you want.
There were no dead shortcuts and applications launched as intended, either from the menu or from the run comand. Suspend/resume worked smoothly when invoked from the power manager in the tray. The system feels rock solid. My wireless issue was relatively easy to sort out due to the good documentation.
Both the Arch and ArchBang documentation is as I found accurate, easy to follow and bang (pardon me) up to date. It is also easy to find the information you’re after. You’ll find yourself largely referring to the Arch wiki, if only for the pacman syntax if you’re new to this. Not many distributions that I know of can compete with this high level of well organised documentation. Besides the documentation for Arch applying there is information in the release announcement to 2010.10 on the ArchBang website on how to install proprietary graphics drivers should you need them.

ArchBang has definitely won the race as distribution of choice on this new laptop, but I won’t forsake Slackware/SalixOS on my other machines just yet, simply for the stability and predictability a release like that offers vs. the rolling nature of Arch.

Addendum: I hinted in the last paragraph at the question of running Arch and/or Slackware. Of course you don't have to decide and can use both. Here's an interesting post on a friendly comparison between the two, http://beej.us/blog/2009/12/arch-vs-slackware/.

Also, this article has had more than 1600 reads in 24 hours, thanks very much!

Addendum 2: If you are like me installing on a laptop you will also want to set up cpu frequency scaling and laptop mode. The necessary daemons are installed but this being Arch you will have to load and configure them via editing the respective text files yourself. For directions how to set up cpufrequtils and for laptop mode tools use the venerable Arch wiki.

13 comments:

  1. Hi Barnaby,
    Nice review, thanks for that - good to know what others think about AB as I'm thinking to give it a spin to test it. Just one little thing - can't see Crunchbang mentioned anywhere in the review and it's crucial for understanding what AB is, as it is obviously inspired by Corenominal's creation - that's where the looks, style and feel of AB come from, and, obviously, the second part of the distro's name:) CB is an amazing distro and if you give it a spin (there is an excellent Debian-based Statler Alpha 2 release available) you will see where AB comes from. Check out www.crunchbanglinux.org! Highly recommended!
    Regards, Teegoat

    ReplyDelete
  2. Indeed, Archbang is Crunchbang like look and feel with Arch motor if you like.
    I have been using it since it started in March I think and the only complaint that computing is getting kind a dull because my distro-search seems finally over.
    But else a rock solid, up to date system, very easy app install with pacman and packer(which does the compiling for you), and the rolling release so no half-year bothersome system updates.
    The Arch community is very efficient and helpfull.
    The Archbang forum is not so active, but you won't need it much as the Arch forum will provide most solutions when some problems arise. The older forum is closed for reasons not known to me. The new forum address is:
    http://bbs.archbang.org

    ReplyDelete
  3. Yes, this latest version uses Crunchbang customizations and even default app selection "word for word" basically, only with Arch as base instead of Debian :) Well I prefer Debian, but this seems interesting too. I wonder how it will work over a period of time stability-wise.

    ReplyDelete
  4. Oh it is closed because it is too time consuming to check 2 different forums lol & the new one looks better thanks to Ghost1227 from the official Arch Linux team!

    ReplyDelete
  5. Thanks everybody for your comments so far. I have indeed never tried Crunchbang before so was not aware they are using the same choice of apps, only that it served as inspiration, with the clue in the name.

    ReplyDelete
  6. Yup, never used Arch but I know of it and amazing thing is how many times during last year an a half I have visited Arch wiki pages to find out something about this or other - they usually have an answer there - AMAZING! This only gives you loads of confidence for the Arch and it's derivates like Archbang. Having said that Crunchbang's forum is probably the most informative, helpful and friendly forum I have ever stumbled upon during my linux adventures - again, a winning element for me. Will be defo taking Archbang for a spin and after that creating my own Arch based system for me:)
    Teegoat

    ReplyDelete
  7. I have used this and liked it but decided to try out some other distributions. I finally installed Arch Linux again. I might try this again some day but happy with what I have now. Arch Linux just seems to work for me and is up to date with out having to wait to long like other distributions.

    ReplyDelete
  8. Just more fun to set up Arch and add the things you want.To install openbox is no big deal and you learn all the workings.

    ReplyDelete
  9. Great review, thanks. I've been playing around as a relative n00b installing Linux on old PCs. Arch sounded like a lot of work to install and customize, so maybe ArchBang has done some of the work for me! After reading this I'm definitely going to give it a try.

    ReplyDelete
  10. I have lightly toyed many times with installing Arch. The basic idea seems easy. In fact, I've gotten pretty adept at installing the base system. Where I get screwed up is installing the DE (usually GNOME). I install all the recommended stuff, and yet I always encounter problems.

    I think I'll give Arch Bang a try. Thanks for the review.

    ReplyDelete
  11. @Anonymous
    I suppose that is Gnome for you, Pulseaudio and a mountain (or maze?) of dependencies. Just too complex. If you take a look at this http://people.freebsd.org/~adamw/gnome_kde_deps/ flow chart you´ll see what I mean, and this is for a Gnome lite install and a few years back because it compares to Kde3. It hasn´t gotten better.
    Glad you enjoyed the review and thanks for the comment. Hope you will like ArchBang.

    ReplyDelete
  12. ive used crunchbang alot i really want to get into arch. its just i cant get passed the broadcom issues. i try everything on the wiki. i think its just my laptop. or well not for my laptop. its good on the old pc though.

    ReplyDelete
  13. @Anonymous
    Thanks for the comment. Shame none of the solutions offered there worked for you. Not my experience. maybe stay with CB then on this machine as it seems to work better for you. What is your Broadcom chip?

    ReplyDelete

Please leave your comment here. Spam will be deleted.

Labels

12.04 LTS (1) 1280x1024 (2) 14.1 (1) absolute (3) accessibility (6) administration (1) afterstep (1) android (1) announcements (12) anonymity (3) anonymous (1) antiX (2) applications (1) arch (9) archbang (11) archone (1) authentication (1) bash (2) bittorrent (1) bodhi (1) books (1) browsers (5) browsing (1) bsd (2) bug (1) bugs (2) calculate (1) centos (1) certification (1) chakra (2) chatzilla (1) chromium (2) click (1) commodore 64 (1) crunchbang (5) crux (1) ctkarch (1) debian (18) desktop (54) digital certificates (1) distributions (71) documentaries (1) documentation (2) drivers (1) e17 (1) encryption (1) enlightenment (1) events (1) fake (1) fedora (6) firefox (3) flash (1) fluxbox (6) fluxflux (1) FPS (2) free software (2) frugalware (1) FSF (1) fusion (1) fvwm (1) fvwm-crystal (1) games (10) gaming (8) gentoo (2) gnome (8) gnome shell (4) gnu/linux (3) google-chrome (2) graphics (1) grml (1) hardcore punk (1) hardware (3) how-to (21) humor (1) icewm (3) interview (1) introduction (1) jibbed (1) jwm (1) kanotix (2) kde (17) kde3 (1) kernel (5) knoppix (1) kongoni (2) kubuntu (1) LAS (1) linux (17) linux light (11) live (40) live medium (12) live system (7) lxde (11) lxqt (1) mageia (1) mandriva (1) marine life (1) mate (1) media center (4) mepis (2) mint (2) mobile (2) movies (5) mozilla (3) music (1) netbook (2) networking (2) news (2) open source (1) openbox (13) openSUSE (2) opinion (12) other (5) overclockix (1) pclinuxos (2) perl (1) poll (2) porteus (3) privacy (3) privoxy (1) programming (1) proxy (2) puppy (3) qt (1) quick look (10) ratpoison (1) red hat (6) relax (1) release (1) reviews (48) rhythmbox (1) RPG (2) sabayon (5) salix (15) scientific (7) screenshots (2) scripts (3) security (1) semplice (1) server (3) shell (1) shooter (4) siduction (1) slackel (1) slackware (44) slackware-current (6) slax (7) slitaz (1) smart phones (2) sms (1) south africa (2) specialist (1) spoof (1) surfing (1) table mountain (1) themes (1) tinyme (1) tips (1) tor (2) traffic analysis (1) trinity (1) trisquel (1) ubuntu (4) unity (2) unity linux (3) unix (1) upgrade (5) vector (2) video (3) vinux (2) virtualbsd (1) visual impairment (5) wallpapers (3) window maker (4) window managers (1) wireless (10) xfce (13) youtube (1) zenwalk (3) zoo (1)