Jump to content


[CPU] Install Openbox on Ubuntu 7.10


  • You cannot reply to this topic
2 replies to this topic

#1 akiratheoni

    akiratheoni@zantherus:~#

  • BANNED LOLS
  • PipPipPipPipPipPipPipPipPipPip
  • 12,765 posts
  • First Name:Jeffrey

Posted 22 December 2008 - 02:53 PM

How-To: Install Openbox on Ubuntu 7.10
by akiratheoni

Openbox is a lightweight window manager that conforms to the freedesktop standards. It sports a minimalistic look with configuration through text files, though there are GUI editors.

The main difference between Openbox and a desktop environment like GNOME or KDE is that Openbox only draws the windows; there are no panels or anything of that sort with Openbox. Instead, you can use pypanel that provides a panel for you. The payoff of this is that Openbox is very configurable and is very fast.

I had used GNOME with Compiz-Fusion when I first started with Ubuntu. Then I moved to KDE, just to see how it was like. After attempting to update Compiz-Fusion to bleeding edge, I inadvertently broke Compiz-Fusion. So after hearing nice things about Openbox, I installed it. It took me quite awhile to get used to configuring everything using text files and having to hunt down pypanel and such, so this tutorial will help you get Openbox set up with pypanel.

Note: This is my first tutorial so please give constructive criticism! I know I did not cover everything; rc.xml and menu.xml editing and assigning gmrun to Alt+F2 will come later. Also, this was done on a default installation of Ubuntu 7.10. If you have tweaked Ubuntu such as changing the default file manager or default web browser, some steps may be different for you; since I do not know what your defaults are, I do not know if I can help.

For the terminal commands, you can copy and paste the commands I give you. If you're using the default gnome-terminal, you will need to press CTRL+Shift+V to paste, not CTRL+V.

Step 1: Access the terminal. You can do this by going to Applications > Accessories > Terminal.

Posted Image

Step 2: Enter
sudo aptitude install openbox obconf pypanel python2.5 python-glade python-gtk2
And enter your password.

Posted Image

Step 3: Log out of Ubuntu.

Posted Image

Step 4: Type in your username then hit enter.
Posted Image

Step 5: Type in your password but do NOT hit enter.
Posted Image

Step 6: In the bottom left corner, click Options then select Select Session
Posted Image

Step 7: Select Openbox Session from the list and hit enter.
Posted Image

Step 8: You will get a message that asks if you want to make Openbox your default session.
Posted Image

Step 9: You will get a blank, gray screen. Do NOT panic. This is normal; Openbox logs into a blank minimalist screen. Simply right click anywhere on the screen and you will get a menu similar to the one in the screenshot below.
Posted Image

Step 10: Select "Terminal emulator" from the right click menu and a terminal will open.
Type in
cp /etc/xdg/openbox/menu.xml ~/.config/openbox/menu.xml
hit enter, then type
cp /etc/xdg/openbox/rc.xml ~/.config/openbox/rc.xml

This will copy the default menu and right click menu to your preferences. Don't worry -- we'll get to editing them soon.
Posted Image

Step 11: Type
sudo apt-get install gmrun
then enter your password when it prompts you to.
Posted Image

Step 12: Press the Windows key + D (or the super key) to access the desktop. Right click on the desktop then select Web browser.
Posted Image

Step 13: In Firefox, go to http://obmenu.source...t/download.html
Posted Image

Step 14: Click on the latest version of obmenu, obmenu 1.0.
Posted Image

Step 15: Save obmenu-1.0.tar.gz to your desktop.
Posted Image

Step 16: On the Downloads menu, right click on the obmenu-1.0.tar.gz entry and select Open Containing Folder.
Posted Image

Step 17: Nautilus will appear. Right click on obmenu-1.0.tar.gz and select Extract Here.
Posted Image

Step 18: Access your desktop again. Right click on the desktop then select "Terminal emulator".
Posted Image

Step 19: Type:
cd Desktop
Hit enter then type
cd obmenu-1.0/
Hit enter then type
sudo python setup.py install
Enter your password if prompted.
Posted Image

Step 20: Test out obmenu by typing into the terminal
obmenu
If a window similar to the one in the screenshot appears, obmenu is working.
Posted Image

Step 21: Type into a terminal
gedit ~/.config/openbox/autostart.sh
then type into the text editor that appears:
#!/bin/bash
. $GLOBALAUTOSTART
#Programs to launch at startup
gnome-settings daemon &
gnome-screensaver &
gnome-power-manager &
gnome-keyring-daemon &
pypanel &

then save it and close it. This should start up pypanel when you log in as well as other daemons to connect you to the internet and such.
Posted Image

Step 22: Access the desktop then right click and select Exit. This will log you out.
Posted Image

Step 23: Log back in. If you did not select Openbox as your default session, you will need to repeat steps 4-7 again. When you log in, pypanel should load.
Posted Image

Thanks for reading my tutorial on how to install Openbox on Ubuntu 7.10. Feel free to give constructive criticism; this tutorial isn't done and I'd like to improve it.

Only three things are infinite: the universe, human stupidity, and the number of Zubats in a dark cave


#2 BassNazi

    (☞゚∀゚)☞Penis

  • Senior Member
  • PipPipPipPipPipPip
  • 4,878 posts
  • First Name:Paul

Posted 22 December 2008 - 03:13 PM

nice tut i deleted my kde lol so i'm at command promt/ terminal

Posted Image


That was her, this is me. We're as different as can be. She and I we're nothing alike. You're confusing day with night.

Юля Волкова родилась 20 февраля 1985 г. в Москве, в семье успешного бизнесмена. В 7 лет, параллельно с общеобразова- тельной школой, поступила в детскую музыкальную школу по классу фортепиано. Когда Юле исполнилось 9 лет, она была зачислена в состав известного детского вокально-инструментального ансамбля "Непоседы". На предварительном прослушивании она спела песню "Ой, то не вечер". Через год в "Непоседы" была зачислена Лена Катина, и вскоре между девочками возникла крепкая дружба. В 11 лет Юля меняет обычную школу на школу с театральным уклоном. Через 3 года она покидает ВИА "Непоседы" и проходит кастинг в музыкальный проект Тату, в котором к тому времени уже поет Лена Катина. В возрасте 15-ти лет Юля поступает на вокальное отделение эстрадно-джазового училища им. Гнесиных и одновременно получает всемирную известность как солистка группы Тату.
В 2004 году у неё родился ребенок. Сейчас ей 20 лет.

#3 akiratheoni

    akiratheoni@zantherus:~#

  • BANNED LOLS
  • PipPipPipPipPipPipPipPipPipPip
  • 12,765 posts
  • First Name:Jeffrey

Posted 22 December 2008 - 03:34 PM

View PostBassNazi, on Dec 22 2008, 03:13 PM, said:

nice tut i deleted my kde lol so i'm at command promt/ terminal

If you followed my tutorial, deleting KDE wouldn't have happened... so go to the terminal and type in: [command removed, it's deadly]

Edited by akiratheoni, 22 December 2008 - 03:35 PM.
GOD DAMN IT DON'T POST THAT COMMAND

Only three things are infinite: the universe, human stupidity, and the number of Zubats in a dark cave






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users