Topic: I'm just not getting it (XFCE/OB)

I thought I understood this, but obviously I don't smile I installed #! OB edition. All good, works well, etc. Days pass. Then I ran "cb-welcome" and installed #! multi-session package for XFCE. Logged out, selected "XFCE Session" and logged in again to get XFCE session. "ps aux | grep xfwm" shows that XFCE WM is running. "ps aux | grep open" shows that OB WM is not running. I thought that the XFCE edition provided the XFCE *DE* with the OB *WM*. Changing OB theme has no effect (obviously). I thought #! *always* used OB as the *WM* but that the XFCE variant added the XFCE *DE*. Or have I missed something somewhere (probably)? smile

(PS: Also, XFCE session provides a "Hibernate" option whereas the OB session does not...?)

Last edited by SabreWolfy (2011-09-10 16:16:25)

Re: I'm just not getting it (XFCE/OB)

Openbox session uses openbox as the primary, the XFCE session uses the XFCE suite of stuff. That includes xfwm, xfce panel, and a whole slew of other apps and utilities. the hibernate is again an XFCE utility that openbox has, but it is not enabled by default. (if you want an openbox hibernate let me know i have a modified script with it)

And no openbox is not the default WM in XFCE, xfwm is.

"'If fighting is to result in victory, then you must fight'...Sun Tzu said that and id say he knows a little more about fighting then you do pal."

- TF2 Soldier

Re: I'm just not getting it (XFCE/OB)

psyco430404 wrote:

Openbox session uses openbox as the primary, the XFCE session uses the XFCE suite of stuff. That includes xfwm, xfce panel, and a whole slew of other apps and utilities. the hibernate is again an XFCE utility that openbox has, but it is not enabled by default. (if you want an openbox hibernate let me know i have a modified script with it)

And no openbox is not the default WM in XFCE, xfwm is.

Thanks. So the OB and XFCE variants are somehat more different from each other than I thought. Please point me to the hibernate script for OB smile [I've done some searching around this of course, but haven't yet found a solution.]

Re: I'm just not getting it (XFCE/OB)

http://ompldr.org/vYWFlNw

There you go.

"'If fighting is to result in victory, then you must fight'...Sun Tzu said that and id say he knows a little more about fighting then you do pal."

- TF2 Soldier

Re: I'm just not getting it (XFCE/OB)

psyco430404 wrote:

http://ompldr.org/vYWFlNw

There you go.

Thanks. I've just looked through it now and I see that you call pm-hibernate. I have pm-utils installed by I don't have pm-hibernate hmm

Edit: /usr/sbin/pm-hibernate *cough* roll

Thanks for the script smile

Last edited by SabreWolfy (2011-09-10 16:58:26)

Re: I'm just not getting it (XFCE/OB)

edit: okay glad it works lol, idk why you had to use the path xD.

And your welcome

Last edited by psyco430404 (2011-09-10 16:59:15)

"'If fighting is to result in victory, then you must fight'...Sun Tzu said that and id say he knows a little more about fighting then you do pal."

- TF2 Soldier

Re: I'm just not getting it (XFCE/OB)

psyco430404 wrote:

edit: okay glad it works lol, idk why you had to use the path xD.

And your welcome

No, your script is fine -- it didn't need the path. I'd tried 'pm-hibernate' previously at the command-line, which had not worked (I didn't realize then where it was located).

Now I'm trying to get it to lock the screen on hibernate/suspend as per this thread (http://crunchbanglinux.org/forums/topic … -password/). I have ticked the box in XFCE PM (but I don't think OB recognizes that) so I added 'os.system("cb-lock")' to the suspend code in your script and it worked. It's a little clunky because it resumes from suspend, shows the entire desktop and your dialog box for a second, removes it and leaves the desktop visible, and then executes the cb-lock and fades the screen out, so not really an elegant solution. Didn't test it with hibernate yet. All that aside though, I'm glad I can hibernate and suspend smile

Re: I'm just not getting it (XFCE/OB)

Not sure whatcha have going on there. If xfce were running you'd know it, totally diff look. Much prefer #! openbox myself. Though the xfce version was really good looking too. Am a resource miser and simply cannot stand it when a nix distro I'm using climbs above 70mbs/ram when it's idling anymore, lol..

Hibernate with #! openbox, not 100% sure. Though don't see why it shouldn't. When I wanna suspend, I just open a terminal and type sudo pm-suspend .

Some common cbiz abbreviations. This will save me time and yet @ same time tell folks what the babble is supposed to mean.

Vll ! = ( Viva la gnu/Linux !)    Vl#!! = ( Viva la #! !)    Last but not least, UD ... OD ! = ( Use Debian ... or die !) tongue