WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: How to configure just Openbox after using LXDE?  (Read 5670 times)

Offline schultzter

  • Newbie
  • *
  • Posts: 25
    • Blog
How to configure just Openbox after using LXDE?
« on: October 14, 2010, 06:16:35 PM »
I was really anxious to give LXDE a try (LXDE2 extension) and it worked great, but out of curiousity I wanted to try a few other DE's/WM's.

I tried OpenBox but I think there's configuration left-over from LXDE (which incorporates OpenBox) since not all the menu options did anything; the string "LXDE" showed-up a few times; and apps were in the menu I didn't have loading any more!

What are the configuration files that LXDE might have setup for OpenBox that I need to remove in-order start fresh with just OpenBox?

Thanks,
Headed for the second star to the right and straight on 'til morning...

Offline jur

  • Hero Member
  • *****
  • Posts: 863
    • cycling photo essays
Re: How to configure just Openbox after using LXDE?
« Reply #1 on: October 15, 2010, 01:12:45 AM »
Delete ~/.config/openbox folder.

Offline schultzter

  • Newbie
  • *
  • Posts: 25
    • Blog
Re: How to configure just Openbox after using LXDE? [SOLVED]
« Reply #2 on: October 15, 2010, 06:37:58 PM »
Cool.  That worked.

I'm onto IceWM now.  Not sure what I'll stick with, but I didn't like that I couldn't see anywhere which applications were running in OpenBox (IceWM and FluxBox both show the apps across the top).  I imagine there's some panel I could add to OpenBox to make that happen, I might try that later.

Thanks again for you help.
Headed for the second star to the right and straight on 'til morning...

Offline jur

  • Hero Member
  • *****
  • Posts: 863
    • cycling photo essays
Re: How to configure just Openbox after using LXDE?
« Reply #3 on: October 15, 2010, 07:33:30 PM »
I use tint2 with openbox. I have tried a number of others but it remains my favourite.

One day I wiil try out rox panel properly as well. puppeee linux uses that (if selected). Looks quite interesting.

Offline jls

  • Hero Member
  • *****
  • Posts: 2135
Re: How to configure just Openbox after using LXDE?
« Reply #4 on: October 15, 2010, 11:43:14 PM »
I installed menumaker and then I typed:
Code: [Select]
mmaker -vf OpenBox3to generate the applications menu but I don't see the ondemand items :(
dCore user

Offline schultzter

  • Newbie
  • *
  • Posts: 25
    • Blog
Re: How to configure just Openbox after using LXDE?
« Reply #5 on: October 17, 2010, 01:30:46 PM »
Okay, I've switched by to OpenBox (openbox.tcz and obconf.tcz) are in OnBoot in AppsAudit (and onboot.lst) and so is tint2.tcz.

But when I right-click the background to get the OpenBox menu the "OpenBox Configuration Menu" option doesn't do anything.

I notice that obconf is NOT in /usr/local/bin although according to AppBrowser's File's tab for obconf.tcz that's where it should be.

If I run the Paneltint2 application I get the Panel theming app but I have no idea how to get the panel to display on my desktop!?

Thanks,
Headed for the second star to the right and straight on 'til morning...

Offline schultzter

  • Newbie
  • *
  • Posts: 25
    • Blog
Re: How to configure just Openbox after using LXDE?
« Reply #6 on: October 19, 2010, 05:58:16 AM »
Well, the OpenBox Configuration Menu is showing up now.

That doesn't seem to help me with tint2 though.  I still don't have a panel anywhere on my desktop!

Any ideas anyone?!
Headed for the second star to the right and straight on 'til morning...

Offline schultzter

  • Newbie
  • *
  • Posts: 25
    • Blog
Re: How to configure just Openbox after using LXDE?
« Reply #7 on: October 21, 2010, 06:24:09 PM »
I can start tint2 manually, from a terminal window, and putting it in the background keeps it running.

From the tint2 wiki it says to put the start-up command in openbox's autostart.sh, which I did, but it still doesn't start automatically.

Is there somewhere else I should put the command to launch tint2 so that it starts up automatically?

Thanks,
Headed for the second star to the right and straight on 'til morning...

Offline roberts

  • Administrator
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: How to configure just Openbox after using LXDE?
« Reply #8 on: October 21, 2010, 09:28:36 PM »
.X.d/ is the directory for additional items to start at X startup. It is sourced in .xsession.

Create file .X.d/tint2 which contains the single line tint2.
It will start backgrounded when X starts. You can Exit to Prompt and then type startx to try this.
10+ Years Contributing to Linux Open Source Projects.

Offline jur

  • Hero Member
  • *****
  • Posts: 863
    • cycling photo essays
Re: How to configure just Openbox after using LXDE?
« Reply #9 on: October 24, 2010, 02:46:27 AM »
Yes put it in .X.d and remember to add '&' to the command.

Openbox's autostart command is not invoked because of the particular generic way of invoking window managers in tinycore. I have puzzled a bit about it but couldn't see an obvious solution. Perhaps one exists but my very limited script programming prevents me from seeing one.
« Last Edit: October 24, 2010, 02:49:23 AM by jur »

Offline schultzter

  • Newbie
  • *
  • Posts: 25
    • Blog
Re: How to configure just Openbox after using LXDE?
« Reply #10 on: October 24, 2010, 07:02:47 PM »
Good evening...

I did as roberts said and added a file .X.d called tint2 with a single line/word in it "tint2" and re-started X and it worked.

The file is NOT executable but it is readable by all.

There is no ampersand after the tint2 in the file, it seems to work fine.

Thanks for your help.

BTW, is some doc on the boot sequence of TC and what's so particular about how window managers/desktop's are started?
Headed for the second star to the right and straight on 'til morning...

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: How to configure just Openbox after using LXDE?
« Reply #11 on: October 24, 2010, 07:20:42 PM »
Look at .profile.

Offline schultzter

  • Newbie
  • *
  • Posts: 25
    • Blog
Re: How to configure just Openbox after using LXDE?
« Reply #12 on: October 26, 2010, 06:54:56 PM »
Look at .profile.

Was that in response to my question about the boot sequence or the particularities of how TC starts window managers?

I can see from the last four lines of .profile how it checks three things then (typically) runs startx, which does a bit more prep work and then (presumably) launches .xsession.

I'm going to have review it a bit more.  But I'm surprised that autostart.sh isn't called once openbox is executed - assuming it's part of the openbox-way and not a standard.
Headed for the second star to the right and straight on 'til morning...

Offline jur

  • Hero Member
  • *****
  • Posts: 863
    • cycling photo essays
Re: How to configure just Openbox after using LXDE?
« Reply #13 on: October 26, 2010, 10:42:52 PM »
Typically openbox gets called by openbox-session.sh which calls autostart.sh. However, the generic handling of window managers in tcl handles only the base name of a window manager - there is no provision for the -session tacked on to the end.

Perhaps it would be as simple as renaming some files, I don't know, or using aliases.