Results 1 to 2 of 2

Thread: Empty Openbox after installation, Ubuntu 12.04

Hybrid View

  1. #1
    Join Date
    Jul 2012
    Beans
    1

    Empty Openbox after installation, Ubuntu 12.04

    I just installed Ubuntu 12.04 and openbox according to the instructions on this site (http://techiesdiary.com/archives/28). I'm completely new to Linux and openbox. How do I get the menus, icons, and toolbar? I looked to this site (http://linuxinside.blogspot.com/2008...omization.html) for help, but I got stuck on step 2.

  2. #2
    Join Date
    Mar 2008
    Location
    Birmingham, UK
    Beans
    Hidden!

    Re: Empty Openbox after installation, Ubuntu 12.04

    Openbox, by default, is pretty bare. If you don't explicitly tell it to run something (e.g. a panel) it won't run. That techniesdiary site forgot a fairly important part of Openbox - copying the configs for your user.

    Make sure the following directory exists /home/yourusername/.config/openbox and create it if it doesn't:
    Code:
    mkdir -p ~/.config/openbox
    The tilde simply refers to /home/yourusername and the -p switch will create the chain of directories should it need to, and not just the top one (i.e. if .config didn't exist, mkdir would fail with the above command without the -p switch).


    You will then want to copy the default configurations into your own folder:
    Code:
    cp /etc/xdg/openbox/* ~/.config/openbox/
    I think there are now 4 configuration files: autostart.sh, menu.xml, rc.xml and environment something.

    autostart.sh - script to launch programs (this is what you were wanting to do).
    menu.xml - XML document describing the main right-click menu.
    rc.xml - XML document describing most of the configuration for Openbox (much of it is reachable via obconf).

    Let's say you want to run the panel tint2 at login, just add the following to the end of the autostart.sh file:
    Code:
    tint2 &
    Finally, let me give a hearty recommendation to reading through Urukrama's Openbox guide.

    If I've missed anything, or not explained it properly, just say and I will try to clarify.
    Desktop: Phenom 955 BE | GA-MA790XT-UD4P | 8GB TG Elite 1600 | BFG GTX 275
    Conky Screenshots | Last.fm | New to Ubuntu?

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •