Re: OBLogout - replacement logout script for Openbox - Version 0.2
Good call. They are redundant.
CrunchBang Linux Forums » Tips, Tricks & Scripts » OBLogout - replacement logout script for Openbox - Version 0.2
Good call. They are redundant.
Just out of curiosity, whay's the difference between
gdm-control --shutdown && openbox --exitand
sudo shutdown -P nowshutdown 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.
The project is now registered on Launchpad. Please feel free to raise bugs and blueprints on there ![]()
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.
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).
Thanks Nick. It wasn't me that filed the bug report. I look forward to the fixed version.
Ian.
The fix is in the latest revision of 0.2, if you want to risk it that is ![]()
0.2 should be out by the end of the week, just sorting out a few packaging problems and then enabling svg icon loading.
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.
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
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).
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. ![]()
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.
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.
EDIT: Here's the complete set:
![]()
Last edited by Foomandoonian (2009-02-08 22:01:35)
Just installed this, absolutely top class!
Just gotta figure out how to attach this to my powerbutton on my 901...
Thanks Nik!!!
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 :/
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.
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 :-)
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)
Updated link: http://ppa.launchpad.net/crunchbangers/ g2_all.deb
Updated link: http://ppa.launchpad.net/crunchbangers/ g2_all.deb
ty.
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)
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
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.
Posts [ 26 to 50 of 117 ]
CrunchBang Linux Forums » Tips, Tricks & Scripts » OBLogout - replacement logout script for Openbox - Version 0.2
Forums powered by PunBB. Hosted by Linode.
Copyright © CrunchBang Linux.
Proudly powered by Debian GNU/Linux.
Debian is a registered trademark of Software in the Public Interest, Inc.