Re: OBLogout - replacement logout script for Openbox - Version 0.2

Good call. They are redundant.

Re: OBLogout - replacement logout script for Openbox - Version 0.2

Just out of curiosity, whay's the difference between

gdm-control --shutdown && openbox --exit

and

 sudo shutdown -P now
All in an effort to learn...
Delves deeper into code...

Re: OBLogout - replacement logout script for Openbox - Version 0.2

shutdown is the base command that'll just tell init to switch to rc6, which will end up kill -9 processes until it can shutdown. Doing it through gdm is a little cleaner, as GDM can cleanup the X session before shutting down.

Re: OBLogout - replacement logout script for Openbox - Version 0.2

The project is now registered on Launchpad. Please feel free to raise bugs and blueprints on there smile

https://launchpad.net/oblogout

Re: OBLogout - replacement logout script for Openbox - Version 0.2

Very nice, but one small problem:) If I suspend, when I resume I still see the logout dialog box and have to choose Cancel to clear it. Looking at the script it seems as though self.quit() isn't being executed for some reason.

Ian.

Re: OBLogout - replacement logout script for Openbox - Version 0.2

Hi Ian,

Thanks for the bug report. Not sure if it's you or someone else that hit this issue at the same time. but a bug was reported on Launchpad this morning with the same thing:

https://bugs.launchpad.net/oblogout/+bug/321384

I'll have this fixed for the 0.2 release, as I know the exact cause of the issue (i've experienced it myself yesterday).

Re: OBLogout - replacement logout script for Openbox - Version 0.2

Thanks Nick. It wasn't me that filed the bug report. I look forward to the fixed version.

Ian.

Re: OBLogout - replacement logout script for Openbox - Version 0.2

The fix is in the latest revision of 0.2, if you want to risk it that is smile

0.2 should be out by the end of the week, just sorting out a few packaging problems and then enabling svg icon loading.

Re: OBLogout - replacement logout script for Openbox - Version 0.2

I filed the report. Thanks for the fix. I still don't follow how it works. But I am looking forward to the final version. Thanks for the work.

Re: OBLogout - replacement logout script for Openbox - Version 0.2

I tried the script. Very nice work. Just one little question. I would like the script to be called when pressing the powerbutton of my asus a7s notebook. I tried manipulating /etc/acpi/events/powerbtn to call /usr/bin/oblogout instead of /etc/acpi/powerbtn.sh but somehow it won't work. Does anyone know how i could manage that?

thx
ds187

Re: OBLogout - replacement logout script for Openbox - Version 0.2

Yup, i'm looking into this, I guess it's relating to what HAL does with the pwrbtn event (as HAL overrides the ACPI handler scripts iirc).

Re: OBLogout - replacement logout script for Openbox - Version 0.2

I pulled down the 0.2 development branch tonight and was happy to see it set-up and ready for packaging. Great stuff. I would really like to include this in the next release; Nik_Doof, in your opinion, how far off is 0.2 from being ready?

As an aid to getting as many people as possible to test the current state of this project, I sent a slightly modified[1] 0.2 package up to the CrunchBangers PPA on Launchpad. The package can be downloaded from: http://ppa.launchpad.net/crunchbangers/ … g1_all.deb

[1]: I copied and resized Foom's button theme to make an additional theme, "foom-small". I did this for personal preference (the original buttons were a little on the large size for my liking) and because I was concerned the original buttons might cause the display to be pushed off screen!? I read that svg icon loading is being worked on, purely out of interest, how is that coming along?

P.S. Great work! I am much preferring oblogout over the current logout script. smile

Re: OBLogout - replacement logout script for Openbox - Version 0.2

Corenominal:

While 0.2 is great, 0.3 is where the logout will come into it's own, and hopefully it'll be ready in time for 9.04.

0.2, as far as I understand, is almost done?

idk, ask Nik. But I don't think he has much left to do with it. So unless you're releasing the fabled .03 next week, it should be fine.

Ex-KDE user.
Collects old PC's (Coz he can't afford new ones =P)
Crunchbang @ Distrowatch
My Blog (updated infrequently, and on the #! Planet too.)

Re: OBLogout - replacement logout script for Openbox - Version 0.2

For my part in this, I'm going to produce a 'thin' version of the icons, as well as a reduced size version.

foomandoonian's tumblelog & twitter

Re: OBLogout - replacement logout script for Openbox - Version 0.2

I have just finished a refresh of my oblogout icons. They are remade from scratch to sort out a few inconsistencies. I have also made a thinner lineweight set, and a version with rounded endcaps.

http://www.picamatic.com/show/2009/02/09/12/33/2076762_bigthumb.png

EDIT: Here's the complete set:

http://www.picamatic.com/show/2009/02/09/12/48/2077267_bigthumb.png


big_smile

Last edited by Foomandoonian (2009-02-08 22:01:35)

foomandoonian's tumblelog & twitter

Re: OBLogout - replacement logout script for Openbox - Version 0.2

Just installed this, absolutely top class!

Just gotta figure out how to attach this to my powerbutton on my 901...


Thanks Nik!!!

Re: OBLogout - replacement logout script for Openbox - Version 0.2

Looks awesome! Out of curiosity, is there a way to import a screen size/resolution variable, so you could say something like if ($screensize > xxx) {
     resize logout.png;
}?
I don't know how to do either of those things but just an idea!
I really need to stop being lazy and learn python :/

Re: OBLogout - replacement logout script for Openbox - Version 0.2

Cracking script nik! Fits in beautifully with #!.  Now, if I could just get this to run when I press the power button on my eee, my lifewould be complete.

Re: OBLogout - replacement logout script for Openbox - Version 0.2

Just had a look at this thread - nice work!

My questions:

Will gnome-screensaver be hardcoded into the final program (I am using xscreensaver myself)?

Will the final program be themeable, icon-wise?

For an openbox-lock-or-logout script (as opposed to a #!-defaults-lock-or-logout script), a choice of screensavers seems essential.

Icon themeability would just be nice :-)

--
"Strangelove? What kind of a name is that? That ain't no Kraut name, is it, Stainesey?" - "He changed it when he became a citizen. Used to be Merkwuerdigeliebe."

Re: OBLogout - replacement logout script for Openbox - Version 0.2

corenominal wrote:

As an aid to getting as many people as possible to test the current state of this project, I sent a slightly modified[1] 0.2 package up to the CrunchBangers PPA on Launchpad. The package can be downloaded from: http://ppa.launchpad.net/crunchbangers/ … g1_all.deb


@Corenominal the link provided for the package is dead as of March 1, 2009 @ 1935 PST. Might you post an updated link? Thx

Last edited by nabilalk (2009-03-02 03:36:52)

#! 10 “Statler” r20110207 32-bit & Openbox

Re: OBLogout - replacement logout script for Openbox - Version 0.2

Updated link: http://ppa.launchpad.net/crunchbangers/ … g2_all.deb

Note: ** Please read before posting **

BTW if you wish to contact me, send me an e-mail instead of a PM.

Re: OBLogout - replacement logout script for Openbox - Version 0.2

ty.

#! 10 “Statler” r20110207 32-bit & Openbox

48

Re: OBLogout - replacement logout script for Openbox - Version 0.2

If I install the package from http://assets.tensixtyone.com/releases/oblogout/ (version 0.2.1), I can see the suspend option in the exit menu. But if I install the package from the PPA (using apt), I can't see the suspend option in the exit menu.

Using a Dell Inspiron 1525 with Core 2 Duo processor and GM965 chipset motherboard.

I am using 8.10.3 amd64 testing build.

Edit: Fixed. I just had to update the /etc/oblogout.conf file - http://crunchbanglinux.org/forums/post/12974/#p12974

Last edited by rho (2009-03-06 01:24:31)

Re: OBLogout - replacement logout script for Openbox - Version 0.2

Hi,

First of all, thanks to all for this script and for the design, they just look great.

I have installed version 0.2.1 on a fresh install of cruncheee, and the hibernate button doesn't work, it actually locks the screen. clicking shutdown does not have any effect at all. reboot button only works from time to time.

I have noticed the reported bug #323954 in PPA about shutdown and restart buttons problem, but I don't think I'm in the same situation, since I have only one user

Is there any necessary configuration to have them working well ?

thanks for your help

Eee-PC 1000H    |  Statler r20110207 Openbox
Vaio VGN-FE21H  |  Statler r20110207 Openbox

no more proprietary OS at home, and still no printer smile

Re: OBLogout - replacement logout script for Openbox - Version 0.2

Hi all,

Sorry for my serious lapse in support of this project, work commitments have really been getting me down recently.

I'd generally advise that the code base is in a unusable state at the moment and it's a damn near miracle it works as it does at the moment. That bug mentioned is a real stopper at the moment, and i've not had time to review the options.

I'll be providing a patch in the near future to support the blunt hammer approach (shutdown and reboot commands instead of HAL) and will be pushing for a 0.3 by the end of March.

Again, I apologise about the delay.