SEARCH

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

You are not logged in.

#1 2011-11-18 00:30:56

sunfizz98
Carbonated Orange Juice
From: su terminal
Registered: 2011-05-12
Posts: 1,876
Website

HOWTO: Crunchify Aptosid (Openbox Version)

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]
tYmJjMg

Final Result - With Sunfizz98's openbox/tint2/conky configs [wallpaper not included]
tYmtzOQ

==============================
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
ceni

4. 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 autoremove

4.a. [OPTIONAL] Remove stuff I don’t use (dvd-burner, printer stuff)

apt-get purge cups dvd+rw-tools growisofs dvb-apps cups-common

5. 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 gpicview

6. Add iceweasel repo

nano /etc/apt/sources.list.d/mozilla.list
deb http://mozilla.debian.net/ experimental iceweasel-aurora

save 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 update

8.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.sh

9. 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-manager

10.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/tint2rc

10.c. For those who don't want to dig into /home/username/.config/openbox/rc.xml for volume setup

apt-get install xfce4-volumed

10.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/.conkyrc

11. Reboot PC (or start desktop somehow)

shutdown -r now

12. 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 ~/.Xresources

14. 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"
done

Now 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 main

2. 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-free

3. 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.main

4. Additional multimedia stuff

nano /etc/apt/sources.list.d/multimedia.list
deb http://www.debian-multimedia.org sid main non-free

5. 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

Be excellent to each other!

#2 2011-11-18 00:38:00

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

Re: HOWTO: Crunchify Aptosid (Openbox Version)

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:

http://packages.crunchbanglinux.org/statler/pool/main/

Offline

#3 2011-11-18 00:38:53

el_koraco
#!/loony/bun
From: inside Ed
Registered: 2011-07-25
Posts: 4,749

Re: HOWTO: Crunchify Aptosid (Openbox Version)

Nice HowTo.
On a side note, you're getting to be a proper hopping junkie.

Offline

#4 2011-11-18 01:04:20

VastOne
#! Ranger
From: V-Ger
Registered: 2011-04-26
Posts: 10,163
Website

Re: HOWTO: Crunchify Aptosid (Openbox Version)

Very nice sunfizz98

I do appreciate your hard work on this one and I have a aptosid partition that I will test this How To on and give you feedback


VSIDO | Words That Build Or Destroy

We do not run from challenges, they become new innovations within VSIDO!

Offline

#5 2011-11-18 01:18:20

sunfizz98
Carbonated Orange Juice
From: su terminal
Registered: 2011-05-12
Posts: 1,876
Website

Re: HOWTO: Crunchify Aptosid (Openbox Version)

@anonymous
My bad, viewnior was in the crunchbang repo.  I just corrected the tutorial to address this mistake.

Offline

#6 2011-11-18 01:31:40

machinebacon
#! unstable
From: China
Registered: 2009-07-02
Posts: 6,631
Website

Re: HOWTO: Crunchify Aptosid (Openbox Version)

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 smile

Offline

#7 2011-11-18 01:45:23

kowloonboy
#! Junkie
Registered: 2011-10-13
Posts: 443

Re: HOWTO: Crunchify Aptosid (Openbox Version)

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.. big_smile


"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

#8 2011-11-18 01:59:19

sunfizz98
Carbonated Orange Juice
From: su terminal
Registered: 2011-05-12
Posts: 1,876
Website

Re: HOWTO: Crunchify Aptosid (Openbox Version)

@machinebacon
dually noted; info added to tutorial.

Offline

#9 2011-11-18 02:07:28

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

Re: HOWTO: Crunchify Aptosid (Openbox Version)

Make sure you edit the instructions for installing mozilla keyring so it doesn't use sudo.

Offline

#10 2011-11-18 02:12:40

sunfizz98
Carbonated Orange Juice
From: su terminal
Registered: 2011-05-12
Posts: 1,876
Website

Re: HOWTO: Crunchify Aptosid (Openbox Version)

^done

Offline

#11 2011-11-18 12:24:25

Unia
#! Octo-portal-pussy
From: The Netherlands
Registered: 2010-07-17
Posts: 3,962

Re: HOWTO: Crunchify Aptosid (Openbox Version)

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 smile

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

I am a #! forum moderator. Feel free to send me a PM with any question you have!

Offline

#12 2011-11-18 18:16:11

sunfizz98
Carbonated Orange Juice
From: su terminal
Registered: 2011-05-12
Posts: 1,876
Website

Re: HOWTO: Crunchify Aptosid (Openbox Version)

@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

#13 2011-11-18 20:09:31

ivanovnegro
Ivan #000000
From: unstable madness
Registered: 2011-06-02
Posts: 5,426

Re: HOWTO: Crunchify Aptosid (Openbox Version)

Great how-to @Sunfizz!

@Unia: They have also KDE of course, if you want some adventures. smile

Offline

#14 2011-11-18 20:34:58

Unia
#! Octo-portal-pussy
From: The Netherlands
Registered: 2010-07-17
Posts: 3,962

Re: HOWTO: Crunchify Aptosid (Openbox Version)

ivanovnegro wrote:

@Unia: They have also KDE of course, if you want some adventures. smile

Mwaaah, currently, Kubuntu does the job for me smile


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

I am a #! forum moderator. Feel free to send me a PM with any question you have!

Offline

#15 2011-11-30 20:24:32

VastOne
#! Ranger
From: V-Ger
Registered: 2011-04-26
Posts: 10,163
Website

Re: HOWTO: Crunchify Aptosid (Openbox Version)

machinebacon wrote:

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 smile

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)


VSIDO | Words That Build Or Destroy

We do not run from challenges, they become new innovations within VSIDO!

Offline

#16 2011-12-01 03:12:09

sunfizz98
Carbonated Orange Juice
From: su terminal
Registered: 2011-05-12
Posts: 1,876
Website

Re: HOWTO: Crunchify Aptosid (Openbox Version)

@vastone
I believe you could technically install sudo from the repos.

===
Good News Everyone!

Tutorial has been updated to work with the new #! repos!

Last edited by sunfizz98 (2011-12-01 03:12:34)

Offline

#17 2011-12-01 03:14:07

VastOne
#! Ranger
From: V-Ger
Registered: 2011-04-26
Posts: 10,163
Website

Re: HOWTO: Crunchify Aptosid (Openbox Version)

sunfizz98 wrote:

@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 big_smile


VSIDO | Words That Build Or Destroy

We do not run from challenges, they become new innovations within VSIDO!

Offline

#18 2011-12-01 03:15:11

sunfizz98
Carbonated Orange Juice
From: su terminal
Registered: 2011-05-12
Posts: 1,876
Website

Re: HOWTO: Crunchify Aptosid (Openbox Version)

^That's even better!

Offline

#19 2011-12-01 05:02:46

ImEatingSeeds
New Member
Registered: 2011-12-01
Posts: 8

Re: HOWTO: Crunchify Aptosid (Openbox Version)

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 -; done

This 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: 0

I 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

#20 2011-12-01 05:19:19

sunfizz98
Carbonated Orange Juice
From: su terminal
Registered: 2011-05-12
Posts: 1,876
Website

Re: HOWTO: Crunchify Aptosid (Openbox Version)

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

#21 2011-12-01 05:24:17

machinebacon
#! unstable
From: China
Registered: 2009-07-02
Posts: 6,631
Website

Re: HOWTO: Crunchify Aptosid (Openbox Version)

wget http://packages.crunchbang.org/statler-dev/crunchbang.key
apt-key add crunchbang.key

will do wink

Offline

#22 2011-12-01 05:26:39

sunfizz98
Carbonated Orange Juice
From: su terminal
Registered: 2011-05-12
Posts: 1,876
Website

Re: HOWTO: Crunchify Aptosid (Openbox Version)

^snap, thanks mate.  This will work too.

Offline

#23 2011-12-01 05:31:50

ImEatingSeeds
New Member
Registered: 2011-12-01
Posts: 8

Re: HOWTO: Crunchify Aptosid (Openbox Version)

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

#24 2011-12-01 05:34:51

machinebacon
#! unstable
From: China
Registered: 2009-07-02
Posts: 6,631
Website

Re: HOWTO: Crunchify Aptosid (Openbox Version)

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

Be excellent to each other!

#25 2011-12-01 05:38:40

machinebacon
#! unstable
From: China
Registered: 2009-07-02
Posts: 6,631
Website

Re: HOWTO: Crunchify Aptosid (Openbox Version)

ImEatingSeeds wrote:

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

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