SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2009-12-09 22:37:17

arpinux
#! Die Hard
From: Montréal, France
Registered: 2009-01-15
Posts: 685
Website

howto crunch'arch

hi #!ers
as some of you already knows, "i'm on arch now big_smile cool "
but i miss my #! too much... so, after playing a little with wmfs, i've finally crunched my arch !
so, how to do that ?
in fact, it's quit easy because corenominal have already done all the job wink big_smile
#! is made of applications but the most important thing in #! (i think), are the scripts and config stuff made by corenominal. and even if arch doesn't use apt, most of apps used by #! are available on arch repositories.

***so , if you want to crunch your arch, you "just" have to take all corenominal scripts&apps and adapt it to arch. you can make it this way:
-make a backup of your own /usr/bin/crunchbang & your /home/$USER/.config ( or any file/directory you want to keep, ie .bash.rc) and copy it to your new home/$USER/bin or /usr/local/bin, or /usr/bin, or in /usr/bin/crunchbang (like the original #!)

/!\ make sure to modify your .bashrc by adding

PATH=$PATH:/usr/bin/crunchbang/
PATH=$PATH:/$HOME/bin/

or, get the crunchbang-bin-scripts.deb, open it with file-roller and find the /usr/bin/crunchbang directory: sudo copy it in your /usr/bin wink

***the login: i suggest you to use slim as login manager. it works very fine & fast in arch but you have to create/modify your ~/.xinitrc
here is mine :

#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)


DEFAULT_SESSION=wmfs

case $1 in
openbox)
    exec ck-launch-session /usr/bin/openbox-session
    ;;
pekwm)
    exec ck-launch-session /usr/bin/pekwm
    ;;
*)
    exec ck-launch-session $DEFAULT_SESSION
    ;;
esac

and adjust it to fit your needs, to choose your session from slim, just hit F1 at login time.
this xinitrc works without login manager too (when using startx from tty)
you could use the omns #! slim theme available on devart wink

if you choose gdm, nothing to do, gdm reads your /usr/share/xsessions directory and openbox.desktop should be there when you install openbox ( pacman -S openbox )

***the logout with gdm/slim/startx : oblogout works!! just download the sources from the launchpad and install it with

sudo pacman -U /path_to_oblogout.pkg.tar.gz

***the "bad thing" (or the Very Good Thing for some of us wink  ):
as arch is not ubuntu-based, the 'out-of-the-box'#! feature isn't here to say "welcome" at first boot... you have to install/load/enable many things like:
install & loading hal & evdev if you want hardware-automatic-detection..
install alsa-utils and maybe tweak it a little to make your soundcard work properly...
but if you use archlinux, you already know that, and if you enjoy archlinux, you don't think it's a bad thing wink

***some differences:
conky-all doesn't exist .... too bad... but we have conky-lua big_smile , so yaourt'it

yaourt -S conky-lua

conkyforecast is available on AUR Kaivalai repositories , to install it:

yaourt -S conkyforecast-bzr

exit gnome-network-tool or nm-applet, just install wicd, and read the doc on arch wiki ( i've posted my /etc/rc.conf at the end and my file doesn't respect arch wiki recommandations... just because i don't really need/use nm-applet or wicd: i only use eth0 interface smile  )

phatch is not available but you can download it from the phatch download page and run it as standalone apps directly from the phatch directory (you can make a link to your ~/bin folder wink  )

***the bonus:
#! try to get free of heavy gnome depedencies... and it's easier to do with a non-ubuntu based distro smile : gdm is not buggy in arch, so pacman'it, tint2 is available too, lxpanel, wicd (no gnome depedencies), gpodder....


the global config file for archlinux is /etc/rc.conf  here is mine

#
# /etc/rc.conf - Main Configuration for Arch Linux
#

# -----------------------------------------------------------------------
# LOCALIZATION
# -----------------------------------------------------------------------
#
# LOCALE: available languages can be listed with the 'locale -a' command
# HARDWARECLOCK: set to "UTC" or "localtime"
# USEDIRECTISA: use direct I/O requests instead of /dev/rtc for hwclock
# TIMEZONE: timezones are found in /usr/share/zoneinfo
# KEYMAP: keymaps are found in /usr/share/kbd/keymaps
# CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
# CONSOLEMAP: found in /usr/share/kbd/consoletrans
# USECOLOR: use ANSI color sequences in startup messages
#
LOCALE="en_US.utf8"
HARDWARECLOCK="UTC"
USEDIRECTISA="no"
TIMEZONE="Europe/Paris"
KEYMAP="fr-latin1"
CONSOLEFONT=
CONSOLEMAP=
USECOLOR="yes"

# -----------------------------------------------------------------------
# HARDWARE
# -----------------------------------------------------------------------
#
# MOD_AUTOLOAD: Allow autoloading of modules at boot and when needed
# MOD_BLACKLIST: Prevent udev from loading these modules
# MODULES: Modules to load at boot-up. Prefix with a ! to blacklist.
#
# NOTE: Use of 'MOD_BLACKLIST' is deprecated. Please use ! in the MODULES array.
#
MOD_AUTOLOAD="yes"
#MOD_BLACKLIST=() #deprecated
MODULES=()

# Scan for LVM volume groups at startup, required if you use LVM
USELVM="no"

# -----------------------------------------------------------------------
# NETWORKING
# -----------------------------------------------------------------------
#
# HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
#
HOSTNAME="thinkarch"

# Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available interfaces.
#
# Interfaces to start at boot-up (in this order)
# Declare each interface then list in INTERFACES
#   - prefix an entry in INTERFACES with a ! to disable it
#   - no hyphens in your interface names - Bash doesn't like it
# 
# DHCP:     Set your interface to "dhcp" (eth0="dhcp")
# Wireless: See network profiles below
#

#Static IP example
#eth0="eth0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255"
eth0="dhcp"
INTERFACES=(eth0)

# Routes to start at boot-up (in this order)
# Declare each route then list in ROUTES
#   - prefix an entry in ROUTES with a ! to disable it
#
gateway="default gw 192.168.0.1"
ROUTES=(!gateway)
 
# Enable these network profiles at boot-up.  These are only useful
# if you happen to need multiple network configurations (ie, laptop users)
#   - set to 'menu' to present a menu during boot-up (dialog package required)
#   - prefix an entry with a ! to disable it
#
# Network profiles are found in /etc/network.d
#
# This now requires the netcfg package
#
#NETWORKS=(main)

# -----------------------------------------------------------------------
# DAEMONS
# -----------------------------------------------------------------------
#
# Daemons to start at boot-up (in this order)
#   - prefix a daemon with a ! to disable it
#   - prefix a daemon with a @ to start it up in the background
#
DAEMONS=(syslog-ng network netfs crond cups acpid laptop-mode hal wicd fuse hddtemp slim)

***the graphics parts:
#! comes with a specific look, so if you want it, make a backup of your own themes files or get the crunchbang-theme or the crunchbang-wallpapers from the repositories, open the deb with file-roller (or xarchiver) as any archive, and search the theme.... so, now, you know how to steal all crunchbang stuff !! lol  (but i'm sure you've already knew it wink  ).

***the end
it was really fun to tweak arch like crunchang. very easy too, in fact... as i said before: corenominal already did all the work for us !! big_smile

i think archlinux & crunchbang can 'collaborate' very well and , i know it'll be VERY difficult to make a crunch'arch'live that could be run from any computer but, if you have a day off, some curiosity, and if you want to free yourself from ubuntu/debian cycle releases.... come on the #! rolling release: crunch'arch!  big_smile

this is not an exhaustive howto (as you can see smile  ) , so, for all #!apps you want to install, i recommend to take a look at the arch wiki page because depedencies are sometimes different from ubuntu repositories... and also because arch wiki is one of the best source of info on the net (talking about linux apps of course... smile  )

if you're still here, thx wink

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

Offline

Be excellent to each other!

#2 2009-12-09 22:47:02

rizzo
#! wanderer
From: ~/
Registered: 2008-11-25
Posts: 5,109

Re: howto crunch'arch

More fantastic work arpinux cool Your efforts are greatly appreciated smile

Offline

#3 2009-12-09 22:53:58

arpinux
#! Die Hard
From: Montréal, France
Registered: 2009-01-15
Posts: 685
Website

Re: howto crunch'arch

^ thx a lot omns smile
glad you like this one too wink

Offline

#4 2009-12-10 03:39:11

gutterslob
#! Resident Bum
Registered: 2009-11-03
Posts: 2,645

Re: howto crunch'arch

Nice!!

You shall now be known as Archinux!! tongue


Point & Squirt

Offline

#5 2009-12-10 06:37:57

klanger
#! Die Hard
Registered: 2009-02-18
Posts: 596

Re: howto crunch'arch

Nice how-to smile

But since you don't use wlan, why do you use wicd?
I don't understand wink
WICD takes about 10MB of RAM!

Here is ArchWiki part about setting network connecton - http://wiki.archlinux.org/index.php/Configuring_Network

Even with wlan (wifi) you don't really need wicd nor nn-applet and save MB of RAM smile

Last edited by klanger (2009-12-10 06:39:48)

Offline

#6 2009-12-10 07:07:18

arpinux
#! Die Hard
From: Montréal, France
Registered: 2009-01-15
Posts: 685
Website

Re: howto crunch'arch

hi klanger,
as i said, i don't really need it, it is here just for the exemple, just in case someone needs a network manager wink.
thx for pointing out smile

Offline

#7 2009-12-10 07:38:57

klanger
#! Die Hard
Registered: 2009-02-18
Posts: 596

Re: howto crunch'arch

In Arch-Linux there is a small problem with eeepc apps such as eee-control (which works but not as good as on ubuntu-based distros - when I was using Arch - maybe now GUI is OK).

Most of them (but sometimes with new name) are in AUR, but they need text editing to work correctly.

Offline

#8 2009-12-10 07:44:04

pvsage
Internal Affairs
From: North Carolina
Registered: 2009-10-18
Posts: 9,027

Re: howto crunch'arch

^ I thought you said *everything* ran great on an eee! tongue


while ( ! ( succeed = try() ) );
We've earned a reputation as a nice, friendly community; please help us keep it that way.

Offline

#9 2009-12-10 15:30:24

anonymous
The Mystery Member
From: Arch Linux Forums
Registered: 2008-11-29
Posts: 8,904

Re: howto crunch'arch

@arpinux:

1. oblogout and Phatch are both in the AUR too.

2. For launching Slim I would use the inittab method instead of launching it as a daemon:

http://wiki.archlinux.org/index.php/Dis … mmended.29


Note: ** Please read before posting **

BTW if you wish to contact me, send me an e-mail instead of a PM.

Offline

#10 2009-12-10 15:42:52

Kookaburra
#! CrunchBanger
From: Orléans - France
Registered: 2009-09-03
Posts: 234

Re: howto crunch'arch

Whooo, good job !

One day, I going to try this ... One day
(I have create 3 "free" 10 Go partitions on my HD in order to test some distributions, but I have fears about have troubles with "grub" and acces to the others installs distributions on my PC ... hmm)

Offline

#11 2009-12-10 15:57:05

craigh
#! CrunchBanger
From: UK
Registered: 2009-08-02
Posts: 209

Re: howto crunch'arch

I can't get the new Arch image to boot on my Dell mini, I might have to try the old image but I am worried how out of date it will be.

Last edited by craigh (2009-12-10 15:57:28)


Running Crunchbang on eee pc 701 and Dell Mini 10v.

Offline

#12 2009-12-10 16:05:27

anonymous
The Mystery Member
From: Arch Linux Forums
Registered: 2008-11-29
Posts: 8,904

Re: howto crunch'arch

@craigh - have you tried using the regular ISO and unetbootin?

Also as long as the old image isn't like 2 years old, you should be able to update it successfully anyways. Remember that Arch is rolling release.


Note: ** Please read before posting **

BTW if you wish to contact me, send me an e-mail instead of a PM.

Offline

#13 2009-12-10 16:33:46

craigh
#! CrunchBanger
From: UK
Registered: 2009-08-02
Posts: 209

Re: howto crunch'arch

anonymous wrote:

@craigh - have you tried using the regular ISO and unetbootin?

Also as long as the old image isn't like 2 years old, you should be able to update it successfully anyways. Remember that Arch is rolling release.

I tried the regular iso with unetbootin with various commands off the arch forums. The old image I have got is 2009.02 so it should be ok it ran fine on my eee pc.


Running Crunchbang on eee pc 701 and Dell Mini 10v.

Offline

#14 2009-12-10 16:45:34

snowpine
#!-a-roo
Registered: 2008-11-24
Posts: 2,555

Re: howto crunch'arch

Arch wiki is your friend. They provide a USB image, no reason to use Unetbootin:

http://wiki.archlinux.org/index.php/Ins … _USB_stick


/hugged

Offline

#15 2009-12-10 17:01:43

arpinux
#! Die Hard
From: Montréal, France
Registered: 2009-01-15
Posts: 685
Website

Re: howto crunch'arch

@ anonymous, thx for this tips smile
i'm a newb'arch so i have to learn a little more how this distrib works smile

Offline

#16 2009-12-12 20:34:27

Bruce
#! CrunchBanger
Registered: 2009-05-29
Posts: 242

Re: howto crunch'arch

gutterslob wrote:

Nice!!

You shall now be known as Archinux!! tongue

I was thinking more along the lines of Archpinux! or ArpArch!  smile

It's interesting, I'm one of the newbies to #! and I see (my naming structure):

1. CrunchBang! - cornominal (the Ubuntu original)
2. DebianBang! - omns
3. ArchBang! - arpinux

we need a:

RedBang!, SusBang!, DrivaBang!, SlackBang! etc.  smile

Sound like with a little pizazz and knowhow any "distro" can be "Crunched!" and that's the neatest thing that corenominal has done for #!.

Some of us remember the Mr. Christie cookie commercial:
"Mr. Corenominal, you make good crunchies!"

CHIMO!
Bruce

Last edited by Bruce (2009-12-12 20:35:16)

Offline

#17 2009-12-12 20:45:59

arpinux
#! Die Hard
From: Montréal, France
Registered: 2009-01-15
Posts: 685
Website

Re: howto crunch'arch

^ YEAH!! CrunchyVirus will infect all of us !! big_smile

Offline

#18 2009-12-12 21:53:53

Bruce
#! CrunchBanger
Registered: 2009-05-29
Posts: 242

Re: howto crunch'arch

arpinux wrote:

^ YEAH!! CrunchyVirus will infect all of us !! big_smile

Which only goes to prove that a virus can be GOOD!

Have a nice day.
Bruce

Offline

#19 2009-12-12 22:30:37

craigh
#! CrunchBanger
From: UK
Registered: 2009-08-02
Posts: 209

Re: howto crunch'arch

I installed Arch today on my Dell Mini 10v. The install went ok with wireless being the main problem.

Last edited by craigh (2009-12-12 22:30:58)


Running Crunchbang on eee pc 701 and Dell Mini 10v.

Offline

#20 2009-12-12 22:50:10

arpinux
#! Die Hard
From: Montréal, France
Registered: 2009-01-15
Posts: 685
Website

Re: howto crunch'arch

hi craigh ,sorry but i don't use wireless hmm

Offline

#21 2009-12-12 22:54:57

pvsage
Internal Affairs
From: North Carolina
Registered: 2009-10-18
Posts: 9,027

Re: howto crunch'arch

Wireless is a problem with most Linux distros, especially if you have a Broadcom card, which is the common WiFi brand in Dell notebooks and netbooks.  Fortunately, this forum is searchable and has many threads in which wireless issues have already been addressed.


while ( ! ( succeed = try() ) );
We've earned a reputation as a nice, friendly community; please help us keep it that way.

Offline

#22 2009-12-12 23:53:45

craigh
#! CrunchBanger
From: UK
Registered: 2009-08-02
Posts: 209

Re: howto crunch'arch

I got the wireless working when I installed Arch but it was a problem with loading modules etc.


Running Crunchbang on eee pc 701 and Dell Mini 10v.

Offline

#23 2009-12-12 23:56:47

arpinux
#! Die Hard
From: Montréal, France
Registered: 2009-01-15
Posts: 685
Website

Re: howto crunch'arch

craigh wrote:

I installed Arch today on my Dell Mini 10v. The install went ok with wireless being the main problem.

you could switch to wicd : http://wiki.archlinux.org/index.php/Wicd
when you'll got your wireless recognize

Offline

#24 2009-12-13 00:00:11

craigh
#! CrunchBanger
From: UK
Registered: 2009-08-02
Posts: 209

Re: howto crunch'arch

I am using Wicd it was easier to setup with the wireless.


Running Crunchbang on eee pc 701 and Dell Mini 10v.

Offline

Be excellent to each other!

#25 2009-12-13 00:02:30

arpinux
#! Die Hard
From: Montréal, France
Registered: 2009-01-15
Posts: 685
Website

Re: howto crunch'arch

but if you use wicd , you have to disable some modules on /etc/rc.conf ... it's explain in the tutos linked on previous post.

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo