Author Topic: Openbox session broken  (Read 7209 times)

Offline LKJ

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1952
Re: Openbox session broken
« Reply #75 on: February 15, 2012, 10:28:16 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 ?)


well I did try "-i -g -t" but I think I just rebooted and didn't do "openbox-menu --reconfigure". I just changed Bonsai the same way and used "openbox-menu --reconfigure" but I had to reboot Bonsai to see the change. beats me  :D

and "Openbox Menu Editor" was spelled "Obenbox Menu Editor". I fixed it.  ;D

edit: I just installed obmenu into Bonsai and it's misspelled there also.  ::) :D apparently it's been wrong since 2010.  :-X
« Last Edit: February 15, 2012, 10:40:10 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 djohnston

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6227
  • I don't do Windows
Re: Openbox session broken
« Reply #76 on: February 15, 2012, 11:40:06 AM »

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 ?


On mine, where the icons are back after an update, set | grep DESKTOP_SESSION returns

25Openbox

EDIT: On both my Openbox desktop and LXDE, the directory /etc/X11/xdg/ contains a single xfce4/ subdirectory and no files.
« Last Edit: February 15, 2012, 11:49:44 AM by djohnston »
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 melodie

  • Hero Member
  • *****
  • Posts: 5942
  • XMMP=Jabber, free instant messaging protocol !
    • PCLinuxOS Fr
Re: Openbox session broken
« Reply #77 on: February 15, 2012, 01:04:26 PM »
Hi djohnston,

I have written too fast and mistaken about the path of one of the files. Done under /etc:

Quote
# find . -name "*penbox*"
# find . -name "*penbox*"
./xdg/openbox
./X11/dm/Sessions/27Openbox-KDE.desktop
./X11/dm/Sessions/26Openbox.desktop
./X11/dm/Sessions/28Openbox-Gnome.desktop
./X11/wmsession.d/28openbox-gnome
./X11/wmsession.d/27openbox-kde
./X11/wmsession.d/26openbox
./skel/.config/openbox
./skel/.local/share/openbox

Please note: I didn't try to trace how the files are called, so I don't know if it is of importance that both numbers match, or rather if they need to be both starting with 26 in the latest Openbox version.

(my install is has not been updated, I still have the former packages).
melodie at swissjabber dot ch - IRC #pclinuxos-fr sur freenode

Offline djohnston

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6227
  • I don't do Windows
Re: Openbox session broken
« Reply #78 on: February 15, 2012, 01:10:40 PM »
Hmmm. ls -l /etc/X11/dm/Sessions/

-rw-r--r-- 1 root root 136 Feb 15 13:38 04LXDE.desktop
-rw-r--r-- 1 root root 127 Feb 15 13:38 23E17.desktop
-rw-r--r-- 1 root root 148 Feb 15 13:38 25Openbox.desktop
-rw-r--r-- 1 root root 167 Feb 15 13:38 27Openbox-KDE.desktop
-rw-r--r-- 1 root root 175 Feb 15 13:38 28Openbox-Gnome.desktop
-rw-r--r-- 1 root root 140 Feb 15 13:38 29drak3d.desktop


This is from the LXDE desktop.

EDIT: From Openbox desktop, ls -l /etc/X11/dm/Sessions/

-rw-r--r-- 1 root root 164 Feb 14 20:59 03WindowMaker.desktop
-rw-r--r-- 1 root root 140 Feb 14 20:59 07IceWM.desktop
-rw-r--r-- 1 root root 148 Feb 14 20:59 25Openbox.desktop
-rw-r--r-- 1 root root 167 Feb 14 20:59 27Openbox-KDE.desktop
-rw-r--r-- 1 root root 175 Feb 14 20:59 28Openbox-Gnome.desktop
-rw-r--r-- 1 root root 140 Feb 14 20:59 29drak3d.desktop


« Last Edit: February 15, 2012, 01:17:41 PM by djohnston »
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 melodie

  • Hero Member
  • *****
  • Posts: 5942
  • XMMP=Jabber, free instant messaging protocol !
    • PCLinuxOS Fr
Re: Openbox session broken
« Reply #79 on: February 15, 2012, 01:45:59 PM »
well I did try "-i -g -t" but I think I just rebooted and didn't do "openbox-menu --reconfigure". I just changed Bonsai the same way and used "openbox-menu --reconfigure" but I had to reboot Bonsai to see the change. beats me  :D

LKJ : not "openbox-menu --reconfigure", but "openbox --reconfigure". I try to explain : menu.xml is a file belonging to Openbox. openbox-menu is a program which is optional. It's only feature is to pipe the menu files contained in /usr/share/applications which are used by menu-cache (from Lxde project) to display the menus (and in other desktops, used by the menu manager of Gnome, Xfce, or Kde menu manager... )

So, in Openbox, there are not dynamic menus. Originally, the users would reconfigure the set of menus by hand, one by one each time they installed or uninstalled an app (how boring ! ). The came obmenu, a little better : the Openbox users could edit their menus manually one by one each time a new app was installed or removed : but in a gui ! ^^ What a progress !

Then came openbox-menu. It is shortly after that I decided to switch from Lxde to Openbox only. ;D

So if you modify menu.xml, or rc.xml, do "openbox --reconfigure". Forget about openbox-menu, it is not concerned. :)

Quote
and "Openbox Menu Editor" was spelled "Obenbox Menu Editor". I fixed it.  ;D

edit: I just installed obmenu into Bonsai and it's misspelled there also.  ::) :D apparently it's been wrong since 2010.  :-X

Oh ?! Maybe would you want to point to this at the software section ?

Have a nice end of day,
Mélodie

melodie at swissjabber dot ch - IRC #pclinuxos-fr sur freenode

Offline melodie

  • Hero Member
  • *****
  • Posts: 5942
  • XMMP=Jabber, free instant messaging protocol !
    • PCLinuxOS Fr
Re: Openbox session broken
« Reply #80 on: February 15, 2012, 01:48:10 PM »
Hmmm. ls -l /etc/X11/dm/Sessions/

-rw-r--r-- 1 root root 136 Feb 15 13:38 04LXDE.desktop
-rw-r--r-- 1 root root 127 Feb 15 13:38 23E17.desktop
-rw-r--r-- 1 root root 148 Feb 15 13:38 25Openbox.desktop
-rw-r--r-- 1 root root 167 Feb 15 13:38 27Openbox-KDE.desktop
-rw-r--r-- 1 root root 175 Feb 15 13:38 28Openbox-Gnome.desktop
-rw-r--r-- 1 root root 140 Feb 15 13:38 29drak3d.desktop


This is from the LXDE desktop.

EDIT: From Openbox desktop, ls -l /etc/X11/dm/Sessions/

-rw-r--r-- 1 root root 164 Feb 14 20:59 03WindowMaker.desktop
-rw-r--r-- 1 root root 140 Feb 14 20:59 07IceWM.desktop
-rw-r--r-- 1 root root 148 Feb 14 20:59 25Openbox.desktop
-rw-r--r-- 1 root root 167 Feb 14 20:59 27Openbox-KDE.desktop
-rw-r--r-- 1 root root 175 Feb 14 20:59 28Openbox-Gnome.desktop
-rw-r--r-- 1 root root 140 Feb 14 20:59 29drak3d.desktop




Thank you.

melodie at swissjabber dot ch - IRC #pclinuxos-fr sur freenode

Offline LKJ

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1952
Re: Openbox session broken
« Reply #81 on: February 15, 2012, 03:16:20 PM »
well I did try "-i -g -t" but I think I just rebooted and didn't do "openbox-menu --reconfigure". I just changed Bonsai the same way and used "openbox-menu --reconfigure" but I had to reboot Bonsai to see the change. beats me  :D

LKJ : not "openbox-menu --reconfigure", but "openbox --reconfigure". I try to explain : menu.xml is a file belonging to Openbox. openbox-menu is a program which is optional. It's only feature is to pipe the menu files contained in /usr/share/applications which are used by menu-cache (from Lxde project) to display the menus (and in other desktops, used by the menu manager of Gnome, Xfce, or Kde menu manager... )

So, in Openbox, there are not dynamic menus. Originally, the users would reconfigure the set of menus by hand, one by one each time they installed or uninstalled an app (how boring ! ). The came obmenu, a little better : the Openbox users could edit their menus manually one by one each time a new app was installed or removed : but in a gui ! ^^ What a progress !

Then came openbox-menu. It is shortly after that I decided to switch from Lxde to Openbox only. ;D

So if you modify menu.xml, or rc.xml, do "openbox --reconfigure". Forget about openbox-menu, it is not concerned. :)

Quote
and "Openbox Menu Editor" was spelled "Obenbox Menu Editor". I fixed it.  ;D

edit: I just installed obmenu into Bonsai and it's misspelled there also.  ::) :D apparently it's been wrong since 2010.  :-X

Oh ?! Maybe would you want to point to this at the software section ?

Have a nice end of day,
Mélodie



thanks for the explanation melodie. I am sorry I ended up causing you to have to type it all out however. what I actually did was "openbox --reconfigure" in both cases. I just wasn't thinking while I was typing.
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: 5942
  • XMMP=Jabber, free instant messaging protocol !
    • PCLinuxOS Fr
Re: Openbox session broken
« Reply #82 on: February 15, 2012, 04:26:51 PM »
thanks for the explanation melodie. I am sorry I ended up causing you to have to type it all out however. what I actually did was "openbox --reconfigure" in both cases. I just wasn't thinking while I was typing.

Terrible ! /\o/\ :D

I'll have to ask you a wall ! ;D ;D

melodie at swissjabber dot ch - IRC #pclinuxos-fr sur freenode

Offline LKJ

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1952
Re: Openbox session broken
« Reply #83 on: February 15, 2012, 04:57:58 PM »
thanks for the explanation melodie. I am sorry I ended up causing you to have to type it all out however. what I actually did was "openbox --reconfigure" in both cases. I just wasn't thinking while I was typing.

Terrible ! /\o/\ :D

I'll have to ask you a wall ! ;D ;D


:D ;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 kizito

  • Full Member
  • ***
  • Posts: 202
Re: Openbox session broken
« Reply #84 on: February 16, 2012, 01:57:47 PM »
Quote
However there is something not clear to me : turzin at French forum says his PCLOS Education lost the session after he updated.

Same thing has happened to me. I am running PCLinuxOS LXDE 2011 with all the rolling updates.
The last few updates were:

Code: [Select]
Commit Log for Sun Feb 12 09:54:38 2012


Upgraded the following packages:
libopenbox2 (3.5.0-4pclos2012) to 3.5.0-5pclos2012
openbox (3.5.0-4pclos2012) to 3.5.0-5pclos2012

Commit Log for Tue Feb 14 09:13:44 2012


Upgraded the following packages:
firefox (10.0-2pclos2012) to 10.0.1-1pclos2012
firefox-en_GB (10.0-4pclos2012) to 10.0.1-1pclos2012
libopenbox2 (3.5.0-5pclos2012) to 3.5.0-7pclos2012
openbox (3.5.0-5pclos2012) to 3.5.0-7pclos2012

Commit Log for Tue Feb 14 14:25:13 2012


Upgraded the following packages:
firefox (10.0-2pclos2012) to 10.0.1-1pclos2012
firefox-en_GB (10.0-4pclos2012) to 10.0.1-2pclos2012
nano (2.2.4-2pclos2011) to 2.2.6-1pclos2012

Commit Log for Wed Feb 15 21:12:55 2012


Upgraded the following packages:
firefox (10.0.1-1pclos2012) to 10.0.1-2pclos2012
firefox-en_GB (10.0.1-2pclos2012) to 10.0.1-3pclos2012

Commit Log for Thu Feb 16 17:43:23 2012


Upgraded the following packages:
lomanager (3.4.5-1pclos2011) to 3.5.0-1pclos2012
shutter (0.88.1-1pclos2011) to 0.88.1-2pclos2012

Installed the following packages:
perl-Image-ExifTool (8.40-1pclos2011)
perl-Net-DBus-GLib (0.33.0-1pclos2010)
perl-Proc-ProcessTable (0.45-10pclos2009)

Problems started yesterday with just a couple of icons on the panel, then all the rest disappeared today (16/02/2012).

In a terminal I get:

Code: [Select]
[muwawa@localhost xdg]$ ls -l /etc/X11/dm/Sessions/
omugatte 20
-rw-r--r-- 1 root root 136 Feb 16 19:41 04LXDE.desktop
-rw-r--r-- 1 root root 148 Feb 16 19:41 25Openbox.desktop
-rw-r--r-- 1 root root 167 Feb 16 19:41 27Openbox-KDE.desktop
-rw-r--r-- 1 root root 175 Feb 16 19:41 28Openbox-Gnome.desktop
-rw-r--r-- 1 root root 140 Feb 16 19:41 29drak3d.desktop
PCLinuxOS... Tough on Windows, tough on the causes of Windows

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15845
  • LXDE! Coffee, Bacon and Cheesecake!
Re: Openbox session broken
« Reply #85 on: February 16, 2012, 02:51:27 PM »
kizito,     
Install or reinstall the following packages:     
lxde-icon-theme     
librsvg     
libxml1     
hicolor-icon-theme     
gnome-iconedit     


Offline kizito

  • Full Member
  • ***
  • Posts: 202
Re: Openbox session broken
« Reply #86 on: February 16, 2012, 03:16:39 PM »
Thanks for the advice Neal.

I have just followed it and restarted the computer but the icons have not returned.

Here is what those steps caused to be installed or re-installed:

Code: [Select]
Commit Log for Thu Feb 16 22:01:48 2012


Installed the following packages:
ORBit (0.5.17-10pclos2010)
gnome-iconedit (1.2.0-15pclos2007)
gnome-libs (1.4.2-19pclos2007)
gnome-print (0.37-10pclos2007)
imlib (1.9.15-6pclos2009)
libORBit0 (0.5.17-10pclos2010)
libdb1 (1.85-14pclos2010)
libgdkimlib1 (1.9.15-6pclos2009)
libgnome32 (1.4.2-19pclos2007)
libgnomeprint15 (0.37-10pclos2007)
libxml1 (1.8.17-11pclos2010)

Reinstalled the following packages:
hicolor-icon-theme (0.12-1pclos2011)
librsvg (2.32.1-1pclos2010)
librsvg2_2 (2.32.1-1pclos2010)
lxde-icon-theme (0.0.1-1pclos2010)

I have not changed anything else.
PCLinuxOS... Tough on Windows, tough on the causes of Windows

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15845
  • LXDE! Coffee, Bacon and Cheesecake!
Re: Openbox session broken
« Reply #87 on: February 16, 2012, 03:25:31 PM »
Hmm...... reinstall any other icon themes you have installed and reinstall your GTK themes.     

Offline LKJ

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1952
Re: Openbox session broken
« Reply #88 on: February 16, 2012, 03:42:34 PM »
this is the error I had after just updating LXDE 32bit
Code: [Select]
OSError in Volume Control: [Errno 13] Permission denied: '/usr/share/icons'
edit:
Code: [Select]
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/awn/extras/awnlib.py", line 1462, in init_start
    applet_class(applet)
  File "/usr/share/avant-window-navigator/applets/volume-control/volume-control.py", line 104, in __init__
    self.setup_context_menu(prefs)
  File "/usr/share/avant-window-navigator/applets/volume-control/volume-control.py", line 167, in setup_context_menu
    self.load_theme_pref(prefs)
  File "/usr/share/avant-window-navigator/applets/volume-control/volume-control.py", line 190, in load_theme_pref
    themes = filter(filter_theme, os.listdir(theme_dir))
OSError: [Errno 13] Permission denied: '/usr/share/icons'

re-edit: I also have no menu icons

re-re-edit: shutter which I had installed no longer runs.
Code: [Select]
[louis@localhost ~]$ shutter
Can't locate Shutter/App/AboutDialog.pm in @INC (@INC contains: /usr/share/shutter/resources/modules /usr/lib/perl5/site_perl/5.10.1/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.10.1 /usr/lib/perl5/vendor_perl/5.10.1/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.1 /usr/lib/perl5/5.10.1/i386-linux-thread-multi /usr/lib/perl5/5.10.1 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl .) at /usr/bin/shutter line 142.
[louis@localhost ~]$

« Last Edit: February 16, 2012, 03:58:16 PM 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: 5942
  • XMMP=Jabber, free instant messaging protocol !
    • PCLinuxOS Fr
Re: Openbox session broken
« Reply #89 on: February 16, 2012, 08:16:42 PM »
Hi,
LKJ, I might not have understood, or maybe did I ? Do you try to see icons in LXDE ? You can't have icons in the Openbox right-click menu unless you have an additional program which makes them appear. In the versions with no desktop manager there is the program openbox-menu and the configuration files (ready as a package and also provided updates on the forum recently) which take care of using the feature.

Maybe should you report shutter problem in broken packages section.





« Last Edit: February 16, 2012, 08:19:17 PM by melodie »
melodie at swissjabber dot ch - IRC #pclinuxos-fr sur freenode