Author Topic: Openbox right-click menu reloading  (Read 5859 times)

Offline jlf001

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 519
Re: Openbox right-click menu reloading
« Reply #45 on: August 30, 2011, 03:31:24 PM »
All is running fine here, Openbox 3.5, new openbox-menu and the updated obconf.  So far I've updated OpenBox, OpenBox Bonsai and OpenBox Edu with out a problem.

Jeff

That is GREAT !!! \o/ !

I am happy when I read that. :D
We can thank Texstar who solved and packaged obconf and also openbox-menu faster than his shadow ! ("faster than his shadow"... French say... )

Mélodie


Thanks Texstar,

Jeff

By the way, I did find one minor thing with Openbox 3.5.  The Volume Icon was shown twice on the panel, so I commented out the "volumeicon &" in /home/~username/.config/openbox/autostart.sh.

Offline melodie

  • Hero Member
  • *****
  • Posts: 5942
  • XMMP=Jabber, free instant messaging protocol !
    • PCLinuxOS Fr
Re: Openbox right-click menu reloading
« Reply #46 on: August 30, 2011, 03:33:27 PM »
By the way, I did find one minor thing with Openbox 3.5.  The Volume Icon was shown twice on the panel, so I commented out the "volumeicon &" in /home/~username/.config/openbox/autostart.sh.

Jeff, thanks for this feedback. I also wonder why I see it twin... :-/

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 right-click menu reloading
« Reply #47 on: August 30, 2011, 04:16:14 PM »
Got the updates yesterday. All changes made to Openbox's menus are now almost instantaneous on my several-month old installation of Bonsai. And icons in the menus! It's just too cool for words.

One icon is, surprisingly, missing. The one for Sakura. The desktop file calls for "Icon=terminal-tango". The terminal-tango file is an svg. No problem, though. I just copied the terminal png icon included with wbar to /usr/share/pixmaps/.

Thanks, Melodie, for your persistence. Thanks, Texstar, for all your hard work.

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 right-click menu reloading
« Reply #48 on: August 30, 2011, 04:28:11 PM »
Got the updates yesterday. All changes made to Openbox's menus are now almost instantaneous on my several-month old installation of Bonsai. And icons in the menus! It's just too cool for words.

One icon is, surprisingly, missing. The one for Sakura. The desktop file calls for "Icon=terminal-tango". The terminal-tango file is an svg. No problem, though. I just copied the terminal png icon included with wbar to /usr/share/pixmaps/.

Thanks, Melodie, for your persistence. Thanks, Texstar, for all your hard work.




Hello djohnston,

:-)

About Sakura icon : http://www.pclinuxos.com/forum/index.php/topic,96247.0.html

For all other eventual missing icons, please continue reporting. We may contribute to improve the details still more. Yes !

Regards,
Mélodie

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 right-click menu reloading
« Reply #49 on: August 30, 2011, 04:33:56 PM »

About Sakura icon : http://www.pclinuxos.com/forum/index.php/topic,96247.0.html


Looks like you're way ahead of me, Melodie. I'll continue to report on anything else. But, so far, it looks like this is just what the doctor ordered! Now I need to log out and finish that Openbox doc.

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 right-click menu reloading
« Reply #50 on: August 30, 2011, 04:43:22 PM »

About Sakura icon : http://www.pclinuxos.com/forum/index.php/topic,96247.0.html


Looks like you're way ahead of me, Melodie. I'll continue to report on anything else. But, so far, it looks like this is just what the doctor ordered! Now I need to log out and finish that Openbox doc.


I'm not. I envy you your wbar and the conky config of your's. :P  :D



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

Offline ka9yhd

  • Hero Member
  • *****
  • Posts: 1317
Re: Openbox right-click menu reloading
« Reply #51 on: August 31, 2011, 10:27:36 PM »
Hi Melodie:
I did some updates last night and now I have the updated version of obconf, and many thanks to Texstar for packaging so quickly.

I am enjoying OpenBox.  If I should discover any issues, I will post about them.
Intelligence is knowing that a tomato is a fruit.
However, wisdom is knowing not to put a tomato in a fruit salad.

Offline djohnston

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6227
  • I don't do Windows
Re: Openbox right-click menu reloading
« Reply #52 on: September 01, 2011, 12:03:09 AM »
By the way, I did find one minor thing with Openbox 3.5.  The Volume Icon was shown twice on the panel, so I commented out the "volumeicon &" in /home/~username/.config/openbox/autostart.sh.

Jeff, thanks for this feedback. I also wonder why I see it twin... :-/


I've discovered how it's happening and a temporary workaround. This apparently has to do with the new XDG-complaint Openbox startup.

After logging in to an Openbox session, this task is running: /usr/bin/openbox --startup /usr/lib/openbox-autostart OPENBOX. The task is started from the last line in /usr/bin/openbox-session.

Looking at the /usr/lib/openbox-autostart script, it first detects whether hsetroot, esetroot or xsetroot exists, then uses the one found to set a background color. It then sets two variables, GLOBALAUTOSTART and AUTOSTART.

GLOBALAUTOSTART scripts are run from /etc/xdg/openbox/autostart or /etc/xdg/openbox/autostart.sh, and AUTOSTART scripts are run from the user's ~/.config/openbox/autostart or ~/.config/openbox/autostart.sh.

XDG autostart stuff is then run from /usr/lib/openbox-xdg-autostart.

The files in the /etc/xdg/autostart directory are all desktop files. For some reason, some of my user-added entries in ~/.config/openbox/autostart.sh were duplicated as desktop files in /etc/xdg/autostart/. I don't know if some openbox update process did this or not. In my user's autostart.sh are the entries:

qasmixer --tray &
net_applet &
conky &
parcellite &
wbar &
guake &
update-notifier &

The duplicated desktop files are parcellite, wbar, guake and update-notifier. There is also a volumeicon.desktop file there (default installation?). Although desktop files exist for qasmixer and net_applet, they aren't duplicated. I've created a temporary workaround by moving the parcellite, wbar, guake, update-notifier and volumeicon desktop files from the /etc/xdg/autostart directory to another directory. I no longer get startup programs running twice.

Xcompmgr with transparency and shadows is being set by default somewhere. But, I've been unable to find out where.

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 right-click menu reloading
« Reply #53 on: September 01, 2011, 02:16:17 AM »
Hi,
Just commenting it in the $HOME/.config/openbox/autostart.sh did it for me. For the effect you can deactivate it from right-click menu > Preferences > No effect.

The files are in $HOME/.config/openbox/scripts (xcompmgr.sh) and the lines which allow using the right-click menu are these ones in the autostart.sh file:
Quote
# nice transparency, fadings, shadows. Don't change this config or the little cats
# will eat you !
#xcompmgr &

The trick is the # just in front of 'xcompmgr &'. It needs to be just before the chain character, no space between and it is needed so that all works correctly in the right-click menu. I don't know why it is set this way, maybe looking into the code of the xcompmgr.sh file will allow you to see that.

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

Offline Taco.22

  • Sr. Member
  • ****
  • Posts: 481
Re: Openbox right-click menu reloading
« Reply #54 on: September 01, 2011, 08:47:59 AM »
Just thought I'd let you know that I now have Bonsai installed to HD with all the latest updates - OB 3.5 and so on.  All is working without a hitch.  I'm in the process of rebuilding the Blackcat Astronomy version - so far so good.  I'll keep you posted - good to finally be back in the loop :D.  Been too long without a test rig!
Linux Registered User # 529407


Offline djohnston

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6227
  • I don't do Windows
Re: Openbox right-click menu reloading
« Reply #55 on: September 01, 2011, 04:02:18 PM »

The trick is the # just in front of 'xcompmgr &'. It needs to be just before the chain character, no space between and it is needed so that all works correctly in the right-click menu. I don't know why it is set this way, maybe looking into the code of the xcompmgr.sh file will allow you to see that.


My mistake. I have it turned on by uncommenting the line in autostart.sh.

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 right-click menu reloading
« Reply #56 on: September 01, 2011, 04:41:00 PM »

The trick is the # just in front of 'xcompmgr &'. It needs to be just before the chain character, no space between and it is needed so that all works correctly in the right-click menu. I don't know why it is set this way, maybe looking into the code of the xcompmgr.sh file will allow you to see that.


My mistake. I have it turned on by uncommenting the line in autostart.sh.

LOL !

You didn't read the comment ? :D
Quote
# nice transparency, fadings, shadows. Don't change this config or the little cats
# will eat you !
melodie at swissjabber dot ch - IRC #pclinuxos-fr sur freenode

Offline ka9yhd

  • Hero Member
  • *****
  • Posts: 1317
Re: Openbox right-click menu reloading
« Reply #57 on: September 01, 2011, 05:12:39 PM »
Just thought I'd let you know that I now have Bonsai installed to HD with all the latest updates - OB 3.5 and so on.  All is working without a hitch.  I'm in the process of rebuilding the Blackcat Astronomy version - so far so good.  I'll keep you posted - good to finally be back in the loop :D.  Been too long without a test rig!

Taco.22:

I am looking forward to the Astronomy Edition.  Currently running Bonsai.
Intelligence is knowing that a tomato is a fruit.
However, wisdom is knowing not to put a tomato in a fruit salad.

Offline Taco.22

  • Sr. Member
  • ****
  • Posts: 481
Re: Openbox right-click menu reloading
« Reply #58 on: September 02, 2011, 06:13:17 AM »
Taco.22:
I am looking forward to the Astronomy Edition.  Currently running Bonsai.

Hi ka9yhd,
Give me a week or two and I should have something uploaded.  I had a computer meltdown a while back that left me without a main computer, but have cobbled something else together with my original HD - it works!  Left me without a test-rig - now have a frankenstein of a thing with bits hanging out all over the place!! - main body from the tip, RAM from a box of bits, HD from an eMac, eek, and a bunch of other bits!!  Seems to work, especially when I yell at it ;D.  Just got to work with what you got.  More than happy with Bonsai - menu refreshes fine and all just seems to work.  Just got to go through the whole rebuild I had before - keeping pcmanfm this time - just got to remember how the heck I made some of the other stuff install AND work!!  Got a pile of backup files, so slowly working my way through.  Will keep you posted.     

Linux Registered User # 529407


Offline melodie

  • Hero Member
  • *****
  • Posts: 5942
  • XMMP=Jabber, free instant messaging protocol !
    • PCLinuxOS Fr
Re: Openbox right-click menu reloading
« Reply #59 on: September 02, 2011, 02:37:20 PM »
By the way, I did find one minor thing with Openbox 3.5.  The Volume Icon was shown twice on the panel, so I commented out the "volumeicon &" in /home/~username/.config/openbox/autostart.sh.

Jeff, thanks for this feedback. I also wonder why I see it twin... :-/


I've discovered how it's happening and a temporary workaround. This apparently has to do with the new XDG-complaint Openbox startup.

After logging in to an Openbox session, this task is running: /usr/bin/openbox --startup /usr/lib/openbox-autostart OPENBOX. The task is started from the last line in /usr/bin/openbox-session.

Looking at the /usr/lib/openbox-autostart script, it first detects whether hsetroot, esetroot or xsetroot exists, then uses the one found to set a background color. It then sets two variables, GLOBALAUTOSTART and AUTOSTART.

GLOBALAUTOSTART scripts are run from /etc/xdg/openbox/autostart or /etc/xdg/openbox/autostart.sh, and AUTOSTART scripts are run from the user's ~/.config/openbox/autostart or ~/.config/openbox/autostart.sh.

XDG autostart stuff is then run from /usr/lib/openbox-xdg-autostart.

The files in the /etc/xdg/autostart directory are all desktop files. For some reason, some of my user-added entries in ~/.config/openbox/autostart.sh were duplicated as desktop files in /etc/xdg/autostart/. I don't know if some openbox update process did this or not. In my user's autostart.sh are the entries:

qasmixer --tray &
net_applet &
conky &
parcellite &
wbar &
guake &
update-notifier &

The duplicated desktop files are parcellite, wbar, guake and update-notifier. There is also a volumeicon.desktop file there (default installation?). Although desktop files exist for qasmixer and net_applet, they aren't duplicated. I've created a temporary workaround by moving the parcellite, wbar, guake, update-notifier and volumeicon desktop files from the /etc/xdg/autostart directory to another directory. I no longer get startup programs running twice.

Hi,

I just re-read what you said, because I could not get into it at once the first time (my mind was busy with something else) but now I get about the picture. I also have been looking at these files today, for other reasons, but when I got to see how many files call the one after, all at the end to get to the one thing I was looking for : "/usr/bin/openbox-session" I could not see anymore where it was really going, and stopped trying to understand this complex process.

Here is what I have in the /etc/xdg/autostart directory:
Quote
$ ls -l /etc/xdg/autostart
total 60
-rw-r--r-- 1 root root  210 avril 23 06:32 evolution-alarm-notify.desktop
-rw-r--r-- 1 root root 7220 avril  7 10:43 gdu-notification-daemon.desktop
-rw-r--r-- 1 root root 2791 sept. 30  2010 gnome-keyring-gpg.desktop
-rw-r--r-- 1 root root 5249 sept. 30  2010 gnome-keyring-pkcs11.desktop
-rw-r--r-- 1 root root 5000 sept. 30  2010 gnome-keyring-secrets.desktop
-rw-r--r-- 1 root root 4065 sept. 30  2010 gnome-keyring-ssh.desktop
-rw-r--r-- 1 root root 5535 avril  8 06:57 gsettings-data-convert.desktop
-rw-r--r-- 1 root root  291 nov.   9  2009 pam-panel-icon.desktop
-rw-r--r-- 1 root root 1111 janv.  2  2011 parcellite-startup.desktop
-rw-r--r-- 1 root root 4006 juin  21 12:39 user-dirs-update-gtk.desktop
-rw-r--r-- 1 root root  219 juin  14 23:05 volumeicon.desktop


Now that you are saying this, I wonder if it would not be wise to check this directory before remastering starting from the next quarterlies ? Should the ones which are at same time there and setup in .config/openbox/autostart.sh be systematically removed ?


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