Topic: Crunchbang Squeeze

Yesterday I installed a Debian testing base system and then manually installed a Crunchbang style setup. I did it manually because I thought that using the crunchbang-installer-9.04 script would cause problems, mixing Jaunty and Crunchbang 9.04 repo's with Debian testing might cause some issues, as well as problems like Firefox being rebranded as Iceweasel in Debian.

For those that are interested this is a simple how to:

Download & burn the 'netinst' iso:

http://www.debian.org/devel/debian-installer/

Follow the installer through, it's very straightforward and will automatically configure your network if you use dhcp. I found the Debian netinstall much easier and quicker than a Ubuntu minimal install. One of the good things about the Debian installer is that it allows you to choose your mirror during the install so that you're not stuck with a slow server with continual dropouts like with the default Ubuntu UK server.

When asked what software to install select 'Standard System' & nothing else.

Finish up the install, reboot & login as root:

# apt-get update

# apt-get install xserver-xorg-core xorg hal udev alsa-base alsa-utils gdm cups snmp openbox openbox-themes obconf obmenu nitrogen gmrun dmenu lxappearance tint2 conky xcompmgr synaptic ttf-bitstream-vera ttf-dejavu terminator

# dpkg-reconfigure xserver-xorg

# gdm

Once you're logged in you can add the additional stuff to make things more complete. You can use your configuration files from Crunchbang, remember to back them up first. The Crunchbang menu provides a good source for installing all your applications.

One of the first things you'll want to do is add the debian multimedia repo' to /etc/apt/sources.list:

http://debian-multimedia.org/

Install the keyring before running apt-get update.

To get my printer configured I had to install a few extra packages, this is for an HP printer:

$ sudo apt-get install hplip hpijs system-config-printer

Download a few basic apps. I've always installed Crunchbang Lite, so I start with a basic set of applications and build up from there, obviously you can replace these with your own choices:

$ sudo apt-get install iceweasel thunar thunar-volman thunar-thumbnailers ffmpegthumbnailer mousepad vim scrot vlc gpicview file-roller gnome-screensaver gnome-power-manager

I have an Nvidia graphics card, to install the Nvidia driver download from Nvidia:

http://www.nvidia.com/Download/index.aspx?lang=en-us

You'll need a few packages:

$ sudo apt-get install build-essential linux-headers-$(uname -r)

To install you'll need to kill the X server, switch to console 1: press ctrl+alt+F1 simultaneously, once there login using your username & password & stop gdm:

$ sudo /etc/init.d/gdm stop

Install the driver:

$ sudo sh NVIDIA-Linux-x86_64-185.18.36-pkg2.run

Follow the install process. Make sure you allow the installer to automatically modify /etc/X11/xorg.conf. Once done load the Nvidia module:

$ sudo modprobe nvidia

Restart gdm which will bring back X:

$ sudo /etc/init.d/gdm start

If the kernel is ever updated during a system update you don't need to re-install the driver only the kernel module:

$ sudo sh NVIDIA-Linux-x86_64-185.18.36-pkg2.run -K

Additional stuff:

To set your user to use sudo you need to edit /etc/sudoers as root using su:

$ su

and enter the root password, then:

# visudo

and add your user to the user privilege section:

# User privilege specification
root    ALL=(ALL) ALL
username  ALL=(ALL) ALL

I had a problem with obmenu not running, to solve this you have to edit /usr/bin/obmenu and change:

#!/usr/bin/python2.4

to

#!/usr/bin/python

Once all this is done you should have a fairly standard Crunchbang system with a Debian testing base. There will be things missing like the places pipe menu, system-update script, etc, and you'll probably find that it'll never be as complete as a proper Crunchbang install. For instance to shutdown or reboot I just use 'sudo poweroff' & 'sudo reboot'. You could use something like Oblogout which is mentioned in the forums.

Doing this will get you some newer application versions like mpd-0.15.4 which increases the functionality of ncmpcpp. You also get some problems though like the new cups-1.4, to get my printer working I had to run 'system-config-printer' as root, as cups would not detect my usb HP printer, this was after disabling 'usblp' as recommended on the Arch linux home page. As Debian doesn't have 'rc.conf' I added usblp to /etc/modprobe.d/blacklist.conf, where you can also disable your annoying system bell:

blacklist usblp
blacklist pcspkr

Eventually Squeeze will become Debian stable. To keep the system as Debian testing change all instances of 'squeeze' to 'testing' in /etc/apt/sources.list. This will negate the need to re-install every six months like with Ubuntu. I've found I'm using less RAM than a standard Crunchbang Ubuntu install and everything seems to be working very well. I have previously done this with an Arch base and got fed up fixing breakages after certain 'pacman -Syu's. Hopefully Debian testing will be more stable than Arch and breakages will occur less often.

Hope this is of use to someone, any ideas for improvements are very welcome. smile

Re: Crunchbang Squeeze

Thank you for sharing this Raffles10 smile. I'm looking at doing something similar myself this week and this is a great reference point cool

I think you'll find less breakages than you did at Arch. The Arch repos are more like Debian unstable (sid) so hopefully using testing will have more stable results.

A Creative Commoner | My images at Google+ | A Waldorf Review

Silence is sometimes the best answer - Dalai Lama.

Re: Crunchbang Squeeze

Nice work dude!

One problem/advantage (depending on perspective) with Debian is that they will never include binary blobs in their kernels, so either you need to make sure your hardware is supported by open source code or you might need to "roll your own kernel" to include support for e.g. a wifi card.  This is an advantage in that hardware supported by Debian software is open to peer review; it's a disadvantage because there is a lot of hardware that requires closed-source drivers.

while ( ! ( succeed = try() ) );

Re: Crunchbang Squeeze

Raffles, very well written. I will do it exactly like this smile Thanks a lot!

Nothing right in the left brain. Nothing left in the right brain.

Re: Crunchbang Squeeze

pvsage wrote:

Nice work dude!

One problem/advantage (depending on perspective) with Debian is that they will never include binary blobs in their kernels, so either you need to make sure your hardware is supported by open source code or you might need to "roll your own kernel" to include support for e.g. a wifi card.  This is an advantage in that hardware supported by Debian software is open to peer review; it's a disadvantage because there is a lot of hardware that requires closed-source drivers.

you can install the firmware blobs by adding "non-free" to sources.list, it's like ubuntu's universe/ multiverse*  then installing the firmware-{foo} you need.

a.

* (in the sense that you add it to an existing repo at the end of the line, after 'main'. you can also add "contrib", which is stuff that's free but depends on non free).

Last edited by alon_h (2009-10-28 10:34:47)

Re: Crunchbang Squeeze

pvsage wrote:

Nice work dude!

One problem/advantage (depending on perspective) with Debian is that they will never include binary blobs in their kernels, so either you need to make sure your hardware is supported by open source code or you might need to "roll your own kernel" to include support for e.g. a wifi card.  This is an advantage in that hardware supported by Debian software is open to peer review; it's a disadvantage because there is a lot of hardware that requires closed-source drivers.

Which I guess is one of the reasons many prefer Ubuntu to its 'Daddy'.

But perfection in Linux for me would be a stable rolling-release Crunchbang. Arch is too much effort to maintain as a working system. I'm hoping 'Crunchbang Squeeze' will deliver what I'm looking for. smile

Re: Crunchbang Squeeze

I love you for this, but dang blasted I need this last week! lol. I was giving debian a go again and wanted to create an #! like setup. Needless to say after about 6 hours of  frustration caused by missing certain packages and not knowing what was missing, I reinstall Crunchbang-Karmic (unofficial of course). Thanks for this.

Re: Crunchbang Squeeze

alon_h wrote:
pvsage wrote:

Nice work dude!

One problem/advantage (depending on perspective) with Debian is that they will never include binary blobs in their kernels, so either you need to make sure your hardware is supported by open source code or you might need to "roll your own kernel" to include support for e.g. a wifi card.  This is an advantage in that hardware supported by Debian software is open to peer review; it's a disadvantage because there is a lot of hardware that requires closed-source drivers.

you can install the firmware blobs by adding "non-free" to sources.list, it's like ubuntu's universe/ multiverse*  then installing the firmware-{foo} you need.

a.

* (in the sense that you add it to an existing repo at the end of the line, after 'main'. you can also add "contrib", which is stuff that's free but depends on non free).

Contrib & non-free are also needed to install msttfcorefonts which I had trouble finding, once they're added to sources.list it just takes:

$ sudo apt-get update && sudo apt-get install ttf-mscorefonts-installer

big_smile

Re: Crunchbang Squeeze

As long as we're not paying for it, I don't have any problem with using a Microsoft product like msttfcorefonts in Linux.  Some people might find it objectionable however.

while ( ! ( succeed = try() ) );

Re: Crunchbang Squeeze

what are msttfcorefonts needded for? are there certain stuff that won't view if you don't have it, or is it just because you want to use those fonts?

a.

Re: Crunchbang Squeeze

Certain websites weren't displaying properly, Debian Forums for one, the text wasn't spaced correctly it was just too squashed together. This was after installing bitstream-vera & dejavu. I'm used to things looking right, in Ubuntu I always installed ubuntu-restricted-extras which includes the ms fonts. I don't know if Crunchbang includes them by default, things always look right so I assumed it did.

Why compromise if it's easy to correct ?

Re: Crunchbang Squeeze

Some see including nonfree and/or closed source as a compromise; some see !including it as a compromise.  Again, perspective. roll

I like the fact that #! includes all the bad & ugly stuff, but I understand why Debian leaves it out by default.  I'm actually surprised Ubuntu includes the Broadcom blob, even though they have it set up to notify the user the first time it's activated and give them an option to deactivate it.

while ( ! ( succeed = try() ) );

Re: Crunchbang Squeeze

You know, I've been studying this thread, in fact, I have it in two different forms offline, but for some reason even though I have read it many times, this unusual fact didn't hit me until now:

Debian, DEBIAN forums weren't displaying properly without Microshaft fonts? WTF, dudes?

Freedom to choose is the most basic of all rights.

Re: Crunchbang Squeeze

Ronin wrote:

Debian, DEBIAN forums weren't displaying properly without Microshaft fonts? WTF, dudes?

I guess it depends on what you mean by 'looking right'. If you're used to looking at sites in IE or on windows in general, you may need ms fonts to make you feel at home.

A Creative Commoner | My images at Google+ | A Waldorf Review

Silence is sometimes the best answer - Dalai Lama.

Re: Crunchbang Squeeze

@omns haha, true dat

Re: Crunchbang Squeeze

Any chance on getting someone to make a .iso for download? I can't get the net to configure so I can't install, and the large debian .iso won't run on my mini for some reason. Please? Help? Thanks?

Re: Crunchbang Squeeze

^ haven't quite conquered remastersys on Debian yet. I'll post something if I get there smile

A Creative Commoner | My images at Google+ | A Waldorf Review

Silence is sometimes the best answer - Dalai Lama.

Re: Crunchbang Squeeze

omns wrote:

^ haven't quite conquered remastersys on Debian yet. I'll post something if I get there smile

I look foreward to it.....<3 u !

Re: Crunchbang Squeeze

And me, too.

I have Debian with Gnome working on one partition, because I wanted the challenge of setting it up and tracking down all the little things that make it work properly on every little bit of the web, and I plan to set up another partition to experiment in, namely, a Crunchbang Squeeze, if at all possible.

We'll see.

EDIT: I no longer have Debian Gnome working on one partition, because I got over it. I even had a Slackware 12.2 there briefly. The thrill is gone, though.

I also morphed Linux Mint 7 into the KDE version for my wife, who likes the smoother video experience, and is not as annoyed by the 'close' button ("x") being on the left as I am. (I'm in it now, and I feel like I'm driving a Hummer around. Give me back my Ferrari, please!)

I plan to install Linux From Scratch in that experimental partition over the course of the next *several* months. We'll let you know how that goes, because I may have to ask some of you wizards some advice now and then!

Last edited by Ronin (2009-12-25 00:12:34)

Freedom to choose is the most basic of all rights.

Re: Crunchbang Squeeze

how about try -

Antix-mepis base install
it has an remaster script also

might save some time plus has ceni for wifi

Re: Crunchbang Squeeze

This is a great idea!

I've been been less than impressed with some issues in 9.04 (specifically with compcache {for example}) and have been watching 9.10. That, however seems like it brings its own set of issues, so going "back to the source" (Debian) sounds like a plan.

Thanks for sharing! I'll be giving this a try soon.

Registered Linux user #503837

Re: Crunchbang Squeeze

stopie wrote:
omns wrote:

^ haven't quite conquered remastersys on Debian yet. I'll post something if I get there smile

I look foreward to it.....<3 u !


You and me 3  smile