PDA

View Full Version : OpenBox - Really Impressed



BGFG
August 20th, 2008, 11:34 PM
Hi All,
Thanks to this thread:

http://ubuntuforums.org/showthread.php?t=893300&page=5

I'm now using OpenBox and i have to say i'm really impressed. Looks nice and clean and uber-fast.

Anyone else want to try just:


System>>Administration>>Synaptic Package manager then search : Openbox
Install Openbox
Terminal : $ openbox --replace
Enjoy the Speed


https://help.ubuntu.com/community/Openbox for more information

Dr Small
August 20th, 2008, 11:36 PM
And yet... you are still using the rest of the GNOME desktop. Try to dig down deep and only use Openbox; You will enjoy it better :)

C!oud
August 20th, 2008, 11:53 PM
Pure open box is definitively the best as its just so clean and fast.

Sealbhach
August 20th, 2008, 11:54 PM
It sure is fast, but I like all my snazzy Compiz effects. It doesn't accomodate them.

.

BGFG
August 20th, 2008, 11:59 PM
And yet... you are still using the rest of the GNOME desktop. Try to dig down deep and only use Openbox; You will enjoy it better :)

In the Openbox session right now, Blank Desktop LOL. Should i use the gnome panel or some other ? How can i access apps ? havn't figured it out yet....

Yuh know, maybe if i had a graphics card, i'd be more attached to effects. But i'm turning into a speed demon....

Dr Small
August 21st, 2008, 12:03 AM
In the Openbox session right now, Blank Desktop LOL. Should i use the gnome panel or some other ? How can i access apps ? havn't figured it out yet....

Yuh know, maybe if i had a graphics card, i'd be more attached to effects. But i'm turning into a speed demon....
Pypanel for a panel, feh for a desktop wallpaper, obconf for an openbox configuration editor (if you need that). You gave a link to the Wiki page, there is a boatload of information there that should get you started.

Pure Openbox is the way to go.
http://img28.picoodle.com/img/img28/4/7/19/drsmall/t_20080719162m_3cd032a.png (http://www.picoodle.com/view.php?img=/4/7/19/drsmall/f_20080719162m_3cd032a.png&srv=img28)

aktiwers
August 21st, 2008, 12:06 AM
You can right-click! :D

I haven't done it yet, but I guess you need to configure it (with config files).
Then find yourself a light panel (if you want a panel) and a light filemanager.

http://gentoo-wiki.com/HOWTO_Openbox#Standalone_Openbox
http://icculus.org/openbox/index.php/Help:Contents

BGFG
August 21st, 2008, 12:08 AM
Pypanel for a panel, feh for a desktop wallpaper, obconf for an openbox configuration editor (if you need that). You gave a link to the Wiki page, there is a boatload of information there that should get you started.

Pure Openbox is the way to go.

i was looking at the pypanel homepage, maybe i'm wrong but has development stopped ? or is it still ongoing ?
Using obconf already :)

So now i'll have Openbox and Pypanel. Might as well go all the way and change my filemanager.

HA HA ! just installed pypanel


sudo aptitude install pypanel

Then started it with


pypanel


Oh My GOD. linux is just too much fun!

picpak
August 21st, 2008, 12:12 AM
See this for help:

http://urukrama.wordpress.com/openbox-guide/

Good luck! :)

BGFG
August 21st, 2008, 12:26 AM
You can right-click! :D

I haven't done it yet, but I guess you need to configure it (with config files).
Then find yourself a light panel (if you want a panel) and a light filemanager.

http://gentoo-wiki.com/HOWTO_Openbox#Standalone_Openbox
http://icculus.org/openbox/index.php/Help:Contents

hey,
Right clicking does not give me an option to launch apps yet. Nor do i see anywhere to add pypanel to my session rather that 'terminaling' it.
Is it that i need to configure my keyboard shortcuts ?

Thanks All!


I havn't been reading near enough. Gonna edit my autostart file now. :)

Dr Small
August 21st, 2008, 01:32 AM
Basically for me, I create a init script and include everything I want in it when I want my WM to start. Stuff like xkeymaps, conky, pypanel, my wallpaper and any other thing I like to have startup. Give it +x, and then in my .xinitrc, I have it initialize my init script, so when Openbox runs, all of my other stuff loads before hand.

Example init script:

#!/bin/bash
# ~/bin/init

WALLPAPER="/usr/share/wallpapers/archlinux/DSCF0037_1.JPG"
feh --bg-scale $WALLPAPER&

xscreensaver -nosplash&
xmodmap -e "keycode 111 = F13"&
xmodmap -e "pointer = 3 2 1"
#xmodmap -e "keycode 66 = Return"&

sleep 1
conky&
pypanel&

And the example .xinitrc file:

#!/bin/sh


. /home/drsmall/bin/init
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)
#
#exec wmii
# exec gnome-session
# exec startkde
# exec startxfce4
# exec icewm-session
exec openbox
# exec blackbox
# exec fluxbox
# exec ratpoison
# exec dwm
# ... or any other WM of your choosing ...


As for the right-click menu, the file should be located at:

/etc/xdg/openbox/menu.xml

(This may be different on an Ubuntu Based system)
Copy this file to ~/.config/openbox/ and edit away.

Dr Small

chris4585
August 21st, 2008, 03:17 AM
fbpanel ftw

see my signature

BGFG
August 21st, 2008, 04:03 AM
I've done some reading, Some copying and pasting :)
and this is how my autostart looks currently:



# Run the system-wide support stuff
. $GLOBALAUTOSTART

# Programs to launch at startup
gnome-volume-manager &
xcompmgr -c -t-5 -l-5 -r4.2 -o.55 &

# SCIM support (for typing non-english characters)
export LC_CTYPE=ja_JP.utf8
export XMODIFIERS=@im=SCIM
export GTK_IM_MODULE=scim
export QT_IM_MODULE=scim
scim -d &

# Programs that will run after Openbox has started
sleep 2 && pypanel &
sleep 10 && avant-window-navigator &


Still rough around the edges i think. I was getting an error with avant until i installed xcompmgr and pypanel isnt loading now. That i think is obvious because both it and avant can't take the same space on the desktop.

Also, right click on Avant and 'preferences' produces nothing.
And quite honestly, i do not know what that code after xcompmgr is for.

until i get this session up properly, i have to jump between this and gnome sessions. My sister will simply not have it...

RiceMonster
August 21st, 2008, 04:15 AM
Obviously you're impressed by Openbox, it's the best WM around :).


Pypanel for a panel, feh for a desktop wallpaper, obconf for an openbox configuration editor (if you need that). You gave a link to the Wiki page, there is a boatload of information there that should get you started.

Pure Openbox is the way to go.
http://img28.picoodle.com/img/img28/4/7/19/drsmall/t_20080719162m_3cd032a.png (http://www.picoodle.com/view.php?img=/4/7/19/drsmall/f_20080719162m_3cd032a.png&srv=img28)

You need a gtk theme man!


fbpanel ftw

see my signature

No panel ftw :).

eriqjaffe
August 21st, 2008, 04:18 AM
The code after xcompmgr is simply configuration of xcompmgr, setting things like shadow depth, size, etc.

I don't bother with the SCIM stuff in mine:

# Run the system-wide support stuff
. $GLOBALAUTOSTART

#Force OpenOffice.org to use GTK theme
export OOO_FORCE_DESKTOP=gnome

# Programs to launch at startup
wget -O /home/eriq/.myip http://whatismyip.com/automation/n09230945.asp
autocutsel -f &
feh --bg-scale /home/eriq/.themes/Life_Envelops_the_Green_World-1680x1050.jpg &
xcompmgr -c -t-5 -l-5 -r0 -o.55 -f &
parcellite &

# Programs that will run after Openbox has started
conky -d &
lxpanel &
cairo-dock &
IIRC, to use sleep, you have to do something like:

(sleep 2 && command) &
...but I could be mistaken about that. Looking at yours, 15 seconds of sleep time seems a bit excessive.

Also, you should be able to set up pypanel to use the top of your screen instead of the bottom.

BGFG
August 21st, 2008, 04:24 AM
Was getting a Locale error. Took out SCIm support stuff, Avant and pypanel loading fine now.

Starting to feel more comfortable with the autostart file now. Working on getting pypanel to the top of the screen. Also adding the Ubuntu start menu to Avant.

Thanks for posting your autostart file. I have some more work to do :)

picpak
August 21st, 2008, 03:36 PM
Glad to see you're liking it :)

I recommend that you take a look at the LXDE (http://ubuntuforums.org/showthread.php?t=738958) project. There are some programs there that you could use for your Openbox. I use lxappearance, lxpanel and lxtask. There's also pcmanfm and gpicview, but I prefer Thunar and Ristretto, respectively. You can configure lxtask to run when you press Ctrl-Alt-Delete, and change your GTK theme with lxappearance, and so on and so forth. Have fun!