Author Topic: Openbox session broken  (Read 7872 times)

Offline jlf001

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 518
Re: Openbox session broken
« Reply #60 on: February 14, 2012, 04:25:59 PM »
Icons are back after last update!!  Thanks.

Jeff

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15829
  • LXDE! Coffee, Bacon and Cheesecake!
Re: Openbox session broken
« Reply #61 on: February 14, 2012, 05:12:39 PM »
Icons are back after last update!!  Thanks.

Jeff
     
Woohoo! Finally! :D     

Offline kjdixo

  • New Friend
  • *
  • Posts: 5
Re: Openbox session broken
« Reply #62 on: February 14, 2012, 07:19:42 PM »
Thanks for fixing the menu icons.

Offline djohnston

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6224
  • I don't do Windows
Re: Openbox session broken
« Reply #63 on: February 14, 2012, 08:08:54 PM »
They're back! Thanks, Neal. Can you fix my tint2 panel?  :D ;D Just kidding.
Bare metal                           VBox
AMD Athlon 7750 Dual-Core    Single core
4GiB RAM                              1GiB RAM
nVidia GeForce FX 5200          64MB video
LXDE 32bit                            KDE 64bit

Registered Linux User #416378

Offline LKJ

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1957
Re: Openbox session broken
« Reply #64 on: February 15, 2012, 07:57:03 AM »
they're back...booooo!  :D and what happened to melodie's post on how to turn them off again?
Good things come in small packages. From small minds, not so much.

All walls by LKJ unless noted.
iMac 2.8 GHz Quad Core i7 12GB

Offline melodie

  • Hero Member
  • *****
  • Posts: 5945
  • Internet Relay Chat sur Freenode
    • PCLinuxOS Fr
Re: Openbox session broken
« Reply #65 on: February 15, 2012, 08:09:06 AM »
they're back...booooo!  :D and what happened to melodie's post on how to turn them off again?


Hi LKJ, what about looking in console at the output of "openbox-menu --help" ? It shows several options and the one I said how to is in there. ;)

Go to menu.lst, third line...
Quote
$ openbox-menu --help
*Utilisation :
  openbox-menu [OPTION...] [menu]  - Openbox menu generator 0.3.6.6

Options de l'aide :
  -h, --help             Affiche les options de l'aide

Options de l'application :
  -c, --comment          Display comment instead of application name
  -i, --noicons          Don't display icons in menu
  -t, --terminal=cmd     Terminal command (default sakura -e)
  -g, --gnome            Display GNOME entries
  -k, --kde              Display KDE entries
  -x, --xfce             Display XFCE entries
  -r, --rox              Display ROX entries


I am happy to know that the icons are back. However there is something not clear to me : turzin at French forum says his PCLOS Education lost the session after he updated. In /etc/X11/xdg/wmsession.d/ he has a file having for name 25openbox and the session does not start and says something about a file 26Openbox (the one under /etc/X11/xdg/dm/Sessions/ ).

I have downloaded the package and looked into it, the file is 25openbox, but I think it should have become 26openbox : did the users here already fix it manually before when there has been a break of the session ?

http://www.pclinuxos.com/forum/index.php/topic,102633.0.html
Quote
no exec line in the session file: 26Opnebox
Running the gnome failsafe session instead.


« Last Edit: February 15, 2012, 08:33:14 AM by melodie »
melodie at #lpic-fr on irc.freenode.net

Offline LKJ

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1957
Re: Openbox session broken
« Reply #66 on: February 15, 2012, 08:45:18 AM »

Hi LKJ, what about looking in console at the output of "openbox-menu --help" ? It shows several options and the one I said how to is in there. ;)

Go to menu.lst, third line...
thanks melodie. I'm not sure what's wrong but if I try to add the -i switch to the third line of menu.xml, the icons go away but the applications items no longer work.
Good things come in small packages. From small minds, not so much.

All walls by LKJ unless noted.
iMac 2.8 GHz Quad Core i7 12GB

Offline melodie

  • Hero Member
  • *****
  • Posts: 5945
  • Internet Relay Chat sur Freenode
    • PCLinuxOS Fr
Re: Openbox session broken
« Reply #67 on: February 15, 2012, 09:36:21 AM »
Quote
   <menu id="desktop-app" label="Applications" execute="openbox-menu -g -i -t 'sakura -e'" />

It should look like this, and once the change saved, you should reload the openbox configuration. (main Openbox menu > Openbox > Reload Openbox, or in console as simple user : "openbox --reconfigure").

How have you proceed ?

PS: I just tried here, it works.



« Last Edit: February 15, 2012, 09:43:26 AM by melodie »
melodie at #lpic-fr on irc.freenode.net

Offline LKJ

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1957
Re: Openbox session broken
« Reply #68 on: February 15, 2012, 09:39:33 AM »
Quote
   <menu id="desktop-app" label="Applications" execute="openbox-menu -g -i -t 'sakura -e'" />

It should look like this, and once the change saved, you should reload the openbox configuration. (main Openbox menu > Openbox > Reload Openbox, or in console as simple user : "openbox --reconfigure").

How have you proceed ?


I'll try once more... perhaps the order makes a difference... I tried "-i -g -t" and "-g -t -i" but not "-g -i -t"  :D brb

edit: that was the problem. danke  ;D
« Last Edit: February 15, 2012, 09:41:42 AM by LKJ »
Good things come in small packages. From small minds, not so much.

All walls by LKJ unless noted.
iMac 2.8 GHz Quad Core i7 12GB

Offline melodie

  • Hero Member
  • *****
  • Posts: 5945
  • Internet Relay Chat sur Freenode
    • PCLinuxOS Fr
Re: Openbox session broken
« Reply #69 on: February 15, 2012, 09:46:39 AM »
I'll try once more... perhaps the order makes a difference... I tried "-i -g -t" and "-g -t -i" but not "-g -i -t"  :D brb

edit: that was the problem. danke  ;D

Well, -g is to say : "display the menu entries from Gnome applications", -t says "the terminal given just after will be used". So if you put the -i between the '-t' and the 'sakura -e' you kind of interrupt the discussion between '-t' and 'sakura -e'.


« Last Edit: February 15, 2012, 09:48:37 AM by melodie »
melodie at #lpic-fr on irc.freenode.net

Offline LKJ

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1957
Re: Openbox session broken
« Reply #70 on: February 15, 2012, 09:48:00 AM »
I'll try once more... perhaps the order makes a difference... I tried "-i -g -t" and "-g -t -i" but not "-g -i -t"  :D brb

edit: that was the problem. danke  ;D

Well, -g is to say : "display the menu entries from Gnome applications", -t says "the terminal given just after will be used". So if you put the -i between the '-t' and the 'sakura -e' you kind of interrupt the discussion between '-t' and 'sakura -e'.
okay, makes sense.  ;D

Good things come in small packages. From small minds, not so much.

All walls by LKJ unless noted.
iMac 2.8 GHz Quad Core i7 12GB

Offline melodie

  • Hero Member
  • *****
  • Posts: 5945
  • Internet Relay Chat sur Freenode
    • PCLinuxOS Fr
Re: Openbox session broken
« Reply #71 on: February 15, 2012, 09:48:52 AM »
A detail : if you type "openbox-menu --help" in your console, you should get the whole output in English.

Edit : I just tried a -i added before the -g : here it works. I was wondering why it would not... didn't see any reason.

Now, back to icons here ! :D

I use LinuxLex8, I like it very much ! (from gnome-look.org I think... )

« Last Edit: February 15, 2012, 09:53:42 AM by melodie »
melodie at #lpic-fr on irc.freenode.net

Offline LKJ

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1957
Re: Openbox session broken
« Reply #72 on: February 15, 2012, 09:52:23 AM »
A detail : if you type "openbox-menu --help" in your console, you should get the whole output in English.

yes I got that part. I didn't know one would have to explicitly use the -g switch before the -i switch. I thought -i would just tell it to not display the icons for the gnome apps. seems I was wrong.  :)
Good things come in small packages. From small minds, not so much.

All walls by LKJ unless noted.
iMac 2.8 GHz Quad Core i7 12GB

Offline LKJ

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1957
Re: Openbox session broken
« Reply #73 on: February 15, 2012, 10:00:58 AM »
btw, when I first tried to do this I tried adding the switch using the openbox menu editor. it seems it wouldn't save the switch that way. I had to edit the menu.xml file directly. also in my install anyway it was spelled obenbox.  :P ;D
Good things come in small packages. From small minds, not so much.

All walls by LKJ unless noted.
iMac 2.8 GHz Quad Core i7 12GB

Offline melodie

  • Hero Member
  • *****
  • Posts: 5945
  • Internet Relay Chat sur Freenode
    • PCLinuxOS Fr
Re: Openbox session broken
« Reply #74 on: February 15, 2012, 10:18:53 AM »
I rephrase : here, "-i -g -t" works. No icons, and the apps do start. (I edit with geany text editor)

What is spelled obenbox in your install ? (joke : did it catch a cold ?)
melodie at #lpic-fr on irc.freenode.net