You are not logged in.
PREAMBLE
Thanks to those from the #! forum and IRC, I have smoothed out most, if not all, of the kinks in this guide. There should not be any major hiccups while going through this tutorial. Should you find one, please post your problem in this thread.
Final Result - without using Sunfizz98's openbox/tint2 configs [wallpaper not included]
Final Result - With Sunfizz98's openbox/tint2/conky configs [wallpaper not included]
==============================
Crunchify AptoSid (Openbox Version)
==============================
Tested and confirmed working on: 32 & 64 bit systems
DIFFICULTY: Moderate (Come Get Some!)
PREREQUISITES
Aptosid livecd/usb (XFCE)
A real computer
Basic Linux Know-how
-creating/saving apt sources.list
-being comfortable with the terminal
Desire to play with Sid and acknowledging that he might break you into multiple pieces
OBJECTIVES
1. Create a fully functional openbox environment similar to crunchbang
2. Purge the xfce environment and its components
3. Remove junk for better junk
4. Make life easier
DISCLAIMER
The author is not liable for any medical/property damage/etc, because it is the user who brought this upon oneself. If this is your first time with linux, do not proceed any further and play with a debian squeeze distribution first (like Crunchbang Linux).
=============
New Default Apps
=============
terminator ---> rxvt-unicode (urxvt)
xchat ---> irssi
gedit ---> geany
network-manager ---> Ceni
thunar ---> pcmanfm
evince ---> epdfview
gdm ---> lightdm
viewnior ---> gpicview
=======================
Important Notes Before Installation
=======================
1. Aptosid uses sux or su instead of sudo for root activities. It is highly recommended to do this whole guide via sux or as root.
2. Ceni will handle all of your internet connectivity problems, but you can always use your preferred internet manager application. Ceni must be accessed with root privileges via terminal.
3. Alsamixer will handle volume-related matters, which can only be accessed via terminal.
4. Volume and Suspend Fn keys are now handled by commands from (Sunfizz98's) rc.xml in openbox config folder. For lazy people, please install xfce4-volumed to get your volume controls working.
5. My autostart.sh, rc.xml, menu.xml are highly modified versions of the crunchbang's respective counterparts, optimized for this current install. Aero-snap and shutdown scripts implemented into rc.xml and menu.xml respectively. Please seek Aero-snap thread to adjust to your monitor's width.
6. The new crunchbang-keyring will be manually installed (included in guide), because it cannot be found in the new repository yet.
7. Please read the aptosid manual regarding the proper way of dist-upgrading or use smxi to walk you through the process. Be aware that the dist-upgrade process will be the most time consuming out of this whole guide. Once this process starts, I recommend doing something else (eat, drink, exercise, etc) for the meantime.
8. My .Xresources contains configuration for Xscreensaver and a slightly solarized version of urxvt. Whenever you make a change to .Xresources, please run "xrdb -merge ~/.Xresources" to initiate the new settings.
===============
Installation GUIDE
===============
1. Install Aptosid (xfce)
-Please refer to Aptosid Manual
2. Boot and login into fluxbox environment
3 Configure internet
sux
ceni4. remove junk
apt-get -m purge xfburn brasero brasero-common mousepad feh xsane sane* sane-utils gpicview gnumeric trayer ristretto xchat gxine xdg-browser-launcher xfce* libxine1 libxine1-* evince* gdm3 thunar* libtotem* libgimp* xfdesktop4*
apt-get autoremove4.a. [OPTIONAL] Remove stuff I don’t use (dvd-burner, printer stuff)
apt-get purge cups dvd+rw-tools growisofs dvb-apps cups-common5. Install some goodies
apt-get update
apt-get install geany nano nitrogen rxvt-unicode tint2 conky dmenu gmrun xscreensaver scrot epdfview lightdm pcmanfm openbox obmenu obconf suckless-tools consolekit gpicview6. Add iceweasel repo
nano /etc/apt/sources.list.d/mozilla.list
deb http://mozilla.debian.net/ experimental iceweasel-aurorasave and exit nano
7. Install mozilla keyring
apt-get update
wget -O- -q http://mozilla.debian.net/archive.asc | gpg --import
gpg --export -a 06C4AE2A | apt-key add -
apt-get update8.a. Use Sunfizz98's openbox config.
cd /home/username/.config/openbox
wget -Nc http://dl.dropbox.com/u/14800/openbox/autostart.sh
wget -Nc http://dl.dropbox.com/u/14800/openbox/menu.xml
wget -Nc http://dl.dropbox.com/u/14800/openbox/rc.xml
chmod +x autostart.sh9. Install smxi and run it
cd /usr/local/bin && wget -Nc smxi.org/smxi.zip && unzip smxi.zip && smxi-remove bluetooth as so desired via smxi
10. [OPTIONAL]Installing useful tasktray goodies
10.a. Have a tasktray power manager
apt-get install xfce4-power-manager10.b. Display icon-only tasks and battery information in tint2
nano /home/username/.config/tint2/tint2rc
##Change the following lines to:
battery = 1
taskicon = 1
tasktext = 0
task_maximum_size = [width] [height]Or use Sunfizz98's Tint2 config.
cd /home/username/.config/tint2
wget -Nc http://dl.dropbox.com/u/14800/openbox/tint2rc10.c. For those who don't want to dig into /home/username/.config/openbox/rc.xml for volume setup
apt-get install xfce4-volumed10.d. Use Sunfizz98's .conkyrc. Very useful if already using Sunfizz98's tint2rc
cd /home/username
wget -Nc http://dl.dropbox.com/u/14800/openbox/.conkyrc11. Reboot PC (or start desktop somehow)
shutdown -r now12. Login into openbox environment
13. [OPTIONAL][HIGHLY RECOMMENDED]Add xscreensaver configurations and make urxvt [terminal/editor] more usable and trendy.
cd /home/username
sux
wget -Nc http://dl.dropbox.com/u/14800/.Xresources
xrdb -merge ~/.Xresources14. Install dropbox via obmenu
-Right click on desktop
-Navigate to dropbox menu
-Install Dropbox
15. Installing other stuff you might want
apt-get install [package]16. ENJOY YOUR NEW BOX!
=============
Basic Q & A
=============
What is the reason for replacing some of #!’s default apps with the specified ones?
They are leaner and more versatile for your system without the cruft. A leaner system is a happy system.
My super button is broken. How do I fix it?
run xev in terminal and find the keycode for it
make a file named “fix_keymaps" with the following:
#!/bin/bash
xmodmap -e “keycode [number] = Super_L"
doneNow copy the file directory and add it into "/etc/xdg/openbox/autostart.sh" or "~/.config/openbox/autostart.sh"
It should go something like:
/directory/to/your/scripts/fix_keymaps &========================
Optional Tweaks / Enhancements
========================
1. Adding somewhat recent Wine repo
nano /etc/apt/sources.list.d/experimental.list
deb http://packages.siduction.org/debian/ unstable main2. Get access to non-free contrib in debian repos
-Please find your closest debian repo source from this site and add source accordingly
http://www.debian.org/mirror/list
-For my purposes, I’m using the USA repo.
nano /etc/apt/sources.list.d/debian.list
deb ftp://ftp.us.debian.org/debian/ sid main contrib non-free3. Locate closer aptosid source
Aptosid sources
Mine is USA.
nano /etc/apt/sources.list.d/aptosid.list
deb http://mirror.yellowfiber.net/aptosid/debian/ sid main fix.main4. Additional multimedia stuff
nano /etc/apt/sources.list.d/multimedia.list
deb http://www.debian-multimedia.org sid main non-free5. Easy fancy shmancy way of coloring user and root prompts in the terminal
http://manual.aptosid.com/en/term-konso … tm#colours
6. Disable automount for usb devices
Check preferences within pcmanfm
7.For no fuss 10-bit h264 video playback
-Do steps described in "Additional multimedia stuff"
-Install mplayer2 from debian-multimedia.org
apt-get install mplayer2-I have tested mplayer and mplayer2 from the regular debian sid repos and both of them incorrectly rendered or refused to playback my 10-bit videos, wheras the one from debian-multimedia provided flawless playback.
-One could technically update their ffmpeg decoders,etc, but that's too much work for a typical user.
=======
CHANGELOG
=======
Nov 2011 - Made the Guide, Troubleshooted, Revised, etc, etc
Feb 2012 - Liberated the Guide from Crunchbang repos and files.
========
Shoutouts to dmdhdlr, machinebacon, anonymous, gutterslob, simpledesign and the whole #! community for making this possible.
Last edited by sunfizz98 (2012-02-05 23:02:06)
Offline
Just a small question: how do you install Viewnior before adding the #! repo? Does the aptosid repo have it?
Also if you don't want to keep the #! repos permanently, you could just download and install the deb files individually:
Note: ** Please read before posting **
BTW if you wish to contact me, send me an e-mail instead of a PM.
Offline
Nice HowTo.
On a side note, you're getting to be a proper hopping junkie.
Offline
Offline
Very nice one, covers all things! Thanks SF98. You can add the info that sudo is not used in (apto)sid so the user needs to use su or sux for his root activities like apt-getting. But that's nothing serious 
Offline
Thanks, I installed Aptosid in my virtualbox a few days ago, didn't have time playing with it yet. Now you just gave me a good reason to make time. Cheers.. 
"To me, the extraordinary aspect of martial arts lies in its simplicity. The easy way is also the right way, and martial arts is nothing at all special; the closer to the true way of martial arts, the less wastage of expression there is." - Bruce Lee
Offline
Make sure you edit the instructions for installing mozilla keyring so it doesn't use sudo.
Note: ** Please read before posting **
BTW if you wish to contact me, send me an e-mail instead of a PM.
Offline
In step 4, xfburn and brasero are both listed twice.
Also, in this step you already purge xfce, which you do again in step 13. Should that be like that?
Other than that, it looks good. I can and will not use it myself (still happy Kubuntu user), but guides like these are always nice for the community! Nice job sunfizz98 
Last edited by Unia (2011-11-18 12:24:42)
If you can't sit by a cozy fire with your code in hand enjoying its simplicity and clarity, it needs more work. --Carlos Torres
Github || Deviantart
Offline
@Unia
Thanks for pointing that out. I think my trackpad accidentally added those while I was proofreading through the tutorial before going to bed. I corrected the errors and decided to purge xfce at step 4 instead of step 13, since this will reduce the amount of stuff to upgrade without breaking the system.
Offline
Great how-to @Sunfizz!
@Unia: They have also KDE of course, if you want some adventures. 
Offline
@Unia: They have also KDE of course, if you want some adventures.
Mwaaah, currently, Kubuntu does the job for me 
If you can't sit by a cozy fire with your code in hand enjoying its simplicity and clarity, it needs more work. --Carlos Torres
Github || Deviantart
Offline
Very nice one, covers all things! Thanks SF98. You can add the info that sudo is not used in (apto)sid so the user needs to use su or sux for his root activities like apt-getting. But that's nothing serious
What is the equivalent to sudo then?
su apt-get update does not work
su
pw
apt-get update does work
I have scripts and aliases that I want to replace with the aptosid equivalent of sudo
Thanks
Edit - I just added my username to /etc/sudoers
It does work
Thanks
Last edited by VastOne (2011-11-30 20:30:12)
Offline
Offline
@vastone
I believe you could technically install sudo from the repos.===
Good News Everyone!Tutorial has been updated to work with the new #! repos!
It was installed by default..
Just had to add to sudoers..
I have the latest 64 bit aptosid xfce disc
Gonna start new tomorrow after todays weirdness...
Great job on the update 
Offline
Hey dude, great guide -- however I seem to be hitting this when I do the next "apt-get update" after adding the crunchabng repos, before trying to install the crunchbang-specific files.
Error:
[i]Reading package lists... Done
W: GPG error: http://packages.crunchbang.org statler Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 9B7C8627EDFD12C1
root@n0xiQ:/home/x3r0#
[/i]I've already gone ahead and tried the fix-all command:
sudo apt-get update 2> /tmp/keymissing; for key in $(grep "NO_PUBKEY" /tmp/keymissing |sed "s/.*NO_PUBKEY //"); do echo -e "nProcessing key: $key"; gpg --keyserver subkeys.pgp.net --recv $key && gpg --export --armor $key | sudo apt-key add -; doneThis hasn't helped either, because IT returns:
Reading package lists... Done
nProcessing key: 9B7C8627EDFD12C1
gpg: requesting key EDFD12C1 from hkp server subkeys.pgp.net
gpgkeys: key 9B7C8627EDFD12C1 not found on keyserver
gpg: no valid OpenPGP data found.
gpg: Total number processed: 0I checked my system and BIOS clocks/time, and all appeared to be well. Can anybody help? I'm stuck in the middle of the guide until further assistance.
Thanks for ANY help, guys!!
_Cheers!
Offline
Welcome ImEatingSeeds! Those are fine. You are supposed to see errors like "this key is missing". Frankly, it's not so much an error, but a warning just to let you know that the source has not been verified as trusted when we all know it can be trusted. I have already made a note towards the end of the guide listing the problem you are currently having.
Keep continuing the guide and you'll be fine. If you see something during the installation of anything from the crunchbang repo that prompts you as "this source has not been verified, do you still want to install this package?" -- Say YES.
The main purpose of adding the crunchbang repo is to download the crunchbang-bin-scripts crunchbang-configs and get out, so it doesn't truly matter if it is verified or not (in this case).
Last edited by sunfizz98 (2011-12-01 05:26:07)
Offline
wget http://packages.crunchbang.org/statler-dev/crunchbang.key
apt-key add crunchbang.keywill do 
Offline
Wonderful!!
Thanks for the speedy help and response, gentelmen. You have been MOST helpful.
Interestingly enough, I'm now getting the following:
The following packages have unmet dependencies:
crunchbang-bin-scripts : Depends: python-notify but it is not going to be installed
Depends: fortune
Depends: curl but it is not going to be installed
Depends: terminator but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).This is bizarre, is it not? I mean, considering the fact that apt-get is supposed to automatically resolve dependencies, right?
Offline
Very little addition: If you don't give a damn about the interface, there's another app which can be replaced if wished (I don't like gnome-* things)
gnome-calculator (does it call gcalctool?) -> xcalc (default app)
Offline
Wonderful!!
Thanks for the speedy help and response, gentelmen. You have been MOST helpful.
Interestingly enough, I'm now getting the following:
The following packages have unmet dependencies: crunchbang-bin-scripts : Depends: python-notify but it is not going to be installed Depends: fortune Depends: curl but it is not going to be installed Depends: terminator but it is not going to be installed E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).This is bizarre, is it not? I mean, considering the fact that apt-get is supposed to automatically resolve dependencies, right?
Hmmm, do you already have the crunchbang-openbox-packages installed (if applicable)? That would possibly take care of these dependencies...
Offline
Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.